X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=white_balance_effect.cpp;h=0aa85da66f0159ca7bfd94e8b7ff1e132c73746a;hp=ef60e7a92174f0627703128131bf087dcba263db;hb=cfc161e0289c2169d4835c48751ff56b97355eb2;hpb=0fa51e08f83e0283337216f5b951b3d5a8c0555b 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