Lines Matching refs:d_index
503 int min_d, k, min_k, d_index;
506 d_index = png_ptr->quantize_index[i];
507 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]);
512 d = PNG_COLOR_DIST(palette[d_index], palette[k]);
746 int d_index = index_g | ib;
752 if (d < (int)distance[d_index])
754 distance[d_index] = (png_byte)d;
755 png_ptr->palette_lookup[d_index] = (png_byte)i;