Searched refs:maximum_colors (Results 1 – 3 of 3) sorted by relevance
429 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument449 if (num_palette > maximum_colors) in png_set_quantize()474 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()506 for (i = 0; i < maximum_colors; i++) in png_set_quantize()508 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()512 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()525 for (i = 0; i < maximum_colors; i++) in png_set_quantize()528 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()534 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()548 if ((int)png_ptr->quantize_index[i] >= maximum_colors) in png_set_quantize()[all …]
1329 png_colorp palette, int num_palette, int maximum_colors,
2047 pass a palette that is larger than maximum_colors, the file will2049 maximum_colors. If there is a histogram, libpng will use it to make