]> git.sesse.net Git - movit/blobdiff - resize_effect.h
Fix a bug where having two DeconvolutionSharpenEffects in one chain would cause shade...
[movit] / resize_effect.h
index 3cb40e3344d7703180e90e8d2352a73df876e87a..dff6dccdc3c02b0bc6e35103a553dcd0e6eff6fc 100644 (file)
@@ -1,12 +1,16 @@
-#ifndef _RESIZE_EFFECT_H
-#define _RESIZE_EFFECT_H 1
+#ifndef _MOVIT_RESIZE_EFFECT_H
+#define _MOVIT_RESIZE_EFFECT_H 1
 
 // An effect that simply resizes the picture to a given output size
 // (set by the two integer parameters "width" and "height").
 // Mostly useful as part of other algorithms.
 
 
 // An effect that simply resizes the picture to a given output size
 // (set by the two integer parameters "width" and "height").
 // Mostly useful as part of other algorithms.
 
+#include <string>
+
 #include "effect.h"
 
 #include "effect.h"
 
+namespace movit {
+
 class ResizeEffect : public Effect {
 public:
        ResizeEffect();
 class ResizeEffect : public Effect {
 public:
        ResizeEffect();
@@ -26,4 +30,6 @@ private:
        int width, height;
 };
 
        int width, height;
 };
 
-#endif // !defined(_RESIZE_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_RESIZE_EFFECT_H)