GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Macros
gp_gamma_correction.gen.h File Reference

Gamma corrections. More...

Go to the source code of this file.

Macros

#define GP_PIXEL_CREATE_RGB101010_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB101010 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB101010_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB101010 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB101010_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize RGB101010 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB101010_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 4095 : 1023)
 Returns a maximum value for a linearized RGB101010 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB101010_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL)
 Returns a lookup table to encode RGB101010 pixel R channel.
 
#define GP_PIXEL_GET_G_RGB101010_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB101010 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB101010_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)
 Returns a lookup table to linearize RGB101010 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB101010_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 4095 : 1023)
 Returns a maximum value for a linearized RGB101010 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB101010_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u16 : NULL)
 Returns a lookup table to encode RGB101010 pixel G channel.
 
#define GP_PIXEL_GET_B_RGB101010_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB101010 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB101010_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)
 Returns a lookup table to linearize RGB101010 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB101010_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 4095 : 1023)
 Returns a maximum value for a linearized RGB101010 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB101010_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u16 : NULL)
 Returns a lookup table to encode RGB101010 pixel B channel.
 
#define GP_PIXEL_CREATE_xRGB8888_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a xRGB8888 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_xRGB8888_LIN(p, gamma_lin)
 Macro to get linearized R channel value for xRGB8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_xRGB8888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize xRGB8888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)
 Returns a maximum value for a linearized xRGB8888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_xRGB8888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode xRGB8888 pixel R channel.
 
#define GP_PIXEL_GET_G_xRGB8888_LIN(p, gamma_lin)
 Macro to get linearized G channel value for xRGB8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_xRGB8888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)
 Returns a lookup table to linearize xRGB8888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)
 Returns a maximum value for a linearized xRGB8888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_xRGB8888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode xRGB8888 pixel G channel.
 
#define GP_PIXEL_GET_B_xRGB8888_LIN(p, gamma_lin)
 Macro to get linearized B channel value for xRGB8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_xRGB8888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)
 Returns a lookup table to linearize xRGB8888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)
 Returns a maximum value for a linearized xRGB8888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_xRGB8888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode xRGB8888 pixel B channel.
 
#define GP_PIXEL_CREATE_RGBA8888_ENC(R, G, B, A, R_gamma_enc, G_gamma_enc, B_gamma_enc, A_gamma_enc)
 A macro to compose a RGBA8888 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGBA8888_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGBA8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGBA8888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize RGBA8888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)
 Returns a maximum value for a linearized RGBA8888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode RGBA8888 pixel R channel.
 
#define GP_PIXEL_GET_G_RGBA8888_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGBA8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGBA8888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)
 Returns a lookup table to linearize RGBA8888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)
 Returns a maximum value for a linearized RGBA8888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode RGBA8888 pixel G channel.
 
#define GP_PIXEL_GET_B_RGBA8888_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGBA8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGBA8888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)
 Returns a lookup table to linearize RGBA8888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)
 Returns a maximum value for a linearized RGBA8888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode RGBA8888 pixel B channel.
 
#define GP_PIXEL_GET_A_RGBA8888_LIN(p, gamma_lin)
 Macro to get linearized A channel value for RGBA8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGBA8888_A(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL)
 Returns a lookup table to linearize RGBA8888 pixel A channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_A(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255)
 Returns a maximum value for a linearized RGBA8888 pixel A channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_A(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL)
 Returns a lookup table to encode RGBA8888 pixel A channel.
 
#define GP_PIXEL_CREATE_RGB888_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB888 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB888_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize RGB888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)
 Returns a maximum value for a linearized RGB888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode RGB888 pixel R channel.
 
#define GP_PIXEL_GET_G_RGB888_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)
 Returns a lookup table to linearize RGB888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)
 Returns a maximum value for a linearized RGB888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode RGB888 pixel G channel.
 
#define GP_PIXEL_GET_B_RGB888_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)
 Returns a lookup table to linearize RGB888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)
 Returns a maximum value for a linearized RGB888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode RGB888 pixel B channel.
 
#define GP_PIXEL_CREATE_BGR888_ENC(B, G, R, B_gamma_enc, G_gamma_enc, R_gamma_enc)
 A macro to compose a BGR888 pixel from linearized channel values.
 
#define GP_PIXEL_GET_B_BGR888_LIN(p, gamma_lin)
 Macro to get linearized B channel value for BGR888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_BGR888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize BGR888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_BGR888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)
 Returns a maximum value for a linearized BGR888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_BGR888_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode BGR888 pixel B channel.
 
#define GP_PIXEL_GET_G_BGR888_LIN(p, gamma_lin)
 Macro to get linearized G channel value for BGR888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_BGR888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)
 Returns a lookup table to linearize BGR888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_BGR888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)
 Returns a maximum value for a linearized BGR888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_BGR888_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode BGR888 pixel G channel.
 
#define GP_PIXEL_GET_R_BGR888_LIN(p, gamma_lin)
 Macro to get linearized R channel value for BGR888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_BGR888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)
 Returns a lookup table to linearize BGR888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_BGR888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)
 Returns a maximum value for a linearized BGR888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_BGR888_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode BGR888 pixel R channel.
 
#define GP_PIXEL_CREATE_RGB555_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB555 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB555_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB555 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB555_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize RGB555 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB555_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31)
 Returns a maximum value for a linearized RGB555 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB555_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode RGB555 pixel R channel.
 
#define GP_PIXEL_GET_G_RGB555_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB555 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB555_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)
 Returns a lookup table to linearize RGB555 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB555_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 127 : 31)
 Returns a maximum value for a linearized RGB555 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB555_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode RGB555 pixel G channel.
 
#define GP_PIXEL_GET_B_RGB555_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB555 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB555_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)
 Returns a lookup table to linearize RGB555 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB555_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31)
 Returns a maximum value for a linearized RGB555 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB555_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode RGB555 pixel B channel.
 
#define GP_PIXEL_CREATE_RGB565_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB565 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB565_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB565 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize RGB565 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31)
 Returns a maximum value for a linearized RGB565 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode RGB565 pixel R channel.
 
#define GP_PIXEL_GET_G_RGB565_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB565 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)
 Returns a lookup table to linearize RGB565 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63)
 Returns a maximum value for a linearized RGB565 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode RGB565 pixel G channel.
 
#define GP_PIXEL_GET_B_RGB565_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB565 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)
 Returns a lookup table to linearize RGB565 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31)
 Returns a maximum value for a linearized RGB565 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode RGB565 pixel B channel.
 
#define GP_PIXEL_CREATE_RGB666_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB666 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB666_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB666 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB666_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize RGB666 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB666_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 63)
 Returns a maximum value for a linearized RGB666 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB666_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode RGB666 pixel R channel.
 
#define GP_PIXEL_GET_G_RGB666_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB666 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB666_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)
 Returns a lookup table to linearize RGB666 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB666_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63)
 Returns a maximum value for a linearized RGB666 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB666_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode RGB666 pixel G channel.
 
#define GP_PIXEL_GET_B_RGB666_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB666 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB666_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)
 Returns a lookup table to linearize RGB666 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB666_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 63)
 Returns a maximum value for a linearized RGB666 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB666_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode RGB666 pixel B channel.
 
#define GP_PIXEL_CREATE_RGB332_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB332 pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB332_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB332 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB332_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize RGB332 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB332_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 31 : 7)
 Returns a maximum value for a linearized RGB332 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB332_R(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode RGB332 pixel R channel.
 
#define GP_PIXEL_GET_G_RGB332_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB332 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB332_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)
 Returns a lookup table to linearize RGB332 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB332_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 31 : 7)
 Returns a maximum value for a linearized RGB332 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB332_G(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode RGB332 pixel G channel.
 
#define GP_PIXEL_GET_B_RGB332_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB332 pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB332_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)
 Returns a lookup table to linearize RGB332 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB332_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 15 : 3)
 Returns a maximum value for a linearized RGB332 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB332_B(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode RGB332 pixel B channel.
 
#define GP_PIXEL_CREATE_CMYK8888_ENC(K, Y, M, C, K_gamma_enc, Y_gamma_enc, M_gamma_enc, C_gamma_enc)
 A macro to compose a CMYK8888 pixel from linearized channel values.
 
#define GP_PIXEL_GET_K_CMYK8888_LIN(p, gamma_lin)
 Macro to get linearized K channel value for CMYK8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_CMYK8888_K(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize CMYK8888 pixel K channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_K(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 255)
 Returns a maximum value for a linearized CMYK8888 pixel K channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_K(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode CMYK8888 pixel K channel.
 
#define GP_PIXEL_GET_Y_CMYK8888_LIN(p, gamma_lin)
 Macro to get linearized Y channel value for CMYK8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_CMYK8888_Y(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)
 Returns a lookup table to linearize CMYK8888 pixel Y channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_Y(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255)
 Returns a maximum value for a linearized CMYK8888 pixel Y channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_Y(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode CMYK8888 pixel Y channel.
 
#define GP_PIXEL_GET_M_CMYK8888_LIN(p, gamma_lin)
 Macro to get linearized M channel value for CMYK8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_CMYK8888_M(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)
 Returns a lookup table to linearize CMYK8888 pixel M channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_M(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 255)
 Returns a maximum value for a linearized CMYK8888 pixel M channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_M(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)
 Returns a lookup table to encode CMYK8888 pixel M channel.
 
#define GP_PIXEL_GET_C_CMYK8888_LIN(p, gamma_lin)
 Macro to get linearized C channel value for CMYK8888 pixel.
 
#define GP_CHAN_TO_LIN_TBL_CMYK8888_C(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL)
 Returns a lookup table to linearize CMYK8888 pixel C channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_C(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255)
 Returns a maximum value for a linearized CMYK8888 pixel C channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_C(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL)
 Returns a lookup table to encode CMYK8888 pixel C channel.
 
#define GP_PIXEL_CREATE_G1_DB_ENC(V, V_gamma_enc)
 A macro to compose a G1_DB pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G1_DB_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G1_DB pixel.
 
#define GP_CHAN_TO_LIN_TBL_G1_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize G1_DB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G1_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1)
 Returns a maximum value for a linearized G1_DB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G1_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G1_DB pixel V channel.
 
#define GP_PIXEL_CREATE_G2_DB_ENC(V, V_gamma_enc)
 A macro to compose a G2_DB pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G2_DB_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G2_DB pixel.
 
#define GP_CHAN_TO_LIN_TBL_G2_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize G2_DB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G2_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3)
 Returns a maximum value for a linearized G2_DB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G2_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G2_DB pixel V channel.
 
#define GP_PIXEL_CREATE_G4_DB_ENC(V, V_gamma_enc)
 A macro to compose a G4_DB pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G4_DB_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G4_DB pixel.
 
#define GP_CHAN_TO_LIN_TBL_G4_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize G4_DB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G4_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15)
 Returns a maximum value for a linearized G4_DB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G4_DB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G4_DB pixel V channel.
 
#define GP_PIXEL_CREATE_G1_UB_ENC(V, V_gamma_enc)
 A macro to compose a G1_UB pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G1_UB_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G1_UB pixel.
 
#define GP_CHAN_TO_LIN_TBL_G1_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize G1_UB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G1_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1)
 Returns a maximum value for a linearized G1_UB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G1_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G1_UB pixel V channel.
 
#define GP_PIXEL_CREATE_G2_UB_ENC(V, V_gamma_enc)
 A macro to compose a G2_UB pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G2_UB_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G2_UB pixel.
 
#define GP_CHAN_TO_LIN_TBL_G2_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize G2_UB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G2_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3)
 Returns a maximum value for a linearized G2_UB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G2_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G2_UB pixel V channel.
 
#define GP_PIXEL_CREATE_G4_UB_ENC(V, V_gamma_enc)
 A macro to compose a G4_UB pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G4_UB_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G4_UB pixel.
 
#define GP_CHAN_TO_LIN_TBL_G4_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)
 Returns a lookup table to linearize G4_UB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G4_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15)
 Returns a maximum value for a linearized G4_UB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G4_UB_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G4_UB pixel V channel.
 
#define GP_PIXEL_CREATE_G8_ENC(V, V_gamma_enc)
 A macro to compose a G8 pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G8_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G8 pixel.
 
#define GP_CHAN_TO_LIN_TBL_G8_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize G8 pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G8_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)
 Returns a maximum value for a linearized G8 pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G8_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode G8 pixel V channel.
 
#define GP_PIXEL_CREATE_GA88_ENC(V, A, V_gamma_enc, A_gamma_enc)
 A macro to compose a GA88 pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_GA88_LIN(p, gamma_lin)
 Macro to get linearized V channel value for GA88 pixel.
 
#define GP_CHAN_TO_LIN_TBL_GA88_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize GA88 pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_GA88_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)
 Returns a maximum value for a linearized GA88 pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_GA88_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)
 Returns a lookup table to encode GA88 pixel V channel.
 
#define GP_PIXEL_GET_A_GA88_LIN(p, gamma_lin)
 Macro to get linearized A channel value for GA88 pixel.
 
#define GP_CHAN_TO_LIN_TBL_GA88_A(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)
 Returns a lookup table to linearize GA88 pixel A channel.
 
#define GP_CHAN_LIN_MAX_VAL_GA88_A(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255)
 Returns a maximum value for a linearized GA88 pixel A channel.
 
#define GP_CHAN_TO_ENC_TBL_GA88_A(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)
 Returns a lookup table to encode GA88 pixel A channel.
 
#define GP_PIXEL_CREATE_G16_ENC(V, V_gamma_enc)
 A macro to compose a G16 pixel from linearized channel values.
 
#define GP_PIXEL_GET_V_G16_LIN(p, gamma_lin)
 Macro to get linearized V channel value for G16 pixel.
 
#define GP_CHAN_TO_LIN_TBL_G16_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)
 Returns a lookup table to linearize G16 pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G16_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 262143 : 65535)
 Returns a maximum value for a linearized G16 pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G16_V(pixmap)    (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL)
 Returns a lookup table to encode G16 pixel V channel.
 

Detailed Description

Gamma corrections.

Definition in file gp_gamma_correction.gen.h.

Macro Definition Documentation

◆ GP_CHAN_LIN_MAX_VAL_BGR888_B

#define GP_CHAN_LIN_MAX_VAL_BGR888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)

Returns a maximum value for a linearized BGR888 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 719 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_BGR888_G

#define GP_CHAN_LIN_MAX_VAL_BGR888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)

Returns a maximum value for a linearized BGR888 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 762 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_BGR888_R

#define GP_CHAN_LIN_MAX_VAL_BGR888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)

Returns a maximum value for a linearized BGR888 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 805 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_C

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_C (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255)

Returns a maximum value for a linearized CMYK8888 pixel C channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1602 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_K

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_K (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 255)

Returns a maximum value for a linearized CMYK8888 pixel K channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1473 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_M

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_M (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 255)

Returns a maximum value for a linearized CMYK8888 pixel M channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1559 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_Y

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_Y (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255)

Returns a maximum value for a linearized CMYK8888 pixel Y channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1516 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G16_V

#define GP_CHAN_LIN_MAX_VAL_G16_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 262143 : 65535)

Returns a maximum value for a linearized G16 pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 2153 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G1_DB_V

#define GP_CHAN_LIN_MAX_VAL_G1_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1)

Returns a maximum value for a linearized G1_DB pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1658 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G1_UB_V

#define GP_CHAN_LIN_MAX_VAL_G1_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1)

Returns a maximum value for a linearized G1_UB pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1826 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G2_DB_V

#define GP_CHAN_LIN_MAX_VAL_G2_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3)

Returns a maximum value for a linearized G2_DB pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1714 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G2_UB_V

#define GP_CHAN_LIN_MAX_VAL_G2_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3)

Returns a maximum value for a linearized G2_UB pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1882 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G4_DB_V

#define GP_CHAN_LIN_MAX_VAL_G4_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15)

Returns a maximum value for a linearized G4_DB pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1770 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G4_UB_V

#define GP_CHAN_LIN_MAX_VAL_G4_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15)

Returns a maximum value for a linearized G4_UB pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1938 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G8_V

#define GP_CHAN_LIN_MAX_VAL_G8_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)

Returns a maximum value for a linearized G8 pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1994 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_GA88_A

#define GP_CHAN_LIN_MAX_VAL_GA88_A (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255)

Returns a maximum value for a linearized GA88 pixel A channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 2097 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_GA88_V

#define GP_CHAN_LIN_MAX_VAL_GA88_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)

Returns a maximum value for a linearized GA88 pixel V channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 2054 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB101010_B

#define GP_CHAN_LIN_MAX_VAL_RGB101010_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 4095 : 1023)

Returns a maximum value for a linearized RGB101010 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 158 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB101010_G

#define GP_CHAN_LIN_MAX_VAL_RGB101010_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 4095 : 1023)

Returns a maximum value for a linearized RGB101010 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 115 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB101010_R

#define GP_CHAN_LIN_MAX_VAL_RGB101010_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 4095 : 1023)

Returns a maximum value for a linearized RGB101010 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 72 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB332_B

#define GP_CHAN_LIN_MAX_VAL_RGB332_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 15 : 3)

Returns a maximum value for a linearized RGB332 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1405 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB332_G

#define GP_CHAN_LIN_MAX_VAL_RGB332_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 31 : 7)

Returns a maximum value for a linearized RGB332 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1362 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB332_R

#define GP_CHAN_LIN_MAX_VAL_RGB332_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 31 : 7)

Returns a maximum value for a linearized RGB332 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1319 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB555_B

#define GP_CHAN_LIN_MAX_VAL_RGB555_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31)

Returns a maximum value for a linearized RGB555 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 955 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB555_G

#define GP_CHAN_LIN_MAX_VAL_RGB555_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 127 : 31)

Returns a maximum value for a linearized RGB555 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 912 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB555_R

#define GP_CHAN_LIN_MAX_VAL_RGB555_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31)

Returns a maximum value for a linearized RGB555 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 869 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB565_B

#define GP_CHAN_LIN_MAX_VAL_RGB565_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31)

Returns a maximum value for a linearized RGB565 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1105 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB565_G

#define GP_CHAN_LIN_MAX_VAL_RGB565_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63)

Returns a maximum value for a linearized RGB565 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1062 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB565_R

#define GP_CHAN_LIN_MAX_VAL_RGB565_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31)

Returns a maximum value for a linearized RGB565 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1019 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB666_B

#define GP_CHAN_LIN_MAX_VAL_RGB666_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 63)

Returns a maximum value for a linearized RGB666 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1255 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB666_G

#define GP_CHAN_LIN_MAX_VAL_RGB666_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63)

Returns a maximum value for a linearized RGB666 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1212 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB666_R

#define GP_CHAN_LIN_MAX_VAL_RGB666_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 63)

Returns a maximum value for a linearized RGB666 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 1169 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB888_B

#define GP_CHAN_LIN_MAX_VAL_RGB888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)

Returns a maximum value for a linearized RGB888 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 655 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB888_G

#define GP_CHAN_LIN_MAX_VAL_RGB888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)

Returns a maximum value for a linearized RGB888 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 612 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB888_R

#define GP_CHAN_LIN_MAX_VAL_RGB888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)

Returns a maximum value for a linearized RGB888 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 569 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGBA8888_A

#define GP_CHAN_LIN_MAX_VAL_RGBA8888_A (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255)

Returns a maximum value for a linearized RGBA8888 pixel A channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 505 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGBA8888_B

#define GP_CHAN_LIN_MAX_VAL_RGBA8888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)

Returns a maximum value for a linearized RGBA8888 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 462 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGBA8888_G

#define GP_CHAN_LIN_MAX_VAL_RGBA8888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)

Returns a maximum value for a linearized RGBA8888 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 419 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGBA8888_R

#define GP_CHAN_LIN_MAX_VAL_RGBA8888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)

Returns a maximum value for a linearized RGBA8888 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 376 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_xRGB8888_B

#define GP_CHAN_LIN_MAX_VAL_xRGB8888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255)

Returns a maximum value for a linearized xRGB8888 pixel B channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 308 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_xRGB8888_G

#define GP_CHAN_LIN_MAX_VAL_xRGB8888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255)

Returns a maximum value for a linearized xRGB8888 pixel G channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 265 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_xRGB8888_R

#define GP_CHAN_LIN_MAX_VAL_xRGB8888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255)

Returns a maximum value for a linearized xRGB8888 pixel R channel.

The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.

Parameters
pixmapA pixmap to get the maximum for.
Returns
A maximum value for the linearized pixel channel.

Definition at line 222 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_BGR888_B

#define GP_CHAN_TO_ENC_TBL_BGR888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode BGR888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 728 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_BGR888_G

#define GP_CHAN_TO_ENC_TBL_BGR888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode BGR888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 771 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_BGR888_R

#define GP_CHAN_TO_ENC_TBL_BGR888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode BGR888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 814 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_C

#define GP_CHAN_TO_ENC_TBL_CMYK8888_C (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL)

Returns a lookup table to encode CMYK8888 pixel C channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1611 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_K

#define GP_CHAN_TO_ENC_TBL_CMYK8888_K (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode CMYK8888 pixel K channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1482 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_M

#define GP_CHAN_TO_ENC_TBL_CMYK8888_M (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode CMYK8888 pixel M channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1568 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_Y

#define GP_CHAN_TO_ENC_TBL_CMYK8888_Y (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode CMYK8888 pixel Y channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1525 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G16_V

#define GP_CHAN_TO_ENC_TBL_G16_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL)

Returns a lookup table to encode G16 pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2162 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G1_DB_V

#define GP_CHAN_TO_ENC_TBL_G1_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G1_DB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1667 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G1_UB_V

#define GP_CHAN_TO_ENC_TBL_G1_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G1_UB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1835 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G2_DB_V

#define GP_CHAN_TO_ENC_TBL_G2_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G2_DB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1723 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G2_UB_V

#define GP_CHAN_TO_ENC_TBL_G2_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G2_UB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1891 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G4_DB_V

#define GP_CHAN_TO_ENC_TBL_G4_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G4_DB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1779 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G4_UB_V

#define GP_CHAN_TO_ENC_TBL_G4_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G4_UB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1947 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G8_V

#define GP_CHAN_TO_ENC_TBL_G8_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode G8 pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2003 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_GA88_A

#define GP_CHAN_TO_ENC_TBL_GA88_A (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode GA88 pixel A channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2106 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_GA88_V

#define GP_CHAN_TO_ENC_TBL_GA88_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode GA88 pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2063 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB101010_B

#define GP_CHAN_TO_ENC_TBL_RGB101010_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u16 : NULL)

Returns a lookup table to encode RGB101010 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 167 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB101010_G

#define GP_CHAN_TO_ENC_TBL_RGB101010_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u16 : NULL)

Returns a lookup table to encode RGB101010 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 124 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB101010_R

#define GP_CHAN_TO_ENC_TBL_RGB101010_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL)

Returns a lookup table to encode RGB101010 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 81 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB332_B

#define GP_CHAN_TO_ENC_TBL_RGB332_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode RGB332 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1414 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB332_G

#define GP_CHAN_TO_ENC_TBL_RGB332_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode RGB332 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1371 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB332_R

#define GP_CHAN_TO_ENC_TBL_RGB332_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode RGB332 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1328 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB555_B

#define GP_CHAN_TO_ENC_TBL_RGB555_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode RGB555 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 964 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB555_G

#define GP_CHAN_TO_ENC_TBL_RGB555_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode RGB555 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 921 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB555_R

#define GP_CHAN_TO_ENC_TBL_RGB555_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode RGB555 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 878 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB565_B

#define GP_CHAN_TO_ENC_TBL_RGB565_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode RGB565 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1114 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB565_G

#define GP_CHAN_TO_ENC_TBL_RGB565_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode RGB565 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1071 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB565_R

#define GP_CHAN_TO_ENC_TBL_RGB565_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode RGB565 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1028 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB666_B

#define GP_CHAN_TO_ENC_TBL_RGB666_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode RGB666 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1264 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB666_G

#define GP_CHAN_TO_ENC_TBL_RGB666_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode RGB666 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1221 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB666_R

#define GP_CHAN_TO_ENC_TBL_RGB666_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode RGB666 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1178 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB888_B

#define GP_CHAN_TO_ENC_TBL_RGB888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode RGB888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 664 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB888_G

#define GP_CHAN_TO_ENC_TBL_RGB888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode RGB888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 621 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB888_R

#define GP_CHAN_TO_ENC_TBL_RGB888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode RGB888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 578 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGBA8888_A

#define GP_CHAN_TO_ENC_TBL_RGBA8888_A (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL)

Returns a lookup table to encode RGBA8888 pixel A channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 514 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGBA8888_B

#define GP_CHAN_TO_ENC_TBL_RGBA8888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode RGBA8888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 471 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGBA8888_G

#define GP_CHAN_TO_ENC_TBL_RGBA8888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode RGBA8888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 428 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGBA8888_R

#define GP_CHAN_TO_ENC_TBL_RGBA8888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode RGBA8888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 385 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_xRGB8888_B

#define GP_CHAN_TO_ENC_TBL_xRGB8888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL)

Returns a lookup table to encode xRGB8888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 317 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_xRGB8888_G

#define GP_CHAN_TO_ENC_TBL_xRGB8888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL)

Returns a lookup table to encode xRGB8888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 274 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_xRGB8888_R

#define GP_CHAN_TO_ENC_TBL_xRGB8888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL)

Returns a lookup table to encode xRGB8888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 231 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_BGR888_B

#define GP_CHAN_TO_LIN_TBL_BGR888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize BGR888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 708 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_BGR888_G

#define GP_CHAN_TO_LIN_TBL_BGR888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)

Returns a lookup table to linearize BGR888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 751 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_BGR888_R

#define GP_CHAN_TO_LIN_TBL_BGR888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)

Returns a lookup table to linearize BGR888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 794 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_C

#define GP_CHAN_TO_LIN_TBL_CMYK8888_C (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL)

Returns a lookup table to linearize CMYK8888 pixel C channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1591 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_K

#define GP_CHAN_TO_LIN_TBL_CMYK8888_K (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize CMYK8888 pixel K channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1462 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_M

#define GP_CHAN_TO_LIN_TBL_CMYK8888_M (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)

Returns a lookup table to linearize CMYK8888 pixel M channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1548 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_Y

#define GP_CHAN_TO_LIN_TBL_CMYK8888_Y (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)

Returns a lookup table to linearize CMYK8888 pixel Y channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1505 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G16_V

#define GP_CHAN_TO_LIN_TBL_G16_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize G16 pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2142 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G1_DB_V

#define GP_CHAN_TO_LIN_TBL_G1_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize G1_DB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1647 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G1_UB_V

#define GP_CHAN_TO_LIN_TBL_G1_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize G1_UB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1815 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G2_DB_V

#define GP_CHAN_TO_LIN_TBL_G2_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize G2_DB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1703 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G2_UB_V

#define GP_CHAN_TO_LIN_TBL_G2_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize G2_UB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1871 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G4_DB_V

#define GP_CHAN_TO_LIN_TBL_G4_DB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize G4_DB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1759 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G4_UB_V

#define GP_CHAN_TO_LIN_TBL_G4_UB_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize G4_UB pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1927 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G8_V

#define GP_CHAN_TO_LIN_TBL_G8_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize G8 pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1983 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_GA88_A

#define GP_CHAN_TO_LIN_TBL_GA88_A (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)

Returns a lookup table to linearize GA88 pixel A channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2086 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_GA88_V

#define GP_CHAN_TO_LIN_TBL_GA88_V (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize GA88 pixel V channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 2043 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB101010_B

#define GP_CHAN_TO_LIN_TBL_RGB101010_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)

Returns a lookup table to linearize RGB101010 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 147 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB101010_G

#define GP_CHAN_TO_LIN_TBL_RGB101010_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)

Returns a lookup table to linearize RGB101010 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 104 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB101010_R

#define GP_CHAN_TO_LIN_TBL_RGB101010_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize RGB101010 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 61 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB332_B

#define GP_CHAN_TO_LIN_TBL_RGB332_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)

Returns a lookup table to linearize RGB332 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1394 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB332_G

#define GP_CHAN_TO_LIN_TBL_RGB332_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)

Returns a lookup table to linearize RGB332 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1351 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB332_R

#define GP_CHAN_TO_LIN_TBL_RGB332_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize RGB332 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1308 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB555_B

#define GP_CHAN_TO_LIN_TBL_RGB555_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)

Returns a lookup table to linearize RGB555 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 944 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB555_G

#define GP_CHAN_TO_LIN_TBL_RGB555_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)

Returns a lookup table to linearize RGB555 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 901 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB555_R

#define GP_CHAN_TO_LIN_TBL_RGB555_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize RGB555 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 858 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB565_B

#define GP_CHAN_TO_LIN_TBL_RGB565_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)

Returns a lookup table to linearize RGB565 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1094 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB565_G

#define GP_CHAN_TO_LIN_TBL_RGB565_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)

Returns a lookup table to linearize RGB565 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1051 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB565_R

#define GP_CHAN_TO_LIN_TBL_RGB565_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize RGB565 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1008 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB666_B

#define GP_CHAN_TO_LIN_TBL_RGB666_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL)

Returns a lookup table to linearize RGB666 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1244 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB666_G

#define GP_CHAN_TO_LIN_TBL_RGB666_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL)

Returns a lookup table to linearize RGB666 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1201 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB666_R

#define GP_CHAN_TO_LIN_TBL_RGB666_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL)

Returns a lookup table to linearize RGB666 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 1158 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB888_B

#define GP_CHAN_TO_LIN_TBL_RGB888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)

Returns a lookup table to linearize RGB888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 644 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB888_G

#define GP_CHAN_TO_LIN_TBL_RGB888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)

Returns a lookup table to linearize RGB888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 601 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB888_R

#define GP_CHAN_TO_LIN_TBL_RGB888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize RGB888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 558 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGBA8888_A

#define GP_CHAN_TO_LIN_TBL_RGBA8888_A (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL)

Returns a lookup table to linearize RGBA8888 pixel A channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 494 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGBA8888_B

#define GP_CHAN_TO_LIN_TBL_RGBA8888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)

Returns a lookup table to linearize RGBA8888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 451 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGBA8888_G

#define GP_CHAN_TO_LIN_TBL_RGBA8888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)

Returns a lookup table to linearize RGBA8888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 408 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGBA8888_R

#define GP_CHAN_TO_LIN_TBL_RGBA8888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize RGBA8888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 365 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_xRGB8888_B

#define GP_CHAN_TO_LIN_TBL_xRGB8888_B (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL)

Returns a lookup table to linearize xRGB8888 pixel B channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 297 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_xRGB8888_G

#define GP_CHAN_TO_LIN_TBL_xRGB8888_G (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL)

Returns a lookup table to linearize xRGB8888 pixel G channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 254 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_xRGB8888_R

#define GP_CHAN_TO_LIN_TBL_xRGB8888_R (   pixmap)     (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL)

Returns a lookup table to linearize xRGB8888 pixel R channel.

Parameters
pixmapA pixmap to get the table from.
Returns
A lookup table or NULL if channel is linear.

Definition at line 211 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_BGR888_ENC

#define GP_PIXEL_CREATE_BGR888_ENC (   B,
  G,
  R,
  B_gamma_enc,
  G_gamma_enc,
  R_gamma_enc 
)
Value:
(0\
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 16) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 8) \
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 0) \
)

A macro to compose a BGR888 pixel from linearized channel values.

Parameters
BA BGR888 linearized B channel value.
GA BGR888 linearized G channel value.
RA BGR888 linearized R channel value.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A BGR888 pixel value.

Definition at line 682 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_CMYK8888_ENC

#define GP_PIXEL_CREATE_CMYK8888_ENC (   K,
  Y,
  M,
  C,
  K_gamma_enc,
  Y_gamma_enc,
  M_gamma_enc,
  C_gamma_enc 
)
Value:
(0\
+ ((K_gamma_enc ? K_gamma_enc[(K)] : K) << 24) \
+ ((Y_gamma_enc ? Y_gamma_enc[(Y)] : Y) << 16) \
+ ((M_gamma_enc ? M_gamma_enc[(M)] : M) << 8) \
+ ((C_gamma_enc ? C_gamma_enc[(C)] : C) << 0) \
)

A macro to compose a CMYK8888 pixel from linearized channel values.

Parameters
KA CMYK8888 linearized K channel value.
YA CMYK8888 linearized Y channel value.
MA CMYK8888 linearized M channel value.
CA CMYK8888 linearized C channel value.
K_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Y_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
M_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
C_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A CMYK8888 pixel value.

Definition at line 1435 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G16_ENC

#define GP_PIXEL_CREATE_G16_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G16 pixel from linearized channel values.

Parameters
VA G16 linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G16 pixel value.

Definition at line 2118 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G1_DB_ENC

#define GP_PIXEL_CREATE_G1_DB_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G1_DB pixel from linearized channel values.

Parameters
VA G1_DB linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G1_DB pixel value.

Definition at line 1623 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G1_UB_ENC

#define GP_PIXEL_CREATE_G1_UB_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G1_UB pixel from linearized channel values.

Parameters
VA G1_UB linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G1_UB pixel value.

Definition at line 1791 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G2_DB_ENC

#define GP_PIXEL_CREATE_G2_DB_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G2_DB pixel from linearized channel values.

Parameters
VA G2_DB linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G2_DB pixel value.

Definition at line 1679 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G2_UB_ENC

#define GP_PIXEL_CREATE_G2_UB_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G2_UB pixel from linearized channel values.

Parameters
VA G2_UB linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G2_UB pixel value.

Definition at line 1847 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G4_DB_ENC

#define GP_PIXEL_CREATE_G4_DB_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G4_DB pixel from linearized channel values.

Parameters
VA G4_DB linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G4_DB pixel value.

Definition at line 1735 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G4_UB_ENC

#define GP_PIXEL_CREATE_G4_UB_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G4_UB pixel from linearized channel values.

Parameters
VA G4_UB linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G4_UB pixel value.

Definition at line 1903 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_G8_ENC

#define GP_PIXEL_CREATE_G8_ENC (   V,
  V_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
)

A macro to compose a G8 pixel from linearized channel values.

Parameters
VA G8 linearized V channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A G8 pixel value.

Definition at line 1959 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_GA88_ENC

#define GP_PIXEL_CREATE_GA88_ENC (   V,
  A,
  V_gamma_enc,
  A_gamma_enc 
)
Value:
(0\
+ ((V_gamma_enc ? V_gamma_enc[(V)] : V) << 0) \
+ ((A_gamma_enc ? A_gamma_enc[(A)] : A) << 8) \
)

A macro to compose a GA88 pixel from linearized channel values.

Parameters
VA GA88 linearized V channel value.
AA GA88 linearized A channel value.
V_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
A_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A GA88 pixel value.

Definition at line 2018 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGB101010_ENC

#define GP_PIXEL_CREATE_RGB101010_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 20) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 10) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a RGB101010 pixel from linearized channel values.

Parameters
RA RGB101010 linearized R channel value.
GA RGB101010 linearized G channel value.
BA RGB101010 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGB101010 pixel value.

Definition at line 35 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGB332_ENC

#define GP_PIXEL_CREATE_RGB332_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 5) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 2) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a RGB332 pixel from linearized channel values.

Parameters
RA RGB332 linearized R channel value.
GA RGB332 linearized G channel value.
BA RGB332 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGB332 pixel value.

Definition at line 1282 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGB555_ENC

#define GP_PIXEL_CREATE_RGB555_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 10) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 5) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a RGB555 pixel from linearized channel values.

Parameters
RA RGB555 linearized R channel value.
GA RGB555 linearized G channel value.
BA RGB555 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGB555 pixel value.

Definition at line 832 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGB565_ENC

#define GP_PIXEL_CREATE_RGB565_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 11) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 5) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a RGB565 pixel from linearized channel values.

Parameters
RA RGB565 linearized R channel value.
GA RGB565 linearized G channel value.
BA RGB565 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGB565 pixel value.

Definition at line 982 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGB666_ENC

#define GP_PIXEL_CREATE_RGB666_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 12) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 6) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a RGB666 pixel from linearized channel values.

Parameters
RA RGB666 linearized R channel value.
GA RGB666 linearized G channel value.
BA RGB666 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGB666 pixel value.

Definition at line 1132 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGB888_ENC

#define GP_PIXEL_CREATE_RGB888_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 16) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 8) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a RGB888 pixel from linearized channel values.

Parameters
RA RGB888 linearized R channel value.
GA RGB888 linearized G channel value.
BA RGB888 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGB888 pixel value.

Definition at line 532 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_RGBA8888_ENC

#define GP_PIXEL_CREATE_RGBA8888_ENC (   R,
  G,
  B,
  A,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc,
  A_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 24) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 16) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 8) \
+ ((A_gamma_enc ? A_gamma_enc[(A)] : A) << 0) \
)

A macro to compose a RGBA8888 pixel from linearized channel values.

Parameters
RA RGBA8888 linearized R channel value.
GA RGBA8888 linearized G channel value.
BA RGBA8888 linearized B channel value.
AA RGBA8888 linearized A channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
A_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A RGBA8888 pixel value.

Definition at line 338 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_CREATE_xRGB8888_ENC

#define GP_PIXEL_CREATE_xRGB8888_ENC (   R,
  G,
  B,
  R_gamma_enc,
  G_gamma_enc,
  B_gamma_enc 
)
Value:
(0\
+ ((R_gamma_enc ? R_gamma_enc[(R)] : R) << 16) \
+ ((G_gamma_enc ? G_gamma_enc[(G)] : G) << 8) \
+ ((B_gamma_enc ? B_gamma_enc[(B)] : B) << 0) \
)

A macro to compose a xRGB8888 pixel from linearized channel values.

Parameters
RA xRGB8888 linearized R channel value.
GA xRGB8888 linearized G channel value.
BA xRGB8888 linearized B channel value.
R_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
G_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
B_gamma_encA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A xRGB8888 pixel value.

Definition at line 185 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_A_GA88_LIN

#define GP_PIXEL_GET_A_GA88_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_A_GA88(p)] : \
GP_PIXEL_GET_A_GA88(p) \
)

Macro to get linearized A channel value for GA88 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 2075 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_A_RGBA8888_LIN

#define GP_PIXEL_GET_A_RGBA8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_A_RGBA8888(p)] : \
GP_PIXEL_GET_A_RGBA8888(p) \
)

Macro to get linearized A channel value for RGBA8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 483 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_BGR888_LIN

#define GP_PIXEL_GET_B_BGR888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_BGR888(p)] : \
GP_PIXEL_GET_B_BGR888(p) \
)
#define GP_PIXEL_GET_B_BGR888(p)
Macro to get raw channel value for BGR888 pixel.

Macro to get linearized B channel value for BGR888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 697 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGB101010_LIN

#define GP_PIXEL_GET_B_RGB101010_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB101010(p)] : \
GP_PIXEL_GET_B_RGB101010(p) \
)

Macro to get linearized B channel value for RGB101010 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 136 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGB332_LIN

#define GP_PIXEL_GET_B_RGB332_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB332(p)] : \
GP_PIXEL_GET_B_RGB332(p) \
)

Macro to get linearized B channel value for RGB332 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1383 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGB555_LIN

#define GP_PIXEL_GET_B_RGB555_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB555(p)] : \
GP_PIXEL_GET_B_RGB555(p) \
)

Macro to get linearized B channel value for RGB555 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 933 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGB565_LIN

#define GP_PIXEL_GET_B_RGB565_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB565(p)] : \
GP_PIXEL_GET_B_RGB565(p) \
)

Macro to get linearized B channel value for RGB565 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1083 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGB666_LIN

#define GP_PIXEL_GET_B_RGB666_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB666(p)] : \
GP_PIXEL_GET_B_RGB666(p) \
)

Macro to get linearized B channel value for RGB666 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1233 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGB888_LIN

#define GP_PIXEL_GET_B_RGB888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB888(p)] : \
GP_PIXEL_GET_B_RGB888(p) \
)

Macro to get linearized B channel value for RGB888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 633 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_RGBA8888_LIN

#define GP_PIXEL_GET_B_RGBA8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGBA8888(p)] : \
GP_PIXEL_GET_B_RGBA8888(p) \
)

Macro to get linearized B channel value for RGBA8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 440 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_B_xRGB8888_LIN

#define GP_PIXEL_GET_B_xRGB8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_xRGB8888(p)] : \
GP_PIXEL_GET_B_xRGB8888(p) \
)

Macro to get linearized B channel value for xRGB8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 286 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_C_CMYK8888_LIN

#define GP_PIXEL_GET_C_CMYK8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_C_CMYK8888(p)] : \
GP_PIXEL_GET_C_CMYK8888(p) \
)

Macro to get linearized C channel value for CMYK8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1580 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_BGR888_LIN

#define GP_PIXEL_GET_G_BGR888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_BGR888(p)] : \
GP_PIXEL_GET_G_BGR888(p) \
)

Macro to get linearized G channel value for BGR888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 740 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGB101010_LIN

#define GP_PIXEL_GET_G_RGB101010_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB101010(p)] : \
GP_PIXEL_GET_G_RGB101010(p) \
)

Macro to get linearized G channel value for RGB101010 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 93 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGB332_LIN

#define GP_PIXEL_GET_G_RGB332_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB332(p)] : \
GP_PIXEL_GET_G_RGB332(p) \
)

Macro to get linearized G channel value for RGB332 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1340 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGB555_LIN

#define GP_PIXEL_GET_G_RGB555_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB555(p)] : \
GP_PIXEL_GET_G_RGB555(p) \
)

Macro to get linearized G channel value for RGB555 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 890 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGB565_LIN

#define GP_PIXEL_GET_G_RGB565_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB565(p)] : \
GP_PIXEL_GET_G_RGB565(p) \
)

Macro to get linearized G channel value for RGB565 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1040 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGB666_LIN

#define GP_PIXEL_GET_G_RGB666_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB666(p)] : \
GP_PIXEL_GET_G_RGB666(p) \
)

Macro to get linearized G channel value for RGB666 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1190 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGB888_LIN

#define GP_PIXEL_GET_G_RGB888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB888(p)] : \
GP_PIXEL_GET_G_RGB888(p) \
)

Macro to get linearized G channel value for RGB888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 590 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_RGBA8888_LIN

#define GP_PIXEL_GET_G_RGBA8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGBA8888(p)] : \
GP_PIXEL_GET_G_RGBA8888(p) \
)

Macro to get linearized G channel value for RGBA8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 397 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_G_xRGB8888_LIN

#define GP_PIXEL_GET_G_xRGB8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_xRGB8888(p)] : \
GP_PIXEL_GET_G_xRGB8888(p) \
)

Macro to get linearized G channel value for xRGB8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 243 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_K_CMYK8888_LIN

#define GP_PIXEL_GET_K_CMYK8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_K_CMYK8888(p)] : \
GP_PIXEL_GET_K_CMYK8888(p) \
)
#define GP_PIXEL_GET_K_CMYK8888(p)
Macro to get raw channel value for CMYK8888 pixel.

Macro to get linearized K channel value for CMYK8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1451 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_M_CMYK8888_LIN

#define GP_PIXEL_GET_M_CMYK8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_M_CMYK8888(p)] : \
GP_PIXEL_GET_M_CMYK8888(p) \
)

Macro to get linearized M channel value for CMYK8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1537 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_BGR888_LIN

#define GP_PIXEL_GET_R_BGR888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_BGR888(p)] : \
GP_PIXEL_GET_R_BGR888(p) \
)

Macro to get linearized R channel value for BGR888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 783 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGB101010_LIN

#define GP_PIXEL_GET_R_RGB101010_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB101010(p)] : \
GP_PIXEL_GET_R_RGB101010(p) \
)
#define GP_PIXEL_GET_R_RGB101010(p)
Macro to get raw channel value for RGB101010 pixel.

Macro to get linearized R channel value for RGB101010 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 50 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGB332_LIN

#define GP_PIXEL_GET_R_RGB332_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB332(p)] : \
GP_PIXEL_GET_R_RGB332(p) \
)
#define GP_PIXEL_GET_R_RGB332(p)
Macro to get raw channel value for RGB332 pixel.

Macro to get linearized R channel value for RGB332 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1297 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGB555_LIN

#define GP_PIXEL_GET_R_RGB555_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB555(p)] : \
GP_PIXEL_GET_R_RGB555(p) \
)
#define GP_PIXEL_GET_R_RGB555(p)
Macro to get raw channel value for RGB555 pixel.

Macro to get linearized R channel value for RGB555 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 847 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGB565_LIN

#define GP_PIXEL_GET_R_RGB565_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB565(p)] : \
GP_PIXEL_GET_R_RGB565(p) \
)
#define GP_PIXEL_GET_R_RGB565(p)
Macro to get raw channel value for RGB565 pixel.

Macro to get linearized R channel value for RGB565 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 997 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGB666_LIN

#define GP_PIXEL_GET_R_RGB666_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB666(p)] : \
GP_PIXEL_GET_R_RGB666(p) \
)
#define GP_PIXEL_GET_R_RGB666(p)
Macro to get raw channel value for RGB666 pixel.

Macro to get linearized R channel value for RGB666 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1147 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGB888_LIN

#define GP_PIXEL_GET_R_RGB888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB888(p)] : \
GP_PIXEL_GET_R_RGB888(p) \
)
#define GP_PIXEL_GET_R_RGB888(p)
Macro to get raw channel value for RGB888 pixel.

Macro to get linearized R channel value for RGB888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 547 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_RGBA8888_LIN

#define GP_PIXEL_GET_R_RGBA8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGBA8888(p)] : \
GP_PIXEL_GET_R_RGBA8888(p) \
)
#define GP_PIXEL_GET_R_RGBA8888(p)
Macro to get raw channel value for RGBA8888 pixel.

Macro to get linearized R channel value for RGBA8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 354 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_R_xRGB8888_LIN

#define GP_PIXEL_GET_R_xRGB8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_xRGB8888(p)] : \
GP_PIXEL_GET_R_xRGB8888(p) \
)
#define GP_PIXEL_GET_R_xRGB8888(p)
Macro to get raw channel value for xRGB8888 pixel.

Macro to get linearized R channel value for xRGB8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 200 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G16_LIN

#define GP_PIXEL_GET_V_G16_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G16(p)] : \
GP_PIXEL_GET_V_G16(p) \
)
#define GP_PIXEL_GET_V_G16(p)
Macro to get raw channel value for G16 pixel.

Macro to get linearized V channel value for G16 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 2131 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G1_DB_LIN

#define GP_PIXEL_GET_V_G1_DB_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G1_DB(p)] : \
GP_PIXEL_GET_V_G1_DB(p) \
)
#define GP_PIXEL_GET_V_G1_DB(p)
Macro to get raw channel value for G1_DB pixel.

Macro to get linearized V channel value for G1_DB pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1636 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G1_UB_LIN

#define GP_PIXEL_GET_V_G1_UB_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G1_UB(p)] : \
GP_PIXEL_GET_V_G1_UB(p) \
)
#define GP_PIXEL_GET_V_G1_UB(p)
Macro to get raw channel value for G1_UB pixel.

Macro to get linearized V channel value for G1_UB pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1804 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G2_DB_LIN

#define GP_PIXEL_GET_V_G2_DB_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G2_DB(p)] : \
GP_PIXEL_GET_V_G2_DB(p) \
)
#define GP_PIXEL_GET_V_G2_DB(p)
Macro to get raw channel value for G2_DB pixel.

Macro to get linearized V channel value for G2_DB pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1692 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G2_UB_LIN

#define GP_PIXEL_GET_V_G2_UB_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G2_UB(p)] : \
GP_PIXEL_GET_V_G2_UB(p) \
)
#define GP_PIXEL_GET_V_G2_UB(p)
Macro to get raw channel value for G2_UB pixel.

Macro to get linearized V channel value for G2_UB pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1860 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G4_DB_LIN

#define GP_PIXEL_GET_V_G4_DB_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G4_DB(p)] : \
GP_PIXEL_GET_V_G4_DB(p) \
)
#define GP_PIXEL_GET_V_G4_DB(p)
Macro to get raw channel value for G4_DB pixel.

Macro to get linearized V channel value for G4_DB pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1748 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G4_UB_LIN

#define GP_PIXEL_GET_V_G4_UB_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G4_UB(p)] : \
GP_PIXEL_GET_V_G4_UB(p) \
)
#define GP_PIXEL_GET_V_G4_UB(p)
Macro to get raw channel value for G4_UB pixel.

Macro to get linearized V channel value for G4_UB pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1916 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_G8_LIN

#define GP_PIXEL_GET_V_G8_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_G8(p)] : \
GP_PIXEL_GET_V_G8(p) \
)
#define GP_PIXEL_GET_V_G8(p)
Macro to get raw channel value for G8 pixel.

Macro to get linearized V channel value for G8 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1972 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_V_GA88_LIN

#define GP_PIXEL_GET_V_GA88_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_V_GA88(p)] : \
GP_PIXEL_GET_V_GA88(p) \
)
#define GP_PIXEL_GET_V_GA88(p)
Macro to get raw channel value for GA88 pixel.

Macro to get linearized V channel value for GA88 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 2032 of file gp_gamma_correction.gen.h.

◆ GP_PIXEL_GET_Y_CMYK8888_LIN

#define GP_PIXEL_GET_Y_CMYK8888_LIN (   p,
  gamma_lin 
)
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_Y_CMYK8888(p)] : \
GP_PIXEL_GET_Y_CMYK8888(p) \
)

Macro to get linearized Y channel value for CMYK8888 pixel.

Parameters
pA pixel value.
gamma_linA pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel.
Returns
A linearized pixel channel value.

Definition at line 1494 of file gp_gamma_correction.gen.h.