]> git.sesse.net Git - movit/blobdiff - alpha_multiplication_effect.h
Add proper formats for sRGB without alpha.
[movit] / alpha_multiplication_effect.h
index c64f2dce050d075f4230d9beca8841f173fb7ce0..bc66d72214d8f612bf3f8425cb2ed39f4a3d837e 100644 (file)
@@ -1,10 +1,14 @@
-#ifndef _ALPHA_MULTIPLICATION_EFFECT_H
-#define _ALPHA_MULTIPLICATION_EFFECT_H 1
+#ifndef _MOVIT_ALPHA_MULTIPLICATION_EFFECT_H
+#define _MOVIT_ALPHA_MULTIPLICATION_EFFECT_H 1
 
 // Convert postmultiplied alpha to premultiplied alpha, simply by multiplying.
 
+#include <string>
+
 #include "effect.h"
 
+namespace movit {
+
 class AlphaMultiplicationEffect : public Effect {
 public:
        AlphaMultiplicationEffect() {}
@@ -12,4 +16,6 @@ public:
        std::string output_fragment_shader();
 };
 
-#endif // !defined(_ALPHA_MULTIPLICATION_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_ALPHA_MULTIPLICATION_EFFECT_H)