GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
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)
 Returns a lookup table to linearize RGB101010 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB101010_R(pixmap)
 Returns a maximum value for a linearized RGB101010 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB101010_R(pixmap)
 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)
 Returns a lookup table to linearize RGB101010 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB101010_G(pixmap)
 Returns a maximum value for a linearized RGB101010 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB101010_G(pixmap)
 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)
 Returns a lookup table to linearize RGB101010 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB101010_B(pixmap)
 Returns a maximum value for a linearized RGB101010 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB101010_B(pixmap)
 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)
 Returns a lookup table to linearize xRGB8888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_R(pixmap)
 Returns a maximum value for a linearized xRGB8888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_xRGB8888_R(pixmap)
 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)
 Returns a lookup table to linearize xRGB8888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_G(pixmap)
 Returns a maximum value for a linearized xRGB8888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_xRGB8888_G(pixmap)
 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)
 Returns a lookup table to linearize xRGB8888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_B(pixmap)
 Returns a maximum value for a linearized xRGB8888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_xRGB8888_B(pixmap)
 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)
 Returns a lookup table to linearize RGBA8888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_R(pixmap)
 Returns a maximum value for a linearized RGBA8888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_R(pixmap)
 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)
 Returns a lookup table to linearize RGBA8888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_G(pixmap)
 Returns a maximum value for a linearized RGBA8888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_G(pixmap)
 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)
 Returns a lookup table to linearize RGBA8888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_B(pixmap)
 Returns a maximum value for a linearized RGBA8888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_B(pixmap)
 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)
 Returns a lookup table to linearize RGBA8888 pixel A channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_A(pixmap)
 Returns a maximum value for a linearized RGBA8888 pixel A channel.
 
#define GP_CHAN_TO_ENC_TBL_RGBA8888_A(pixmap)
 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)
 Returns a lookup table to linearize RGB888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB888_R(pixmap)
 Returns a maximum value for a linearized RGB888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB888_R(pixmap)
 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)
 Returns a lookup table to linearize RGB888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB888_G(pixmap)
 Returns a maximum value for a linearized RGB888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB888_G(pixmap)
 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)
 Returns a lookup table to linearize RGB888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB888_B(pixmap)
 Returns a maximum value for a linearized RGB888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB888_B(pixmap)
 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)
 Returns a lookup table to linearize BGR888 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_BGR888_B(pixmap)
 Returns a maximum value for a linearized BGR888 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_BGR888_B(pixmap)
 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)
 Returns a lookup table to linearize BGR888 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_BGR888_G(pixmap)
 Returns a maximum value for a linearized BGR888 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_BGR888_G(pixmap)
 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)
 Returns a lookup table to linearize BGR888 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_BGR888_R(pixmap)
 Returns a maximum value for a linearized BGR888 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_BGR888_R(pixmap)
 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)
 Returns a lookup table to linearize RGB555 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB555_R(pixmap)
 Returns a maximum value for a linearized RGB555 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB555_R(pixmap)
 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)
 Returns a lookup table to linearize RGB555 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB555_G(pixmap)
 Returns a maximum value for a linearized RGB555 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB555_G(pixmap)
 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)
 Returns a lookup table to linearize RGB555 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB555_B(pixmap)
 Returns a maximum value for a linearized RGB555 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB555_B(pixmap)
 Returns a lookup table to encode RGB555 pixel B channel.
 
#define GP_PIXEL_CREATE_RGB565_BE_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB565_BE pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB565_BE_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB565_BE pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_BE_R(pixmap)
 Returns a lookup table to linearize RGB565_BE pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_BE_R(pixmap)
 Returns a maximum value for a linearized RGB565_BE pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_BE_R(pixmap)
 Returns a lookup table to encode RGB565_BE pixel R channel.
 
#define GP_PIXEL_GET_G_RGB565_BE_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB565_BE pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_BE_G(pixmap)
 Returns a lookup table to linearize RGB565_BE pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_BE_G(pixmap)
 Returns a maximum value for a linearized RGB565_BE pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_BE_G(pixmap)
 Returns a lookup table to encode RGB565_BE pixel G channel.
 
#define GP_PIXEL_GET_B_RGB565_BE_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB565_BE pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_BE_B(pixmap)
 Returns a lookup table to linearize RGB565_BE pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_BE_B(pixmap)
 Returns a maximum value for a linearized RGB565_BE pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_BE_B(pixmap)
 Returns a lookup table to encode RGB565_BE pixel B channel.
 
#define GP_PIXEL_CREATE_RGB565_LE_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc)
 A macro to compose a RGB565_LE pixel from linearized channel values.
 
#define GP_PIXEL_GET_R_RGB565_LE_LIN(p, gamma_lin)
 Macro to get linearized R channel value for RGB565_LE pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_LE_R(pixmap)
 Returns a lookup table to linearize RGB565_LE pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_LE_R(pixmap)
 Returns a maximum value for a linearized RGB565_LE pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_LE_R(pixmap)
 Returns a lookup table to encode RGB565_LE pixel R channel.
 
#define GP_PIXEL_GET_G_RGB565_LE_LIN(p, gamma_lin)
 Macro to get linearized G channel value for RGB565_LE pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_LE_G(pixmap)
 Returns a lookup table to linearize RGB565_LE pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_LE_G(pixmap)
 Returns a maximum value for a linearized RGB565_LE pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_LE_G(pixmap)
 Returns a lookup table to encode RGB565_LE pixel G channel.
 
#define GP_PIXEL_GET_B_RGB565_LE_LIN(p, gamma_lin)
 Macro to get linearized B channel value for RGB565_LE pixel.
 
#define GP_CHAN_TO_LIN_TBL_RGB565_LE_B(pixmap)
 Returns a lookup table to linearize RGB565_LE pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB565_LE_B(pixmap)
 Returns a maximum value for a linearized RGB565_LE pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB565_LE_B(pixmap)
 Returns a lookup table to encode RGB565_LE 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)
 Returns a lookup table to linearize RGB666 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB666_R(pixmap)
 Returns a maximum value for a linearized RGB666 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB666_R(pixmap)
 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)
 Returns a lookup table to linearize RGB666 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB666_G(pixmap)
 Returns a maximum value for a linearized RGB666 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB666_G(pixmap)
 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)
 Returns a lookup table to linearize RGB666 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB666_B(pixmap)
 Returns a maximum value for a linearized RGB666 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB666_B(pixmap)
 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)
 Returns a lookup table to linearize RGB332 pixel R channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB332_R(pixmap)
 Returns a maximum value for a linearized RGB332 pixel R channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB332_R(pixmap)
 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)
 Returns a lookup table to linearize RGB332 pixel G channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB332_G(pixmap)
 Returns a maximum value for a linearized RGB332 pixel G channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB332_G(pixmap)
 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)
 Returns a lookup table to linearize RGB332 pixel B channel.
 
#define GP_CHAN_LIN_MAX_VAL_RGB332_B(pixmap)
 Returns a maximum value for a linearized RGB332 pixel B channel.
 
#define GP_CHAN_TO_ENC_TBL_RGB332_B(pixmap)
 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)
 Returns a lookup table to linearize CMYK8888 pixel K channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_K(pixmap)
 Returns a maximum value for a linearized CMYK8888 pixel K channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_K(pixmap)
 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)
 Returns a lookup table to linearize CMYK8888 pixel Y channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_Y(pixmap)
 Returns a maximum value for a linearized CMYK8888 pixel Y channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_Y(pixmap)
 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)
 Returns a lookup table to linearize CMYK8888 pixel M channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_M(pixmap)
 Returns a maximum value for a linearized CMYK8888 pixel M channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_M(pixmap)
 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)
 Returns a lookup table to linearize CMYK8888 pixel C channel.
 
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_C(pixmap)
 Returns a maximum value for a linearized CMYK8888 pixel C channel.
 
#define GP_CHAN_TO_ENC_TBL_CMYK8888_C(pixmap)
 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)
 Returns a lookup table to linearize G1_DB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G1_DB_V(pixmap)
 Returns a maximum value for a linearized G1_DB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G1_DB_V(pixmap)
 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)
 Returns a lookup table to linearize G2_DB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G2_DB_V(pixmap)
 Returns a maximum value for a linearized G2_DB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G2_DB_V(pixmap)
 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)
 Returns a lookup table to linearize G4_DB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G4_DB_V(pixmap)
 Returns a maximum value for a linearized G4_DB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G4_DB_V(pixmap)
 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)
 Returns a lookup table to linearize G1_UB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G1_UB_V(pixmap)
 Returns a maximum value for a linearized G1_UB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G1_UB_V(pixmap)
 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)
 Returns a lookup table to linearize G2_UB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G2_UB_V(pixmap)
 Returns a maximum value for a linearized G2_UB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G2_UB_V(pixmap)
 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)
 Returns a lookup table to linearize G4_UB pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G4_UB_V(pixmap)
 Returns a maximum value for a linearized G4_UB pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G4_UB_V(pixmap)
 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)
 Returns a lookup table to linearize G8 pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G8_V(pixmap)
 Returns a maximum value for a linearized G8 pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G8_V(pixmap)
 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)
 Returns a lookup table to linearize GA88 pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_GA88_V(pixmap)
 Returns a maximum value for a linearized GA88 pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_GA88_V(pixmap)
 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)
 Returns a lookup table to linearize GA88 pixel A channel.
 
#define GP_CHAN_LIN_MAX_VAL_GA88_A(pixmap)
 Returns a maximum value for a linearized GA88 pixel A channel.
 
#define GP_CHAN_TO_ENC_TBL_GA88_A(pixmap)
 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)
 Returns a lookup table to linearize G16 pixel V channel.
 
#define GP_CHAN_LIN_MAX_VAL_G16_V(pixmap)
 Returns a maximum value for a linearized G16 pixel V channel.
 
#define GP_CHAN_TO_ENC_TBL_G16_V(pixmap)
 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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1752 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_K

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_K ( pixmap)
Value:
(((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 1623 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_M

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_M ( pixmap)
Value:
(((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 1709 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_CMYK8888_Y

#define GP_CHAN_LIN_MAX_VAL_CMYK8888_Y ( pixmap)
Value:
(((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 1666 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G16_V

#define GP_CHAN_LIN_MAX_VAL_G16_V ( pixmap)
Value:
(((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 2303 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)
Value:
(((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 1808 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)
Value:
(((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 1976 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)
Value:
(((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 1864 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)
Value:
(((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 2032 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)
Value:
(((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 1920 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)
Value:
(((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 2088 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_G8_V

#define GP_CHAN_LIN_MAX_VAL_G8_V ( pixmap)
Value:
(((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 2144 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_GA88_A

#define GP_CHAN_LIN_MAX_VAL_GA88_A ( pixmap)
Value:
(((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 2247 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_GA88_V

#define GP_CHAN_LIN_MAX_VAL_GA88_V ( pixmap)
Value:
(((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 2204 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB101010_B

#define GP_CHAN_LIN_MAX_VAL_RGB101010_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1555 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB332_G

#define GP_CHAN_LIN_MAX_VAL_RGB332_G ( pixmap)
Value:
(((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 1512 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB332_R

#define GP_CHAN_LIN_MAX_VAL_RGB332_R ( pixmap)
Value:
(((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 1469 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB555_B

#define GP_CHAN_LIN_MAX_VAL_RGB555_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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_BE_B

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

Returns a maximum value for a linearized RGB565_BE 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_BE_G

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

Returns a maximum value for a linearized RGB565_BE 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_BE_R

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

Returns a maximum value for a linearized RGB565_BE 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_RGB565_LE_B

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

Returns a maximum value for a linearized RGB565_LE 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_RGB565_LE_G

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

Returns a maximum value for a linearized RGB565_LE 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_RGB565_LE_R

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

Returns a maximum value for a linearized RGB565_LE 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_RGB666_B

#define GP_CHAN_LIN_MAX_VAL_RGB666_B ( pixmap)
Value:
(((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 1405 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB666_G

#define GP_CHAN_LIN_MAX_VAL_RGB666_G ( pixmap)
Value:
(((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 1362 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB666_R

#define GP_CHAN_LIN_MAX_VAL_RGB666_R ( pixmap)
Value:
(((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 1319 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_LIN_MAX_VAL_RGB888_B

#define GP_CHAN_LIN_MAX_VAL_RGB888_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1761 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_K

#define GP_CHAN_TO_ENC_TBL_CMYK8888_K ( pixmap)
Value:
(((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 1632 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_M

#define GP_CHAN_TO_ENC_TBL_CMYK8888_M ( pixmap)
Value:
(((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 1718 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_CMYK8888_Y

#define GP_CHAN_TO_ENC_TBL_CMYK8888_Y ( pixmap)
Value:
(((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 1675 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G16_V

#define GP_CHAN_TO_ENC_TBL_G16_V ( pixmap)
Value:
(((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 2312 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)
Value:
(((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 1817 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)
Value:
(((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 1985 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)
Value:
(((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 1873 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)
Value:
(((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 2041 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)
Value:
(((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 1929 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)
Value:
(((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 2097 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_G8_V

#define GP_CHAN_TO_ENC_TBL_G8_V ( pixmap)
Value:
(((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 2153 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_GA88_A

#define GP_CHAN_TO_ENC_TBL_GA88_A ( pixmap)
Value:
(((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 2256 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_GA88_V

#define GP_CHAN_TO_ENC_TBL_GA88_V ( pixmap)
Value:
(((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 2213 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB101010_B

#define GP_CHAN_TO_ENC_TBL_RGB101010_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1564 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB332_G

#define GP_CHAN_TO_ENC_TBL_RGB332_G ( pixmap)
Value:
(((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 1521 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB332_R

#define GP_CHAN_TO_ENC_TBL_RGB332_R ( pixmap)
Value:
(((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 1478 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB555_B

#define GP_CHAN_TO_ENC_TBL_RGB555_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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_BE_B

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

Returns a lookup table to encode RGB565_BE 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_BE_G

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

Returns a lookup table to encode RGB565_BE 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_BE_R

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

Returns a lookup table to encode RGB565_BE 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_RGB565_LE_B

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

Returns a lookup table to encode RGB565_LE 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_RGB565_LE_G

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

Returns a lookup table to encode RGB565_LE 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_RGB565_LE_R

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

Returns a lookup table to encode RGB565_LE 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_RGB666_B

#define GP_CHAN_TO_ENC_TBL_RGB666_B ( pixmap)
Value:
(((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 1414 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB666_G

#define GP_CHAN_TO_ENC_TBL_RGB666_G ( pixmap)
Value:
(((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 1371 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB666_R

#define GP_CHAN_TO_ENC_TBL_RGB666_R ( pixmap)
Value:
(((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 1328 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_ENC_TBL_RGB888_B

#define GP_CHAN_TO_ENC_TBL_RGB888_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1741 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_K

#define GP_CHAN_TO_LIN_TBL_CMYK8888_K ( pixmap)
Value:
(((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 1612 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_M

#define GP_CHAN_TO_LIN_TBL_CMYK8888_M ( pixmap)
Value:
(((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 1698 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_CMYK8888_Y

#define GP_CHAN_TO_LIN_TBL_CMYK8888_Y ( pixmap)
Value:
(((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 1655 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G16_V

#define GP_CHAN_TO_LIN_TBL_G16_V ( pixmap)
Value:
(((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 2292 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)
Value:
(((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 1797 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)
Value:
(((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 1965 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)
Value:
(((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 1853 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)
Value:
(((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 2021 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)
Value:
(((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 1909 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)
Value:
(((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 2077 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_G8_V

#define GP_CHAN_TO_LIN_TBL_G8_V ( pixmap)
Value:
(((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 2133 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_GA88_A

#define GP_CHAN_TO_LIN_TBL_GA88_A ( pixmap)
Value:
(((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 2236 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_GA88_V

#define GP_CHAN_TO_LIN_TBL_GA88_V ( pixmap)
Value:
(((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 2193 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB101010_B

#define GP_CHAN_TO_LIN_TBL_RGB101010_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1544 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB332_G

#define GP_CHAN_TO_LIN_TBL_RGB332_G ( pixmap)
Value:
(((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 1501 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB332_R

#define GP_CHAN_TO_LIN_TBL_RGB332_R ( pixmap)
Value:
(((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 1458 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB555_B

#define GP_CHAN_TO_LIN_TBL_RGB555_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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_BE_B

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

Returns a lookup table to linearize RGB565_BE 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_BE_G

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

Returns a lookup table to linearize RGB565_BE 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_BE_R

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

Returns a lookup table to linearize RGB565_BE 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_RGB565_LE_B

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

Returns a lookup table to linearize RGB565_LE 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_RGB565_LE_G

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

Returns a lookup table to linearize RGB565_LE 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_RGB565_LE_R

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

Returns a lookup table to linearize RGB565_LE 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_RGB666_B

#define GP_CHAN_TO_LIN_TBL_RGB666_B ( pixmap)
Value:
(((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 1394 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB666_G

#define GP_CHAN_TO_LIN_TBL_RGB666_G ( pixmap)
Value:
(((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 1351 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB666_R

#define GP_CHAN_TO_LIN_TBL_RGB666_R ( pixmap)
Value:
(((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 1308 of file gp_gamma_correction.gen.h.

◆ GP_CHAN_TO_LIN_TBL_RGB888_B

#define GP_CHAN_TO_LIN_TBL_RGB888_B ( pixmap)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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)
Value:
(((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 1585 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 2268 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 1773 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 1941 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 1829 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 1997 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 1885 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 2053 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 2109 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 2168 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 1432 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_BE_ENC

#define GP_PIXEL_CREATE_RGB565_BE_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_BE pixel from linearized channel values.

Parameters
RA RGB565_BE linearized R channel value.
GA RGB565_BE linearized G channel value.
BA RGB565_BE 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_BE pixel value.

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

◆ GP_PIXEL_CREATE_RGB565_LE_ENC

#define GP_PIXEL_CREATE_RGB565_LE_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_LE pixel from linearized channel values.

Parameters
RA RGB565_LE linearized R channel value.
GA RGB565_LE linearized G channel value.
BA RGB565_LE 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_LE pixel value.

Definition at line 1132 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 1282 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 2225 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 1533 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_BE_LIN

#define GP_PIXEL_GET_B_RGB565_BE_LIN ( p,
gamma_lin )
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB565_BE(p)] : \
GP_PIXEL_GET_B_RGB565_BE(p) \
)

Macro to get linearized B channel value for RGB565_BE 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_RGB565_LE_LIN

#define GP_PIXEL_GET_B_RGB565_LE_LIN ( p,
gamma_lin )
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_B_RGB565_LE(p)] : \
GP_PIXEL_GET_B_RGB565_LE(p) \
)

Macro to get linearized B channel value for RGB565_LE 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_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 1383 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 1730 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 1490 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_BE_LIN

#define GP_PIXEL_GET_G_RGB565_BE_LIN ( p,
gamma_lin )
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB565_BE(p)] : \
GP_PIXEL_GET_G_RGB565_BE(p) \
)

Macro to get linearized G channel value for RGB565_BE 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_RGB565_LE_LIN

#define GP_PIXEL_GET_G_RGB565_LE_LIN ( p,
gamma_lin )
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_G_RGB565_LE(p)] : \
GP_PIXEL_GET_G_RGB565_LE(p) \
)

Macro to get linearized G channel value for RGB565_LE 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_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 1340 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 1601 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 1687 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 1447 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_BE_LIN

#define GP_PIXEL_GET_R_RGB565_BE_LIN ( p,
gamma_lin )
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB565_BE(p)] : \
GP_PIXEL_GET_R_RGB565_BE(p) \
)
#define GP_PIXEL_GET_R_RGB565_BE(p)
Macro to get raw channel value for RGB565_BE pixel.

Macro to get linearized R channel value for RGB565_BE 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_RGB565_LE_LIN

#define GP_PIXEL_GET_R_RGB565_LE_LIN ( p,
gamma_lin )
Value:
( \
gamma_lin ? gamma_lin[GP_PIXEL_GET_R_RGB565_LE(p)] : \
GP_PIXEL_GET_R_RGB565_LE(p) \
)
#define GP_PIXEL_GET_R_RGB565_LE(p)
Macro to get raw channel value for RGB565_LE pixel.

Macro to get linearized R channel value for RGB565_LE 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_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 1297 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 2281 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 1786 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 1954 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 1842 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 2010 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 1898 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 2066 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 2122 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 2182 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 1644 of file gp_gamma_correction.gen.h.