Use sRGB textures on the input side if applicable.
[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 private:
13         GammaCurve destination_curve;
14 };
15
16 #endif // !defined(_GAMMA_COMPRESSION_EFFECT_H)