Blender  V3.3
Functions
SEQ_time.h File Reference

Go to the source code of this file.

Functions

void SEQ_timeline_init_boundbox (const struct Scene *scene, struct rctf *rect)
 
void SEQ_timeline_expand_boundbox (const struct Scene *scene, const struct ListBase *seqbase, struct rctf *rect)
 
void SEQ_timeline_boundbox (const struct Scene *scene, const struct ListBase *seqbase, struct rctf *rect)
 
float SEQ_time_sequence_get_fps (struct Scene *scene, struct Sequence *seq)
 
int SEQ_time_find_next_prev_edit (struct Scene *scene, int timeline_frame, short side, bool do_skip_mute, bool do_center, bool do_unselected)
 
bool SEQ_time_strip_intersects_frame (const struct Scene *scene, const struct Sequence *seq, int timeline_frame)
 
bool SEQ_time_has_still_frames (const struct Scene *scene, const struct Sequence *seq)
 
bool SEQ_time_has_left_still_frames (const struct Scene *scene, const struct Sequence *seq)
 
bool SEQ_time_has_right_still_frames (const struct Scene *scene, const struct Sequence *seq)
 
int SEQ_time_left_handle_frame_get (const struct Scene *scene, const struct Sequence *seq)
 
int SEQ_time_right_handle_frame_get (const struct Scene *scene, const struct Sequence *seq)
 
void SEQ_time_left_handle_frame_set (const struct Scene *scene, struct Sequence *seq, int val)
 
void SEQ_time_right_handle_frame_set (const struct Scene *scene, struct Sequence *seq, int val)
 
int SEQ_time_strip_length_get (const struct Scene *scene, const struct Sequence *seq)
 
void SEQ_time_speed_factor_set (const struct Scene *scene, struct Sequence *seq, const float speed_factor)
 
float SEQ_time_start_frame_get (const struct Sequence *seq)
 
void SEQ_time_start_frame_set (const struct Scene *scene, struct Sequence *seq, int timeline_frame)
 
void SEQ_time_update_meta_strip_range (const struct Scene *scene, struct Sequence *seq_meta)
 

Function Documentation

◆ SEQ_time_find_next_prev_edit()

int SEQ_time_find_next_prev_edit ( struct Scene scene,
int  timeline_frame,
short  side,
bool  do_skip_mute,
bool  do_center,
bool  do_unselected 
)

◆ SEQ_time_has_left_still_frames()

bool SEQ_time_has_left_still_frames ( const struct Scene scene,
const struct Sequence seq 
)

◆ SEQ_time_has_right_still_frames()

bool SEQ_time_has_right_still_frames ( const struct Scene scene,
const struct Sequence seq 
)

◆ SEQ_time_has_still_frames()

bool SEQ_time_has_still_frames ( const struct Scene scene,
const struct Sequence seq 
)

◆ SEQ_time_left_handle_frame_get()

int SEQ_time_left_handle_frame_get ( const struct Scene scene,
const struct Sequence seq 
)

◆ SEQ_time_left_handle_frame_set()

void SEQ_time_left_handle_frame_set ( const struct Scene scene,
struct Sequence seq,
int  val 
)

◆ SEQ_time_right_handle_frame_get()

int SEQ_time_right_handle_frame_get ( const struct Scene scene,
const struct Sequence seq 
)

◆ SEQ_time_right_handle_frame_set()

void SEQ_time_right_handle_frame_set ( const struct Scene scene,
struct Sequence seq,
int  val 
)

◆ SEQ_time_sequence_get_fps()

float SEQ_time_sequence_get_fps ( struct Scene scene,
struct Sequence seq 
)

◆ SEQ_time_speed_factor_set()

void SEQ_time_speed_factor_set ( const struct Scene scene,
struct Sequence seq,
const float  speed_factor 
)

◆ SEQ_time_start_frame_get()

float SEQ_time_start_frame_get ( const struct Sequence seq)

◆ SEQ_time_start_frame_set()

void SEQ_time_start_frame_set ( const struct Scene scene,
struct Sequence seq,
int  timeline_frame 
)

◆ SEQ_time_strip_intersects_frame()

bool SEQ_time_strip_intersects_frame ( const struct Scene scene,
const struct Sequence seq,
int  timeline_frame 
)

Test if strip intersects with timeline frame.

Note
This checks if strip would be rendered at this frame. For rendering it is assumed, that timeline frame has width of 1 frame and therefore ends at timeline_frame + 1
Parameters
seqSequence to be checked
timeline_frameabsolute frame position
Returns
true if strip intersects with timeline frame.

◆ SEQ_time_strip_length_get()

int SEQ_time_strip_length_get ( const struct Scene scene,
const struct Sequence seq 
)

◆ SEQ_time_update_meta_strip_range()

void SEQ_time_update_meta_strip_range ( const struct Scene scene,
struct Sequence seq_meta 
)

◆ SEQ_timeline_boundbox()

void SEQ_timeline_boundbox ( const struct Scene scene,
const struct ListBase seqbase,
struct rctf rect 
)

Define boundary rectangle of sequencer timeline and fill in rect data

Parameters
sceneScene in which strips are located
seqbaseListBase in which strips are located
rectdata structure describing rectangle, that will be filled in by this function

◆ SEQ_timeline_expand_boundbox()

void SEQ_timeline_expand_boundbox ( const struct Scene scene,
const struct ListBase seqbase,
struct rctf rect 
)

Stretch the given rectangle to include the given strips boundaries

Parameters
seqbaseListBase in which strips are located
rectoutput parameter to be filled with strips' boundaries

◆ SEQ_timeline_init_boundbox()

void SEQ_timeline_init_boundbox ( const struct Scene scene,
struct rctf rect 
)

Initialize given rectangle with the Scene's timeline boundaries.

Parameters
scenethe Scene instance whose timeline boundaries are extracted from
rectoutput parameter to be filled with timeline boundaries