In overlay matte, use the luminance as a matte instead of each individual color compo...
[movit] / mirror_effect.h
1 #ifndef _MIRROR_EFFECT_H
2 #define _MIRROR_EFFECT_H 1
3
4 // A simple horizontal mirroring.
5
6 #include "effect.h"
7
8 class MirrorEffect : public Effect {
9 public:
10         MirrorEffect();
11         std::string output_fragment_shader();
12
13         virtual bool needs_linear_light() const { return false; }
14         virtual bool needs_srgb_primaries() const { return false; }
15 };
16
17 #endif // !defined(_MIRROR_EFFECT_H)