Home
last modified time | relevance | path

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

12

/external/libaom/libaom/av1/encoder/
Dencodemb.c66 void av1_subtract_txb(MACROBLOCK *x, int plane, BLOCK_SIZE plane_bsize, in av1_subtract_txb() argument
71 const int diff_stride = block_size_wide[plane_bsize]; in av1_subtract_txb()
89 const BLOCK_SIZE plane_bsize = in av1_subtract_plane() local
91 const int bw = block_size_wide[plane_bsize]; in av1_subtract_plane()
92 const int bh = block_size_high[plane_bsize]; in av1_subtract_plane()
133 int blk_row, int blk_col, BLOCK_SIZE plane_bsize, in av1_xform_quant() argument
146 const int diff_stride = block_size_wide[plane_bsize]; in av1_xform_quant()
202 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg, in encode_block() argument
219 const int bw = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in encode_block()
231 cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, tx_type, in encode_block()
[all …]
Dtokenize.c134 TX_SIZE tx_size, BLOCK_SIZE plane_bsize, int blk_row, 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()
156 plane_bsize, tx_size, arg); in tokenize_vartx()
158 av1_update_txb_context_b(plane, block, blk_row, blk_col, plane_bsize, in tokenize_vartx()
180 tokenize_vartx(td, t, dry_run, sub_txs, plane_bsize, offsetr, offsetc, in tokenize_vartx()
215 const BLOCK_SIZE plane_bsize = in av1_tokenize_sb_vartx() local
217 const int mi_width = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in av1_tokenize_sb_vartx()
[all …]
Dencodemb.h63 int blk_row, int blk_col, BLOCK_SIZE plane_bsize,
71 void av1_subtract_txb(MACROBLOCK *x, int plane, BLOCK_SIZE plane_bsize,
85 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
Dencodetxb.h67 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
71 int blk_col, BLOCK_SIZE plane_bsize,
Dreconinter_enc.c124 const BLOCK_SIZE plane_bsize = scale_chroma_bsize(bsize, ss_x, ss_y); in build_inter_predictors() local
125 const int b8_w = block_size_wide[plane_bsize] >> ss_x; in build_inter_predictors()
126 const int b8_h = block_size_high[plane_bsize] >> ss_y; in build_inter_predictors()
502 const BLOCK_SIZE plane_bsize = get_plane_block_size( in av1_build_inter_predictors_for_planes_single_buf() local
504 const int bw = block_size_wide[plane_bsize]; in av1_build_inter_predictors_for_planes_single_buf()
505 const int bh = block_size_high[plane_bsize]; in av1_build_inter_predictors_for_planes_single_buf()
599 const BLOCK_SIZE plane_bsize = get_plane_block_size( in av1_build_wedge_inter_predictor_from_buf() local
601 const int bw = block_size_wide[plane_bsize]; in av1_build_wedge_inter_predictor_from_buf()
602 const int bh = block_size_high[plane_bsize]; in av1_build_wedge_inter_predictor_from_buf()
Drdopt.c78 BLOCK_SIZE plane_bsize, int plane,
110 const MACROBLOCK *const x, BLOCK_SIZE plane_bsize,
114 const MACROBLOCK *const x, BLOCK_SIZE plane_bsize,
119 BLOCK_SIZE plane_bsize, int plane,
124 BLOCK_SIZE plane_bsize, int plane,
1951 const MACROBLOCK *const x, BLOCK_SIZE plane_bsize, in model_rd_from_sse() argument
1972 av1_model_rd_from_var_lapndz(sse, num_pels_log2_lookup[plane_bsize], in model_rd_from_sse()
2024 const BLOCK_SIZE plane_bsize = in model_rd_for_sb() local
2026 const int bw = block_size_wide[plane_bsize]; in model_rd_for_sb()
2027 const int bh = block_size_high[plane_bsize]; in model_rd_for_sb()
[all …]
Drd.c944 static void get_entropy_contexts_plane(BLOCK_SIZE plane_bsize, in get_entropy_contexts_plane() argument
948 const int num_4x4_w = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in get_entropy_contexts_plane()
949 const int num_4x4_h = block_size_high[plane_bsize] >> tx_size_high_log2[0]; in get_entropy_contexts_plane()
961 const BLOCK_SIZE plane_bsize = in av1_get_entropy_contexts() local
963 get_entropy_contexts_plane(plane_bsize, pd, t_above, t_left); in av1_get_entropy_contexts()
1041 int av1_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block, in av1_raster_block_offset() argument
1043 const int bw = mi_size_wide_log2[plane_bsize]; in av1_raster_block_offset()
1049 int16_t *av1_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block, in av1_raster_block_offset_int16() argument
1051 const int stride = block_size_wide[plane_bsize]; in av1_raster_block_offset_int16()
1052 return base + av1_raster_block_offset(plane_bsize, raster_block, stride); in av1_raster_block_offset_int16()
Drd.h410 int av1_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block,
413 int16_t *av1_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block,
/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.h254 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context() local
256 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_wide_lookup[plane_bsize]); in reset_skip_context()
258 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_high_lookup[plane_bsize]); in reset_skip_context()
273 BLOCK_SIZE plane_bsize,
286 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.c32 int plane, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in av1_set_contexts() argument
41 const int blocks_wide = max_block_wide(xd, plane_bsize, plane); in av1_set_contexts()
51 const int blocks_high = max_block_high(xd, plane_bsize, plane); in av1_set_contexts()
70 const BLOCK_SIZE plane_bsize = in av1_reset_skip_context() local
72 const int txs_wide = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in av1_reset_skip_context()
73 const int txs_high = block_size_high[plane_bsize] >> tx_size_high_log2[0]; in av1_reset_skip_context()
Dreconinter.c998 BLOCK_SIZE plane_bsize, in build_smooth_interintra_mask() argument
1001 const int bw = block_size_wide[plane_bsize]; in build_smooth_interintra_mask()
1002 const int bh = block_size_high[plane_bsize]; in build_smooth_interintra_mask()
1003 const int size_scale = ii_size_scales[plane_bsize]; in build_smooth_interintra_mask()
1041 BLOCK_SIZE plane_bsize, uint8_t *comppred, in combine_interintra() argument
1045 const int bw = block_size_wide[plane_bsize]; in combine_interintra()
1046 const int bh = block_size_high[plane_bsize]; in combine_interintra()
1062 build_smooth_interintra_mask(mask, bw, plane_bsize, mode); in combine_interintra()
1069 int wedge_sign, BLOCK_SIZE bsize, BLOCK_SIZE plane_bsize, in combine_interintra_highbd() argument
1072 const int bw = block_size_wide[plane_bsize]; in combine_interintra_highbd()
[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()
426 const int ctx_offset = (num_pels_log2_lookup[plane_bsize] > in get_txb_ctx()
Dblockd.h928 const BLOCK_SIZE plane_bsize = in av1_get_max_uv_txsize() local
930 assert(plane_bsize < BLOCK_SIZES_ALL); in av1_get_max_uv_txsize()
931 const TX_SIZE uv_tx = max_txsize_rect_lookup[plane_bsize]; in av1_get_max_uv_txsize()
953 BLOCK_SIZE plane_bsize,
957 int plane, BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
Dav1_loopfilter.c723 const BLOCK_SIZE plane_bsize = ss_size_lookup[bsizec][ssx][ssy]; in setup_masks() local
726 ? block_size_wide[plane_bsize] - 1 in setup_masks()
727 : block_size_high[plane_bsize] - 1; in setup_masks()
826 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in setup_tx_block_mask() argument
858 plane_bsize, blk_row, blk_col)]; in setup_tx_block_mask()
869 assert(txsize_to_bsize[plane_tx_size] <= plane_bsize); in setup_tx_block_mask()
882 setup_tx_block_mask(cm, mi_row, mi_col, offsetr, offsetc, plane_bsize, in setup_tx_block_mask()
897 const BLOCK_SIZE plane_bsize = ss_size_lookup[bsizec][ssx][ssy]; in setup_fix_block_mask() local
899 const int block_width = mi_size_wide[plane_bsize]; in setup_fix_block_mask()
900 const int block_height = mi_size_high[plane_bsize]; in setup_fix_block_mask()
[all …]
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()
Donyxc_int.h1102 BLOCK_SIZE plane_bsize, int plane, in max_intra_block_width() argument
1104 const int max_blocks_wide = max_block_wide(xd, plane_bsize, plane) in max_intra_block_width()
1110 BLOCK_SIZE plane_bsize, int plane, in max_intra_block_height() argument
1112 const int max_blocks_high = max_block_high(xd, plane_bsize, plane) in max_intra_block_height()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.h33 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
35 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
37 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
42 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.c36 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_subtract_plane() local
37 const int bw = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_subtract_plane()
38 const int bh = 4 * num_4x4_blocks_high_lookup[plane_bsize]; in vp9_subtract_plane()
345 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_fp() argument
354 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_fp()
422 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_dc() argument
430 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_dc()
495 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant() argument
504 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant()
578 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in encode_block() argument
[all …]
Dvp9_rd.c504 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_get_entropy_contexts() local
505 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_get_entropy_contexts()
506 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in vp9_get_entropy_contexts()
611 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block, in vp9_raster_block_offset() argument
613 const int bw = b_width_log2_lookup[plane_bsize]; in vp9_raster_block_offset()
619 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block, in vp9_raster_block_offset_int16() argument
621 const int stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_raster_block_offset_int16()
622 return base + vp9_raster_block_offset(plane_bsize, raster_block, stride); in vp9_raster_block_offset_int16()
Dvp9_rd.h158 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block,
161 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block,
Dvp9_rdopt.c468 int blk_col, const BLOCK_SIZE plane_bsize, in pixel_sse() argument
471 const int plane_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in pixel_sse()
472 const int plane_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in pixel_sse()
507 const BLOCK_SIZE plane_bsize, in sum_squares_visible() argument
510 const int plane_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in sum_squares_visible()
511 const int plane_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in sum_squares_visible()
540 BLOCK_SIZE plane_bsize, int block, int blk_row, in dist_block() argument
591 blk_col, plane_bsize, tx_bsize); in dist_block()
646 plane_bsize, tx_bsize); in dist_block()
660 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in block_rd_txfm() argument
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c339 const BLOCK_SIZE plane_bsize = in av1_read_coeffs_txb_facade() local
343 get_txb_ctx(plane_bsize, tx_size, plane, pd->above_context + col, in av1_read_coeffs_txb_facade()
347 av1_set_contexts(xd, pd, plane, plane_bsize, tx_size, cul_level, col, row); in av1_read_coeffs_txb_facade()

12