|
Blender
V2.93
|
#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_session_uuid.h"#include "BKE_main.h"#include "BKE_report.h"#include "BKE_scene.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_query.h"#include "IMB_imbuf.h"#include "SEQ_iterator.h"#include "SEQ_prefetch.h"#include "SEQ_relations.h"#include "SEQ_sequencer.h"#include "SEQ_time.h"#include "effects.h"#include "image_cache.h"#include "utils.h"Go to the source code of this file.
|
static |
Definition at line 228 of file strip_relations.c.
References ListBase::first, NULL, scene, and SEQ_relations_invalidate_cache_raw().
Referenced by SEQ_relations_invalidate_movieclip_strips().
|
static |
Definition at line 206 of file strip_relations.c.
References ListBase::first, NULL, scene, and SEQ_relations_invalidate_cache_raw().
Referenced by SEQ_relations_invalidate_scene_strips().
Definition at line 54 of file strip_relations.c.
References Sequence::blend_mode, Sequence::blend_opacity, Sequence::enddisp, Sequence::machine, Sequence::seq1, Sequence::seq2, Sequence::seq3, SEQ_BLEND_REPLACE, SEQ_TYPE_CROSS, SEQ_TYPE_EFFECT, Sequence::startdisp, and Sequence::type.
Referenced by sequence_do_invalidate_dependent().
| bool SEQ_relations_check_scene_recursion | ( | Scene * | scene, |
| ReportList * | reports | ||
| ) |
Definition at line 402 of file strip_relations.c.
References BKE_reportf(), LISTBASE_FOREACH, Sequence::name, NULL, RPT_WARNING, scene, SEQ_editing_get(), SEQ_TYPE_SCENE, Editing::seqbase, sequencer_check_scene_recursion(), sequencer_seq_generates_image(), and Sequence::startdisp.
Referenced by screen_render_invoke().
| void SEQ_relations_check_uuids_unique_and_report | ( | const Scene * | scene | ) |
Definition at line 479 of file strip_relations.c.
References BLI_gset_free(), BLI_gset_insert(), BLI_gset_lookup(), BLI_gset_new(), BLI_session_uuid_ghash_compare(), BLI_session_uuid_ghash_hash(), BLI_session_uuid_is_generated(), Scene::ed, Sequence::name, NULL, Sequence::runtime, scene, SEQ_ALL_BEGIN, SEQ_ALL_END, and SequenceRuntime::session_uuid.
|
static |
Definition at line 130 of file strip_relations.c.
References LISTBASE_FOREACH, NULL, scene, SEQ_CACHE_ALL_TYPES, SEQ_editing_get(), SEQ_TYPE_META, Sequence::seqbase, Editing::seqbase, and sequence_invalidate_cache().
Referenced by SEQ_relations_invalidate_cache_composite(), SEQ_relations_invalidate_cache_in_range(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_relations_invalidate_cache_raw(), and SEQ_relations_invalidate_dependent().
| void SEQ_relations_free_all_anim_ibufs | ( | Scene * | scene, |
| int | timeline_frame | ||
| ) |
Definition at line 371 of file strip_relations.c.
References NULL, scene, SEQ_cache_cleanup(), SEQ_editing_get(), Editing::seqbase, and sequencer_all_free_anim_ibufs().
Referenced by do_render_full_pipeline().
Definition at line 250 of file strip_relations.c.
References CFRA, Scene::ed, ListBase::first, Sequence::next, NULL, scene, SEQ_cache_cleanup(), seq_effect_speed_rebuild_map(), SEQ_prefetch_stop(), SEQ_relations_sequence_free_anim(), SEQ_TYPE_META, SEQ_TYPE_MOVIE, SEQ_TYPE_SCENE, SEQ_TYPE_SPEED, Sequence::seqbase, Sequence::startdisp, Sequence::strip, and Sequence::type.
Referenced by do_render_sequencer(), proxy_endjob(), sequencer_change_effect_input_exec(), sequencer_change_effect_type_exec(), sequencer_change_path_exec(), sequencer_rebuild_proxy_exec(), sequencer_refresh_all_exec(), sequencer_slip_modal(), and sequencer_slip_recursively().
Definition at line 184 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 | ( | Scene * | scene, |
| Sequence * | seq, | ||
| Sequence * | range_mask, | ||
| int | invalidate_types | ||
| ) |
Definition at line 159 of file strip_relations.c.
References NULL, scene, seq_cache_cleanup_sequence(), and seq_relations_find_and_invalidate_metas().
Definition at line 174 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 SEQ_edit_move_strip_to_meta(), SEQ_transform_offset_after_frame(), sequencer_meta_make_exec(), sequencer_meta_separate_exec(), sequencer_strip_transform_clear_exec(), sequencer_strip_transform_fit_exec(), strip_modifier_add_exec(), strip_modifier_copy_exec(), strip_modifier_move_exec(), and strip_modifier_remove_exec().
Definition at line 168 of file strip_relations.c.
References NULL, scene, SEQ_CACHE_ALL_TYPES, seq_relations_find_and_invalidate_metas(), and sequence_invalidate_cache().
Referenced by invalidate_movieclip_strips(), invalidate_scene_strips(), seq_sequence_free_ex(), and sequencer_swap_data_exec().
Definition at line 195 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 sequencer_mute_exec(), and sequencer_unmute_exec().
Definition at line 241 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 219 of file strip_relations.c.
References Scene::ed, ListBase::first, Scene::id, invalidate_scene_strips(), ID::next, NULL, scene, Main::scenes, and Editing::seqbase.
Definition at line 432 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 sequencer_reassign_inputs_exec().
| void SEQ_relations_sequence_free_anim | ( | Sequence * | seq | ) |
Definition at line 459 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(), and update_changed_seq_recurs().
| void SEQ_relations_session_uuid_generate | ( | struct Sequence * | sequence | ) |
Definition at line 474 of file strip_relations.c.
References BLI_session_uuid_generate(), Sequence::runtime, and SequenceRuntime::session_uuid.
Referenced by scene_blend_read_data(), seq_dupli(), and SEQ_sequence_alloc().
| void SEQ_relations_update_changed_seq_and_deps | ( | Scene * | scene, |
| Sequence * | changed_seq, | ||
| int | len_change, | ||
| int | ibuf_change | ||
| ) |
Definition at line 340 of file strip_relations.c.
References ListBase::first, Sequence::next, NULL, scene, SEQ_editing_get(), Editing::seqbase, and update_changed_seq_recurs().
Referenced by SEQ_add_effect_strip(), sequencer_change_effect_input_exec(), sequencer_change_effect_type_exec(), sequencer_reassign_inputs_exec(), sequencer_reload_exec(), and sequencer_swap_inputs_exec().
|
static |
Definition at line 82 of file strip_relations.c.
References ListBase::first, Sequence::next, scene, SEQ_CACHE_ALL_TYPES, seq_cache_cleanup_sequence(), SEQ_CACHE_STORE_COMPOSITE, SEQ_CACHE_STORE_FINAL_OUT, seq_relations_check_depend(), SEQ_TYPE_EFFECT, Sequence::seqbase, and Sequence::type.
Referenced by sequence_invalidate_cache().
|
static |
Definition at line 109 of file strip_relations.c.
References DEG_id_tag_update(), Scene::ed, Sequence::effectdata, Scene::id, ID_RECALC_SEQUENCER_STRIPS, scene, seq_cache_cleanup_sequence(), seq_effect_speed_rebuild_map(), SEQ_prefetch_stop(), SEQ_TYPE_SPEED, Editing::seqbase, sequence_do_invalidate_dependent(), and Sequence::type.
Referenced by seq_relations_find_and_invalidate_metas(), SEQ_relations_invalidate_cache_composite(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_relations_invalidate_cache_raw(), and SEQ_relations_invalidate_dependent().
|
static |
Definition at line 358 of file strip_relations.c.
References ListBase::first, NULL, SEQ_relations_sequence_free_anim(), and SEQ_TYPE_META.
Referenced by SEQ_relations_free_all_anim_ibufs().
Definition at line 381 of file strip_relations.c.
References Scene::ed, LISTBASE_FOREACH, NULL, scene, SEQ_SCENE_STRIPS, SEQ_TYPE_META, SEQ_TYPE_SCENE, and Editing::seqbase.
Referenced by SEQ_relations_check_scene_recursion().
|
static |
Definition at line 284 of file strip_relations.c.
References ListBase::first, Sequence::next, NULL, scene, Sequence::seq1, Sequence::seq2, Sequence::seq3, seq_effect_speed_rebuild_map(), SEQ_relations_sequence_free_anim(), SEQ_time_update_sequence(), SEQ_TYPE_MOVIE, SEQ_TYPE_SPEED, Sequence::seqbase, and Sequence::type.
Referenced by SEQ_relations_update_changed_seq_and_deps().