diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-21 22:40:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-22 00:05:28 +0200 |
| commit | 5c711929b4f1670ef756a7e54ea59d207c7253a6 (patch) | |
| tree | 75f07653c5958e9753180ead45bf77f785826a45 /src/piecewise_lut.h | |
| parent | 6e322c48a00cd0a115a654777b7bc873138a2866 (diff) | |
Rename lut -> double_lut.
Diffstat (limited to 'src/piecewise_lut.h')
| -rw-r--r-- | src/piecewise_lut.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/piecewise_lut.h b/src/piecewise_lut.h index 772e0aed..f2f21a92 100644 --- a/src/piecewise_lut.h +++ b/src/piecewise_lut.h @@ -49,8 +49,8 @@ class PiecewiseLUT2 public: PiecewiseLUT2(std::shared_ptr<const TransferFunction> fn, double boundary, int low_bits, int high_bits, bool inverse) : _boundary(boundary) - , _low(fn->lut(0, boundary, low_bits, inverse)) - , _high(fn->lut(boundary, 1, high_bits, inverse)) + , _low(fn->double_lut(0, boundary, low_bits, inverse)) + , _high(fn->double_lut(boundary, 1, high_bits, inverse)) , _low_scale(static_cast<int>(std::pow(2.0f, low_bits)) - 1) , _high_scale(static_cast<int>(std::pow(2.0f, high_bits)) - 1) { |
