Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dnearest.c42 diff = colordifference (map->palette[i].acolor, map->palette[j].acolor); in distance_from_nearest_other_color()
72 colors[colorsused].radius = colordifference (px, map->palette[i].acolor); in build_head()
213 colordifference (centroids->map->palette[likely_colormap_index].acolor, in nearest_search()
222 float vantage_point_dist = colordifference (px, heads[i].vantage_point); in nearest_search()
230 dist = colordifference (px, heads[i].candidates_color[0]); in nearest_search()
238 float newdist = colordifference (px, heads[i].candidates_color[j]); in nearest_search()
Dmediancut.c76 const double diff = colordifference (mean, achv[box->ind + i].acolor); in box_max_error()
311 float diff = colordifference (median, h.acolor); in color_weight()
332 colordifference (avg, in box_error()
523 sqrt (1.0 + colordifference (map->palette[bi].acolor, in adjust_histogram()
Dpam.h188 ALWAYS_INLINE static float colordifference(f_pixel px, f_pixel py);
189 inline static float colordifference(f_pixel px, f_pixel py) in colordifference() function
Dlibimagequant.c1434 if (colordifference (hist->achv[j].acolor, in remove_fixed_colors_from_histogram()