]> git.sesse.net Git - movit/blobdiff - glow_effect.h
Do some IEEE trickery to help the shader optimizer remove a sub or two in some YCbCr...
[movit] / glow_effect.h
index 3453c997d82ee2938b987089774b2a5677309bde..2a2af16dd3abbd7d1bded97de0aaad88475b63bf 100644 (file)
@@ -1,15 +1,17 @@
-#ifndef _GLOW_EFFECT_H
-#define _GLOW_EFFECT_H 1
+#ifndef _MOVIT_GLOW_EFFECT_H
+#define _MOVIT_GLOW_EFFECT_H 1
 
 // Glow: Cut out the highlights of the image (everything above a certain threshold),
 // blur them, and overlay them onto the original image.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <string>
 
 #include "effect.h"
 
+namespace movit {
+
 class BlurEffect;
 class EffectChain;
 class HighlightCutoffEffect;
@@ -55,4 +57,6 @@ private:
        float cutoff;
 };
 
-#endif // !defined(_GLOW_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_GLOW_EFFECT_H)