diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-19 17:53:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-19 17:54:55 +0300 |
commit | 52f07ad7248b4c6e947153aea87be3e6b917dd17 (patch) | |
tree | fec1c20b0ca7dc8fe7f8b1fdb28a0600654545b7 /source/blender/makesdna/DNA_sequence_types.h | |
parent | 70c690c6e49b41ca83ebfc9f24b9c053d7e9f475 (diff) |
Sequencer: Implement Tone Map strip modifier
Behaves same exact way as compositor node, but could be applied
in the sequencer and used as a grading tool.
Requested by the Nieve project artists.
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-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 bb49419b2ac..0236f41c5b9 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -352,6 +352,19 @@ typedef struct WhiteBalanceModifierData { 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 { @@ -528,6 +541,7 @@ enum { seqModifierType_BrightContrast = 4, seqModifierType_Mask = 5, seqModifierType_WhiteBalance = 6, + seqModifierType_Tonemap = 7, NUM_SEQUENCE_MODIFIER_TYPES }; |