]> 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 bd1ec16a6d8743e6dfa83cd9848e78b959636a7c..c93724d8b8fe2ae10150feb4cad8096ebfbce5dc 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _LIFT_GAMMA_GAIN_EFFECT_H
-#define _LIFT_GAMMA_GAIN_EFFECT_H 1
+#ifndef _MOVIT_LIFT_GAMMA_GAIN_EFFECT_H
+#define _MOVIT_LIFT_GAMMA_GAIN_EFFECT_H 1
 
 // A simple lift/gamma/gain effect, used for color grading.
 //
 // 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;
 };
 
-#endif // !defined(_LIFT_GAMMA_GAIN_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_LIFT_GAMMA_GAIN_EFFECT_H)