From 52f07ad7248b4c6e947153aea87be3e6b917dd17 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 19 Jan 2016 15:53:43 +0100 Subject: 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. --- source/blender/makesdna/DNA_sequence_types.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source/blender/makesdna/DNA_sequence_types.h') 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 }; -- cgit v1.2.3