]> git.sesse.net Git - movit/blobdiff - mix_effect.h
Ignore .ld files.
[movit] / mix_effect.h
index 4ef62fe9a2454c4754635fd62566e93bbb63a96b..9abe6010a86d1aabb4640759c99fef537cb4caae 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _MIX_EFFECT_H
-#define _MIX_EFFECT_H 1
+#ifndef _MOVIT_MIX_EFFECT_H
+#define _MOVIT_MIX_EFFECT_H 1
 
 // Combine two images: a*x + b*y. If you set a within [0,1] and b=1-a,
 // you will get a fade; if not, you may get surprising results (consider alpha).
@@ -8,6 +8,8 @@
 
 #include "effect.h"
 
+namespace movit {
+
 class MixEffect : public Effect {
 public:
        MixEffect();
@@ -25,4 +27,6 @@ private:
        float strength_first, strength_second;
 };
 
-#endif // !defined(_MIX_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_MIX_EFFECT_H)