X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=colorspace_conversion_effect.cpp;h=0fcea612c4198b8cf8d8a96d40bfbea4c8b25f8e;hb=85f9719bf3519b1f1942738d11601584f5d38725;hp=bd4f70eb41d1d0059fab43e591b8132ef48a43f9;hpb=a80b859d6c8bb9ed1e7aa547d4a9972f1a041347;p=movit diff --git a/colorspace_conversion_effect.cpp b/colorspace_conversion_effect.cpp index bd4f70e..0fcea61 100644 --- a/colorspace_conversion_effect.cpp +++ b/colorspace_conversion_effect.cpp @@ -7,6 +7,7 @@ #include "util.h" using namespace Eigen; +using namespace std; // Color coordinates from Rec. 709; sRGB uses the same primaries. static const double rec709_x_R = 0.640, rec709_x_G = 0.300, rec709_x_B = 0.150; @@ -126,7 +127,7 @@ Matrix3d ColorspaceConversionEffect::get_xyz_matrix(Colorspace space) return m; } -std::string ColorspaceConversionEffect::output_fragment_shader() +string ColorspaceConversionEffect::output_fragment_shader() { // Create a matrix to convert from source space -> XYZ, // another matrix to convert from XYZ -> destination space,