Lines Matching refs:d_index
283 int min_d, k, min_k, d_index;
286 d_index = png_ptr->dither_index[i];
287 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]);
292 d = PNG_COLOR_DIST(palette[d_index], palette[k]);
520 int d_index = index_g | ib;
526 if (d < (int)distance[d_index])
528 distance[d_index] = (png_byte)d;
529 png_ptr->palette_lookup[d_index] = (png_byte)i;