X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=white_balance_effect.h;h=f438b91507a00b579d9eac697a3f619ac4527096;hp=80416cba39340df11b0464a173e5ca07da5be3a5;hb=47b4160062cdaa53b7d49d7f99ce2c686f02cff8;hpb=cfe0bc4fa1e2a56eeb12c33e596f79c1292292c8 diff --git a/white_balance_effect.h b/white_balance_effect.h index 80416cb..f438b91 100644 --- a/white_balance_effect.h +++ b/white_balance_effect.h @@ -1,14 +1,20 @@ -#ifndef _WHITE_BALANCE_EFFECT_H -#define _WHITE_BALANCE_EFFECT_H 1 +#ifndef _MOVIT_WHITE_BALANCE_EFFECT_H +#define _MOVIT_WHITE_BALANCE_EFFECT_H 1 // Color correction in LMS color space. +#include +#include + #include "effect.h" +namespace movit { + class WhiteBalanceEffect : public Effect { public: WhiteBalanceEffect(); virtual std::string effect_type_id() const { return "WhiteBalanceEffect"; } + virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } std::string output_fragment_shader(); void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); @@ -22,4 +28,6 @@ private: float output_color_temperature; }; -#endif // !defined(_WHITE_BALANCE_EFFECT_H) +} // namespace movit + +#endif // !defined(_MOVIT_WHITE_BALANCE_EFFECT_H)