summaryrefslogtreecommitdiff
path: root/src/gamma_transfer_function.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-05-05 20:56:14 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-05 21:09:40 +0200
commitcbbb9e63b7ec7a5c34f186ceafe5da6be8faa739 (patch)
tree79ccaa11973954138df02c2022b2ea25c0717b9d /src/gamma_transfer_function.h
parentad7244de981a7dd0b9b4f8f3d62d4704f1968012 (diff)
Allow LUTs to be created with a particular range.
Diffstat (limited to 'src/gamma_transfer_function.h')
-rw-r--r--src/gamma_transfer_function.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma_transfer_function.h b/src/gamma_transfer_function.h
index bfd336df..e7294000 100644
--- a/src/gamma_transfer_function.h
+++ b/src/gamma_transfer_function.h
@@ -58,7 +58,7 @@ public:
bool about_equal (std::shared_ptr<const TransferFunction> other, double epsilon) const override;
protected:
- std::vector<double> make_lut (int bit_depth, bool inverse) const override;
+ std::vector<double> make_lut (double from, double to, int bit_depth, bool inverse) const override;
private:
double _gamma;