Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dmediancut.c56 double weight = achv[box->ind + i].adjusted_weight; in box_variance()
315 return sqrt (diff) * (sqrt (1.0 + h.adjusted_weight) - 1.0); in color_weight()
399 bv[0].sum += achv[i].adjusted_weight; in mediancut()
455 lowersum += achv[indx + i].adjusted_weight; in mediancut()
522 achv[i].adjusted_weight *= in adjust_histogram()
540 new_a += px.a * achv[i].adjusted_weight; in averagepixels()
541 sum += achv[i].adjusted_weight; in averagepixels()
571 weight *= achv[i].adjusted_weight; in averagepixels()
Dpam.h232 float adjusted_weight, // perceptual weight changed to tweak how mediancut selects colors member
Dpam.c215 …total_weight += hist->achv[j].adjusted_weight = hist->achv[j].perceptual_weight = MIN(entry.percep…
Dlibimagequant.c1740 item->adjusted_weight = in adjust_histogram_callback()
1741 (item->perceptual_weight + item->adjusted_weight) * (sqrtf (1.f + diff)); in adjust_histogram_callback()
1826 hist->achv[j].adjusted_weight = in find_best_palette()
1828 hist->achv[j].adjusted_weight) / 2.0; in find_best_palette()