libdcp
|
A description of a gamma function of the f(x) = x^g where g is the gamma. More...
#include <gamma_transfer_function.h>
Public Member Functions | |
GammaTransferFunction (double gamma) | |
double | gamma () const |
bool | about_equal (std::shared_ptr< const TransferFunction > other, double epsilon) const override |
Public Member Functions inherited from dcp::TransferFunction | |
TransferFunction (TransferFunction const &)=delete | |
TransferFunction & | operator= (TransferFunction const &)=delete |
double const * | lut (int bit_depth, bool inverse) const |
Protected Member Functions | |
double * | make_lut (int bit_depth, bool inverse) const override |
Private Attributes | |
double | _gamma |
A description of a gamma function of the f(x) = x^g where g is the gamma.
Definition at line 49 of file gamma_transfer_function.h.
|
overrideprotectedvirtual |
Make a LUT and return an array allocated by new
Implements dcp::TransferFunction.
Definition at line 58 of file gamma_transfer_function.cc.