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()
Dintra_mode_search.c337 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_y()
390 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_uv()
647 int centroids[PALETTE_MAX_SIZE]; in perform_top_color_coarse_palette_search()
675 int centroids[PALETTE_MAX_SIZE]; in perform_k_means_coarse_palette_search()
708 int centroids[PALETTE_MAX_SIZE]; in perform_top_color_palette_search()
742 int centroids[PALETTE_MAX_SIZE]; in perform_k_means_palette_search()
774 ((x == end_n) ? x - 1 : AOMMIN(x + 1, PALETTE_MAX_SIZE));
800 static const uint8_t start_n_lookup_table[PALETTE_MAX_SIZE + 1] = { 0, 0, 0,
804 static const uint8_t step_size_lookup_table[PALETTE_MAX_SIZE + 1] = { 0, 0, 0,
840 int centroids[PALETTE_MAX_SIZE]; in rd_pick_palette_intra_sby()
[all …]
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.c644 int deltas[PALETTE_MAX_SIZE]; in delta_encode_palette_colors()
672 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_y()
674 int out_cache_colors[PALETTE_MAX_SIZE]; in write_palette_colors_y()
675 uint8_t cache_color_found[2 * PALETTE_MAX_SIZE]; in write_palette_colors_y()
696 const uint16_t *colors_u = pmi->palette_colors + PALETTE_MAX_SIZE; in write_palette_colors_uv()
697 const uint16_t *colors_v = pmi->palette_colors + 2 * PALETTE_MAX_SIZE; in write_palette_colors_uv()
699 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_uv()
701 int out_cache_colors[PALETTE_MAX_SIZE]; in write_palette_colors_uv()
702 uint8_t cache_color_found[2 * PALETTE_MAX_SIZE]; in write_palette_colors_uv()
/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.h163 uint16_t palette_colors[3 * PALETTE_MAX_SIZE];
Dreconintra.c1575 mbmi->palette_mode_info.palette_colors + plane * PALETTE_MAX_SIZE; in av1_predict_intra_block()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c475 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_y()
476 uint16_t cached_colors[PALETTE_MAX_SIZE]; in read_palette_colors_y()
509 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_uv()
510 uint16_t cached_colors[PALETTE_MAX_SIZE]; in read_palette_colors_uv()
517 idx += PALETTE_MAX_SIZE; in read_palette_colors_uv()
519 if (idx < PALETTE_MAX_SIZE + n) { in read_palette_colors_uv()
523 for (; idx < PALETTE_MAX_SIZE + n; ++idx) { in read_palette_colors_uv()
532 merge_colors(pmi->palette_colors + PALETTE_MAX_SIZE, cached_colors, n, in read_palette_colors_uv()
535 memcpy(pmi->palette_colors + PALETTE_MAX_SIZE, cached_colors, in read_palette_colors_uv()
544 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()