Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Dquantize.c269 maximum_colors; member
897 if (cube_info->colors > cube_info->maximum_colors) in ClassifyImageColors()
2007 const size_t depth,const size_t maximum_colors) in GetCubeInfo() argument
2034 cube_info->maximum_colors=maximum_colors; in GetCubeInfo()
2659 maximum_colors; in QuantizeImage() local
2669 maximum_colors=quantize_info->number_colors; in QuantizeImage()
2670 if (maximum_colors == 0) in QuantizeImage()
2671 maximum_colors=MaxColormapSize; in QuantizeImage()
2672 if (maximum_colors > MaxColormapSize) in QuantizeImage()
2673 maximum_colors=MaxColormapSize; in QuantizeImage()
[all …]
/external/libpng/
Dpngrtran.c418 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument
438 if (num_palette > maximum_colors) in png_set_quantize()
463 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()
495 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
497 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
501 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
514 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
517 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
523 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
537 if ((int)png_ptr->quantize_index[i] >= maximum_colors) in png_set_quantize()
[all …]
Dpng.h1360 png_colorp palette, int num_palette, int maximum_colors,
Dlibpng-manual.txt2046 pass a palette that is larger than maximum_colors, the file will
2048 maximum_colors. If there is a histogram, libpng will use it to make
/external/pdfium/third_party/libpng16/
Dpngrtran.c417 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument
437 if (num_palette > maximum_colors) in png_set_quantize()
462 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()
494 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
496 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
500 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
513 for (i = 0; i < maximum_colors; i++) in png_set_quantize()
516 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
522 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()
536 if ((int)png_ptr->quantize_index[i] >= maximum_colors) in png_set_quantize()
[all …]
Dpng.h1364 png_colorp palette, int num_palette, int maximum_colors,