Home
last modified time | relevance | path

Searched refs:plane_bsize (Results 1 – 25 of 38) sorted by relevance

12

/external/libaom/libaom/av1/encoder/
Dmodel_rd.h48 BLOCK_SIZE plane_bsize, int plane,
76 const BLOCK_SIZE plane_bsize = in compute_sse_plane() local
80 get_txb_dimensions(xd, plane, plane_bsize, 0, 0, plane_bsize, NULL, NULL, &bw, in compute_sse_plane()
90 BLOCK_SIZE plane_bsize, int plane, in model_rd_from_sse() argument
111 av1_model_rd_from_var_lapndz(sse, num_pels_log2_lookup[plane_bsize], in model_rd_from_sse()
122 BLOCK_SIZE plane_bsize, int plane, in model_rd_with_curvfit() argument
126 (void)plane_bsize; in model_rd_with_curvfit()
142 av1_model_rd_curvfit(plane_bsize, sse_norm, xqr, &rate_f, in model_rd_with_curvfit()
184 const BLOCK_SIZE plane_bsize = in model_rd_for_sb() local
186 assert(plane_bsize < BLOCK_SIZES_ALL); in model_rd_for_sb()
[all …]
Dencodemb.c55 void av1_subtract_txb(MACROBLOCK *x, int plane, BLOCK_SIZE plane_bsize, in av1_subtract_txb() argument
60 const int diff_stride = block_size_wide[plane_bsize]; in av1_subtract_txb()
73 void av1_subtract_plane(MACROBLOCK *x, BLOCK_SIZE plane_bsize, int plane) { in av1_subtract_plane() argument
76 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_subtract_plane()
77 const int bw = block_size_wide[plane_bsize]; in av1_subtract_plane()
78 const int bh = block_size_high[plane_bsize]; in av1_subtract_plane()
266 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param, in av1_xform_quant() argument
278 const int diff_stride = block_size_wide[plane_bsize]; in av1_xform_quant()
350 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg, in encode_block() argument
366 const int bw = mi_size_wide[plane_bsize]; in encode_block()
[all …]
Dtokenize.c134 BLOCK_SIZE plane_bsize, int blk_row, int blk_col, in tokenize_vartx() argument
140 const int max_blocks_high = max_block_high(xd, plane_bsize, plane); in tokenize_vartx()
141 const int max_blocks_wide = max_block_wide(xd, plane_bsize, plane); in tokenize_vartx()
148 : mbmi->inter_tx_size[av1_get_txb_size_index(plane_bsize, blk_row, in tokenize_vartx()
152 plane_bsize = get_plane_block_size(mbmi->sb_type, pd->subsampling_x, in tokenize_vartx()
155 plane_bsize, tx_size, arg); in tokenize_vartx()
173 tokenize_vartx(td, sub_txs, plane_bsize, offsetr, offsetc, block, plane, in tokenize_vartx()
207 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, ss_x, ss_y); in av1_tokenize_sb_vartx() local
208 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_tokenize_sb_vartx()
209 const int mi_width = mi_size_wide[plane_bsize]; in av1_tokenize_sb_vartx()
[all …]
Dtx_search.c368 const BLOCK_SIZE plane_bsize, in pixel_diff_dist() argument
373 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in pixel_diff_dist()
375 const int diff_stride = block_size_wide[plane_bsize]; in pixel_diff_dist()
544 TX_SIZE tx_size, int depth, BLOCK_SIZE plane_bsize, ENTROPY_CONTEXT *ta,
751 int blk_row, int blk_col, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in PrintTransformUnitStats() argument
795 const int diff_stride = block_size_wide[plane_bsize]; in PrintTransformUnitStats()
935 BLOCK_SIZE plane_bsize) { in PrintPredictionUnitStats() argument
940 !tile_data->inter_mode_rd_models[plane_bsize].ready)) in PrintPredictionUnitStats()
946 if ((lcg_rand16(&seed) % (1 << (14 - num_pels_log2_lookup[plane_bsize]))) != in PrintPredictionUnitStats()
958 const int diff_stride = block_size_wide[plane_bsize]; in PrintPredictionUnitStats()
[all …]
Dencodemb.h61 const MACROBLOCKD *const xd, BLOCK_SIZE plane_bsize, int plane,
76 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param,
114 void av1_subtract_txb(MACROBLOCK *x, int plane, BLOCK_SIZE plane_bsize,
117 void av1_subtract_plane(MACROBLOCK *x, BLOCK_SIZE plane_bsize, int plane);
128 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
Dreconinter_enc.c276 const BLOCK_SIZE plane_bsize = in av1_build_inter_predictors_for_planes_single_buf() local
278 const int bw = block_size_wide[plane_bsize]; in av1_build_inter_predictors_for_planes_single_buf()
279 const int bh = block_size_high[plane_bsize]; in av1_build_inter_predictors_for_planes_single_buf()
399 const BLOCK_SIZE plane_bsize = get_plane_block_size( in av1_build_wedge_inter_predictor_from_buf() local
401 const int bw = block_size_wide[plane_bsize]; in av1_build_wedge_inter_predictor_from_buf()
402 const int bh = block_size_high[plane_bsize]; in av1_build_wedge_inter_predictor_from_buf()
Drdopt_utils.h290 BLOCK_SIZE plane_bsize, int blk_row, in get_txb_dimensions() argument
295 assert(tx_bsize <= plane_bsize); in get_txb_dimensions()
305 const int block_height = block_size_high[plane_bsize]; in get_txb_dimensions()
316 const int block_width = block_size_wide[plane_bsize]; in get_txb_dimensions()
Dtx_search.h67 int64_t this_rd, int plane, BLOCK_SIZE plane_bsize,
Dencodetxb.h78 int blk_col, BLOCK_SIZE plane_bsize,
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.c46 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_foreach_transformed_block_in_plane() local
47 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_foreach_transformed_block_in_plane()
48 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in vp9_foreach_transformed_block_in_plane()
70 visit(plane, i, r, c, plane_bsize, tx_size, arg); in vp9_foreach_transformed_block_in_plane()
88 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, in vp9_set_contexts() argument
97 const int blocks_wide = num_4x4_blocks_wide_lookup[plane_bsize] + in vp9_set_contexts()
112 const int blocks_high = num_4x4_blocks_high_lookup[plane_bsize] + in vp9_set_contexts()
Dvp9_blockd.h255 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context() local
257 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_wide_lookup[plane_bsize]); in reset_skip_context()
259 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_high_lookup[plane_bsize]); in reset_skip_context()
274 BLOCK_SIZE plane_bsize,
287 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
Dvp9_reconinter.c215 const BLOCK_SIZE plane_bsize = in build_inter_predictors_for_planes() local
217 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in build_inter_predictors_for_planes()
218 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in build_inter_predictors_for_planes()
/external/libaom/libaom/av1/common/
Dblockd.c33 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in av1_set_entropy_contexts() argument
42 const int blocks_wide = max_block_wide(xd, plane_bsize, plane); in av1_set_entropy_contexts()
52 const int blocks_high = max_block_high(xd, plane_bsize, plane); in av1_set_entropy_contexts()
66 const BLOCK_SIZE plane_bsize = in av1_reset_entropy_context() local
68 const int txs_wide = mi_size_wide[plane_bsize]; in av1_reset_entropy_context()
69 const int txs_high = mi_size_high[plane_bsize]; in av1_reset_entropy_context()
Dreconinter.c579 BLOCK_SIZE plane_bsize, in build_smooth_interintra_mask() argument
582 const int bw = block_size_wide[plane_bsize]; in build_smooth_interintra_mask()
583 const int bh = block_size_high[plane_bsize]; in build_smooth_interintra_mask()
584 const int size_scale = ii_size_scales[plane_bsize]; in build_smooth_interintra_mask()
772 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, ss_x, ss_y); in build_inter_predictors_sub8x8() local
773 const int b8_w = block_size_wide[plane_bsize]; in build_inter_predictors_sub8x8()
774 const int b8_h = block_size_high[plane_bsize]; in build_inter_predictors_sub8x8()
1308 int8_t wedge_sign, BLOCK_SIZE bsize, BLOCK_SIZE plane_bsize, in combine_interintra() argument
1311 const int bw = block_size_wide[plane_bsize]; in combine_interintra()
1312 const int bh = block_size_high[plane_bsize]; in combine_interintra()
[all …]
Dtxb_common.h353 static INLINE void get_txb_ctx(const BLOCK_SIZE plane_bsize, in get_txb_ctx() argument
386 if (plane_bsize == txsize_to_bsize[tx_size]) { in get_txb_ctx()
433 const int ctx_offset = (num_pels_log2_lookup[plane_bsize] > in get_txb_ctx()
Dcfl.c407 BLOCK_SIZE plane_bsize, int plane, in max_intra_block_width() argument
409 const int max_blocks_wide = max_block_wide(xd, plane_bsize, plane) in max_intra_block_width()
415 BLOCK_SIZE plane_bsize, int plane, in max_intra_block_height() argument
417 const int max_blocks_high = max_block_high(xd, plane_bsize, plane) in max_intra_block_height()
Dblockd.h1067 const BLOCK_SIZE plane_bsize = in av1_get_max_uv_txsize() local
1069 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_get_max_uv_txsize()
1070 const TX_SIZE uv_tx = max_txsize_rect_lookup[plane_bsize]; in av1_get_max_uv_txsize()
1092 BLOCK_SIZE plane_bsize,
1097 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
Dcfl.h28 const int plane_bsize = get_plane_block_size(bsize, ssx, ssy); in is_cfl_allowed() local
29 return (CFL_ALLOWED_TYPE)(plane_bsize == BLOCK_4X4); in is_cfl_allowed()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.h39 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
41 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
43 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
48 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
Dvp9_tokenize.c318 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in set_entropy_context_b() argument
326 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0, col, row); in set_entropy_context_b()
349 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in tokenize_b() argument
417 vp9_set_contexts(xd, pd, plane_bsize, tx_size, c > 0, col, row); in tokenize_b()
426 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) { in is_skippable() argument
429 (void)plane_bsize; in is_skippable()
447 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in has_high_freq_coeff() argument
452 (void)plane_bsize; in has_high_freq_coeff()
Dvp9_encodemb.c40 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_subtract_plane() local
41 const int bw = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_subtract_plane()
42 const int bh = 4 * num_4x4_blocks_high_lookup[plane_bsize]; in vp9_subtract_plane()
349 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_fp() argument
358 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_fp()
428 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_dc() argument
436 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_dc()
501 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant() argument
510 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant()
584 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in encode_block() argument
[all …]
Dvp9_rd.c534 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_get_entropy_contexts() local
535 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_get_entropy_contexts()
536 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in vp9_get_entropy_contexts()
641 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block, in vp9_raster_block_offset() argument
643 const int bw = b_width_log2_lookup[plane_bsize]; in vp9_raster_block_offset()
649 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block, in vp9_raster_block_offset_int16() argument
651 const int stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_raster_block_offset_int16()
652 return base + vp9_raster_block_offset(plane_bsize, raster_block, stride); in vp9_raster_block_offset_int16()
Dvp9_rd.h168 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block,
171 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block,
Dvp9_rdopt.c475 int blk_col, const BLOCK_SIZE plane_bsize, in copy_block_visible() argument
477 const int plane_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in copy_block_visible()
478 const int plane_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in copy_block_visible()
536 int blk_col, const BLOCK_SIZE plane_bsize, in pixel_sse() argument
539 const int plane_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in pixel_sse()
540 const int plane_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in pixel_sse()
575 const BLOCK_SIZE plane_bsize, in sum_squares_visible() argument
578 const int plane_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in sum_squares_visible()
579 const int plane_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in sum_squares_visible()
608 BLOCK_SIZE plane_bsize, int block, int blk_row, in dist_block() argument
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c336 const BLOCK_SIZE plane_bsize = in av1_read_coeffs_txb_facade() local
340 get_txb_ctx(plane_bsize, tx_size, plane, pd->above_entropy_context + col, in av1_read_coeffs_txb_facade()
344 av1_set_entropy_contexts(xd, pd, plane, plane_bsize, tx_size, cul_level, col, in av1_read_coeffs_txb_facade()

12