Home
last modified time | relevance | path

Searched refs:dither_sort (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c169 png_ptr->dither_sort = (png_bytep)png_malloc(png_ptr, in png_set_dither()
174 png_ptr->dither_sort[i] = (png_byte)i; in png_set_dither()
190 if (histogram[png_ptr->dither_sort[j]] in png_set_dither()
191 < histogram[png_ptr->dither_sort[j + 1]]) in png_set_dither()
195 t = png_ptr->dither_sort[j]; in png_set_dither()
196 png_ptr->dither_sort[j] = png_ptr->dither_sort[j + 1]; in png_set_dither()
197 png_ptr->dither_sort[j + 1] = t; in png_set_dither()
214 if ((int)png_ptr->dither_sort[i] >= maximum_colors) in png_set_dither()
218 while ((int)png_ptr->dither_sort[j] >= maximum_colors); in png_set_dither()
232 if ((int)png_ptr->dither_sort[i] >= maximum_colors) in png_set_dither()
[all …]
Dpng.h1388 png_bytep dither_sort; /* working sort array */ member
/external/libpng/
Dpngrtran.c195 png_ptr->dither_sort = (png_bytep)png_malloc(png_ptr, in png_set_dither()
200 png_ptr->dither_sort[i] = (png_byte)i; in png_set_dither()
217 if (histogram[png_ptr->dither_sort[j]] in png_set_dither()
218 < histogram[png_ptr->dither_sort[j + 1]]) in png_set_dither()
222 t = png_ptr->dither_sort[j]; in png_set_dither()
223 png_ptr->dither_sort[j] = png_ptr->dither_sort[j + 1]; in png_set_dither()
224 png_ptr->dither_sort[j + 1] = t; in png_set_dither()
242 if ((int)png_ptr->dither_sort[i] >= maximum_colors) in png_set_dither()
246 while ((int)png_ptr->dither_sort[j] >= maximum_colors); in png_set_dither()
261 if ((int)png_ptr->dither_sort[i] >= maximum_colors) in png_set_dither()
[all …]
Dpng.h1573 png_bytep dither_sort PNG_DEPSTRUCT; /* working sort array */