Searched refs:subset_palette (Results 1 – 4 of 4) sorted by relevance
111 colormap *subset_palette; in get_subset_palette() local113 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() local133 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 …]
290 .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()
260 struct colormap *subset_palette; member
486 map->subset_palette = representative_subset; in mediancut()