Searched refs:npalette (Results 1 – 2 of 2) sorted by relevance
/external/libpng/contrib/libtests/ |
D | makepng.c | 639 int npalette; in write_png() local 643 npalette = generate_palette(palette, trans, bit_depth, gamma_table, in write_png() 645 png_set_PLTE(png_ptr, info_ptr, palette, npalette); in write_png() 646 png_set_tRNS(png_ptr, info_ptr, trans, npalette-1, in write_png() 650 for (npalette=0; npalette<256; ++npalette) in write_png() 651 gamma_table[npalette] = (png_byte)npalette; in write_png()
|
D | pngvalid.c | 297 int bit_depth, unsigned int npalette, int interlace_type, in standard_name() argument 301 if (npalette > 0) in standard_name() 304 pos = safecatn(buffer, bufsize, pos, npalette); in standard_name() 596 int npalette; /* Number of entries in palette */ member 669 int npalette; member 745 ps->npalette = 0; in store_init() 769 ps->npalette = 0; in store_freenew() 804 (*ppf)->npalette = 0; in store_freefile() 827 pf->npalette = ps->npalette; in store_storefile() 829 ps->npalette = 0; in store_storefile() [all …]
|