Home
last modified time | relevance | path

Searched refs:palette_colors (Results 1 – 8 of 8) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dpalette.c107 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()
124 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, in av1_palette_color_cost_y()
140 color_cache, n_cache, pmi->palette_colors + PALETTE_MAX_SIZE, n, in av1_palette_color_cost_uv()
Dintra_mode_search.c580 pmi->palette_colors[i] = clip_pixel_highbd( in palette_rd_y()
585 pmi->palette_colors[i] = clip_pixel(centroids[i]); in palette_rd_y()
1122 pmi->palette_colors[i * PALETTE_MAX_SIZE + j] = clip_pixel_highbd( in rd_pick_palette_intra_sbuv()
1125 pmi->palette_colors[i * PALETTE_MAX_SIZE + j] = in rd_pick_palette_intra_sbuv()
1187 centroids[c * 2 + r - 1] = pmi->palette_colors[r * PALETTE_MAX_SIZE + c]; in av1_restore_uv_color_map()
1592 memcpy(pmi->palette_colors + PALETTE_MAX_SIZE, in av1_search_palette_mode()
1593 intra_search_state->pmi_uv.palette_colors + PALETTE_MAX_SIZE, in av1_search_palette_mode()
1594 2 * PALETTE_MAX_SIZE * sizeof(pmi->palette_colors[0])); in av1_search_palette_mode()
1888 memcpy(pmi->palette_colors + PALETTE_MAX_SIZE, in av1_handle_intra_mode()
1889 intra_search_state->pmi_uv.palette_colors + PALETTE_MAX_SIZE, in av1_handle_intra_mode()
[all …]
Dbitstream.c677 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, 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()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c484 pmi->palette_colors[idx++] = aom_read_literal(r, bit_depth, ACCT_STR); in read_palette_colors_y()
488 int range = (1 << bit_depth) - pmi->palette_colors[idx - 1] - 1; in read_palette_colors_y()
492 pmi->palette_colors[idx] = clamp(pmi->palette_colors[idx - 1] + delta, in read_palette_colors_y()
494 range -= (pmi->palette_colors[idx] - pmi->palette_colors[idx - 1]); in read_palette_colors_y()
498 merge_colors(pmi->palette_colors, cached_colors, n, n_cached_colors); in read_palette_colors_y()
500 memcpy(pmi->palette_colors, cached_colors, n * sizeof(cached_colors[0])); in read_palette_colors_y()
518 pmi->palette_colors[idx++] = aom_read_literal(r, bit_depth, ACCT_STR); in read_palette_colors_uv()
522 int range = (1 << bit_depth) - pmi->palette_colors[idx - 1]; in read_palette_colors_uv()
526 pmi->palette_colors[idx] = clamp(pmi->palette_colors[idx - 1] + delta, in read_palette_colors_uv()
528 range -= (pmi->palette_colors[idx] - pmi->palette_colors[idx - 1]); in read_palette_colors_uv()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-color-cpal-table.hh141 hb_array_t<const BGRAColor> palette_colors = all_colors.sub_array (start_index, in get_palette_colors() local
145 …hb_array_t<const BGRAColor> segment_colors = palette_colors.sub_array (start_offset, *color_count); in get_palette_colors()
/external/libaom/libaom/av1/common/
Dpred_common.c88 above_mi ? above_mi->palette_mode_info.palette_colors : NULL; in av1_get_palette_cache()
90 left_mi ? left_mi->palette_mode_info.palette_colors : NULL; in av1_get_palette_cache()
Dblockd.h163 uint16_t palette_colors[3 * PALETTE_MAX_SIZE]; member
Dreconintra.c1575 mbmi->palette_mode_info.palette_colors + plane * PALETTE_MAX_SIZE; in av1_predict_intra_block()