X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.cpp;h=24e8ea51aae3f08ab564e11f7a82cd7cb0aeac53;hp=f51dc21c17dad084e98491227fffe35e3e4f474e;hb=a5f32397f9c23fa8644fe195865d6c36685cf866;hpb=85f9719bf3519b1f1942738d11601584f5d38725 diff --git a/gamma_expansion_effect.cpp b/gamma_expansion_effect.cpp index f51dc21..24e8ea5 100644 --- a/gamma_expansion_effect.cpp +++ b/gamma_expansion_effect.cpp @@ -1,4 +1,3 @@ -#include #include #include "effect_util.h" @@ -7,6 +6,8 @@ using namespace std; +namespace movit { + GammaExpansionEffect::GammaExpansionEffect() : source_curve(GAMMA_LINEAR) { @@ -122,3 +123,5 @@ void GammaExpansionEffect::set_gl_state(GLuint glsl_program_num, const string &p set_uniform_float(glsl_program_num, prefix, "beta", 0.0181 * 4.5); } } + +} // namespace movit