Lines Matching refs:best_d
123 int x, y, i, j, match, d, best_d, av_uninit(best_j);
138 best_d = INT_MAX;
142 if (d < best_d) {
143 best_d = d;
194 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]);
197 if (d < best_d) {
199 best_d = d;
216 int i, j, d, best_d;
223 best_d = INT_MAX;
226 if (d < best_d) {
228 best_d = d;