Lines Matching refs:tdist

840   INT32 minmaxdist, min_dist, max_dist, tdist;  in find_nearby_colors()  local
872 tdist = (x - minc0) * C0_SCALE; in find_nearby_colors()
873 min_dist = tdist * tdist; in find_nearby_colors()
874 tdist = (x - maxc0) * C0_SCALE; in find_nearby_colors()
875 max_dist = tdist * tdist; in find_nearby_colors()
879 tdist = (x - maxc0) * C0_SCALE; in find_nearby_colors()
880 min_dist = tdist * tdist; in find_nearby_colors()
881 tdist = (x - minc0) * C0_SCALE; in find_nearby_colors()
882 max_dist = tdist * tdist; in find_nearby_colors()
890 tdist = (x - maxc0) * C0_SCALE; in find_nearby_colors()
891 max_dist = tdist * tdist; in find_nearby_colors()
895 tdist = (x - minc0) * C0_SCALE; in find_nearby_colors()
896 max_dist = tdist * tdist; in find_nearby_colors()
903 tdist = (x - minc1) * C1_SCALE; in find_nearby_colors()
904 min_dist += tdist * tdist; in find_nearby_colors()
905 tdist = (x - maxc1) * C1_SCALE; in find_nearby_colors()
906 max_dist += tdist * tdist; in find_nearby_colors()
910 tdist = (x - maxc1) * C1_SCALE; in find_nearby_colors()
911 min_dist += tdist * tdist; in find_nearby_colors()
912 tdist = (x - minc1) * C1_SCALE; in find_nearby_colors()
913 max_dist += tdist * tdist; in find_nearby_colors()
920 tdist = (x - maxc1) * C1_SCALE; in find_nearby_colors()
921 max_dist += tdist * tdist; in find_nearby_colors()
925 tdist = (x - minc1) * C1_SCALE; in find_nearby_colors()
926 max_dist += tdist * tdist; in find_nearby_colors()
933 tdist = (x - minc2) * C2_SCALE; in find_nearby_colors()
934 min_dist += tdist * tdist; in find_nearby_colors()
935 tdist = (x - maxc2) * C2_SCALE; in find_nearby_colors()
936 max_dist += tdist * tdist; in find_nearby_colors()
940 tdist = (x - maxc2) * C2_SCALE; in find_nearby_colors()
941 min_dist += tdist * tdist; in find_nearby_colors()
942 tdist = (x - minc2) * C2_SCALE; in find_nearby_colors()
943 max_dist += tdist * tdist; in find_nearby_colors()
950 tdist = (x - maxc2) * C2_SCALE; in find_nearby_colors()
951 max_dist += tdist * tdist; in find_nearby_colors()
955 tdist = (x - minc2) * C2_SCALE; in find_nearby_colors()
956 max_dist += tdist * tdist; in find_nearby_colors()