X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=white_balance_effect.cpp;h=0aa85da66f0159ca7bfd94e8b7ff1e132c73746a;hp=53c49e4ffc919b4d8ec6bcb321787a4f53b08613;hb=d843bbc41c20e1f0abe25df5162423270af78896;hpb=85f9719bf3519b1f1942738d11601584f5d38725 diff --git a/white_balance_effect.cpp b/white_balance_effect.cpp index 53c49e4..0aa85da 100644 --- a/white_balance_effect.cpp +++ b/white_balance_effect.cpp @@ -6,12 +6,15 @@ #include "colorspace_conversion_effect.h" #include "d65.h" #include "effect_util.h" +#include "image_format.h" #include "util.h" #include "white_balance_effect.h" using namespace Eigen; using namespace std; +namespace movit { + namespace { // Temperature is in Kelvin. Formula from http://en.wikipedia.org/wiki/Planckian_locus#Approximation . @@ -147,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