From 969c9c28c87e83f4e3fcb7b52a921773d363511f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 5 May 2022 17:38:48 +0200 Subject: Use two LUTs. --- test/colour_conversion_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/colour_conversion_test.cc') diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc index 5a6bdd85..04c182a3 100644 --- a/test/colour_conversion_test.cc +++ b/test/colour_conversion_test.cc @@ -44,7 +44,7 @@ using namespace dcp; static void check_gamma (shared_ptr tf, int bit_depth, bool inverse, float gamma) { - double const * lut = tf->lut (bit_depth, inverse); + double const * lut = tf->lut ("all", 0, 1, bit_depth, inverse); int const count = rint (pow (2.0, bit_depth)); for (int i = 0; i < count; ++i) { @@ -55,7 +55,7 @@ check_gamma (shared_ptr tf, int bit_depth, bool inverse, static void check_modified_gamma (shared_ptr tf, int bit_depth, bool inverse, double power, double threshold, double A, double B) { - double const * lut = tf->lut (bit_depth, inverse); + double const * lut = tf->lut ("all", 0, 1, bit_depth, inverse); int const count = rint (pow (2.0, bit_depth)); for (int i = 0; i < count; ++i) { -- cgit v1.2.3