Searched refs:colors_v (Results 1 – 2 of 2) sorted by relevance
/external/libaom/libaom/av1/encoder/ |
D | bitstream.c | 697 const uint16_t *colors_v = pmi->palette_colors + 2 * PALETTE_MAX_SIZE; in write_palette_colors_uv() local 722 assert(colors_v[0] < (1 << bit_depth)); in write_palette_colors_uv() 725 aom_write_literal(w, colors_v[0], bit_depth); in write_palette_colors_uv() 727 assert(colors_v[i] < (1 << bit_depth)); in write_palette_colors_uv() 728 if (colors_v[i] == colors_v[i - 1]) { // No need to signal sign bit. in write_palette_colors_uv() 732 const int delta = abs((int)colors_v[i] - colors_v[i - 1]); in write_palette_colors_uv() 733 const int sign_bit = colors_v[i] < colors_v[i - 1]; in write_palette_colors_uv() 745 assert(colors_v[i] < (1 << bit_depth)); in write_palette_colors_uv() 746 aom_write_literal(w, colors_v[i], bit_depth); in write_palette_colors_uv()
|
D | intra_mode_search.c | 1021 int colors_u, colors_v, colors; in rd_pick_palette_intra_sbuv() local 1037 colors_v = av1_count_colors_highbd(src_v, src_stride, rows, cols, in rd_pick_palette_intra_sbuv() 1041 colors_v = av1_count_colors(src_v, src_stride, rows, cols, count_buf); in rd_pick_palette_intra_sbuv() 1047 colors = colors_u > colors_v ? colors_u : colors_v; in rd_pick_palette_intra_sbuv()
|