Searched defs:d_index (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/libpng-1.2.8/
H A Dpngrtran.c258 int min_d, k, min_k, d_index; local
261 d_index = png_ptr->dither_index[i];
262 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]);
267 d = PNG_COLOR_DIST(palette[d_index], palette[k]);
499 int d_index = index_g | ib; local
505 if (d < (int)distance[d_index])
507 distance[d_index] = (png_byte)d;
508 png_ptr->palette_lookup[d_index] = (png_byte)i;

Completed in 1447 milliseconds