summaryrefslogtreecommitdiff
path: root/test/colour_conversion_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/colour_conversion_test.cc')
-rw-r--r--test/colour_conversion_test.cc4
1 files changed, 2 insertions, 2 deletions
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<const TransferFunction> 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<const TransferFunction> tf, int bit_depth, bool inverse,
static void
check_modified_gamma (shared_ptr<const TransferFunction> 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) {