Lynkeos
|
Class which handle the gamma correction. More...
#import <LynkeosGammaCorrecter.h>
Instance Methods | |
(void) | - releaseCorrecter |
Let the gamma converter be reused for another gamma value if needed. | |
Class Methods | |
(LynkeosGammaCorrecter *) | + getCorrecterForGamma: |
get a converter for a gamma value, it is created if needed More... | |
Public Attributes | |
double | _gamma |
Current gamma value. | |
double | _exponent |
Real exponent applied to the curve. | |
double | _linearExtent |
Raw value extent of the linear part. | |
double | _offset |
Offset for the linear part. | |
double | _slope |
Slope of the linear part. | |
u_char * | _lut |
Look Up Table for 8 bit conversion. | |
u_long | _lutSize |
Size of the LUT. | |
u_long | _inUse |
To avoid changing the gamma while used. | |
Class which handle the gamma correction.
It is instanciated once per window controller to allow caching gamma related data (LUT for instance).
+ (LynkeosGammaCorrecter *) getCorrecterForGamma: | (double) | gamma |