Home | History | Annotate | Download | only in libtests

Lines Matching refs:palette

54  * The palette always has 2^bit-depth entries and the tRNS chunk one fewer.  The
55 * image is the 1-channel diamond, but using palette index, not luminosity.
80 * will have exactly one palette entry and all image files with be 16x16 in
249 generate_palette(png_colorp palette, png_bytep trans, int bit_depth,
269 set_color(palette+0, trans+0, colors[1], colors[1], colors[1], 255,
274 set_color(palette+0, trans+0, colors[1], colors[1], colors[1],
279 set_color(palette+0, trans+0, colors[1], colors[2], colors[3], 255,
284 set_color(palette+0, trans+0, colors[1], colors[2], colors[3],
291 set_color(palette+0, trans+0, 255, 0, 0, 0, gamma_table);
292 set_color(palette+1, trans+1, 255, 255, 255, 255, gamma_table);
313 set_color(palette+ip, trans+ip,
653 /* Palette with fixed color: the image rows are all 0 and the image width
890 png_color palette[256];
893 npalette = generate_palette(palette, trans, bit_depth, gamma_table,
895 png_set_PLTE(png_ptr, info_ptr, palette, npalette);
1765 if (strcmp(arg, "palette") == 0)