Go to the source code of this file.
|
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) |
|
◆ 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 |
|
) |
| |
Definition at line 235 of file strip_time.c.
References blender::math::abs(), channels(), ListBase::first, Sequence::flag, MAXFRAME, Sequence::next, NULL, scene, SELECT, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_render_is_muted(), SEQ_SIDE_BOTH, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), and Editing::seqbasep.
Referenced by strip_jump_internal().
◆ 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()
Definition at line 313 of file strip_time.c.
References StripAnim::anim, Sequence::anims, BKE_movieclip_get_fps(), BLI_listbase_is_empty(), Sequence::clip, ListBase::first, RenderData::frs_sec, RenderData::frs_sec_base, IMB_anim_get_fps(), NULL, Scene::r, scene, Sequence::scene, seq_open_anim_file(), SEQ_TYPE_MOVIE, SEQ_TYPE_MOVIECLIP, SEQ_TYPE_SCENE, and Sequence::type.
◆ 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()
◆ 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
-
seq | Sequence to be checked |
timeline_frame | absolute 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
-
scene | Scene in which strips are located |
seqbase | ListBase in which strips are located |
rect | data 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
-
seqbase | ListBase in which strips are located |
rect | output 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
-
scene | the Scene instance whose timeline boundaries are extracted from |
rect | output parameter to be filled with timeline boundaries |