|
Defines |
#define | phImageGRAY8 phImageGREY8 |
#define | phImageFormatCount 10 |
#define | phImageValidFormatMask |
#define | phImagePackedFormatMask |
#define | phImagePlanarFormatMask phImageYUV9 |
#define | phImageSpecialMask (phImageZlib | phImageJPEG) |
#define | phCHANNEL_RED 0 |
#define | phCHANNEL_GREEN 1 |
#define | phCHANNEL_BLUE 2 |
#define | phCHANNEL_ALPHA 3 |
#define | phImageFormatTotalCount (phImageFormatCount*4) |
#define | phIMAGE_SIZE(w, h, f) |
#define | phIMAGE_SIZE_IN_BYTES(s, w, h, f) |
Enumerations |
enum | phImageType {
phImageRGB24 = (1<<0),
phImageBGR24 = (1<<1),
phImageABGR32 = (1<<2),
phImageRGBA32 = (1<<3),
phImageGREY8 = (1<<4),
phImageYUV9 = (1<<5),
phImageHSV24 = (1<<6),
phImageBGRA32 = (1<<7),
phImageSCT24 = (1<<8),
phImageZlib = (1<<20),
phImageJPEG = (1<<21),
phImageNOFORMAT = (1<<30)
} |
enum | ChannelEnum { phRedChannel = 0,
phGreenChannel = 1,
phBlueChannel = 2,
phAlphaChannel = 3
} |
Functions |
uint32_t | phImageFormatToIndex (uint32_t f) |
const char * | phImageFormatToString (uint32_t f) |
uint8_t | phImageFormatToDepth (uint32_t f) |
uint32_t | phImageFormatTo32BitMask (uint32_t f, uint32_t c) |
uint8_t | phImageFormatToColorType (uint32_t f) |
void | phImageFormatIndecies (uint32_t f, uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a) |
Variables |
int8_t | phImageChannelIndex [phImageFormatCount][4] |
uint32_t | phImageChannelMasks [phImageFormatCount][4] |
char * | phImageNames [phImageFormatTotalCount] |
uint8_t | phImageDepth [phImageFormatTotalCount] |