Home
last modified time | relevance | path

Searched refs:quantize_index (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/libpng/
Dpngrtran.c443 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
446 png_ptr->quantize_index[i] = (png_byte)i; in png_set_quantize()
540 png_ptr->quantize_index[j] = (png_byte)i; in png_set_quantize()
541 png_ptr->quantize_index[i] = (png_byte)j; in png_set_quantize()
548 if ((int)png_ptr->quantize_index[i] >= maximum_colors) in png_set_quantize()
553 d_index = png_ptr->quantize_index[i]; in png_set_quantize()
568 png_ptr->quantize_index[i] = (png_byte)min_k; in png_set_quantize()
690 if (png_ptr->quantize_index[k] == in png_set_quantize()
692 png_ptr->quantize_index[k] = in png_set_quantize()
695 if ((int)png_ptr->quantize_index[k] == in png_set_quantize()
[all …]
Dpngstruct.h351 png_bytep quantize_index; /* index translation for palette files */ member
Dpngread.c958 png_free(png_ptr, png_ptr->quantize_index); in png_read_destroy()
959 png_ptr->quantize_index = NULL; in png_read_destroy()