libdcp
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dcp::GammaTransferFunction Class Reference

A description of a gamma function of the f(x) = x^g where g is the gamma. More...

#include <gamma_transfer_function.h>

Inheritance diagram for dcp::GammaTransferFunction:
dcp::TransferFunction

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
 
TransferFunctionoperator= (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
 

Detailed Description

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.

Member Function Documentation

◆ make_lut()

double * GammaTransferFunction::make_lut ( int  bit_depth,
bool  inverse 
) const
overrideprotectedvirtual

Make a LUT and return an array allocated by new

Implements dcp::TransferFunction.

Definition at line 58 of file gamma_transfer_function.cc.


The documentation for this class was generated from the following files: