Searched refs:d_index (Results 1 – 2 of 2) sorted by relevance
/external/libpng/ |
D | pngrtran.c | 539 int min_d, k, min_k, d_index; in png_set_quantize() local 542 d_index = png_ptr->quantize_index[i]; in png_set_quantize() 543 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize() 548 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize() 784 int d_index = index_g | ib; in png_set_quantize() local 790 if (d < (int)distance[d_index]) in png_set_quantize() 792 distance[d_index] = (png_byte)d; in png_set_quantize() 793 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_quantize()
|
/external/pdfium/third_party/libpng16/ |
D | pngrtran.c | 538 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()
|