]> git.sesse.net Git - movit/blob - lift_gamma_gain_effect.h
Add fallbacks for systems without proper monotonic clocks (e.g. OS X).
[movit] / lift_gamma_gain_effect.h
1 #ifndef _LIFT_GAMMA_GAIN_EFFECT_H
2 #define _LIFT_GAMMA_GAIN_EFFECT_H 1
3
4 #include "effect.h"
5
6 class LiftGammaGainEffect : public Effect {
7 public:
8         LiftGammaGainEffect();
9         std::string output_glsl();
10
11         void set_uniforms(GLhandleARB glsl_program_num, const std::string &prefix);
12
13 private:
14         RGBTriplet lift, gamma, gain;
15 };
16
17 #endif // !defined(_LIFT_GAMMA_GAIN_EFFECT_H)