diff options
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_sequence_types.h | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 69e7fb43fb6..3a64890a84b 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -307,8 +307,9 @@ typedef struct SequenceModifierData { int type, flag; char name[64]; /* MAX_NAME */ - /* mask input, either sequence or maks ID */ - int mask_input_type, pad; + /* mask input, either sequence or mask ID */ + int mask_input_type; + int mask_time; struct Sequence *mask_sequence; struct Mask *mask_id; @@ -344,6 +345,26 @@ typedef struct SequencerMaskModifierData { SequenceModifierData modifier; } SequencerMaskModifierData; +typedef struct WhiteBalanceModifierData { + SequenceModifierData modifier; + + float white_value[3]; + float pad; +} WhiteBalanceModifierData; + +typedef struct SequencerTonemapModifierData { + SequenceModifierData modifier; + + float key, offset, gamma; + float intensity, contrast, adaptation, correction; + int type; +} SequencerTonemapModifierData; + +enum { + SEQ_TONEMAP_RH_SIMPLE = 0, + SEQ_TONEMAP_RD_PHOTORECEPTOR = 1, +}; + /* ***************** Scopes ****************** */ typedef struct SequencerScopes { @@ -417,6 +438,9 @@ enum { SEQ_SCENE_NO_GPENCIL = (1 << 28), SEQ_USE_VIEWS = (1 << 29), + /* access scene strips directly (like a metastrip) */ + SEQ_SCENE_STRIPS = (1 << 30), + SEQ_INVALID_EFFECT = (1 << 31), }; @@ -516,6 +540,8 @@ enum { seqModifierType_HueCorrect = 3, seqModifierType_BrightContrast = 4, seqModifierType_Mask = 5, + seqModifierType_WhiteBalance = 6, + seqModifierType_Tonemap = 7, NUM_SEQUENCE_MODIFIER_TYPES }; @@ -531,4 +557,11 @@ enum { SEQUENCE_MASK_INPUT_ID = 1 }; +enum { + /* Mask animation will be remapped relative to the strip start frame. */ + SEQUENCE_MASK_TIME_RELATIVE = 0, + /* Global (scene) frame number will be used to access the mask. */ + SEQUENCE_MASK_TIME_ABSOLUTE = 1, +}; + #endif /* __DNA_SEQUENCE_TYPES_H__ */ |