Searched refs:npalette (Results 1 – 2 of 2) sorted by relevance
/external/libpng/contrib/libtests/ |
D | makepng.c | 889 int npalette; in write_png() local 893 npalette = generate_palette(palette, trans, bit_depth, gamma_table, in write_png() 895 png_set_PLTE(png_ptr, info_ptr, palette, npalette); in write_png() 898 png_set_tRNS(png_ptr, info_ptr, trans, npalette-1, in write_png() 902 for (npalette=0; npalette<256; ++npalette) in write_png() 903 gamma_table[npalette] = (png_byte)npalette; in write_png()
|
D | pngvalid.c | 381 int bit_depth, unsigned int npalette, int interlace_type, in standard_name() argument 388 pos = safecatn(buffer, bufsize, pos, npalette); in standard_name() 392 else if (npalette != 0) in standard_name() 717 int npalette; /* Number of entries in palette */ member 800 int npalette; member 881 ps->npalette = 0; in store_init() 910 ps->npalette = 0; in store_freenew() 942 (*ppf)->npalette = 0; in store_freefile() 996 pf->npalette = ps->npalette; in store_storefile() 998 ps->npalette = 0; in store_storefile() [all …]
|