Searched refs:n_colors (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/tools/ |
D | bmp_logo.c | 52 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/ |
D | palette.c | 71 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()
|
D | palette.h | 75 const uint16_t *colors, int n_colors,
|
D | tokenize.c | 39 const int n = param->n_colors; in cost_and_tokenize_map() 88 params->n_colors = pmi->palette_size[plane]; in get_palette_params()
|
D | encoder.c | 3503 const int n_colors = in set_screen_content_options() local 3507 if (n_colors > 1 && n_colors <= color_thresh) { in set_screen_content_options()
|
D | rdopt.c | 4261 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/ |
D | detokenize.c | 27 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()
|
D | decodemv.c | 436 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/ |
D | blockd.h | 1127 int n_colors; member
|