Home
last modified time | relevance | path

Searched refs:dist2 (Results 1 – 1 of 1) sorted by relevance

/PHP-7.4/ext/gd/libgd/
H A Dgd_topal.c424 INT32 dist0, dist1, dist2; in update_box() local
523 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() local
1047 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 8 milliseconds