]> git.sesse.net Git - movit/blobdiff - gamma_compression_effect.h
Add proper formats for sRGB without alpha.
[movit] / gamma_compression_effect.h
index 9577e020954461ff5fb6e1ee2c1145d115a5f1a9..ee3985f9fa03c807b2928dac5176e9b0baf58eff 100644 (file)
@@ -9,12 +9,14 @@
 // Note that Movit's internal formats generally do not have enough accuracy
 // for 12-bit input or output.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
 #include "image_format.h"
 
+namespace movit {
+
 class GammaCompressionEffect : public Effect {
 private:
        // Should not be instantiated by end users.
@@ -36,4 +38,6 @@ private:
        GammaCurve destination_curve;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_GAMMA_COMPRESSION_EFFECT_H)