|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| struct ImBuf * | seq_cache_get (const struct SeqRenderData *context, struct Sequence *seq, float timeline_frame, int type) |
| 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) |
| bool | seq_cache_recycle_item (struct Scene *scene) |
| void | seq_cache_free_temp_cache (struct Scene *scene, short id, int timeline_frame) |
| void | seq_cache_destruct (struct Scene *scene) |
| void | seq_cache_cleanup_all (struct Main *bmain) |
| void | seq_cache_cleanup_sequence (struct Scene *scene, struct Sequence *seq, struct Sequence *seq_changed, int invalidate_types, bool force_seq_changed_range) |
| bool | seq_cache_is_full (void) |
| void seq_cache_cleanup_all | ( | struct Main * | bmain | ) |
Definition at line 1245 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 1274 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, Sequence::enddisp, SeqCache::hash, SeqCache::last_key, SeqCacheKey::link_next, SeqCacheKey::link_prev, 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(), Sequence::startdisp, SeqCacheKey::timeline_frame, and SeqCacheKey::type.
Referenced by SEQ_relations_invalidate_cache_in_range(), sequence_do_invalidate_dependent(), and sequence_invalidate_cache().
| void seq_cache_destruct | ( | struct Scene * | scene | ) |
Definition at line 1223 of file image_cache.c.
References BLI_freelistN(), BLI_ghash_free(), BLI_mempool_destroy(), BLI_mutex_end(), Editing::cache, SeqCache::disk_cache, Scene::ed, SeqDiskCache::files, SeqCache::hash, SeqCache::items_pool, SeqCache::iterator_mutex, SeqCache::keys_pool, MEM_freeN, NULL, SeqDiskCache::read_write_mutex, scene, seq_cache_get_from_scene(), seq_cache_keyfree(), and seq_cache_valfree().
Referenced by SEQ_editing_free().
| void seq_cache_free_temp_cache | ( | struct Scene * | scene, |
| short | id, | ||
| int | timeline_frame | ||
| ) |
Definition at line 1195 of file image_cache.c.
References BLI_ghash_remove(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), Sequence::enddisp, 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_timeline_frame_to_frame_index(), seq_cache_unlock(), seq_cache_valfree(), 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 | ||
| ) |
| bool seq_cache_is_full | ( | void | ) |
Definition at line 1504 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 | ||
| ) |
| bool seq_cache_recycle_item | ( | struct Scene * | scene | ) |
Definition at line 1074 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().