HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMG_GammaTableDetail Class Reference

#include <IMG_GammaTable.h>

Public Member Functions

SYS_FORCE_INLINE void toFloat (float *result, const uint8 *src, int nchan, const float *lut) const
 
float linear01 (uint8 v) const
 
SYS_FORCE_INLINE void sRGBToFloat (float *result, const uint8 *src, int nchan) const
 
SYS_FORCE_INLINE void rec709ToFloat (float *result, const uint8 *src, int nchan) const
 
SYS_FORCE_INLINE void gamma22ToFloat (float *result, const uint8 *src, int nchan) const
 

Static Public Member Functions

static const IMG_GammaTableDetailget ()
 
template<typename T >
static constexpr T linearToSRGB (T x)
 
template<typename T >
static constexpr T linearToRec709 (T x)
 
template<typename T >
static constexpr T linearToGamma (T x, T gamma)
 
template<typename T >
static constexpr T linearToGamma22 (T x)
 
template<typename T >
static constexpr T srgbToLinear (T x)
 
template<typename T >
static constexpr T rec709ToLinear (T x)
 
template<typename T >
static constexpr T gammaToLinear (T x, T gamma)
 
template<typename T >
static constexpr T gamma22ToLinear (T x)
 

Static Public Attributes

static constexpr int AutoStride = 0
 

Detailed Description

Definition at line 19 of file IMG_GammaTable.h.

Member Function Documentation

SYS_FORCE_INLINE void IMG_GammaTableDetail::gamma22ToFloat ( float result,
const uint8 src,
int  nchan 
) const
inline

Definition at line 119 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::gamma22ToLinear ( T  x)
inlinestatic

Definition at line 80 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::gammaToLinear ( T  x,
T  gamma 
)
inlinestatic

Definition at line 75 of file IMG_GammaTable.h.

static const IMG_GammaTableDetail& IMG_GammaTableDetail::get ( )
static
float IMG_GammaTableDetail::linear01 ( uint8  v) const
inline

Definition at line 106 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::linearToGamma ( T  x,
T  gamma 
)
inlinestatic

Definition at line 45 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::linearToGamma22 ( T  x)
inlinestatic

Definition at line 50 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::linearToRec709 ( T  x)
inlinestatic

Definition at line 36 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::linearToSRGB ( T  x)
inlinestatic

Definition at line 27 of file IMG_GammaTable.h.

SYS_FORCE_INLINE void IMG_GammaTableDetail::rec709ToFloat ( float result,
const uint8 src,
int  nchan 
) const
inline

Definition at line 114 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::rec709ToLinear ( T  x)
inlinestatic

Definition at line 66 of file IMG_GammaTable.h.

SYS_FORCE_INLINE void IMG_GammaTableDetail::sRGBToFloat ( float result,
const uint8 src,
int  nchan 
) const
inline

Definition at line 109 of file IMG_GammaTable.h.

template<typename T >
static constexpr T IMG_GammaTableDetail::srgbToLinear ( T  x)
inlinestatic

Definition at line 57 of file IMG_GammaTable.h.

SYS_FORCE_INLINE void IMG_GammaTableDetail::toFloat ( float result,
const uint8 src,
int  nchan,
const float lut 
) const
inline

Definition at line 87 of file IMG_GammaTable.h.

Member Data Documentation

constexpr int IMG_GammaTableDetail::AutoStride = 0
static

Definition at line 22 of file IMG_GammaTable.h.


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