Lines Matching refs:max_dist
640 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
673 max_dist = tdist*tdist; in find_nearby_colors()
678 max_dist = tdist*tdist; in find_nearby_colors()
684 max_dist = tdist*tdist; in find_nearby_colors()
687 max_dist = tdist*tdist; in find_nearby_colors()
696 max_dist += tdist*tdist; in find_nearby_colors()
701 max_dist += tdist*tdist; in find_nearby_colors()
706 max_dist += tdist*tdist; in find_nearby_colors()
709 max_dist += tdist*tdist; in find_nearby_colors()
718 max_dist += tdist*tdist; in find_nearby_colors()
723 max_dist += tdist*tdist; in find_nearby_colors()
728 max_dist += tdist*tdist; in find_nearby_colors()
731 max_dist += tdist*tdist; in find_nearby_colors()
736 if (max_dist < minmaxdist) in find_nearby_colors()
737 minmaxdist = max_dist; in find_nearby_colors()