]> git.sesse.net Git - movit/blobdiff - alpha_division_effect.h
Add proper formats for sRGB without alpha.
[movit] / alpha_division_effect.h
index 2b51c3a7256c6e53ca7633b561cfef1864c13aa6..6fcc716d48bf93e180f8656f99af0a48b868a100 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _ALPHA_DIVISION_EFFECT_H
-#define _ALPHA_DIVISION_EFFECT_H 1
+#ifndef _MOVIT_ALPHA_DIVISION_EFFECT_H
+#define _MOVIT_ALPHA_DIVISION_EFFECT_H 1
 
 // Convert premultiplied alpha to postmultiplied alpha, simply by multiplying.
 
@@ -7,6 +7,8 @@
 
 #include "effect.h"
 
+namespace movit {
+
 class AlphaDivisionEffect : public Effect {
 public:
        AlphaDivisionEffect() {}
@@ -14,4 +16,6 @@ public:
        std::string output_fragment_shader();
 };
 
-#endif // !defined(_ALPHA_DIVISION_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_ALPHA_DIVISION_EFFECT_H)