Searched refs:quantize_sort (Results 1 – 2 of 2) sorted by relevance
310 png_bytep quantize_sort; /* working sort array */ member
413 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()418 png_ptr->quantize_sort[i] = (png_byte)i; in png_set_quantize()435 if (histogram[png_ptr->quantize_sort[j]] in png_set_quantize()436 < histogram[png_ptr->quantize_sort[j + 1]]) in png_set_quantize()440 t = png_ptr->quantize_sort[j]; in png_set_quantize()441 png_ptr->quantize_sort[j] = png_ptr->quantize_sort[j + 1]; in png_set_quantize()442 png_ptr->quantize_sort[j + 1] = t; in png_set_quantize()461 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()465 while ((int)png_ptr->quantize_sort[j] >= maximum_colors); in png_set_quantize()481 if ((int)png_ptr->quantize_sort[i] >= maximum_colors) in png_set_quantize()[all …]