Home | History | Annotate | Download | only in libpng

Lines Matching refs:palette

640    png_byte index;    /* used for palette files */
675 /* When the depth of the sPLT palette is 8 bits, the color and alpha samples
682 png_charp name; /* palette name */
683 png_byte depth; /* depth of palette samples */
684 png_sPLT_entryp entries; /* palette entries */
685 png_int_32 nentries; /* number of palette entries */
795 * cleaned up before the structure is discarded: palette, trans, text,
819 png_colorp palette PNG_DEPSTRUCT; /* array of color values (valid & PNG_INFO_PLTE) */
820 png_uint_16 num_palette PNG_DEPSTRUCT; /* number of color entries in "palette" (PLTE) */
821 png_uint_16 num_trans PNG_DEPSTRUCT; /* number of transparent palette color (tRNS) */
891 * same order as the palette colors, starting from index 0. Values
898 png_color_16 trans_values PNG_DEPSTRUCT; /* transparent color for non-palette image */
934 * various palette entries, so that a viewer can intelligently select a
935 * reduced-color palette, if required. Data is an array of "num_palette"
1313 png_colorp palette PNG_DEPSTRUCT; /* palette from the input file */
1314 png_uint_16 num_palette PNG_DEPSTRUCT; /* number of color entries in palette */
1403 int cur_palette PNG_DEPSTRUCT; /* current push library palette index */
1424 png_bytep dither_index PNG_DEPSTRUCT; /* index translation for palette files */
1522 /* in the palette */
1524 /* palette color */
1719 png_colorp palette));
1800 /* Turn on dithering, and reduce the palette to the number of colors available. */
1802 png_colorp palette, int num_palette, int maximum_colors,
1831 /* Optional update palette with requested transformations */
2443 png_infop info_ptr, png_colorp *palette, int *num_palette));
2446 png_infop info_ptr, png_colorp palette, int num_palette));
3240 PNG_EXTERN void png_write_PLTE PNGARG((png_structp png_ptr, png_colorp palette,
3294 png_sPLT_tp palette)) PNG_PRIVATE;
3504 png_colorp palette, int num_palette)) PNG_PRIVATE;
3545 png_bytep row, png_colorp palette, png_bytep trans,