X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=mirror_effect.h;h=d9c3f717f9c776b75c83fe53b59653e29038863f;hp=a33921be6b8172365828790531dff9d6e4e15d81;hb=1461e278260d54c1536970cbc60c0a709769a791;hpb=37f56fcbe571b2322243f6de59494bf9e0cbb37a diff --git a/mirror_effect.h b/mirror_effect.h index a33921b..d9c3f71 100644 --- a/mirror_effect.h +++ b/mirror_effect.h @@ -1,5 +1,5 @@ -#ifndef _MIRROR_EFFECT_H -#define _MIRROR_EFFECT_H 1 +#ifndef _MOVIT_MIRROR_EFFECT_H +#define _MOVIT_MIRROR_EFFECT_H 1 // A simple horizontal mirroring. @@ -7,6 +7,8 @@ #include "effect.h" +namespace movit { + class MirrorEffect : public Effect { public: MirrorEffect(); @@ -16,6 +18,9 @@ public: virtual bool needs_linear_light() const { return false; } virtual bool needs_srgb_primaries() const { return false; } virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } + virtual bool one_to_one_sampling() const { return true; } }; -#endif // !defined(_MIRROR_EFFECT_H) +} // namespace movit + +#endif // !defined(_MOVIT_MIRROR_EFFECT_H)