Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dviter.c29 viter_update_color (const f_pixel acolor, const float value, in viter_update_color() argument
34 average_color[match].a += acolor.a * value; in viter_update_color()
35 average_color[match].r += acolor.r * value; in viter_update_color()
36 average_color[match].g += acolor.g * value; in viter_update_color()
37 average_color[match].b += acolor.b * value; in viter_update_color()
60 map->palette[i].acolor = (f_pixel) { in viter_finalize()
94 nearest_search (n, achv[j].acolor, achv[j].tmp.likely_colormap_index, in viter_do_iteration()
99 viter_update_color (achv[j].acolor, achv[j].perceptual_weight, map, match, in viter_do_iteration()
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()
89 h.candidates_color[i] = map->palette[colors[i].index].acolor; in build_head()
172 build_head (subset_palette->palette[h].acolor, map, num_candiadtes, in nearest_init()
213 colordifference (centroids->map->palette[likely_colormap_index].acolor, in nearest_search()
Dmediancut.c55 f_pixel px = achv[box->ind + i].acolor; in box_variance()
76 const double diff = colordifference (mean, achv[box->ind + i].acolor); in box_max_error()
236 const float *chans = (const float *) &achv[b->ind + i].acolor; in prepare_sort()
266 return achv[b->ind + median_start].acolor; in get_median()
311 float diff = colordifference (median, h.acolor); in color_weight()
333 achv[box->ind + i].acolor) * achv[box->ind + i].perceptual_weight; in box_error()
505 map->palette[bi].acolor = bv[bi].color; in set_colormap_from_boxes()
523 sqrt (1.0 + colordifference (map->palette[bi].acolor, in adjust_histogram()
524 achv[i].acolor) / 4.0); in adjust_histogram()
539 const f_pixel px = achv[i].acolor; in averagepixels()
[all …]
Dviter.h15 LIQ_PRIVATE void viter_update_color(const f_pixel acolor, const float value, const colormap *map, u…
Dpam.h231 f_pixel acolor; member
251 f_pixel acolor; member
Dlibimagequant.c1066 if (map->palette[i].acolor.a < 1.0 / 256.0) { in sort_palette()
1080 if (map->palette[i].acolor.a < 255.0 / 256.0) { in sort_palette()
1122 rgba_pixel px = to_rgb (gamma, map->palette[x].acolor); in set_rounded_palette()
1129 …map->palette[x].acolor = to_f (gamma_lut, px); /* saves rounding error introduced by to_rgb, … in set_rounded_palette()
1333 xp = acolormap[last_match].acolor; in remap_to_palette_floyd()
1348 (3.0f + acolormap[last_match].acolor.a) / 4.0f * dither_level; in remap_to_palette_floyd()
1434 if (colordifference (hist->achv[j].acolor, in remove_fixed_colors_from_histogram()
1730 .acolor = fixed_colors[j],.fixed = true,}; in add_fixed_colors_to_palette()
1866 acolormap->palette[i].acolor = hist->achv[i].acolor; in pngquant_quantize()
Dpam.c214 hist->achv[j].acolor = to_f(gamma_lut, entry.color.rgba); \
/third_party/ffmpeg/libavfilter/
Dvf_waveform.c2127 static av_always_inline void acolor(WaveformContext *s, in acolor() function
2248 acolor(s, in, out, component, s->intensity, \
/third_party/ffmpeg/doc/
Dfilters.texi21655 @item acolor