Home | History | Annotate | Download | only in libtests

Lines Matching refs:npalette

889          int npalette;
893 npalette = generate_palette(palette, trans, bit_depth, gamma_table,
895 png_set_PLTE(png_ptr, info_ptr, palette, npalette);
898 png_set_tRNS(png_ptr, info_ptr, trans, npalette-1,
902 for (npalette=0; npalette<256; ++npalette)
903 gamma_table[npalette] = (png_byte)npalette;