|
Blender
V2.93
|
Go to the source code of this file.
Typedefs | |
| typedef enum eSeqSplitMethod | eSeqSplitMethod |
Enumerations | |
| enum | eSeqSplitMethod { SEQ_SPLIT_SOFT , SEQ_SPLIT_HARD } |
Functions | |
| int | SEQ_edit_sequence_swap (struct Sequence *seq_a, struct Sequence *seq_b, const char **error_str) |
| bool | SEQ_edit_move_strip_to_meta (struct Scene *scene, struct Sequence *src_seq, struct Sequence *dst_seqm, const char **error_str) |
| void | SEQ_edit_flag_for_removal (struct Scene *scene, struct ListBase *seqbase, struct Sequence *seq) |
| void | SEQ_edit_remove_flagged_sequences (struct Scene *scene, struct ListBase *seqbase) |
| void | SEQ_edit_update_muting (struct Editing *ed) |
| struct Sequence * | SEQ_edit_strip_split (struct Main *bmain, struct Scene *scene, struct ListBase *seqbase, struct Sequence *seq, const int timeline_frame, const eSeqSplitMethod method) |
| bool | SEQ_edit_remove_gaps (struct Scene *scene, struct ListBase *seqbase, const int initial_frame, const bool remove_all_gaps) |
| typedef enum eSeqSplitMethod eSeqSplitMethod |
| enum eSeqSplitMethod |
| Enumerator | |
|---|---|
| SEQ_SPLIT_SOFT | |
| SEQ_SPLIT_HARD | |
Definition at line 46 of file SEQ_edit.h.
| void SEQ_edit_flag_for_removal | ( | struct Scene * | scene, |
| struct ListBase * | seqbase, | ||
| struct Sequence * | seq | ||
| ) |
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 | ( | struct Scene * | scene, |
| struct Sequence * | src_seq, | ||
| struct 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().
| int SEQ_edit_sequence_swap | ( | struct Sequence * | seq_a, |
| struct Sequence * | seq_b, | ||
| const char ** | error_str | ||
| ) |
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().
| struct 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 | ( | struct 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().