Searched refs:average_color (Results 1 – 3 of 3) sorted by relevance
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | viter.c | 21 viter_state average_color[]) in viter_init() argument 23 memset (average_color, 0, in viter_init() 24 sizeof (average_color[0]) * (VITER_CACHE_LINE_GAP + in viter_init() 31 viter_state average_color[]) 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() 38 average_color[match].total += value; in viter_update_color() 43 const viter_state average_color[]) in viter_finalize() argument [all …]
|
D | viter.h | 15 …, const colormap *map, unsigned int match, const unsigned int thread, viter_state average_color[]);
|
D | libimagequant.c | 1179 viter_state *average_color = in remap_to_palette() local 1184 viter_init (map, max_threads, average_color); in remap_to_palette() 1187 schedule(static) default(none) shared(average_color) reduction(+:remapping_error) in remap_to_palette() 1200 average_color); in remap_to_palette() 1204 viter_finalize (map, max_threads, average_color); in remap_to_palette()
|