Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-08-24 13:07:04 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-08-24 13:07:04 +0400
commit501efb0e7cb671cfa2e0dd37308ab6759f32cb49 (patch)
treedbdc6fb52c48447dfdeb8f0e411f1a89e517739e /source/blender/makesdna
parent93d89ec7683af9daf989fa643be3edceb1615ba1 (diff)
Sequencer: bright/contrast modifier
Behaves in exactly the same way as bright/contrast compositor node. Some code could be de-duplicated, like contrast formula and mask influence, but wouldn't call it stopper for commit since it's already needed for grading Mango.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_sequence_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index 0835bb6b4c8..c83bddbfc64 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -271,6 +271,13 @@ typedef struct HueCorrectModifierData {
struct CurveMapping curve_mapping;
} HueCorrectModifierData;
+typedef struct BrightContrastModifierData {
+ SequenceModifierData modifier;
+
+ float bright;
+ float contrast;
+} BrightContrastModifierData;
+
#define MAXSEQ 32
#define SELECT 1
@@ -401,6 +408,7 @@ enum {
seqModifierType_ColorBalance = 1,
seqModifierType_Curves = 2,
seqModifierType_HueCorrect = 3,
+ seqModifierType_BrightContrast = 4,
NUM_SEQUENCE_MODIFIER_TYPES
};