X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=white_balance_effect.h;h=5a8ecd548d6cf8efd4143feb3d457d97d76cf930;hp=80416cba39340df11b0464a173e5ca07da5be3a5;hb=f8e636666b3d36f97b125bc1a0f0f582c5026c7f;hpb=cfe0bc4fa1e2a56eeb12c33e596f79c1292292c8 diff --git a/white_balance_effect.h b/white_balance_effect.h index 80416cb..5a8ecd5 100644 --- a/white_balance_effect.h +++ b/white_balance_effect.h @@ -1,14 +1,18 @@ -#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" 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 +26,4 @@ private: float output_color_temperature; }; -#endif // !defined(_WHITE_BALANCE_EFFECT_H) +#endif // !defined(_MOVIT_WHITE_BALANCE_EFFECT_H)