X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=white_balance_effect.cpp;h=56cd8c96b853306a776e878b0f6e481092053fd0;hp=8a00af4397afe6b8d2267712672bb0119572075a;hb=ad66f9714e4a36008c341355700272a52484a785;hpb=5b0f7fe5ff6af6a5e2f1620681ccf809f559393a diff --git a/white_balance_effect.cpp b/white_balance_effect.cpp index 8a00af4..56cd8c9 100644 --- a/white_balance_effect.cpp +++ b/white_balance_effect.cpp @@ -1,12 +1,12 @@ -#include -#include - +#include #include +#include +#include -#include "white_balance_effect.h" -#include "util.h" -#include "opengl.h" #include "d65.h" +#include "effect_util.h" +#include "util.h" +#include "white_balance_effect.h" using namespace Eigen; @@ -39,7 +39,7 @@ Vector3d convert_color_temperature_to_xyz(float T) } // Assuming sRGB primaries, from Wikipedia. -double rgb_to_xyz_matrix[9] = { +const double rgb_to_xyz_matrix[9] = { 0.4124, 0.2126, 0.0193, 0.3576, 0.7152, 0.1192, 0.1805, 0.0722, 0.9505,