Searched refs:dist2 (Results 1 – 1 of 1) sorted by relevance
424 INT32 dist0, dist1, dist2; in update_box() local523 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()524 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box()996 register INT32 dist2; /* current distance in inner loop */ in find_best_colors() local1047 dist2 = dist1; in find_best_colors()1051 if (dist2 < *bptr) in find_best_colors()1053 *bptr = dist2; in find_best_colors()1056 dist2 += xx2; in find_best_colors()
Completed in 10 milliseconds