]> git.sesse.net Git - movit/blob - gamma_expansion_effect.h
Add vec2 parameter support.
[movit] / gamma_expansion_effect.h
1 #ifndef _GAMMA_EXPANSION_EFFECT_H 
2 #define _GAMMA_EXPANSION_EFFECT_H 1
3
4 #include "effect.h"
5 #include "effect_chain.h"
6
7 class GammaExpansionEffect : public Effect {
8 public:
9         GammaExpansionEffect();
10         std::string output_glsl();
11
12         virtual bool needs_linear_light() { return false; }
13         virtual bool needs_srgb_primaries() { return false; }
14
15 private:
16         GammaCurve source_curve;
17 };
18
19 #endif // !defined(_GAMMA_EXPANSION_EFFECT_H)