Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dmediancut.c24 static f_pixel averagepixels (unsigned int clrs, const hist_item achv[],
410 unsigned int indx, clrs; in mediancut() local
430 clrs = bv[bi].colors; in mediancut()
446 break_p = hist_item_sort_halfvar (&achv[indx], clrs, &lowervar, halfvar); in mediancut()
447 break_at = MIN (clrs - 1, break_p - &achv[indx] + 1); in mediancut()
467 bv[boxes].colors = clrs - break_at; in mediancut()
531 averagepixels (unsigned int clrs, const hist_item achv[], in averagepixels() argument
538 for (unsigned int i = 0; i < clrs; ++i) { in averagepixels()
557 for (int i = clrs - 1; i >= 0; i--) { in averagepixels()