]> git.sesse.net Git - movit/blobdiff - alpha_division_effect.h
Convert an overly cut-and-pasted comment for AlphaDivisionEffect.
[movit] / alpha_division_effect.h
index e700112fb2a909c108c2ddb48ccbb3b96d5ab0ed..ae8f786e3075040c147f844da3ff8afae2326667 100644 (file)
@@ -1,10 +1,14 @@
-#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.
+// Convert postmultiplied alpha to premultiplied alpha, simply by dividing.
+
+#include <string>
 
 #include "effect.h"
 
+namespace movit {
+
 class AlphaDivisionEffect : public Effect {
 public:
        AlphaDivisionEffect() {}
@@ -12,4 +16,6 @@ public:
        std::string output_fragment_shader();
 };
 
-#endif // !defined(_ALPHA_DIVISION_EFFECT_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_ALPHA_DIVISION_EFFECT_H)