|
Blender
V2.93
|
#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_string.h"#include "BLT_translation.h"#include "BKE_main.h"#include "BKE_movieclip.h"#include "BKE_scene.h"#include "BKE_sound.h"#include "strip_time.h"#include "SEQ_add.h"#include "SEQ_edit.h"#include "SEQ_effects.h"#include "SEQ_relations.h"#include "SEQ_sequencer.h"#include "SEQ_time.h"#include "SEQ_transform.h"#include "SEQ_utils.h"Go to the source code of this file.
Definition at line 176 of file strip_edit.c.
References Sequence::flag, LISTBASE_FOREACH, NULL, scene, SEQ_FLAG_DELETE, SEQ_TYPE_META, Sequence::seqbase, sequencer_flag_users_for_removal(), and Sequence::type.
Referenced by sequencer_delete_exec(), and sequencer_meta_separate_exec().
| bool SEQ_edit_move_strip_to_meta | ( | Scene * | scene, |
| Sequence * | src_seq, | ||
| Sequence * | dst_seqm, | ||
| const char ** | error_str | ||
| ) |
Definition at line 220 of file strip_edit.c.
References BLI_addtail(), BLI_remlink(), N_, scene, SEQ_edit_remove_flagged_sequences(), SEQ_editing_get(), seq_exists_in_seqbase(), SEQ_get_seqbase_by_seq(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_time_update_sequence(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_TYPE_META, Sequence::seqbase, Editing::seqbase, sequencer_flag_users_for_removal(), and Sequence::type.
Definition at line 194 of file strip_edit.c.
References BLI_remlink(), LISTBASE_FOREACH_MUTABLE, scene, SEQ_FLAG_DELETE, SEQ_sequence_free(), and SEQ_TYPE_META.
Referenced by SEQ_edit_move_strip_to_meta(), sequencer_delete_exec(), and sequencer_meta_separate_exec().
| bool SEQ_edit_remove_gaps | ( | Scene * | scene, |
| ListBase * | seqbase, | ||
| const int | initial_frame, | ||
| const bool | remove_all_gaps | ||
| ) |
Find gap after initial_frame and move strips on right side to close the gap
| scene | Scene in which strips are located |
| seqbase | ListBase in which strips are located |
| initial_frame | frame on timeline from where gaps are searched for |
| remove_all_gaps | remove all gaps instead of one gap |
Definition at line 406 of file strip_edit.c.
References GapInfo::gap_exists, GapInfo::gap_length, GapInfo::gap_start_frame, scene, seq_time_gap_info_get(), and SEQ_transform_offset_after_frame().
Referenced by sequencer_gap_remove_exec().
Definition at line 52 of file strip_edit.c.
References Sequence::blend_mode, Sequence::blend_opacity, BLI_strncpy(), Sequence::enddisp, Sequence::endofs, Sequence::endstill, Sequence::len, Sequence::machine, N_, Sequence::name, Sequence::next, Sequence::prev, SEQ_effect_get_num_inputs(), SEQ_TYPE_EFFECT, SEQ_TYPE_SOUND_RAM, Sequence::start, Sequence::startdisp, Sequence::startofs, Sequence::startstill, SWAP, and Sequence::type.
Referenced by sequencer_swap_data_exec().
| Sequence* SEQ_edit_strip_split | ( | Main * | bmain, |
| Scene * | scene, | ||
| ListBase * | seqbase, | ||
| Sequence * | seq, | ||
| const int | timeline_frame, | ||
| const eSeqSplitMethod | method | ||
| ) |
Split Sequence at timeline_frame in two.
| bmain | Main in which Sequence is located |
| scene | Scene in which Sequence is located |
| seqbase | ListBase in which Sequence is located |
| seq | Sequence to be split |
| timeline_frame | frame at which seq is split. |
| method | affects type of offset to be applied to resize Sequence |
Definition at line 357 of file strip_edit.c.
References Sequence::enddisp, NULL, scene, SEQ_add_reload_new_file(), SEQ_DUPE_ANIM, SEQ_DUPE_UNIQUE_NAME, SEQ_sequence_dupli_recursive(), SEQ_SPLIT_HARD, seq_split_set_left_hold_offset(), seq_split_set_left_offset(), seq_split_set_right_hold_offset(), seq_split_set_right_offset(), SEQ_SPLIT_SOFT, and SEQ_time_update_sequence().
Referenced by sequencer_split_exec().
| void SEQ_edit_update_muting | ( | Editing * | ed | ) |
Definition at line 134 of file strip_edit.c.
References ListBase::last, Editing::metastack, NULL, MetaStack::parseq, seq_update_muting_recursive(), and Editing::seqbase.
Referenced by BKE_scene_eval_sequencer_sequences().
Definition at line 207 of file strip_edit.c.
References LISTBASE_FOREACH, SEQ_TYPE_META, and Sequence::seqbase.
Referenced by SEQ_edit_move_strip_to_meta().
|
static |
Definition at line 273 of file strip_edit.c.
References Sequence::anim_endofs, Sequence::endofs, Sequence::endstill, Sequence::len, Sequence::start, Sequence::startdisp, and Sequence::startstill.
Referenced by SEQ_edit_strip_split().
|
static |
Definition at line 332 of file strip_edit.c.
References Sequence::enddisp, Sequence::endstill, Sequence::len, SEQ_transform_set_left_handle_frame(), Sequence::start, and Sequence::startstill.
Referenced by SEQ_edit_strip_split().
|
static |
Definition at line 294 of file strip_edit.c.
References Sequence::anim_startofs, Sequence::enddisp, Sequence::endstill, Sequence::len, Sequence::start, Sequence::startofs, and Sequence::startstill.
Referenced by SEQ_edit_strip_split().
|
static |
Definition at line 317 of file strip_edit.c.
References Sequence::enddisp, Sequence::endofs, Sequence::endstill, Sequence::len, SEQ_transform_set_right_handle_frame(), Sequence::start, Sequence::startdisp, and Sequence::startstill.
Referenced by SEQ_edit_strip_split().
|
static |
Definition at line 107 of file strip_edit.c.
References BKE_sound_mute_scene_sound(), ELEM, ListBase::first, Sequence::flag, Sequence::next, Sequence::scene_sound, SEQ_MUTE, SEQ_TYPE_META, SEQ_TYPE_SCENE, SEQ_TYPE_SOUND_RAM, Sequence::seqbase, and Sequence::type.
Referenced by SEQ_edit_update_muting().
|
static |
Definition at line 149 of file strip_edit.c.
References Scene::ed, LISTBASE_FOREACH, SequenceModifierData::mask_sequence, SequenceModifierData::next, NULL, scene, SEQ_FLAG_DELETE, SEQ_TYPE_META, and Editing::seqbase.
Referenced by SEQ_edit_flag_for_removal(), and SEQ_edit_move_strip_to_meta().