]> git.sesse.net Git - movit/blobdiff - white_balance_effect.cpp
Movit can hardly be said to be in alpha stage anymore.
[movit] / white_balance_effect.cpp
index 53c49e4ffc919b4d8ec6bcb321787a4f53b08613..0aa85da66f0159ca7bfd94e8b7ff1e132c73746a 100644 (file)
@@ -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