X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_compression_effect.h;h=70163419388281da8b6cb54d3bd2c117dd250cd6;hp=3f32f5ccb8f7fa02a9d9a4d409369980b6dcec1b;hb=143eab5af7f87c2dd28d77a9059fe5543f2cf01e;hpb=17c083aad45a10df14c38cfe879a87220dfd4fb9 diff --git a/gamma_compression_effect.h b/gamma_compression_effect.h index 3f32f5c..7016341 100644 --- a/gamma_compression_effect.h +++ b/gamma_compression_effect.h @@ -4,6 +4,8 @@ #include "effect.h" #include "effect_chain.h" +#define COMPRESSION_CURVE_SIZE 4096 + class GammaCompressionEffect : public Effect { public: GammaCompressionEffect(); @@ -13,6 +15,7 @@ public: private: GammaCurve destination_curve; + float compression_curve[COMPRESSION_CURVE_SIZE]; }; #endif // !defined(_GAMMA_COMPRESSION_EFFECT_H)