Home
last modified time | relevance | path

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

/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c298 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_dither()
306 png_ptr->index_to_palette[i] = (png_byte)i; in png_set_dither()
366 if ((int)png_ptr->index_to_palette[p->left] in png_set_dither()
368 (int)png_ptr->index_to_palette[p->right] in png_set_dither()
385 palette[png_ptr->index_to_palette[j]] in png_set_dither()
394 png_ptr->index_to_palette[j]) in png_set_dither()
396 png_ptr->index_to_palette[next_j]; in png_set_dither()
400 png_ptr->index_to_palette[j]; in png_set_dither()
404 png_ptr->index_to_palette[png_ptr->palette_to_index in png_set_dither()
405 [num_new_palette]] = png_ptr->index_to_palette[j]; in png_set_dither()
[all …]
Dpng.h1389 png_bytep index_to_palette; /* where the original index currently is */ member
/external/libpng/
Dpngrtran.c327 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_dither()
335 png_ptr->index_to_palette[i] = (png_byte)i; in png_set_dither()
392 if ((int)png_ptr->index_to_palette[p->left] in png_set_dither()
394 (int)png_ptr->index_to_palette[p->right] in png_set_dither()
411 palette[png_ptr->index_to_palette[j]] in png_set_dither()
420 png_ptr->index_to_palette[j]) in png_set_dither()
422 png_ptr->index_to_palette[next_j]; in png_set_dither()
426 png_ptr->index_to_palette[j]; in png_set_dither()
430 png_ptr->index_to_palette[png_ptr->palette_to_index in png_set_dither()
431 [num_new_palette]] = png_ptr->index_to_palette[j]; in png_set_dither()
[all …]
Dpng.h1574 png_bytep index_to_palette PNG_DEPSTRUCT; /* where the original index currently is */