Lines Matching refs:max_dist
840 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
875 max_dist = tdist * tdist; in find_nearby_colors()
882 max_dist = tdist * tdist; in find_nearby_colors()
891 max_dist = tdist * tdist; in find_nearby_colors()
896 max_dist = tdist * tdist; in find_nearby_colors()
906 max_dist += tdist * tdist; in find_nearby_colors()
913 max_dist += tdist * tdist; in find_nearby_colors()
921 max_dist += tdist * tdist; in find_nearby_colors()
926 max_dist += tdist * tdist; in find_nearby_colors()
936 max_dist += tdist * tdist; in find_nearby_colors()
943 max_dist += tdist * tdist; in find_nearby_colors()
951 max_dist += tdist * tdist; in find_nearby_colors()
956 max_dist += tdist * tdist; in find_nearby_colors()
961 if (max_dist < minmaxdist) in find_nearby_colors()
962 minmaxdist = max_dist; in find_nearby_colors()