X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=alpha_division_effect.h;h=6fcc716d48bf93e180f8656f99af0a48b868a100;hp=2b51c3a7256c6e53ca7633b561cfef1864c13aa6;hb=95edbfccb0843da3cc105dadc5bc6d8e102f6071;hpb=37f56fcbe571b2322243f6de59494bf9e0cbb37a diff --git a/alpha_division_effect.h b/alpha_division_effect.h index 2b51c3a..6fcc716 100644 --- a/alpha_division_effect.h +++ b/alpha_division_effect.h @@ -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)