Searched refs:d2 (Results 1 – 1 of 1) sorted by relevance
718 register int j, tmp, d2, dist; in map_colortable() local742 d2 *= d2; in map_colortable()744 d2 += tmp*tmp; in map_colortable()746 d2 += tmp*tmp; in map_colortable()747 if (d2 < dist) { in map_colortable()748 dist = d2; in map_colortable()865 d2 *= d2; in quant_fsdither()867 d2 += tmp*tmp; in quant_fsdither()869 d2 += tmp*tmp; in quant_fsdither()870 if (d2 < dist) { in quant_fsdither()[all …]