Searched refs:current_to_target (Results 1 – 1 of 1) sorted by relevance
220 const int current_to_target = diff(target, current, trans_thresh); in colormap_nearest_node() local222 if (current_to_target < nearest->dist_sqd) { in colormap_nearest_node()224 nearest->dist_sqd = current_to_target; in colormap_nearest_node()263 const int current_to_target = diff(target, current, trans_thresh); in colormap_nearest_iterative() local267 if (current_to_target < best_dist) { in colormap_nearest_iterative()269 if (!current_to_target) in colormap_nearest_iterative()271 best_dist = current_to_target; in colormap_nearest_iterative()