Home
last modified time | relevance | path

Searched refs:quantize_sort (Results 1 – 2 of 2) sorted by relevance

/external/libpng/
Dpngrtran.c460 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
465 png_ptr->quantize_sort[i] = (png_byte)i; in png_set_quantize()
482 if (histogram[png_ptr->quantize_sort[j]] in png_set_quantize()
483 < histogram[png_ptr->quantize_sort[j + 1]]) in png_set_quantize()
487 t = png_ptr->quantize_sort[j]; in png_set_quantize()
488 png_ptr->quantize_sort[j] = png_ptr->quantize_sort[j + 1]; in png_set_quantize()
489 png_ptr->quantize_sort[j + 1] = t; 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()
528 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()
[all …]
Dpngstruct.h416 png_bytep quantize_sort; /* working sort array */ member