]> git.sesse.net Git - movit/blobdiff - lift_gamma_gain_effect.h
Save a mul in YCbCrInput by folding the scaling into the matrix.
[movit] / lift_gamma_gain_effect.h
index 60978f45047c3272e78662ae31f7c1e4f289eea2..c93724d8b8fe2ae10150feb4cad8096ebfbce5dc 100644 (file)
 // Also, gamma is a case where we would not want premultiplied alpha.
 // Thus, we have to divide away alpha first, and then re-multiply it back later.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
 
+namespace movit {
+
 class LiftGammaGainEffect : public Effect {
 public:
        LiftGammaGainEffect();
@@ -38,4 +40,6 @@ private:
        RGBTriplet lift, gamma, gain;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_LIFT_GAMMA_GAIN_EFFECT_H)