GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A pixel channel manipulations generated from gen/include/gfxprim_config.py. More...
#include <core/gp_clamp.h>
Go to the source code of this file.
Macros | |
#define | GP_PIXEL_GET_R_RGB101010(p) (GP_GET_BITS(20, 10, (p))) |
Macro to get raw channel value for RGB101010 pixel. | |
#define | GP_PIXEL_GET_R_xRGB8888(p) (GP_GET_BITS(16, 8, (p))) |
Macro to get raw channel value for xRGB8888 pixel. | |
#define | GP_PIXEL_GET_R_RGBA8888(p) (GP_GET_BITS(24, 8, (p))) |
Macro to get raw channel value for RGBA8888 pixel. | |
#define | GP_PIXEL_GET_R_RGB888(p) (GP_GET_BITS(16, 8, (p))) |
Macro to get raw channel value for RGB888 pixel. | |
#define | GP_PIXEL_GET_B_BGR888(p) (GP_GET_BITS(16, 8, (p))) |
Macro to get raw channel value for BGR888 pixel. | |
#define | GP_PIXEL_GET_R_RGB555(p) (GP_GET_BITS(10, 5, (p))) |
Macro to get raw channel value for RGB555 pixel. | |
#define | GP_PIXEL_GET_R_RGB565(p) (GP_GET_BITS(11, 5, (p))) |
Macro to get raw channel value for RGB565 pixel. | |
#define | GP_PIXEL_GET_R_RGB666(p) (GP_GET_BITS(12, 6, (p))) |
Macro to get raw channel value for RGB666 pixel. | |
#define | GP_PIXEL_GET_R_RGB332(p) (GP_GET_BITS(5, 3, (p))) |
Macro to get raw channel value for RGB332 pixel. | |
#define | GP_PIXEL_GET_K_CMYK8888(p) (GP_GET_BITS(24, 8, (p))) |
Macro to get raw channel value for CMYK8888 pixel. | |
#define | GP_PIXEL_GET_P_P2(p) (GP_GET_BITS(0, 2, (p))) |
Macro to get raw channel value for P2 pixel. | |
#define | GP_PIXEL_GET_P_P4(p) (GP_GET_BITS(0, 4, (p))) |
Macro to get raw channel value for P4 pixel. | |
#define | GP_PIXEL_GET_P_P8(p) (GP_GET_BITS(0, 8, (p))) |
Macro to get raw channel value for P8 pixel. | |
#define | GP_PIXEL_GET_V_G1_DB(p) (GP_GET_BITS(0, 1, (p))) |
Macro to get raw channel value for G1_DB pixel. | |
#define | GP_PIXEL_GET_V_G2_DB(p) (GP_GET_BITS(0, 2, (p))) |
Macro to get raw channel value for G2_DB pixel. | |
#define | GP_PIXEL_GET_V_G4_DB(p) (GP_GET_BITS(0, 4, (p))) |
Macro to get raw channel value for G4_DB pixel. | |
#define | GP_PIXEL_GET_V_G1_UB(p) (GP_GET_BITS(0, 1, (p))) |
Macro to get raw channel value for G1_UB pixel. | |
#define | GP_PIXEL_GET_V_G2_UB(p) (GP_GET_BITS(0, 2, (p))) |
Macro to get raw channel value for G2_UB pixel. | |
#define | GP_PIXEL_GET_V_G4_UB(p) (GP_GET_BITS(0, 4, (p))) |
Macro to get raw channel value for G4_UB pixel. | |
#define | GP_PIXEL_GET_V_G8(p) (GP_GET_BITS(0, 8, (p))) |
Macro to get raw channel value for G8 pixel. | |
#define | GP_PIXEL_GET_V_GA88(p) (GP_GET_BITS(0, 8, (p))) |
Macro to get raw channel value for GA88 pixel. | |
#define | GP_PIXEL_GET_V_G16(p) (GP_GET_BITS(0, 16, (p))) |
Macro to get raw channel value for G16 pixel. | |
A pixel channel manipulations generated from gen/include/gfxprim_config.py.
Definition in file gp_pixel_channel.gen.h.