summaryrefslogtreecommitdiff
path: root/src/gamma_transfer_function.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-04-22 13:58:16 +0100
committerCarl Hetherington <cth@carlh.net>2015-04-22 13:58:16 +0100
commit86bfdeb77f55b379302a65b22f57fc0583ec6b3c (patch)
tree66ed8eb0e4855c520b1b1a0d9dae052a0ad5bfe6 /src/gamma_transfer_function.h
parent3c88524c9a2418d6d2d8b8eac29737c95b9a7411 (diff)
Express colour conversions as chromaticities and adjust so that
everything is specified as something_to_xyz and then you can get an inverse LUT if you want one.
Diffstat (limited to 'src/gamma_transfer_function.h')
-rw-r--r--src/gamma_transfer_function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma_transfer_function.h b/src/gamma_transfer_function.h
index 17efe12e..282fdfe0 100644
--- a/src/gamma_transfer_function.h
+++ b/src/gamma_transfer_function.h
@@ -24,7 +24,7 @@ namespace dcp {
class GammaTransferFunction : public TransferFunction
{
public:
- GammaTransferFunction (bool inverse, double gamma);
+ GammaTransferFunction (double gamma);
double gamma () const {
return _gamma;
@@ -33,7 +33,7 @@ public:
bool about_equal (boost::shared_ptr<const TransferFunction> other, double epsilon) const;
protected:
- double * make_lut (int bit_depth) const;
+ double * make_lut (int bit_depth, bool inverse) const;
private:
double _gamma;