Home
last modified time | relevance | path

Searched refs:current_to_target (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_paletteuse.c220 const int current_to_target = diff(target, current, trans_thresh); in colormap_nearest_node() local
222 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() local
267 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()