Home
last modified time | relevance | path

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

/external/u-boot/tools/
Dbmp_logo.c52 void gen_info(bitmap_t *b, uint16_t n_colors) in gen_info() argument
69 b->width, b->height, n_colors, in gen_info()
79 uint16_t data_offset, n_colors, hdr_size; in main() local
123 if (fread (&n_colors, sizeof (uint16_t), 1, fp) != 1) in main()
133 n_colors = le_short(n_colors); in main()
136 if ((n_colors == 0) || (n_colors > 256 - DEFAULT_CMAP_SIZE)) { in main()
138 n_colors = 256 - DEFAULT_CMAP_SIZE; in main()
142 gen_info(b, n_colors); in main()
162 for (i=0; i<n_colors; ++i) { in main()
/external/libaom/libaom/av1/encoder/
Dpalette.c71 const uint16_t *colors, int n_colors, in av1_index_color_cache() argument
74 for (int i = 0; i < n_colors; ++i) out_cache_colors[i] = colors[i]; in av1_index_color_cache()
75 return n_colors; in av1_index_color_cache()
81 for (int i = 0; i < n_cache && n_in_cache < n_colors; ++i) { in av1_index_color_cache()
82 for (int j = 0; j < n_colors; ++j) { in av1_index_color_cache()
92 for (int i = 0; i < n_colors; ++i) in av1_index_color_cache()
94 assert(j == n_colors - n_in_cache); in av1_index_color_cache()
Dpalette.h75 const uint16_t *colors, int n_colors,
Dtokenize.c39 const int n = param->n_colors; in cost_and_tokenize_map()
88 params->n_colors = pmi->palette_size[plane]; in get_palette_params()
Dencoder.c3503 const int n_colors = in set_screen_content_options() local
3507 if (n_colors > 1 && n_colors <= color_thresh) { in set_screen_content_options()
Drdopt.c4261 int n_colors, int stride, int *centroids) { in optimize_palette_colors() argument
4263 for (int i = 0; i < n_colors * stride; i += stride) { in optimize_palette_colors()
/external/libaom/libaom/av1/decoder/
Ddetokenize.c27 const int n = param->n_colors; in decode_color_map_tokens()
74 params.n_colors = mbmi->palette_mode_info.palette_size[plane]; in av1_decode_palette_tokens()
Ddecodemv.c436 int n_colors, int n_cached_colors) { in merge_colors() argument
439 for (int i = 0; i < n_colors; ++i) { in merge_colors()
441 (trans_idx >= n_colors || in merge_colors()
445 assert(trans_idx < n_colors); in merge_colors()
/external/libaom/libaom/av1/common/
Dblockd.h1127 int n_colors; member