Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Gamma🞂GAMMA_DECODING_TABLEVariable

GAMMA_DECODING_TABLE

Global 256-entry lookup table for gamma decoding (gamma-compressed space to linear light).

Declaration ​

pascal
var GAMMA_DECODING_TABLE: TGammaTable8Bit;

Description ​

GAMMA_DECODING_TABLE is a global TGammaTable8Bit array precalculated to map gamma-compressed input values (0…255) to linear light intensity values (0…255).

It is initialized by SetGamma or Set_sRGB and used by ApplyInvGamma routines to decode single TColor32 colors, pixel arrays, or entire bitmaps into linear light space.

See also ​