Home
last modified time | relevance | path

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

/external/skia/third_party/libpng/
Dpngrtran.c538 int min_d, k, min_k, d_index; in png_set_quantize() local
541 d_index = png_ptr->quantize_index[i]; in png_set_quantize()
542 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()
547 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()
781 int d_index = index_g | ib; in png_set_quantize() local
787 if (d < (int)distance[d_index]) in png_set_quantize()
789 distance[d_index] = (png_byte)d; in png_set_quantize()
790 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_quantize()
/external/pdfium/third_party/libpng16/
Dpngrtran.c538 int min_d, k, min_k, d_index; in png_set_quantize() local
541 d_index = png_ptr->quantize_index[i]; in png_set_quantize()
542 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()
547 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()
781 int d_index = index_g | ib; in png_set_quantize() local
787 if (d < (int)distance[d_index]) in png_set_quantize()
789 distance[d_index] = (png_byte)d; in png_set_quantize()
790 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_quantize()
/external/libpng/
Dpngrtran.c538 int min_d, k, min_k, d_index; in png_set_quantize() local
541 d_index = png_ptr->quantize_index[i]; in png_set_quantize()
542 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()
547 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()
781 int d_index = index_g | ib; in png_set_quantize() local
787 if (d < (int)distance[d_index]) in png_set_quantize()
789 distance[d_index] = (png_byte)d; in png_set_quantize()
790 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_quantize()
/external/syslinux/com32/lib/libpng/
Dpngrtran.c283 int min_d, k, min_k, d_index; in png_set_dither() local
286 d_index = png_ptr->dither_index[i]; in png_set_dither()
287 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_dither()
292 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_dither()
520 int d_index = index_g | ib; in png_set_dither() local
526 if (d < (int)distance[d_index]) in png_set_dither()
528 distance[d_index] = (png_byte)d; in png_set_dither()
529 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_dither()