Blender
V3.3
|
#include "SEQ_render.h"
Go to the source code of this file.
Classes | |
struct | SeqCacheKey |
Typedefs | |
typedef struct SeqCacheKey | SeqCacheKey |
typedef struct SeqCacheKey SeqCacheKey |
Definition at line 596 of file image_cache.c.
References ListBase::first, Scene::id, ID::next, NULL, scene, Main::scenes, and SEQ_cache_cleanup().
void seq_cache_cleanup_sequence | ( | struct Scene * | scene, |
struct Sequence * | seq, | ||
struct Sequence * | seq_changed, | ||
int | invalidate_types, | ||
bool | force_seq_changed_range | ||
) |
Definition at line 626 of file image_cache.c.
References BLI_ghash_remove(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), SeqCache::bmain, SeqCache::disk_cache, SeqCache::hash, SeqCache::last_key, SeqCacheKey::link_next, SeqCacheKey::link_prev, max_ii(), min_ii(), NULL, scene, SeqCacheKey::seq, seq_cache_get_from_scene(), seq_cache_keyfree(), seq_cache_lock(), seq_cache_relink_keys(), SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, SEQ_CACHE_STORE_PREPROCESSED, SEQ_CACHE_STORE_RAW, seq_cache_unlock(), seq_cache_valfree(), seq_disk_cache_invalidate(), seq_disk_cache_is_enabled(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SeqCacheKey::timeline_frame, and SeqCacheKey::type.
Referenced by SEQ_relations_invalidate_cache_in_range(), sequence_do_invalidate_dependent(), and sequence_invalidate_cache().
Definition at line 576 of file image_cache.c.
References BLI_ghash_free(), BLI_mempool_destroy(), BLI_mutex_end(), Editing::cache, SeqCache::disk_cache, Scene::ed, SeqCache::hash, SeqCache::items_pool, SeqCache::iterator_mutex, SeqCache::keys_pool, MEM_freeN, NULL, scene, seq_cache_get_from_scene(), seq_cache_keyfree(), seq_cache_valfree(), and seq_disk_cache_free().
Referenced by SEQ_editing_free().
Definition at line 151 of file image_cache.c.
References SEQ_time_start_frame_get().
Referenced by seq_disk_cache_delete_invalid_files().
Definition at line 547 of file image_cache.c.
References BLI_ghash_remove(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), SeqCacheKey::frame_index, SeqCache::hash, SeqCacheKey::is_temp_cache, scene, SeqCacheKey::seq, seq_cache_get_from_scene(), seq_cache_keyfree(), seq_cache_lock(), SEQ_CACHE_STORE_THUMBNAIL, seq_cache_timeline_frame_to_frame_index(), seq_cache_unlock(), seq_cache_valfree(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SeqCacheKey::task_id, and SeqCacheKey::type.
Referenced by seq_prefetch_frames(), and SEQ_render_give_ibuf().
struct ImBuf* seq_cache_get | ( | const struct SeqRenderData * | context, |
struct Sequence * | seq, | ||
float | timeline_frame, | ||
int | type | ||
) |
Definition at line 919 of file image_cache.c.
References MEM_get_memory_in_use, and seq_cache_get_mem_total().
Referenced by seq_cache_recycle_item(), and seq_prefetch_is_cache_full().
void seq_cache_put | ( | const struct SeqRenderData * | context, |
struct Sequence * | seq, | ||
float | timeline_frame, | ||
int | type, | ||
struct ImBuf * | i | ||
) |
bool seq_cache_put_if_possible | ( | const struct SeqRenderData * | context, |
struct Sequence * | seq, | ||
float | timeline_frame, | ||
int | type, | ||
struct ImBuf * | nval | ||
) |
Find only "base" keys. Sources(other types) for a frame must be freed all at once.
Definition at line 446 of file image_cache.c.
References scene, seq_cache_get_from_scene(), seq_cache_get_item_for_removal(), seq_cache_is_full(), seq_cache_lock(), seq_cache_recycle_linked(), and seq_cache_unlock().
Referenced by seq_cache_get(), seq_cache_put_if_possible(), and seq_prefetch_is_cache_full().
Definition at line 685 of file image_cache.c.
References BLI_ghash_remove(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), SeqCache::hash, SeqCache::last_key, Sequence::machine, NULL, round_fl_to_int(), scene, SeqCacheKey::seq, seq_cache_get_from_scene(), seq_cache_keyfree(), SEQ_CACHE_STORE_THUMBNAIL, seq_cache_valfree(), SEQ_render_thumbnails_guaranteed_set_frame_step_get(), SEQ_time_left_handle_frame_get(), SeqCache::thumbnail_count, SeqCacheKey::timeline_frame, SeqCacheKey::type, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by seq_cache_thumbnail_put().