Blender  V2.93
Typedefs | Enumerations | Functions
SEQ_edit.h File Reference

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 SequenceSEQ_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 Documentation

◆ eSeqSplitMethod

Enumeration Type Documentation

◆ eSeqSplitMethod

Enumerator
SEQ_SPLIT_SOFT 
SEQ_SPLIT_HARD 

Definition at line 46 of file SEQ_edit.h.

Function Documentation

◆ SEQ_edit_flag_for_removal()

void SEQ_edit_flag_for_removal ( struct Scene scene,
struct ListBase seqbase,
struct Sequence seq 
)

◆ SEQ_edit_move_strip_to_meta()

bool SEQ_edit_move_strip_to_meta ( struct Scene scene,
struct Sequence src_seq,
struct Sequence dst_seqm,
const char **  error_str 
)

◆ SEQ_edit_remove_flagged_sequences()

void SEQ_edit_remove_flagged_sequences ( struct Scene scene,
struct ListBase seqbase 
)

◆ SEQ_edit_remove_gaps()

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

Parameters
sceneScene in which strips are located
seqbaseListBase in which strips are located
initial_frameframe on timeline from where gaps are searched for
remove_all_gapsremove all gaps instead of one gap
Returns
true if gap is removed, otherwise false

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().

◆ SEQ_edit_sequence_swap()

int SEQ_edit_sequence_swap ( struct Sequence seq_a,
struct Sequence seq_b,
const char **  error_str 
)

◆ SEQ_edit_strip_split()

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.

Parameters
bmainMain in which Sequence is located
sceneScene in which Sequence is located
seqbaseListBase in which Sequence is located
seqSequence to be split
timeline_frameframe at which seq is split.
methodaffects type of offset to be applied to resize Sequence
Returns
The newly created sequence strip. This is always Sequence on right side.

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().

◆ SEQ_edit_update_muting()

void SEQ_edit_update_muting ( struct Editing ed)