Public Member Functions | |
void | Map (const float *y, int xRes, int yRes, float maxDisplayY, float *scale) const |
Static Private Member Functions | |
static float | C (float y) |
static float | T (float y, float CYmin, float CYmax, float maxDisplayY) |
Definition at line 28 of file highcontrast.cpp.
void HighContrastOp::Map | ( | const float * | y, | |
int | xRes, | |||
int | yRes, | |||
float | maxDisplayY, | |||
float * | scale | |||
) | const [virtual] |
Implements ToneMap.
Definition at line 51 of file highcontrast.cpp.
References C(), ProgressReporter::Done(), Lerp(), MIPMap< T >::Lookup(), T(), TEXTURE_CLAMP, and ProgressReporter::Update().
static float HighContrastOp::C | ( | float | y | ) | [inline, static, private] |
static float HighContrastOp::T | ( | float | y, | |
float | CYmin, | |||
float | CYmax, | |||
float | maxDisplayY | |||
) | [inline, static, private] |