From c7f48dfbf82e5233bc8cfc79c5ed057c41d7ba15 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 14 Oct 2013 12:51:00 +0100 Subject: Use Wolfang Woehl's Rec709 -> XYZ matrix, from his rec709-xyz_matrix.rb script. --- src/colour_matrix.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/colour_matrix.cc b/src/colour_matrix.cc index c5c5027f..d2b88b7e 100644 --- a/src/colour_matrix.cc +++ b/src/colour_matrix.cc @@ -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 } }; -- cgit v1.2.3