Home
last modified time | relevance | path

Searched refs:PALETTE_MAX_SIZE (Results 1 – 12 of 12) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dpalette.c51 int deltas[PALETTE_MAX_SIZE]; in delta_encode_cost()
79 int in_cache_flags[PALETTE_MAX_SIZE]; in av1_index_color_cache()
107 const int delta = pmi->palette_colors[2 * PALETTE_MAX_SIZE + i] - in av1_get_palette_delta_bits_v()
108 pmi->palette_colors[2 * PALETTE_MAX_SIZE + i - 1]; in av1_get_palette_delta_bits_v()
121 int out_cache_colors[PALETTE_MAX_SIZE]; in av1_palette_color_cost_y()
122 uint8_t cache_color_found[2 * PALETTE_MAX_SIZE]; in av1_palette_color_cost_y()
137 int out_cache_colors[PALETTE_MAX_SIZE]; in av1_palette_color_cost_uv()
138 uint8_t cache_color_found[2 * PALETTE_MAX_SIZE]; in av1_palette_color_cost_uv()
140 color_cache, n_cache, pmi->palette_colors + PALETTE_MAX_SIZE, n, in av1_palette_color_cost_uv()
Dk_means_template.h54 int count[PALETTE_MAX_SIZE] = { 0 }; in RENAME()
95 int pre_centroids[2 * PALETTE_MAX_SIZE]; in RENAME()
Dtokenize.c42 uint8_t color_order[PALETTE_MAX_SIZE]; in cost_and_tokenize_map()
Dbitstream.c655 int deltas[PALETTE_MAX_SIZE]; in delta_encode_palette_colors()
683 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_y()
685 int out_cache_colors[PALETTE_MAX_SIZE]; in write_palette_colors_y()
686 uint8_t cache_color_found[2 * PALETTE_MAX_SIZE]; in write_palette_colors_y()
707 const uint16_t *colors_u = pmi->palette_colors + PALETTE_MAX_SIZE; in write_palette_colors_uv()
708 const uint16_t *colors_v = pmi->palette_colors + 2 * PALETTE_MAX_SIZE; in write_palette_colors_uv()
710 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_uv()
712 int out_cache_colors[PALETTE_MAX_SIZE]; in write_palette_colors_uv()
713 uint8_t cache_color_found[2 * PALETTE_MAX_SIZE]; in write_palette_colors_uv()
Drdopt.c4098 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_y()
4151 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_uv()
4375 int centroids[PALETTE_MAX_SIZE]; in rd_pick_palette_intra_sby()
4410 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in rd_pick_palette_intra_sby()
4414 int top_colors[PALETTE_MAX_SIZE] = { 0 }; in rd_pick_palette_intra_sby()
4415 for (i = 0; i < AOMMIN(colors, PALETTE_MAX_SIZE); ++i) { in rd_pick_palette_intra_sby()
4430 for (n = AOMMIN(colors, PALETTE_MAX_SIZE); n >= 2; --n) { in rd_pick_palette_intra_sby()
4440 for (n = AOMMIN(colors, PALETTE_MAX_SIZE); n >= 2; --n) { in rd_pick_palette_intra_sby()
6124 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in rd_pick_palette_intra_sbuv()
6134 int centroids[2 * PALETTE_MAX_SIZE]; in rd_pick_palette_intra_sbuv()
[all …]
/external/libaom/libaom/av1/common/
Dpred_common.c84 int above_idx = plane * PALETTE_MAX_SIZE; in av1_get_palette_cache()
85 int left_idx = plane * PALETTE_MAX_SIZE; in av1_get_palette_cache()
113 assert(n <= 2 * PALETTE_MAX_SIZE); in av1_get_palette_cache()
Dentropymode.c903 assert(palette_size <= PALETTE_MAX_SIZE); in av1_get_palette_color_index_context()
916 int scores[PALETTE_MAX_SIZE + 10] = { 0 }; in av1_get_palette_color_index_context()
925 int inverse_color_order[PALETTE_MAX_SIZE]; in av1_get_palette_color_index_context()
926 for (i = 0; i < PALETTE_MAX_SIZE; ++i) { in av1_get_palette_color_index_context()
Denums.h60 #define PALETTE_MAX_SIZE 8 macro
Dblockd.h161 uint16_t palette_colors[3 * PALETTE_MAX_SIZE];
Dreconintra.c1512 mbmi->palette_mode_info.palette_colors + plane * PALETTE_MAX_SIZE; in av1_predict_intra_block()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c453 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_y()
454 uint16_t cached_colors[PALETTE_MAX_SIZE]; in read_palette_colors_y()
487 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_uv()
488 uint16_t cached_colors[PALETTE_MAX_SIZE]; in read_palette_colors_uv()
495 idx += PALETTE_MAX_SIZE; in read_palette_colors_uv()
497 if (idx < PALETTE_MAX_SIZE + n) { in read_palette_colors_uv()
501 for (; idx < PALETTE_MAX_SIZE + n; ++idx) { in read_palette_colors_uv()
510 merge_colors(pmi->palette_colors + PALETTE_MAX_SIZE, cached_colors, n, in read_palette_colors_uv()
513 memcpy(pmi->palette_colors + PALETTE_MAX_SIZE, cached_colors, in read_palette_colors_uv()
522 pmi->palette_colors[2 * PALETTE_MAX_SIZE] = in read_palette_colors_uv()
[all …]
Ddetokenize.c26 uint8_t color_order[PALETTE_MAX_SIZE]; in decode_color_map_tokens()