Home
last modified time | relevance | path

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

12

/external/libaom/av1/encoder/
Dmodel_rd.h45 BLOCK_SIZE plane_bsize, int plane,
73 const BLOCK_SIZE plane_bsize = in compute_sse_plane() local
77 get_txb_dimensions(xd, plane, plane_bsize, 0, 0, plane_bsize, NULL, NULL, &bw, in compute_sse_plane()
87 BLOCK_SIZE plane_bsize, int plane, in model_rd_from_sse() argument
108 av1_model_rd_from_var_lapndz(sse, num_pels_log2_lookup[plane_bsize], in model_rd_from_sse()
119 BLOCK_SIZE plane_bsize, int plane, in model_rd_with_curvfit() argument
123 (void)plane_bsize; in model_rd_with_curvfit()
138 av1_model_rd_curvfit(plane_bsize, sse_norm, xqr, &rate_f, in model_rd_with_curvfit()
179 const BLOCK_SIZE plane_bsize = in model_rd_for_sb() local
181 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
61 const int diff_stride = block_size_wide[plane_bsize]; in av1_subtract_txb()
74 void av1_subtract_plane(MACROBLOCK *x, BLOCK_SIZE plane_bsize, int plane) { in av1_subtract_plane() argument
77 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_subtract_plane()
78 const int bw = block_size_wide[plane_bsize]; in av1_subtract_plane()
79 const int bh = block_size_high[plane_bsize]; in av1_subtract_plane()
289 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param, in av1_xform_quant() argument
291 av1_xform(x, plane, block, blk_row, blk_col, plane_bsize, txfm_param); in av1_xform_quant()
296 BLOCK_SIZE plane_bsize, TxfmParam *txfm_param) { in av1_xform() argument
300 const int diff_stride = block_size_wide[plane_bsize]; in av1_xform()
[all …]
Dtokenize.c280 BLOCK_SIZE plane_bsize, int blk_row, int blk_col, in tokenize_vartx() argument
286 const int max_blocks_high = max_block_high(xd, plane_bsize, plane); in tokenize_vartx()
287 const int max_blocks_wide = max_block_wide(xd, plane_bsize, plane); in tokenize_vartx()
294 : mbmi->inter_tx_size[av1_get_txb_size_index(plane_bsize, blk_row, in tokenize_vartx()
298 plane_bsize = in tokenize_vartx()
304 plane_bsize, tx_size, arg); in tokenize_vartx()
306 av1_record_txb_context(plane, block, blk_row, blk_col, plane_bsize, in tokenize_vartx()
327 tokenize_vartx(td, sub_txs, plane_bsize, offsetr, offsetc, block, plane, in tokenize_vartx()
361 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, ss_x, ss_y); in av1_tokenize_sb_vartx() local
362 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_tokenize_sb_vartx()
[all …]
Dtx_search.c126 const BLOCK_SIZE plane_bsize, in pixel_diff_dist() argument
131 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in pixel_diff_dist()
133 const int diff_stride = block_size_wide[plane_bsize]; in pixel_diff_dist()
153 const BLOCK_SIZE plane_bsize, const BLOCK_SIZE tx_bsize, in pixel_diff_stats() argument
157 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in pixel_diff_stats()
159 const int diff_stride = block_size_wide[plane_bsize]; in pixel_diff_stats()
335 TX_SIZE tx_size, int depth, BLOCK_SIZE plane_bsize, ENTROPY_CONTEXT *ta,
541 int blk_row, int blk_col, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in PrintTransformUnitStats() argument
585 const int diff_stride = block_size_wide[plane_bsize]; in PrintTransformUnitStats()
724 BLOCK_SIZE plane_bsize) { in PrintPredictionUnitStats() argument
[all …]
Dencodemb.h70 const MACROBLOCKD *const xd, BLOCK_SIZE plane_bsize, int plane,
88 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param,
92 BLOCK_SIZE plane_bsize, TxfmParam *txfm_param);
137 void av1_subtract_txb(MACROBLOCK *x, int plane, BLOCK_SIZE plane_bsize,
140 void av1_subtract_plane(MACROBLOCK *x, BLOCK_SIZE plane_bsize, int plane);
151 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
Dpartition_search.h70 const BLOCK_SIZE plane_bsize = in update_cb_offsets() local
72 assert(plane_bsize != BLOCK_INVALID); in update_cb_offsets()
74 block_size_wide[plane_bsize] * block_size_high[plane_bsize]; in update_cb_offsets()
Dencodetxb.h185 int blk_col, BLOCK_SIZE plane_bsize,
221 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
Dencodetxb.c548 int blk_col, BLOCK_SIZE plane_bsize, argument
571 get_txb_ctx(plane_bsize, tx_size, plane,
598 av1_set_entropy_contexts(xd, pd, plane, plane_bsize, tx_size, 0, blk_col,
705 av1_set_entropy_contexts(xd, pd, plane, plane_bsize, tx_size, cul_level,
710 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, argument
733 get_txb_ctx(plane_bsize, tx_size, plane,
754 av1_set_entropy_contexts(xd, pd, plane, plane_bsize, tx_size, 0, blk_col,
842 av1_set_entropy_contexts(xd, pd, plane, plane_bsize, tx_size, cul_level,
868 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, ss_x, ss_y); local
869 av1_foreach_transformed_block_in_plane(xd, plane_bsize, plane, visit, &arg);
Dintra_mode_search_utils.h622 int plane, BLOCK_SIZE plane_bsize, in intra_model_rd() argument
632 const int max_blocks_wide = max_block_wide(xd, plane_bsize, plane); in intra_model_rd()
633 const int max_blocks_high = max_block_high(xd, plane_bsize, plane); in intra_model_rd()
646 bd_info, txbh, txbw, p->src_diff, block_size_wide[plane_bsize], in intra_model_rd()
650 block_size_wide[plane_bsize], p->coeff); in intra_model_rd()
Dpickcdef.c408 const BLOCK_SIZE plane_bsize = in get_filt_error() local
418 (block_size_wide[plane_bsize] * block_size_high[plane_bsize]) >> in get_filt_error()
430 block_size_wide[plane_bsize], block_size_high[plane_bsize]); in get_filt_error()
442 (1 << MAX_SB_SIZE_LOG2), block_size_wide[plane_bsize], in get_filt_error()
443 block_size_high[plane_bsize]); in get_filt_error()
Dreconinter_enc.c286 const BLOCK_SIZE plane_bsize = in av1_build_inter_predictors_for_planes_single_buf() local
288 const int bw = block_size_wide[plane_bsize]; in av1_build_inter_predictors_for_planes_single_buf()
289 const int bh = block_size_high[plane_bsize]; in av1_build_inter_predictors_for_planes_single_buf()
413 const BLOCK_SIZE plane_bsize = get_plane_block_size( in av1_build_wedge_inter_predictor_from_buf() local
415 const int bw = block_size_wide[plane_bsize]; in av1_build_wedge_inter_predictor_from_buf()
416 const int bh = block_size_high[plane_bsize]; in av1_build_wedge_inter_predictor_from_buf()
/external/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.h261 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context() local
263 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_wide_lookup[plane_bsize]); in reset_skip_context()
265 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_high_lookup[plane_bsize]); in reset_skip_context()
280 BLOCK_SIZE plane_bsize,
293 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/av1/common/
Dblockd.c31 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in av1_set_entropy_contexts() argument
40 const int blocks_wide = max_block_wide(xd, plane_bsize, plane); in av1_set_entropy_contexts()
50 const int blocks_high = max_block_high(xd, plane_bsize, plane); in av1_set_entropy_contexts()
64 const BLOCK_SIZE plane_bsize = in av1_reset_entropy_context() local
66 const int txs_wide = mi_size_wide[plane_bsize]; in av1_reset_entropy_context()
67 const int txs_high = mi_size_high[plane_bsize]; in av1_reset_entropy_context()
Dtxb_common.h289 static void get_txb_ctx_general(const BLOCK_SIZE plane_bsize, in get_txb_ctx_general() argument
322 if (plane_bsize == txsize_to_bsize[tx_size]) { in get_txb_ctx_general()
369 const int ctx_offset = (num_pels_log2_lookup[plane_bsize] > in get_txb_ctx_general()
379 const BLOCK_SIZE plane_bsize, const int plane, \
410 if (plane_bsize == txsize_to_bsize[tx_size]) { \
439 const int ctx_offset = (num_pels_log2_lookup[plane_bsize] > \
454 static INLINE void get_txb_ctx(const BLOCK_SIZE plane_bsize, in get_txb_ctx() argument
460 case TX_4X4: get_txb_ctx_4x4(plane_bsize, plane, a, l, txb_ctx); break; in get_txb_ctx()
461 case TX_8X8: get_txb_ctx_8x8(plane_bsize, plane, a, l, txb_ctx); break; in get_txb_ctx()
462 case TX_16X16: get_txb_ctx_16x16(plane_bsize, plane, a, l, txb_ctx); break; in get_txb_ctx()
[all …]
Dreconinter.c533 BLOCK_SIZE plane_bsize, in build_smooth_interintra_mask() argument
536 const int bw = block_size_wide[plane_bsize]; in build_smooth_interintra_mask()
537 const int bh = block_size_high[plane_bsize]; in build_smooth_interintra_mask()
538 const int size_scale = ii_size_scales[plane_bsize]; in build_smooth_interintra_mask()
1051 int8_t wedge_sign, BLOCK_SIZE bsize, BLOCK_SIZE plane_bsize, in combine_interintra() argument
1054 const int bw = block_size_wide[plane_bsize]; in combine_interintra()
1055 const int bh = block_size_high[plane_bsize]; in combine_interintra()
1070 const uint8_t *mask = smooth_interintra_mask_buf[mode][plane_bsize]; in combine_interintra()
1078 int8_t wedge_sign, BLOCK_SIZE bsize, BLOCK_SIZE plane_bsize, in combine_interintra_highbd() argument
1081 const int bw = block_size_wide[plane_bsize]; in combine_interintra_highbd()
[all …]
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.h1378 const BLOCK_SIZE plane_bsize = in av1_get_max_uv_txsize() local
1380 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_get_max_uv_txsize()
1381 const TX_SIZE uv_tx = max_txsize_rect_lookup[plane_bsize]; in av1_get_max_uv_txsize()
1403 BLOCK_SIZE plane_bsize,
1408 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
/external/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()
425 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_dc() argument
433 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_dc()
494 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant() argument
503 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant()
572 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in encode_block() argument
[all …]
Dvp9_rd.c591 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_get_entropy_contexts() local
592 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_get_entropy_contexts()
593 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in vp9_get_entropy_contexts()
701 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block, in vp9_raster_block_offset() argument
703 const int bw = b_width_log2_lookup[plane_bsize]; in vp9_raster_block_offset()
709 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block, in vp9_raster_block_offset_int16() argument
711 const int stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_raster_block_offset_int16()
712 return base + vp9_raster_block_offset(plane_bsize, raster_block, stride); in vp9_raster_block_offset_int16()
Dvp9_rd.h177 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block,
180 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block,
/external/libaom/av1/decoder/
Ddecodetxb.c338 const BLOCK_SIZE plane_bsize = in av1_read_coeffs_txb_facade() local
342 get_txb_ctx(plane_bsize, tx_size, plane, pd->above_entropy_context + col, in av1_read_coeffs_txb_facade()
346 av1_set_entropy_contexts(xd, pd, plane, plane_bsize, tx_size, cul_level, col, in av1_read_coeffs_txb_facade()

12