Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/SEQ_effects.h
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | struct SeqEffectHandle { | ||||
| /* returns: -1: no input needed, | /* returns: -1: no input needed, | ||||
| * 0: no early out, | * 0: no early out, | ||||
| * 1: out = ibuf1, | * 1: out = ibuf1, | ||||
| * 2: out = ibuf2 */ | * 2: out = ibuf2 */ | ||||
| int (*early_out)(struct Sequence *seq, float facf0, float facf1); | int (*early_out)(struct Sequence *seq, float facf0, float facf1); | ||||
| /* stores the y-range of the effect IPO */ | /* stores the y-range of the effect IPO */ | ||||
| void (*store_icu_yrange)(struct Sequence *seq, short adrcode, float *ymin, float *ymax); | void (*store_icu_yrange)( | ||||
| const struct Scene *scene, struct Sequence *seq, short adrcode, float *ymin, float *ymax); | |||||
| /* stores the default facf0 and facf1 if no IPO is present */ | /* stores the default facf0 and facf1 if no IPO is present */ | ||||
| void (*get_default_fac)(struct Sequence *seq, float timeline_frame, float *facf0, float *facf1); | void (*get_default_fac)(const struct Scene *scene, | ||||
| struct Sequence *seq, | |||||
| float timeline_frame, | |||||
| float *facf0, | |||||
| float *facf1); | |||||
| /* execute the effect | /* execute the effect | ||||
| * sequence effects are only required to either support | * sequence effects are only required to either support | ||||
| * float-rects or byte-rects | * float-rects or byte-rects | ||||
| * (mixed cases are handled one layer up...) */ | * (mixed cases are handled one layer up...) */ | ||||
| struct ImBuf *(*execute)(const struct SeqRenderData *context, | struct ImBuf *(*execute)(const struct SeqRenderData *context, | ||||
| struct Sequence *seq, | struct Sequence *seq, | ||||
| Show All 33 Lines | |||||