]> git.sesse.net Git - movit/blobdiff - mirror_effect.h
Add YCbCr input. Required a bit of reworking of the sRGB extension stuff, but seems...
[movit] / mirror_effect.h
index 6e75b2692f06ab35188f30883ce34d3b43aefcad..343eb173a52a96c717ee5bc49c44314bb9db6ae4 100644 (file)
@@ -1,13 +1,17 @@
 #ifndef _MIRROR_EFFECT_H
 #define _MIRROR_EFFECT_H 1
 
+// A simple horizontal mirroring.
+
 #include "effect.h"
 
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
-       std::string output_vertex_shader();
        std::string output_fragment_shader();
+
+       virtual bool needs_linear_light() const { return false; }
+       virtual bool needs_srgb_primaries() const { return false; }
 };
 
 #endif // !defined(_MIRROR_EFFECT_H)