GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Gamma corrections. More...
Go to the source code of this file.
Macros | |
#define | GP_PIXEL_CREATE_RGB101010_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a RGB101010 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGB101010_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGB101010 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB101010_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize RGB101010 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB101010_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 4095 : 1023) |
Returns a maximum value for a linearized RGB101010 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB101010_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL) |
Returns a lookup table to encode RGB101010 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGB101010_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGB101010 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB101010_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize RGB101010 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB101010_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 4095 : 1023) |
Returns a maximum value for a linearized RGB101010 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB101010_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u16 : NULL) |
Returns a lookup table to encode RGB101010 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGB101010_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGB101010 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB101010_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize RGB101010 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB101010_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 4095 : 1023) |
Returns a maximum value for a linearized RGB101010 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB101010_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u16 : NULL) |
Returns a lookup table to encode RGB101010 pixel B channel. | |
#define | GP_PIXEL_CREATE_xRGB8888_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a xRGB8888 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_xRGB8888_LIN(p, gamma_lin) |
Macro to get linearized R channel value for xRGB8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_xRGB8888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize xRGB8888 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_xRGB8888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized xRGB8888 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_xRGB8888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode xRGB8888 pixel R channel. | |
#define | GP_PIXEL_GET_G_xRGB8888_LIN(p, gamma_lin) |
Macro to get linearized G channel value for xRGB8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_xRGB8888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize xRGB8888 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_xRGB8888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized xRGB8888 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_xRGB8888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode xRGB8888 pixel G channel. | |
#define | GP_PIXEL_GET_B_xRGB8888_LIN(p, gamma_lin) |
Macro to get linearized B channel value for xRGB8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_xRGB8888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize xRGB8888 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_xRGB8888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized xRGB8888 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_xRGB8888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode xRGB8888 pixel B channel. | |
#define | GP_PIXEL_CREATE_RGBA8888_ENC(R, G, B, A, R_gamma_enc, G_gamma_enc, B_gamma_enc, A_gamma_enc) |
A macro to compose a RGBA8888 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGBA8888_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGBA8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGBA8888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGBA8888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGBA8888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGBA8888_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGBA8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGBA8888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGBA8888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGBA8888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGBA8888_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGBA8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGBA8888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGBA8888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGBA8888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel B channel. | |
#define | GP_PIXEL_GET_A_RGBA8888_LIN(p, gamma_lin) |
Macro to get linearized A channel value for RGBA8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGBA8888_A(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel A channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGBA8888_A(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel A channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGBA8888_A(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel A channel. | |
#define | GP_PIXEL_CREATE_RGB888_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a RGB888 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGB888_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGB888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize RGB888 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized RGB888 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB888 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGB888_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGB888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize RGB888 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized RGB888 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB888 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGB888_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGB888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize RGB888 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized RGB888 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB888 pixel B channel. | |
#define | GP_PIXEL_CREATE_BGR888_ENC(B, G, R, B_gamma_enc, G_gamma_enc, R_gamma_enc) |
A macro to compose a BGR888 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_B_BGR888_LIN(p, gamma_lin) |
Macro to get linearized B channel value for BGR888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_BGR888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize BGR888 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_BGR888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized BGR888 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_BGR888_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode BGR888 pixel B channel. | |
#define | GP_PIXEL_GET_G_BGR888_LIN(p, gamma_lin) |
Macro to get linearized G channel value for BGR888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_BGR888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize BGR888 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_BGR888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized BGR888 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_BGR888_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode BGR888 pixel G channel. | |
#define | GP_PIXEL_GET_R_BGR888_LIN(p, gamma_lin) |
Macro to get linearized R channel value for BGR888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_BGR888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize BGR888 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_BGR888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized BGR888 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_BGR888_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode BGR888 pixel R channel. | |
#define | GP_PIXEL_CREATE_RGB555_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a RGB555 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGB555_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGB555 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB555_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB555 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB555_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31) |
Returns a maximum value for a linearized RGB555 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB555_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB555 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGB555_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGB555 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB555_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB555 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB555_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 127 : 31) |
Returns a maximum value for a linearized RGB555 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB555_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB555 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGB555_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGB555 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB555_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB555 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB555_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31) |
Returns a maximum value for a linearized RGB555 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB555_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB555 pixel B channel. | |
#define | GP_PIXEL_CREATE_RGB565_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a RGB565 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGB565_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGB565 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB565_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB565 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB565_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31) |
Returns a maximum value for a linearized RGB565 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB565_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB565 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGB565_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGB565 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB565_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB565 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB565_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63) |
Returns a maximum value for a linearized RGB565 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB565_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB565 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGB565_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGB565 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB565_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB565 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB565_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31) |
Returns a maximum value for a linearized RGB565 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB565_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB565 pixel B channel. | |
#define | GP_PIXEL_CREATE_RGB666_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a RGB666 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGB666_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGB666 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB666_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB666 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB666_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 63) |
Returns a maximum value for a linearized RGB666 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB666_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB666 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGB666_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGB666 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB666_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB666 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB666_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63) |
Returns a maximum value for a linearized RGB666 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB666_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB666 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGB666_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGB666 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB666_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB666 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB666_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 63) |
Returns a maximum value for a linearized RGB666 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB666_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB666 pixel B channel. | |
#define | GP_PIXEL_CREATE_RGB332_ENC(R, G, B, R_gamma_enc, G_gamma_enc, B_gamma_enc) |
A macro to compose a RGB332 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_R_RGB332_LIN(p, gamma_lin) |
Macro to get linearized R channel value for RGB332 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB332_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB332 pixel R channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB332_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 31 : 7) |
Returns a maximum value for a linearized RGB332 pixel R channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB332_R(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB332 pixel R channel. | |
#define | GP_PIXEL_GET_G_RGB332_LIN(p, gamma_lin) |
Macro to get linearized G channel value for RGB332 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB332_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB332 pixel G channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB332_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 31 : 7) |
Returns a maximum value for a linearized RGB332 pixel G channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB332_G(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB332 pixel G channel. | |
#define | GP_PIXEL_GET_B_RGB332_LIN(p, gamma_lin) |
Macro to get linearized B channel value for RGB332 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_RGB332_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB332 pixel B channel. | |
#define | GP_CHAN_LIN_MAX_VAL_RGB332_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 15 : 3) |
Returns a maximum value for a linearized RGB332 pixel B channel. | |
#define | GP_CHAN_TO_ENC_TBL_RGB332_B(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB332 pixel B channel. | |
#define | GP_PIXEL_CREATE_CMYK8888_ENC(K, Y, M, C, K_gamma_enc, Y_gamma_enc, M_gamma_enc, C_gamma_enc) |
A macro to compose a CMYK8888 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_K_CMYK8888_LIN(p, gamma_lin) |
Macro to get linearized K channel value for CMYK8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_CMYK8888_K(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel K channel. | |
#define | GP_CHAN_LIN_MAX_VAL_CMYK8888_K(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel K channel. | |
#define | GP_CHAN_TO_ENC_TBL_CMYK8888_K(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel K channel. | |
#define | GP_PIXEL_GET_Y_CMYK8888_LIN(p, gamma_lin) |
Macro to get linearized Y channel value for CMYK8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_CMYK8888_Y(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel Y channel. | |
#define | GP_CHAN_LIN_MAX_VAL_CMYK8888_Y(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel Y channel. | |
#define | GP_CHAN_TO_ENC_TBL_CMYK8888_Y(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel Y channel. | |
#define | GP_PIXEL_GET_M_CMYK8888_LIN(p, gamma_lin) |
Macro to get linearized M channel value for CMYK8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_CMYK8888_M(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel M channel. | |
#define | GP_CHAN_LIN_MAX_VAL_CMYK8888_M(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel M channel. | |
#define | GP_CHAN_TO_ENC_TBL_CMYK8888_M(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel M channel. | |
#define | GP_PIXEL_GET_C_CMYK8888_LIN(p, gamma_lin) |
Macro to get linearized C channel value for CMYK8888 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_CMYK8888_C(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel C channel. | |
#define | GP_CHAN_LIN_MAX_VAL_CMYK8888_C(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel C channel. | |
#define | GP_CHAN_TO_ENC_TBL_CMYK8888_C(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel C channel. | |
#define | GP_PIXEL_CREATE_G1_DB_ENC(V, V_gamma_enc) |
A macro to compose a G1_DB pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G1_DB_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G1_DB pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G1_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G1_DB pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G1_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1) |
Returns a maximum value for a linearized G1_DB pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G1_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G1_DB pixel V channel. | |
#define | GP_PIXEL_CREATE_G2_DB_ENC(V, V_gamma_enc) |
A macro to compose a G2_DB pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G2_DB_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G2_DB pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G2_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G2_DB pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G2_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3) |
Returns a maximum value for a linearized G2_DB pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G2_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G2_DB pixel V channel. | |
#define | GP_PIXEL_CREATE_G4_DB_ENC(V, V_gamma_enc) |
A macro to compose a G4_DB pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G4_DB_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G4_DB pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G4_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G4_DB pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G4_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15) |
Returns a maximum value for a linearized G4_DB pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G4_DB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G4_DB pixel V channel. | |
#define | GP_PIXEL_CREATE_G1_UB_ENC(V, V_gamma_enc) |
A macro to compose a G1_UB pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G1_UB_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G1_UB pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G1_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G1_UB pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G1_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1) |
Returns a maximum value for a linearized G1_UB pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G1_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G1_UB pixel V channel. | |
#define | GP_PIXEL_CREATE_G2_UB_ENC(V, V_gamma_enc) |
A macro to compose a G2_UB pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G2_UB_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G2_UB pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G2_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G2_UB pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G2_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3) |
Returns a maximum value for a linearized G2_UB pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G2_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G2_UB pixel V channel. | |
#define | GP_PIXEL_CREATE_G4_UB_ENC(V, V_gamma_enc) |
A macro to compose a G4_UB pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G4_UB_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G4_UB pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G4_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G4_UB pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G4_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15) |
Returns a maximum value for a linearized G4_UB pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G4_UB_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G4_UB pixel V channel. | |
#define | GP_PIXEL_CREATE_G8_ENC(V, V_gamma_enc) |
A macro to compose a G8 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G8_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G8 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G8_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize G8 pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G8_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized G8 pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G8_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G8 pixel V channel. | |
#define | GP_PIXEL_CREATE_GA88_ENC(V, A, V_gamma_enc, A_gamma_enc) |
A macro to compose a GA88 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_GA88_LIN(p, gamma_lin) |
Macro to get linearized V channel value for GA88 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_GA88_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize GA88 pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_GA88_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized GA88 pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_GA88_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode GA88 pixel V channel. | |
#define | GP_PIXEL_GET_A_GA88_LIN(p, gamma_lin) |
Macro to get linearized A channel value for GA88 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_GA88_A(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize GA88 pixel A channel. | |
#define | GP_CHAN_LIN_MAX_VAL_GA88_A(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255) |
Returns a maximum value for a linearized GA88 pixel A channel. | |
#define | GP_CHAN_TO_ENC_TBL_GA88_A(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode GA88 pixel A channel. | |
#define | GP_PIXEL_CREATE_G16_ENC(V, V_gamma_enc) |
A macro to compose a G16 pixel from linearized channel values. | |
#define | GP_PIXEL_GET_V_G16_LIN(p, gamma_lin) |
Macro to get linearized V channel value for G16 pixel. | |
#define | GP_CHAN_TO_LIN_TBL_G16_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize G16 pixel V channel. | |
#define | GP_CHAN_LIN_MAX_VAL_G16_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 262143 : 65535) |
Returns a maximum value for a linearized G16 pixel V channel. | |
#define | GP_CHAN_TO_ENC_TBL_G16_V(pixmap) (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL) |
Returns a lookup table to encode G16 pixel V channel. | |
Gamma corrections.
Definition in file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_BGR888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized BGR888 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 719 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_BGR888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized BGR888 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 762 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_BGR888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized BGR888 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 805 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_C | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel C channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1602 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_K | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel K channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1473 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_M | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel M channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1559 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_CMYK8888_Y | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255) |
Returns a maximum value for a linearized CMYK8888 pixel Y channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1516 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G16_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 262143 : 65535) |
Returns a maximum value for a linearized G16 pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 2153 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G1_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1) |
Returns a maximum value for a linearized G1_DB pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1658 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G1_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1 : 1) |
Returns a maximum value for a linearized G1_UB pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1826 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G2_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3) |
Returns a maximum value for a linearized G2_DB pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1714 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G2_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 15 : 3) |
Returns a maximum value for a linearized G2_UB pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1882 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G4_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15) |
Returns a maximum value for a linearized G4_DB pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1770 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G4_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 63 : 15) |
Returns a maximum value for a linearized G4_UB pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1938 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_G8_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized G8 pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1994 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_GA88_A | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 255) |
Returns a maximum value for a linearized GA88 pixel A channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 2097 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_GA88_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized GA88 pixel V channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 2054 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB101010_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 4095 : 1023) |
Returns a maximum value for a linearized RGB101010 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 158 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB101010_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 4095 : 1023) |
Returns a maximum value for a linearized RGB101010 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 115 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB101010_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 4095 : 1023) |
Returns a maximum value for a linearized RGB101010 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 72 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB332_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 15 : 3) |
Returns a maximum value for a linearized RGB332 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1405 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB332_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 31 : 7) |
Returns a maximum value for a linearized RGB332 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1362 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB332_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 31 : 7) |
Returns a maximum value for a linearized RGB332 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1319 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB555_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31) |
Returns a maximum value for a linearized RGB555 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 955 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB555_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 127 : 31) |
Returns a maximum value for a linearized RGB555 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 912 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB555_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31) |
Returns a maximum value for a linearized RGB555 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 869 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB565_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 127 : 31) |
Returns a maximum value for a linearized RGB565 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1105 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB565_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63) |
Returns a maximum value for a linearized RGB565 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1062 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB565_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 127 : 31) |
Returns a maximum value for a linearized RGB565 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1019 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB666_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 255 : 63) |
Returns a maximum value for a linearized RGB666 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1255 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB666_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 255 : 63) |
Returns a maximum value for a linearized RGB666 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1212 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB666_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 255 : 63) |
Returns a maximum value for a linearized RGB666 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 1169 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized RGB888 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 655 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized RGB888 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 612 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGB888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized RGB888 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 569 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_A | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? 255 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel A channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 505 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 462 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 419 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_RGBA8888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized RGBA8888 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 376 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? 1023 : 255) |
Returns a maximum value for a linearized xRGB8888 pixel B channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 308 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? 1023 : 255) |
Returns a maximum value for a linearized xRGB8888 pixel G channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 265 of file gp_gamma_correction.gen.h.
#define GP_CHAN_LIN_MAX_VAL_xRGB8888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? 1023 : 255) |
Returns a maximum value for a linearized xRGB8888 pixel R channel.
The maximum value for a linearized pixel value depends on the gp_pixmap gp_gamma_table.
pixmap | A pixmap to get the maximum for. |
Definition at line 222 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_BGR888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode BGR888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 728 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_BGR888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode BGR888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 771 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_BGR888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode BGR888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 814 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_CMYK8888_C | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel C channel.
pixmap | A pixmap to get the table from. |
Definition at line 1611 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_CMYK8888_K | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel K channel.
pixmap | A pixmap to get the table from. |
Definition at line 1482 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_CMYK8888_M | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel M channel.
pixmap | A pixmap to get the table from. |
Definition at line 1568 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_CMYK8888_Y | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode CMYK8888 pixel Y channel.
pixmap | A pixmap to get the table from. |
Definition at line 1525 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G16_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL) |
Returns a lookup table to encode G16 pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 2162 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G1_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G1_DB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1667 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G1_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G1_UB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1835 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G2_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G2_DB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1723 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G2_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G2_UB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1891 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G4_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G4_DB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1779 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G4_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G4_UB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1947 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_G8_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode G8 pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 2003 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_GA88_A | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode GA88 pixel A channel.
pixmap | A pixmap to get the table from. |
Definition at line 2106 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_GA88_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode GA88 pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 2063 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB101010_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u16 : NULL) |
Returns a lookup table to encode RGB101010 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 167 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB101010_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u16 : NULL) |
Returns a lookup table to encode RGB101010 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 124 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB101010_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u16 : NULL) |
Returns a lookup table to encode RGB101010 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 81 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB332_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB332 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 1414 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB332_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB332 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 1371 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB332_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB332 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 1328 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB555_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB555 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 964 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB555_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB555 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 921 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB555_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB555 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 878 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB565_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB565 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 1114 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB565_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB565 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 1071 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB565_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB565 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 1028 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB666_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB666 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 1264 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB666_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB666 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 1221 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB666_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB666 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 1178 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGB888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 664 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGB888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 621 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGB888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGB888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 578 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGBA8888_A | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[3]) ? (pixmap)->gamma->enc[3]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel A channel.
pixmap | A pixmap to get the table from. |
Definition at line 514 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGBA8888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 471 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGBA8888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 428 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_RGBA8888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode RGBA8888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 385 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_xRGB8888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[2]) ? (pixmap)->gamma->enc[2]->u8 : NULL) |
Returns a lookup table to encode xRGB8888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 317 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_xRGB8888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[1]) ? (pixmap)->gamma->enc[1]->u8 : NULL) |
Returns a lookup table to encode xRGB8888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 274 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_ENC_TBL_xRGB8888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->enc[0]) ? (pixmap)->gamma->enc[0]->u8 : NULL) |
Returns a lookup table to encode xRGB8888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 231 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_BGR888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize BGR888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 708 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_BGR888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize BGR888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 751 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_BGR888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize BGR888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 794 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_CMYK8888_C | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel C channel.
pixmap | A pixmap to get the table from. |
Definition at line 1591 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_CMYK8888_K | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel K channel.
pixmap | A pixmap to get the table from. |
Definition at line 1462 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_CMYK8888_M | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel M channel.
pixmap | A pixmap to get the table from. |
Definition at line 1548 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_CMYK8888_Y | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize CMYK8888 pixel Y channel.
pixmap | A pixmap to get the table from. |
Definition at line 1505 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G16_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize G16 pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 2142 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G1_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G1_DB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1647 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G1_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G1_UB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1815 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G2_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G2_DB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1703 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G2_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G2_UB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1871 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G4_DB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G4_DB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1759 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G4_UB_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize G4_UB pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1927 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_G8_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize G8 pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 1983 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_GA88_A | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize GA88 pixel A channel.
pixmap | A pixmap to get the table from. |
Definition at line 2086 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_GA88_V | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize GA88 pixel V channel.
pixmap | A pixmap to get the table from. |
Definition at line 2043 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB101010_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize RGB101010 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 147 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB101010_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize RGB101010 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 104 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB101010_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize RGB101010 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 61 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB332_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB332 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 1394 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB332_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB332 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 1351 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB332_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB332 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 1308 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB555_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB555 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 944 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB555_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB555 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 901 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB555_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB555 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 858 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB565_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB565 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 1094 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB565_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB565 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 1051 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB565_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB565 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 1008 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB666_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u8 : NULL) |
Returns a lookup table to linearize RGB666 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 1244 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB666_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u8 : NULL) |
Returns a lookup table to linearize RGB666 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 1201 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB666_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u8 : NULL) |
Returns a lookup table to linearize RGB666 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 1158 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize RGB888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 644 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize RGB888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 601 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGB888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize RGB888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 558 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGBA8888_A | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[3]) ? (pixmap)->gamma->lin[3]->u8 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel A channel.
pixmap | A pixmap to get the table from. |
Definition at line 494 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGBA8888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 451 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGBA8888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 408 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_RGBA8888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize RGBA8888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 365 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_xRGB8888_B | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[2]) ? (pixmap)->gamma->lin[2]->u16 : NULL) |
Returns a lookup table to linearize xRGB8888 pixel B channel.
pixmap | A pixmap to get the table from. |
Definition at line 297 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_xRGB8888_G | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[1]) ? (pixmap)->gamma->lin[1]->u16 : NULL) |
Returns a lookup table to linearize xRGB8888 pixel G channel.
pixmap | A pixmap to get the table from. |
Definition at line 254 of file gp_gamma_correction.gen.h.
#define GP_CHAN_TO_LIN_TBL_xRGB8888_R | ( | pixmap | ) | (((pixmap)->gamma && (pixmap)->gamma->lin[0]) ? (pixmap)->gamma->lin[0]->u16 : NULL) |
Returns a lookup table to linearize xRGB8888 pixel R channel.
pixmap | A pixmap to get the table from. |
Definition at line 211 of file gp_gamma_correction.gen.h.
#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.
B | A BGR888 linearized B channel value. |
G | A BGR888 linearized G channel value. |
R | A BGR888 linearized R channel value. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 682 of file gp_gamma_correction.gen.h.
#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.
K | A CMYK8888 linearized K channel value. |
Y | A CMYK8888 linearized Y channel value. |
M | A CMYK8888 linearized M channel value. |
C | A CMYK8888 linearized C channel value. |
K_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Y_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
M_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
C_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1435 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G16_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G16 pixel from linearized channel values.
V | A G16 linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 2118 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G1_DB_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G1_DB pixel from linearized channel values.
V | A G1_DB linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1623 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G1_UB_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G1_UB pixel from linearized channel values.
V | A G1_UB linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1791 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G2_DB_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G2_DB pixel from linearized channel values.
V | A G2_DB linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1679 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G2_UB_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G2_UB pixel from linearized channel values.
V | A G2_UB linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1847 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G4_DB_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G4_DB pixel from linearized channel values.
V | A G4_DB linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1735 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G4_UB_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G4_UB pixel from linearized channel values.
V | A G4_UB linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1903 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_G8_ENC | ( | V, | |
V_gamma_enc | |||
) |
A macro to compose a G8 pixel from linearized channel values.
V | A G8 linearized V channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1959 of file gp_gamma_correction.gen.h.
#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.
V | A GA88 linearized V channel value. |
A | A GA88 linearized A channel value. |
V_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
A_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 2018 of file gp_gamma_correction.gen.h.
#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.
R | A RGB101010 linearized R channel value. |
G | A RGB101010 linearized G channel value. |
B | A RGB101010 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 35 of file gp_gamma_correction.gen.h.
#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.
R | A RGB332 linearized R channel value. |
G | A RGB332 linearized G channel value. |
B | A RGB332 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1282 of file gp_gamma_correction.gen.h.
#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.
R | A RGB555 linearized R channel value. |
G | A RGB555 linearized G channel value. |
B | A RGB555 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 832 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_CREATE_RGB565_ENC | ( | R, | |
G, | |||
B, | |||
R_gamma_enc, | |||
G_gamma_enc, | |||
B_gamma_enc | |||
) |
A macro to compose a RGB565 pixel from linearized channel values.
R | A RGB565 linearized R channel value. |
G | A RGB565 linearized G channel value. |
B | A RGB565 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 982 of file gp_gamma_correction.gen.h.
#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.
R | A RGB666 linearized R channel value. |
G | A RGB666 linearized G channel value. |
B | A RGB666 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1132 of file gp_gamma_correction.gen.h.
#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.
R | A RGB888 linearized R channel value. |
G | A RGB888 linearized G channel value. |
B | A RGB888 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 532 of file gp_gamma_correction.gen.h.
#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.
R | A RGBA8888 linearized R channel value. |
G | A RGBA8888 linearized G channel value. |
B | A RGBA8888 linearized B channel value. |
A | A RGBA8888 linearized A channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
A_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 338 of file gp_gamma_correction.gen.h.
#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.
R | A xRGB8888 linearized R channel value. |
G | A xRGB8888 linearized G channel value. |
B | A xRGB8888 linearized B channel value. |
R_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
G_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
B_gamma_enc | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 185 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_A_GA88_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized A channel value for GA88 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 2075 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_A_RGBA8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized A channel value for RGBA8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 483 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_BGR888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for BGR888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 697 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGB101010_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGB101010 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 136 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGB332_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGB332 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1383 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGB555_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGB555 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 933 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGB565_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGB565 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1083 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGB666_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGB666 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1233 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGB888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGB888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 633 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_RGBA8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for RGBA8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 440 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_B_xRGB8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized B channel value for xRGB8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 286 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_C_CMYK8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized C channel value for CMYK8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1580 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_BGR888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for BGR888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 740 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGB101010_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGB101010 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 93 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGB332_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGB332 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1340 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGB555_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGB555 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 890 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGB565_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGB565 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1040 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGB666_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGB666 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1190 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGB888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGB888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 590 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_RGBA8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for RGBA8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 397 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_G_xRGB8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized G channel value for xRGB8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 243 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_K_CMYK8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized K channel value for CMYK8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1451 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_M_CMYK8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized M channel value for CMYK8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1537 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_BGR888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for BGR888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 783 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGB101010_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGB101010 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 50 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGB332_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGB332 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1297 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGB555_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGB555 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 847 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGB565_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGB565 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 997 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGB666_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGB666 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1147 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGB888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGB888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 547 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_RGBA8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for RGBA8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 354 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_R_xRGB8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized R channel value for xRGB8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 200 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G16_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G16 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 2131 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G1_DB_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G1_DB pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1636 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G1_UB_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G1_UB pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1804 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G2_DB_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G2_DB pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1692 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G2_UB_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G2_UB pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1860 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G4_DB_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G4_DB pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1748 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G4_UB_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G4_UB pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1916 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_G8_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for G8 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1972 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_V_GA88_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized V channel value for GA88 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 2032 of file gp_gamma_correction.gen.h.
#define GP_PIXEL_GET_Y_CMYK8888_LIN | ( | p, | |
gamma_lin | |||
) |
Macro to get linearized Y channel value for CMYK8888 pixel.
p | A pixel value. |
gamma_lin | A pointer to the gp_gamma_table u8 or u16 lookup table for the corresponding pixel channel. |
Definition at line 1494 of file gp_gamma_correction.gen.h.