Blender
V3.3
|
Go to the source code of this file.
Definition at line 602 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, NULL, scene, seq_cache_get_from_scene(), seq_cache_keyfree(), seq_cache_lock(), seq_cache_unlock(), seq_cache_valfree(), SEQ_prefetch_stop(), and SeqCache::thumbnail_count.
Referenced by do_render_full_pipeline(), screen_render_exec(), screen_render_invoke(), seq_cache_cleanup_all(), and SEQ_relations_free_imbuf().
void SEQ_cache_iterate | ( | struct Scene * | scene, |
void * | userdata, | ||
bool | callback_initvoid *userdata, size_t item_count, | ||
bool | callback_itervoid *userdata, struct Sequence *seq, int timeline_frame, int cache_type | ||
) |
Definition at line 891 of file image_cache.c.
References BLI_ghash_len(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), SeqCache::hash, SeqCache::last_key, NULL, scene, SeqCacheKey::seq, seq_cache_get_from_scene(), seq_cache_lock(), seq_cache_unlock(), SeqCacheKey::timeline_frame, SeqCacheKey::type, and ImBuf::userdata.
Referenced by draw_cache_view().
struct Sequence* SEQ_find_metastrip_by_sequence | ( | ListBase * | seqbase, |
struct Sequence * | meta, | ||
struct Sequence * | seq | ||
) |
Return immediate parent meta of sequence.
Definition at line 444 of file strip_relations.c.
References ListBase::first, Sequence::next, NULL, and Sequence::seqbase.
Referenced by do_adjustment_impl().
bool SEQ_relation_is_effect_of_strip | ( | const struct Sequence * | effect, |
const struct Sequence * | input | ||
) |
Check if one sequence is input to the other.
bool SEQ_relations_check_scene_recursion | ( | struct Scene * | scene, |
struct ReportList * | reports | ||
) |
Definition at line 337 of file strip_relations.c.
References BKE_reportf(), LISTBASE_FOREACH, Sequence::name, NULL, RPT_WARNING, scene, SEQ_editing_get(), SEQ_time_left_handle_frame_get(), SEQ_TYPE_SCENE, Editing::seqbase, sequencer_check_scene_recursion(), and sequencer_seq_generates_image().
Referenced by screen_render_invoke().
A debug and development function which checks whether sequences have unique UUIDs. Errors will be reported to the console.
Release FFmpeg handles of strips that are not currently displayed to minimize memory usage.
Definition at line 305 of file strip_relations.c.
References MAXFRAME, NULL, scene, SEQ_editing_get(), Editing::seqbase, and sequencer_all_free_anim_ibufs().
Referenced by SEQ_render_give_ibuf().
Definition at line 241 of file strip_relations.c.
References RenderData::cfra, Scene::ed, ListBase::first, Sequence::next, NULL, Scene::r, scene, SEQ_cache_cleanup(), seq_effect_speed_rebuild_map(), SEQ_prefetch_stop(), SEQ_relations_sequence_free_anim(), SEQ_time_strip_intersects_frame(), SEQ_TYPE_META, SEQ_TYPE_MOVIE, SEQ_TYPE_SCENE, SEQ_TYPE_SPEED, Sequence::seqbase, Sequence::strip, and Sequence::type.
Referenced by do_render_sequencer(), proxy_endjob(), sequencer_rebuild_proxy_exec(), and sequencer_refresh_all_exec().
Definition at line 175 of file strip_relations.c.
References ELEM, NULL, scene, SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, seq_relations_find_and_invalidate_metas(), SEQ_TYPE_SOUND_HD, SEQ_TYPE_SOUND_RAM, sequence_invalidate_cache(), and Sequence::type.
Referenced by recalcData_sequencer(), and seq_add_generic_update().
void SEQ_relations_invalidate_cache_in_range | ( | struct Scene * | scene, |
struct Sequence * | seq, | ||
struct Sequence * | range_mask, | ||
int | invalidate_types | ||
) |
Definition at line 150 of file strip_relations.c.
References NULL, scene, seq_cache_cleanup_sequence(), and seq_relations_find_and_invalidate_metas().
Definition at line 165 of file strip_relations.c.
References NULL, scene, SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, SEQ_CACHE_STORE_PREPROCESSED, seq_relations_find_and_invalidate_metas(), and sequence_invalidate_cache().
Referenced by recalcData_sequencer_image(), SEQ_edit_move_strip_to_seqbase(), SEQ_transform_offset_after_frame(), sequencer_change_effect_input_exec(), sequencer_change_effect_type_exec(), sequencer_meta_make_exec(), sequencer_meta_separate_exec(), sequencer_offset_clear_exec(), sequencer_reassign_inputs_exec(), sequencer_rendersize_exec(), sequencer_slip_recursively(), sequencer_strip_transform_clear_exec(), sequencer_strip_transform_fit_exec(), sequencer_swap_inputs_exec(), strip_modifier_add_exec(), strip_modifier_copy_exec(), strip_modifier_move_exec(), strip_modifier_remove_exec(), and swap_sequence().
Definition at line 159 of file strip_relations.c.
References NULL, scene, SEQ_CACHE_ALL_TYPES, seq_relations_find_and_invalidate_metas(), and sequence_invalidate_cache().
Referenced by ED_scene_sequencer_add(), invalidate_movieclip_strips(), invalidate_scene_strips(), SEQ_add_reload_new_file(), seq_sequence_free_ex(), sequencer_change_path_exec(), sequencer_change_scene_exec(), and sequencer_swap_data_exec().
Definition at line 186 of file strip_relations.c.
References ELEM, NULL, scene, SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, seq_relations_find_and_invalidate_metas(), SEQ_TYPE_SOUND_HD, SEQ_TYPE_SOUND_RAM, sequence_invalidate_cache(), and Sequence::type.
Referenced by sequence_fn(), sequencer_mute_exec(), and sequencer_unmute_exec().
void SEQ_relations_invalidate_movieclip_strips | ( | struct Main * | bmain, |
struct MovieClip * | clip_target | ||
) |
Definition at line 232 of file strip_relations.c.
References Scene::ed, ListBase::first, Scene::id, invalidate_movieclip_strips(), ID::next, NULL, scene, Main::scenes, and Editing::seqbase.
Definition at line 210 of file strip_relations.c.
References Scene::ed, ListBase::first, Scene::id, invalidate_scene_strips(), ID::next, NULL, scene, Main::scenes, and Editing::seqbase.
Check if "seq_main" (indirectly) uses strip "seq".
Definition at line 366 of file strip_relations.c.
References ListBase::first, SequenceModifierData::mask_sequence, Sequence::modifiers, SequenceModifierData::next, NULL, Sequence::seq1, Sequence::seq2, and Sequence::seq3.
Referenced by seq_prefetch_scene_strip_is_rendered(), and sequencer_reassign_inputs_exec().
Function to free imbuf and anim data on changes.
Definition at line 392 of file strip_relations.c.
References StripAnim::anim, Sequence::anims, BLI_freelinkN(), BLI_listbase_clear(), IMB_free_anim(), ListBase::last, and NULL.
Referenced by SEQ_add_reload_new_file(), seq_open_anim_file(), SEQ_proxy_rebuild_context(), SEQ_relations_free_imbuf(), seq_sequence_free_ex(), sequencer_all_free_anim_ibufs(), sequencer_change_path_exec(), and thumbnail_start_job().
Generate new UUID for the given sequence.
Definition at line 407 of file strip_relations.c.
References BLI_session_uuid_generate(), Sequence::runtime, and SequenceRuntime::session_uuid.
Referenced by seq_dupli(), seq_read_data_cb(), and SEQ_sequence_alloc().