diff options
Diffstat (limited to 'src/gamma_lut.h')
| -rw-r--r-- | src/gamma_lut.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gamma_lut.h b/src/gamma_lut.h index 3fefdfd2..76a63ccf 100644 --- a/src/gamma_lut.h +++ b/src/gamma_lut.h @@ -27,7 +27,7 @@ namespace dcp { class GammaLUT { public: - GammaLUT (int bit_depth, float gamma); + GammaLUT (int bit_depth, float gamma, bool linearised); ~GammaLUT () { delete[] _lut; @@ -45,12 +45,17 @@ public: return _gamma; } + bool linearised () const { + return _linearised; + } + static LUTCache<GammaLUT> cache; private: float* _lut; int _bit_depth; float _gamma; + bool _linearised; }; } |
