Home
last modified time | relevance | path

Searched refs:maximum_colors (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngrtran.c412 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument
432 if (num_palette > maximum_colors) in png_set_quantize()
457 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()
489 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
491 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
495 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
508 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
511 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
517 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
531 if ((int)png_ptr->quantize_index[i] >= maximum_colors) in png_set_quantize()
[all …]
Dpng.h1761 png_colorp palette, int num_palette, int maximum_colors,
/external/libpng/
Dpngrtran.c413 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument
433 if (num_palette > maximum_colors) in png_set_quantize()
458 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()
490 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
492 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
496 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
509 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
512 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
518 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
532 if ((int)png_ptr->quantize_index[i] >= maximum_colors) in png_set_quantize()
[all …]
Dpng.h1452 png_colorp palette, int num_palette, int maximum_colors,
Dlibpng-manual.txt2003 pass a palette that is larger than maximum_colors, the file will
2005 maximum_colors. If there is a histogram, libpng will use it to make