summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-21 22:40:17 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-22 00:05:28 +0200
commit5c711929b4f1670ef756a7e54ea59d207c7253a6 (patch)
tree75f07653c5958e9753180ead45bf77f785826a45 /test
parent6e322c48a00cd0a115a654777b7bc873138a2866 (diff)
Rename lut -> double_lut.
Diffstat (limited to 'test')
-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 73de297a..b8695ae9 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)
{
- auto lut = tf->lut(0, 1, bit_depth, inverse);
+ auto lut = tf->double_lut(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)
{
- auto lut = tf->lut(0, 1, bit_depth, inverse);
+ auto lut = tf->double_lut(0, 1, bit_depth, inverse);
int const count = rint (pow (2.0, bit_depth));
for (int i = 0; i < count; ++i) {