27 #ifndef LEPTONICA_PIX_H 28 #define LEPTONICA_PIX_H 207 static const l_int32 L_RED_SHIFT =
209 static const l_int32 L_GREEN_SHIFT =
211 static const l_int32 L_BLUE_SHIFT =
213 static const l_int32 L_ALPHA_SHIFT =
327 #define PIX_SRC (0xc) 328 #define PIX_DST (0xa) 329 #define PIX_NOT(op) ((op) ^ 0x0f) 330 #define PIX_CLR (0x0) 331 #define PIX_SET (0xf) 333 #define PIX_PAINT (PIX_SRC | PIX_DST) 334 #define PIX_MASK (PIX_SRC & PIX_DST) 335 #define PIX_SUBTRACT (PIX_DST & PIX_NOT(PIX_SRC)) 337 #define PIX_XOR (PIX_SRC ^ PIX_DST) 448 #define PIXAA_VERSION_NUMBER 2 449 #define PIXA_VERSION_NUMBER 2 450 #define BOXA_VERSION_NUMBER 2 451 #define BOXAA_VERSION_NUMBER 3 514 #define PTA_VERSION_NUMBER 1 579 #define FPIX_VERSION_NUMBER 2 610 #define DPIX_VERSION_NUMBER 2 655 #define PIXACOMP_VERSION_NUMBER 2 1336 typedef void *(*alloc_fn)(size_t);
static const l_float32 L_RED_WEIGHT
struct PixColormap * colormap
void(* dealloc_fn)(void *)
static const l_float32 L_GREEN_WEIGHT
static const l_float32 L_BLUE_WEIGHT