Add a new framework for 1D-LUTs via fp16 textures. Make the gamma compression and...
[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_fragment_shader();
10
11         void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
12
13 private:
14         RGBTriplet lift, gamma, gain;
15 };
16
17 #endif // !defined(_LIFT_GAMMA_GAIN_EFFECT_H)