summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-14 12:51:00 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-14 12:51:00 +0100
commitc7f48dfbf82e5233bc8cfc79c5ed057c41d7ba15 (patch)
tree9f6e77c25ff19d402146e41eb31b123959814d7e /src
parent4e2ee891c692f656d6866dfa5e0cfc47fab5cb90 (diff)
Use Wolfang Woehl's Rec709 -> XYZ matrix, from his rec709-xyz_matrix.rb script.
Diffstat (limited to 'src')
-rw-r--r--src/colour_matrix.cc6
1 files changed, 3 insertions, 3 deletions
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 }
};