Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dnearest.c111 colormap *subset_palette; in get_subset_palette() local
113 if (map->subset_palette) { in get_subset_palette()
114 return map->subset_palette; in get_subset_palette()
118 subset_palette = pam_colormap (subset_size, map->malloc, map->free); in get_subset_palette()
121 subset_palette->palette[i] = map->palette[i]; in get_subset_palette()
124 return subset_palette; in get_subset_palette()
130 colormap *subset_palette = get_subset_palette (map); in nearest_init() local
133 subset_palette->colors) : 0; in nearest_init()
138 sizeof (unsigned int)) * subset_palette->colors * map->colors / 5 + in nearest_init()
172 build_head (subset_palette->palette[h].acolor, map, num_candiadtes, in nearest_init()
[all …]
Dpam.c290 .malloc = malloc,.free = free,.subset_palette = NULL,.colors = colors,}; in pam_colormap()
302 if (map->subset_palette) { in pam_duplicate_colormap()
303 dupe->subset_palette = pam_duplicate_colormap (map->subset_palette); in pam_duplicate_colormap()
311 if (c->subset_palette) in pam_freecolormap()
312 pam_freecolormap (c->subset_palette); in pam_freecolormap()
Dpam.h260 struct colormap *subset_palette; member
Dmediancut.c486 map->subset_palette = representative_subset; in mediancut()