Searched refs:maximum_colors (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_pngrtran.c | 412 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 …]
|
D | png.h | 1761 png_colorp palette, int num_palette, int maximum_colors,
|
/external/libpng/ |
D | pngrtran.c | 413 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 …]
|
D | png.h | 1452 png_colorp palette, int num_palette, int maximum_colors,
|
D | libpng-manual.txt | 2003 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
|