]> git.sesse.net Git - movit/blob - gamma_compression_effect.h
Flip some need bits in the conversion effects.
[movit] / gamma_compression_effect.h
1 #ifndef _GAMMA_COMPRESSION_EFFECT_H 
2 #define _GAMMA_COMPRESSION_EFFECT_H 1
3
4 #include "effect.h"
5 #include "effect_chain.h"
6
7 class GammaCompressionEffect : public Effect {
8 public:
9         GammaCompressionEffect();
10         std::string output_glsl();
11
12         virtual bool needs_srgb_primaries() { return false; }
13
14 private:
15         GammaCurve destination_curve;
16 };
17
18 #endif // !defined(_GAMMA_COMPRESSION_EFFECT_H)