Use Wolfang Woehl's Rec709 -> XYZ matrix, from his rec709-xyz_matrix.rb script.
authorCarl Hetherington <cth@carlh.net>
Mon, 14 Oct 2013 11:51:00 +0000 (12:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 14 Oct 2013 11:51:00 +0000 (12:51 +0100)
src/colour_matrix.cc

index c5c5027f3af3d7b62510cb617e97ce4eec966ac2..d2b88b7e9afea43ff9398d57f96dd355d1a7de42 100644 (file)
@@ -36,7 +36,7 @@ double const libdcp::colour_matrix::srgb_to_xyz[3][3] = {
 };
 
 double const libdcp::colour_matrix::rec709_to_xyz[3][3] = {
-       {0.4124564, 0.3575761, 0.1804375},
-       {0.2126729, 0.7151522, 0.0721750},
-       {0.0193339, 0.1191920, 0.9503041}
+       { 0.412390799265959,  0.357584339383878, 0.180480788401834 },
+       { 0.21263900587151,   0.715168678767756, 0.0721923153607337 },
+        { 0.0193308187155918  0.119194779794626  0.950532152249661 }
 };