summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-03-06 16:15:41 +0000
committerCarl Hetherington <cth@carlh.net>2015-03-06 16:15:41 +0000
commit728728adb7761bd9c6f806d00963d9579fab230e (patch)
tree2bde731581b7b71cad9abc7ca305b713098ee714 /test
parente61ffa2f37f9f674a79f80fe00bd9f8920bba4ea (diff)
parente94c6239d1a88c5a6d2b6eef7fb0f5fc28cb8777 (diff)
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'test')
-rw-r--r--test/colour_conversion_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc
index 7193a5ef..9111b918 100644
--- a/test/colour_conversion_test.cc
+++ b/test/colour_conversion_test.cc
@@ -71,9 +71,9 @@ BOOST_AUTO_TEST_CASE (colour_conversion_test2)
{
ColourConversion cc = ColourConversion::rec709_to_xyz ();
- check_modified_gamma (cc.in(), 8, 2.4, 0.081, 0.099, 4.5);
- check_modified_gamma (cc.in(), 12, 2.4, 0.081, 0.099, 4.5);
- check_modified_gamma (cc.in(), 16, 2.4, 0.081, 0.099, 4.5);
+ check_modified_gamma (cc.in(), 8, 1 / 0.45, 0.081, 0.099, 4.5);
+ check_modified_gamma (cc.in(), 12, 1 / 0.45, 0.081, 0.099, 4.5);
+ check_modified_gamma (cc.in(), 16, 1 / 0.45, 0.081, 0.099, 4.5);
check_gamma (cc.out(), 8, 1 / 2.6);
check_gamma (cc.out(), 12, 1 / 2.6);