]> git.sesse.net Git - movit/blobdiff - gamma_compression_effect.h
Store all twiddle factors as fp16.
[movit] / gamma_compression_effect.h
index 342e02630b480e7a36358e0411f2f041d28c549d..83208cf0dcc44d77412c5a595f6cab9906b75e0a 100644 (file)
@@ -9,11 +9,14 @@
 // Note that Movit's internal formats generally do not have enough accuracy
 // for 12-bit input or output.
 
 // Note that Movit's internal formats generally do not have enough accuracy
 // for 12-bit input or output.
 
+#include <GL/glew.h>
 #include <string>
 
 #include "effect.h"
 #include "image_format.h"
 
 #include <string>
 
 #include "effect.h"
 #include "image_format.h"
 
+namespace movit {
+
 class GammaCompressionEffect : public Effect {
 private:
        // Should not be instantiated by end users.
 class GammaCompressionEffect : public Effect {
 private:
        // Should not be instantiated by end users.
@@ -35,4 +38,6 @@ private:
        GammaCurve destination_curve;
 };
 
        GammaCurve destination_curve;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_GAMMA_COMPRESSION_EFFECT_H)
 #endif // !defined(_MOVIT_GAMMA_COMPRESSION_EFFECT_H)