X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=white_balance_effect.cpp;h=0aa85da66f0159ca7bfd94e8b7ff1e132c73746a;hp=ef60e7a92174f0627703128131bf087dcba263db;hb=eb7b041eed00003662057affe216de6cdeaaf7a2;hpb=9651a4eaae012cdc49c1aa38197861e04f62e91e diff --git a/white_balance_effect.cpp b/white_balance_effect.cpp index ef60e7a..0aa85da 100644 --- a/white_balance_effect.cpp +++ b/white_balance_effect.cpp @@ -13,6 +13,8 @@ using namespace Eigen; using namespace std; +namespace movit { + namespace { // Temperature is in Kelvin. Formula from http://en.wikipedia.org/wiki/Planckian_locus#Approximation . @@ -148,3 +150,5 @@ void WhiteBalanceEffect::set_gl_state(GLuint glsl_program_num, const string &pre rgb_to_xyz_matrix; set_uniform_mat3(glsl_program_num, prefix, "correction_matrix", corr_matrix); } + +} // namespace movit