]> git.sesse.net Git - movit/blobdiff - gamma_expansion_effect.h
Add a new framework for 1D-LUTs via fp16 textures. Make the gamma compression and...
[movit] / gamma_expansion_effect.h
index 1125d11f83cab515460d721e7011a434dfbea1ff..f079e7085f6e7ba6f6721f8aa3142e9ddb2f88e6 100644 (file)
@@ -4,6 +4,8 @@
 #include "effect.h"
 #include "effect_chain.h"
 
+#define EXPANSION_CURVE_SIZE 256
+
 class GammaExpansionEffect : public Effect {
 public:
        GammaExpansionEffect();
@@ -14,6 +16,7 @@ public:
 
 private:
        GammaCurve source_curve;
+       float expansion_curve[EXPANSION_CURVE_SIZE];
 };
 
 #endif // !defined(_GAMMA_EXPANSION_EFFECT_H)