]> git.sesse.net Git - movit/blobdiff - mirror_effect.h
Reduce the amount of arithmetic in the BlurEffect shader a bit.
[movit] / mirror_effect.h
index 03f34096a3a120697f919eaba619add911d8ce84..c4b46dbb6ff61cff94554bf845bbc8238cec8340 100644 (file)
@@ -1,10 +1,14 @@
-#ifndef _MIRROR_EFFECT_H
-#define _MIRROR_EFFECT_H 1
+#ifndef _MOVIT_MIRROR_EFFECT_H
+#define _MOVIT_MIRROR_EFFECT_H 1
 
 // A simple horizontal mirroring.
 
+#include <string>
+
 #include "effect.h"
 
+namespace movit {
+
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
@@ -16,4 +20,6 @@ public:
        virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; }
 };
 
-#endif // !defined(_MIRROR_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_MIRROR_EFFECT_H)