diff options
author | Peter Schlaile <peter@schlaile.de> | 2008-02-03 02:28:50 +0300 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2008-02-03 02:28:50 +0300 |
commit | 3a6a3d0389d6e2cee0f91e721667853ba7fdafc3 (patch) | |
tree | 6c54f6bfbbb784b0b33bcc278f30b632788cdea4 /source/blender/makesdna | |
parent | e29dba8a5a39c563d21e6ddf65a2dd147b732c82 (diff) |
== Sequencer ==
New feature: color balance aka 3-way-color-correction aka lift/gamma/gain
on input (folded into byte -> float conversion, so _very_ fast in that case).
Interface is inspired from Rebel CC (but not as complete yet, you can't
choose white and black points right now).
Bugfix: clamp color seperated wave form display correctly.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_sequence_types.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 6798e726ce8..5e32476b4e0 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -69,6 +69,15 @@ typedef struct StripTransform { int yofs; } StripTransform; +typedef struct StripColorBalance { + float lift[3]; + float gamma[3]; + float gain[3]; + int flag; + float exposure; + float saturation; +} StripColorBalance; + typedef struct StripProxy { char dir[160]; int format; @@ -86,6 +95,7 @@ typedef struct Strip { StripCrop *crop; StripTransform *transform; StripProxy *proxy; + StripColorBalance *color_balance; TStripElem *tstripdata; TStripElem *tstripdata_startstill; TStripElem *tstripdata_endstill; @@ -248,7 +258,11 @@ typedef struct SpeedControlVars { #define SEQ_USE_PROXY 32768 #define SEQ_USE_TRANSFORM 65536 #define SEQ_USE_CROP 131072 +#define SEQ_USE_COLOR_BALANCE 262144 +#define SEQ_COLOR_BALANCE_INVERSE_GAIN 1 +#define SEQ_COLOR_BALANCE_INVERSE_GAMMA 2 +#define SEQ_COLOR_BALANCE_INVERSE_LIFT 4 /* seq->type WATCH IT: SEQ_EFFECT BIT is used to determine if this is an effect strip!!! */ #define SEQ_IMAGE 0 |