40 #ifndef LIBDCP_TRANSFER_FUNCTION_H
41 #define LIBDCP_TRANSFER_FUNCTION_H
44 #include <boost/thread/mutex.hpp>
66 double const *
lut (
int bit_depth,
bool inverse)
const;
68 virtual bool about_equal (std::shared_ptr<const TransferFunction> other,
double epsilon)
const = 0;
72 virtual double *
make_lut (
int bit_depth,
bool inverse)
const = 0;
75 mutable std::map<std::pair<int, bool>,
double*> _luts;
A transfer function represented by a lookup table.
double const * lut(int bit_depth, bool inverse) const
virtual double * make_lut(int bit_depth, bool inverse) const =0
Namespace for everything in libdcp.