| Herd Software Development
|=
DaVinci Graphics Library
|==
DaVinci Documentation Home Search Order


Leonardo: The GammaCorrectionGetArray function

The function GammaCorrectionGetArray fills an array of 256 BYTE values for use with subsequent calls to GammaCorrectionApplyToDIB and DitherTo1.

void API GammaCorrectionGetArray(
int iGamma1000,
int iReserved1,
int iReserved2,
LPBYTE lpabGamma);

iGamma1000 int Gamma correction value, multiplied by 10000.(see Gamma correction))

iReserved1 int Reserved for future use. Applications should specify this value as 0.

iReserved2 int Reserved for future use. Applications should specify this value as 0.

lpabGamma LPBYTE Pointer to an array of 256 byte values to be used in subsequent calls to GammaCorrectionApplyToDIB or DitherTo1.)