![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
#include <pix_internal.h>
Data Fields | |
| void * | array |
| l_int32 | depth |
| l_int32 | nalloc |
| l_int32 | n |
Colormap of a Pix
Definition at line 200 of file pix_internal.h.
| void* PixColormap::array |
colormap table (array of RGBA_QUAD)
Definition at line 202 of file pix_internal.h.
Referenced by pixcmapAddColor(), pixcmapAddRGBA(), pixcmapCopy(), pixcmapCreate(), pixcmapDestroy(), pixcmapGetColor(), pixcmapGetDistanceToColor(), pixcmapGetIndex(), pixcmapGetNearestGrayIndex(), pixcmapGetNearestIndex(), pixcmapGetRGBA(), pixcmapIsBlackAndWhite(), pixcmapIsOpaque(), pixcmapIsValid(), pixcmapNonOpaqueColorsInfo(), pixcmapResetColor(), pixcmapSetAlpha(), pixcmapToArrays(), pixGetRGBComponentCmap(), pixReadMemBmp(), pixReadMemPng(), pixReadStreamPng(), and pixWriteMemBmp().
| l_int32 PixColormap::depth |
of pix (1, 2, 4 or 8 bpp)
Definition at line 203 of file pix_internal.h.
Referenced by pixcmapCopy(), pixcmapCreate(), pixcmapGetDepth(), pixcmapIsValid(), and pixcmapWriteStream().
| l_int32 PixColormap::n |
number of color entries used
Definition at line 205 of file pix_internal.h.
Referenced by octreeGenerateAndPrune(), pixcmapAddColor(), pixcmapAddNearestColor(), pixcmapAddNewColor(), pixcmapAddRGBA(), pixcmapClear(), pixcmapCopy(), pixcmapCreate(), pixcmapGetColor(), pixcmapGetCount(), pixcmapGetFreeCount(), pixcmapGetRGBA(), pixcmapIsValid(), pixcmapResetColor(), pixcmapSetAlpha(), pixcmapUsableColor(), pixcmapWriteStream(), pixOctreeColorQuantGeneral(), and pixReadMemBmp().
| l_int32 PixColormap::nalloc |
number of color entries allocated
Definition at line 204 of file pix_internal.h.
Referenced by pixcmapAddColor(), pixcmapAddNearestColor(), pixcmapAddNewColor(), pixcmapAddRGBA(), pixcmapCopy(), pixcmapCreate(), pixcmapGetFreeCount(), pixcmapIsValid(), and pixcmapUsableColor().