|
Blender V4.3
|
Go to the source code of this file.
| void SEQ_cache_cleanup | ( | Scene * | scene | ) |
Definition at line 596 of file image_cache.cc.
References BLI_assert, BLI_ghash_remove(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), SeqCacheKey::cache_owner, SeqCache::hash, SeqCache::last_key, seq_cache_get_from_scene(), seq_cache_keyfree(), seq_cache_lock(), seq_cache_unlock(), seq_cache_valfree(), and SEQ_prefetch_stop().
Referenced by do_render_full_pipeline(), screen_render_exec(), and SEQ_relations_free_imbuf().
| void SEQ_cache_iterate | ( | Scene * | scene, |
| void * | userdata, | ||
| bool | callback_initvoid *userdata, size_t item_count, | ||
| bool | callback_itervoid *userdata, Sequence *seq, int timeline_frame, int cache_type ) |
Definition at line 823 of file image_cache.cc.
References BLI_assert, BLI_ghash_len(), BLI_ghashIterator_done(), BLI_ghashIterator_getKey(), BLI_ghashIterator_init(), BLI_ghashIterator_step(), SeqCacheKey::cache_owner, SeqCacheKey::frame_index, SeqCache::hash, SeqCache::last_key, SeqCacheKey::seq, seq_cache_get_from_scene(), seq_cache_lock(), SEQ_CACHE_STORE_FINAL_OUT, seq_cache_unlock(), SEQ_time_start_frame_get(), SeqCacheKey::timeline_frame, and SeqCacheKey::type.
Referenced by draw_cache_view().
Definition at line 465 of file strip_relations.cc.
References LISTBASE_FOREACH, SEQ_exists_in_seqbase(), SEQ_TYPE_META, and Sequence::seqbase.
Referenced by SEQ_edit_move_strip_to_meta(), and SEQ_exists_in_seqbase().
Return immediate parent meta of sequence.
Definition at line 448 of file strip_relations.cc.
References LISTBASE_FOREACH, and SEQ_find_metastrip_by_sequence().
Referenced by do_adjustment_impl(), and SEQ_find_metastrip_by_sequence().
Check if one sequence is input to the other.
Definition at line 37 of file strip_relations.cc.
References ELEM, Sequence::seq1, and Sequence::seq2.
Referenced by must_render_strip(), query_strip_effects_fn(), select_grouped_effect(), seq_relations_check_depend(), sequencer_flag_users_for_removal(), and shuffle_seq_time_offset_get().
| bool SEQ_relations_check_scene_recursion | ( | Scene * | scene, |
| ReportList * | reports ) |
Definition at line 342 of file strip_relations.cc.
References BKE_reportf(), LISTBASE_FOREACH, Sequence::name, RPT_WARNING, 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().
| void SEQ_relations_check_uids_unique_and_report | ( | const Scene * | scene | ) |
A debug and development function which checks whether sequences have unique UIDs. Errors will be reported to the console.
Definition at line 434 of file strip_relations.cc.
References BLI_gset_free(), BLI_gset_new(), BLI_session_uid_ghash_compare(), BLI_session_uid_ghash_hash(), get_uids_cb(), and SEQ_for_each_callback().
Release FFmpeg handles of strips that are not currently displayed to minimize memory usage.
Definition at line 308 of file strip_relations.cc.
References MAXFRAME, SEQ_editing_get(), Editing::seqbase, and sequencer_all_free_anim_ibufs().
Referenced by SEQ_render_give_ibuf().
Definition at line 245 of file strip_relations.cc.
References LISTBASE_FOREACH, SEQ_cache_cleanup(), seq_effect_speed_rebuild_map(), SEQ_prefetch_stop(), SEQ_relations_free_imbuf(), SEQ_relations_sequence_free_anim(), SEQ_time_strip_intersects_frame(), SEQ_TYPE_META, SEQ_TYPE_MOVIE, SEQ_TYPE_SCENE, and SEQ_TYPE_SPEED.
Referenced by do_render_sequencer(), proxy_endjob(), SEQ_relations_free_imbuf(), sequencer_rebuild_proxy_exec(), and sequencer_refresh_all_exec().
Definition at line 175 of file strip_relations.cc.
References SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, seq_relations_find_and_invalidate_metas(), SEQ_TYPE_SOUND_RAM, sequence_invalidate_cache(), and Sequence::type.
Referenced by recalcData_sequencer(), seq_add_generic_update(), and sequencer_snap_exec().
| void SEQ_relations_invalidate_cache_in_range | ( | Scene * | scene, |
| Sequence * | seq, | ||
| Sequence * | range_mask, | ||
| int | invalidate_types ) |
Definition at line 150 of file strip_relations.cc.
References seq_cache_cleanup_sequence(), and seq_relations_find_and_invalidate_metas().
Definition at line 165 of file strip_relations.cc.
References 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(), recalcData_sequencer_retiming(), 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_strips(), sequencer_strip_transform_clear_exec(), sequencer_strip_transform_fit_exec(), sequencer_swap_inputs_exec(), strip_modifier_add_exec(), strip_modifier_copy_exec(), strip_modifier_equalizer_redefine_exec(), strip_modifier_move_exec(), strip_modifier_remove_exec(), and swap_sequence().
Definition at line 159 of file strip_relations.cc.
References SEQ_CACHE_ALL_TYPES, seq_relations_find_and_invalidate_metas(), and sequence_invalidate_cache().
Referenced by ED_scene_sequencer_add(), freeze_frame_add_from_retiming_selection(), freeze_frame_add_from_strip_selection(), freeze_frame_add_new_for_seq(), invalidate_movieclip_strips(), invalidate_scene_strips(), segment_speed_set_exec(), SEQ_add_reload_new_file(), seq_sequence_free_ex(), sequencer_change_path_exec(), sequencer_change_scene_exec(), sequencer_retiming_key_delete_exec(), sequencer_scene_frame_range_update_exec(), sequencer_swap_data_exec(), strip_speed_set_exec(), and transition_add_new_for_seq().
Definition at line 186 of file strip_relations.cc.
References SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, seq_relations_find_and_invalidate_metas(), SEQ_TYPE_SOUND_RAM, sequence_invalidate_cache(), and Sequence::type.
Referenced by blender::ed::outliner::sequence_fn(), sequencer_mute_exec(), and sequencer_unmute_exec().
Definition at line 234 of file strip_relations.cc.
References ListBase::first, invalidate_movieclip_strips(), and Main::scenes.
Definition at line 210 of file strip_relations.cc.
References Scene::ed, ListBase::first, invalidate_scene_strips(), Main::scenes, and Editing::seqbase.
Check if "seq_main" (indirectly) uses strip "seq".
Definition at line 371 of file strip_relations.cc.
References LISTBASE_FOREACH, Sequence::modifiers, Sequence::seq1, Sequence::seq2, and SEQ_relations_render_loop_check().
Referenced by seq_prefetch_scene_strip_is_rendered(), SEQ_relations_render_loop_check(), and sequencer_reassign_inputs_exec().
| void SEQ_relations_sequence_free_anim | ( | Sequence * | seq | ) |
Function to free imbuf and anim data on changes.
Definition at line 396 of file strip_relations.cc.
References StripAnim::anim, Sequence::anims, BLI_freelinkN(), BLI_listbase_clear(), IMB_free_anim(), and ListBase::last.
Referenced by open_anim_file_multiview(), 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(), and sequencer_change_path_exec().
| void SEQ_relations_session_uid_generate | ( | Sequence * | sequence | ) |
Generate new UID for the given sequence.
Definition at line 411 of file strip_relations.cc.
References BLI_session_uid_generate(), Sequence::runtime, and SequenceRuntime::session_uid.
Referenced by seq_dupli(), seq_read_data_cb(), and SEQ_sequence_alloc().