/external/libaom/libaom/av1/encoder/ |
D | palette.c | 70 int av1_index_color_cache(const uint16_t *color_cache, int n_cache, in av1_index_color_cache() argument 73 if (n_cache <= 0) { in av1_index_color_cache() 77 memset(cache_color_found, 0, n_cache * sizeof(*cache_color_found)); in av1_index_color_cache() 81 for (int i = 0; i < n_cache && n_in_cache < n_colors; ++i) { in av1_index_color_cache() 118 uint16_t *color_cache, int n_cache, in av1_palette_color_cost_y() argument 124 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, in av1_palette_color_cost_y() 127 n_cache + delta_encode_cost(out_cache_colors, n_out_cache, bit_depth, 1); in av1_palette_color_cost_y() 132 uint16_t *color_cache, int n_cache, in av1_palette_color_cost_uv() argument 140 color_cache, n_cache, pmi->palette_colors + PALETTE_MAX_SIZE, n, in av1_palette_color_cost_uv() 143 n_cache + delta_encode_cost(out_cache_colors, n_out_cache, bit_depth, 0); in av1_palette_color_cost_uv()
|
D | palette.h | 74 int av1_index_color_cache(const uint16_t *color_cache, int n_cache, 85 uint16_t *color_cache, int n_cache, int bit_depth); 89 uint16_t *color_cache, int n_cache,
|
D | bitstream.c | 684 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in write_palette_colors_y() local 688 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, in write_palette_colors_y() 691 for (int i = 0; i < n_cache && n_in_cache < n; ++i) { in write_palette_colors_y() 711 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in write_palette_colors_uv() local 715 color_cache, n_cache, colors_u, n, cache_color_found, out_cache_colors); in write_palette_colors_uv() 717 for (int i = 0; i < n_cache && n_in_cache < n; ++i) { in write_palette_colors_uv()
|
D | rdopt.c | 4099 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in intra_mode_info_cost_y() local 4102 n_cache, cpi->common.seq_params.bit_depth); in intra_mode_info_cost_y() 4152 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in intra_mode_info_cost_uv() local 4154 pmi, color_cache, n_cache, cpi->common.seq_params.bit_depth); in intra_mode_info_cost_uv() 4260 static void optimize_palette_colors(uint16_t *color_cache, int n_cache, in optimize_palette_colors() argument 4262 if (n_cache <= 0) return; in optimize_palette_colors() 4266 for (int j = 1; j < n_cache; ++j) { in optimize_palette_colors() 4283 int n_cache, MB_MODE_INFO *best_mbmi, in palette_rd_y() argument 4289 optimize_palette_colors(color_cache, n_cache, n, 1, centroids); in palette_rd_y() 4411 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in rd_pick_palette_intra_sby() local [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 455 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in read_palette_colors_y() local 458 for (int i = 0; i < n_cache && idx < n; ++i) in read_palette_colors_y() 489 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in read_palette_colors_uv() local 491 for (int i = 0; i < n_cache && idx < n; ++i) in read_palette_colors_uv()
|
/external/eigen/Eigen/src/Core/products/ |
D | GeneralBlockPanelKernel.h | 124 const Index n_cache = (l2-l1) / (nr * sizeof(RhsScalar) * k); variable 126 if (n_cache <= n_per_thread) { 128 eigen_internal_assert(n_cache >= static_cast<Index>(nr)); 129 n = n_cache - (n_cache % nr);
|