Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/strip_time.h
| Show All 24 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct ListBase; | struct ListBase; | ||||
| struct Scene; | struct Scene; | ||||
| struct Sequence; | struct Sequence; | ||||
| struct Scene; | |||||
| float seq_give_frame_index(struct Sequence *seq, float timeline_frame); | float seq_give_frame_index(const struct Scene *scene, struct Sequence *seq, float timeline_frame); | ||||
| void seq_update_sound_bounds_recursive(struct Scene *scene, struct Sequence *metaseq); | void seq_update_sound_bounds_recursive(struct Scene *scene, struct Sequence *metaseq); | ||||
| /* Describes gap between strips in timeline. */ | /* Describes gap between strips in timeline. */ | ||||
| typedef struct GapInfo { | typedef struct GapInfo { | ||||
| int gap_start_frame; /* Start frame of the gap. */ | int gap_start_frame; /* Start frame of the gap. */ | ||||
| int gap_length; /* Length of the gap. */ | int gap_length; /* Length of the gap. */ | ||||
| bool gap_exists; /* False if there are no gaps. */ | bool gap_exists; /* False if there are no gaps. */ | ||||
| } GapInfo; | } GapInfo; | ||||
| void seq_time_gap_info_get(const struct Scene *scene, | void seq_time_gap_info_get(const struct Scene *scene, | ||||
| struct ListBase *seqbase, | struct ListBase *seqbase, | ||||
| const int initial_frame, | const int initial_frame, | ||||
| struct GapInfo *r_gap_info); | struct GapInfo *r_gap_info); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||