Home
last modified time | relevance | path

Searched refs:sb_type (Results 1 – 25 of 57) sorted by relevance

123

/external/libaom/libaom/av1/common/
Dreconinter.h166 BLOCK_SIZE sb_type) { in is_interinter_compound_used() argument
167 const int comp_allowed = is_comp_ref_allowed(sb_type); in is_interinter_compound_used()
173 return comp_allowed && wedge_params_lookup[sb_type].bits > 0; in is_interinter_compound_used()
178 static INLINE int is_any_masked_compound_used(BLOCK_SIZE sb_type) { in is_any_masked_compound_used() argument
181 if (!is_comp_ref_allowed(sb_type)) return 0; in is_any_masked_compound_used()
185 is_interinter_compound_used(comp_type, sb_type)) in is_any_masked_compound_used()
191 static INLINE int get_wedge_bits_lookup(BLOCK_SIZE sb_type) { in get_wedge_bits_lookup() argument
192 return wedge_params_lookup[sb_type].bits; in get_wedge_bits_lookup()
195 static INLINE int get_interinter_wedge_bits(BLOCK_SIZE sb_type) { in get_interinter_wedge_bits() argument
196 const int wbits = wedge_params_lookup[sb_type].bits; in get_interinter_wedge_bits()
[all …]
Dreconinter.c246 BLOCK_SIZE sb_type) { in get_wedge_mask_inplace() argument
248 const int bh = block_size_high[sb_type]; in get_wedge_mask_inplace()
249 const int bw = block_size_wide[sb_type]; in get_wedge_mask_inplace()
251 wedge_params_lookup[sb_type].codebook + wedge_index; in get_wedge_mask_inplace()
253 const uint8_t wsignflip = wedge_params_lookup[sb_type].signflip[wedge_index]; in get_wedge_mask_inplace()
256 wedge_index < (1 << get_wedge_bits_lookup(sb_type))); in get_wedge_mask_inplace()
266 const INTERINTER_COMPOUND_DATA *const comp_data, BLOCK_SIZE sb_type) { in av1_get_compound_type_mask() argument
268 (void)sb_type; in av1_get_compound_type_mask()
272 comp_data->wedge_sign, sb_type); in av1_get_compound_type_mask()
488 BLOCK_SIZE sb_type; in init_wedge_signs() local
[all …]
Dblockd.h249 BLOCK_SIZE sb_type; member
353 const BLOCK_SIZE bsize = mbmi->sb_type; in is_global_mv_block()
862 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_get_tx_type()
869 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_get_tx_type()
940 return av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in av1_get_tx_size()
979 return is_interintra_allowed_bsize(mbmi->sb_type) && in is_interintra_allowed()
1035 if (is_motion_variation_allowed_bsize(mbmi->sb_type) && in motion_mode_allowed()
1072 BLOCK_SIZE sb_type) { in av1_allow_palette() argument
1073 return allow_screen_content_tools && block_size_wide[sb_type] <= 64 && in av1_allow_palette()
1074 block_size_high[sb_type] <= 64 && sb_type >= BLOCK_8X8; in av1_allow_palette()
[all …]
Dobmc.h39 AOMMIN(mi_size_wide[above_mi[0]->sb_type], mi_size_wide[BLOCK_64X64]); in foreach_overlappable_nb_above()
77 AOMMIN(mi_size_high[left_mi[0]->sb_type], mi_size_high[BLOCK_64X64]); in foreach_overlappable_nb_left()
Dmvref_common.c164 const int candidate_bsize = candidate->sb_type; in scan_row_mbmi()
213 const int candidate_bsize = candidate->sb_type; in scan_col_mbmi()
707 idx += mi_size_wide[candidate->sb_type]; in setup_ref_mv_list()
714 idx += mi_size_high[candidate->sb_type]; in setup_ref_mv_list()
783 idx += mi_size_wide[candidate->sb_type]; in setup_ref_mv_list()
791 idx += mi_size_high[candidate->sb_type]; in setup_ref_mv_list()
820 BLOCK_SIZE bsize = mi->sb_type; in av1_find_mv_refs()
1078 int bw = block_size_wide[mbmi->sb_type]; in record_samples()
1079 int bh = block_size_high[mbmi->sb_type]; in record_samples()
1153 uint8_t n4_w = mi_size_wide[mbmi->sb_type]; in findSamples()
[all …]
Dpred_common.h333 const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->sb_type]; in get_tx_size_context()
344 above = block_size_wide[above_mbmi->sb_type] >= max_tx_wide; in get_tx_size_context()
348 left = block_size_high[left_mbmi->sb_type] >= max_tx_high; in get_tx_size_context()
Donyxc_int.h796 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in set_skip_context()
1283 const BLOCK_SIZE subsize = mi[0]->sb_type; in get_partition()
1306 if (mbmi_below->sb_type == subsize) in get_partition()
1317 if (mbmi_right->sb_type == subsize) in get_partition()
1331 if (mi_size_wide[mbmi_below->sb_type] == bwide) return PARTITION_HORZ_A; in get_partition()
1332 if (mi_size_high[mbmi_right->sb_type] == bhigh) return PARTITION_VERT_A; in get_partition()
Dreconintra.h74 av1_filter_intra_allowed_bsize(cm, mbmi->sb_type); in av1_filter_intra_allowed()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c90 const BLOCK_SIZE bsize = mi->sb_type; in build_inter_predictors()
321 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in build_prediction_by_above_pred()
354 BLOCK_SIZE bsize = xd->mi[0]->sb_type; in av1_build_prediction_by_above_preds()
376 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in build_prediction_by_left_pred()
409 BLOCK_SIZE bsize = xd->mi[0]->sb_type; in av1_build_prediction_by_left_preds()
454 av1_setup_dst_planes(xd->plane, xd->mi[0]->sb_type, &cm->cur_frame->buf, in av1_build_obmc_inter_predictors_sb()
515 const INTERINTER_COMPOUND_DATA *const comp_data, BLOCK_SIZE sb_type, int h, in build_masked_compound() argument
519 const int subh = (2 << mi_size_high_log2[sb_type]) == h; in build_masked_compound()
520 const int subw = (2 << mi_size_wide_log2[sb_type]) == w; in build_masked_compound()
521 const uint8_t *mask = av1_get_compound_type_mask(comp_data, sb_type); in build_masked_compound()
[all …]
Dpickcdef.c394 (mbmi->sb_type == BLOCK_128X128 || mbmi->sb_type == BLOCK_128X64)) || in av1_cdef_search()
396 (mbmi->sb_type == BLOCK_128X128 || mbmi->sb_type == BLOCK_64X128))) in av1_cdef_search()
398 if (mbmi->sb_type == BLOCK_128X128 || mbmi->sb_type == BLOCK_128X64 || in av1_cdef_search()
399 mbmi->sb_type == BLOCK_64X128) in av1_cdef_search()
400 bs = mbmi->sb_type; in av1_cdef_search()
Dbitstream.c149 const int max_blocks_high = max_block_high(xd, mbmi->sb_type, 0); in write_tx_size_vartx()
150 const int max_blocks_wide = max_block_wide(xd, mbmi->sb_type, 0); in write_tx_size_vartx()
162 mbmi->sb_type, tx_size); in write_tx_size_vartx()
164 av1_get_txb_size_index(mbmi->sb_type, blk_row, blk_col); in write_tx_size_vartx()
198 const BLOCK_SIZE bsize = mbmi->sb_type; in write_selected_tx_size()
237 if (!is_comp_ref_allowed(mi->sb_type)) { in write_skip_mode()
279 xd->tile_ctx->obmc_cdf[mbmi->sb_type], 2); in write_motion_mode()
283 xd->tile_ctx->motion_mode_cdf[mbmi->sb_type], in write_motion_mode()
366 plane ? av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in pack_txb_tokens()
471 set_spatial_segment_id(cm, cm->cur_frame->seg_map, mbmi->sb_type, mi_row, in write_segment_id()
[all …]
Dpartition_strategy.c291 const BLOCK_SIZE above_bsize = has_above ? xd->above_mbmi->sb_type : bsize; in simple_motion_search_prune_part_features()
292 const BLOCK_SIZE left_bsize = has_left ? xd->left_mbmi->sb_type : bsize; in simple_motion_search_prune_part_features()
510 const BLOCK_SIZE above_bsize = has_above ? xd->above_mbmi->sb_type : bsize; in firstpass_simple_motion_search_features()
511 const BLOCK_SIZE left_bsize = has_left ? xd->left_mbmi->sb_type : bsize; in firstpass_simple_motion_search_features()
Dtokenize.c146 plane ? av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in tokenize_vartx()
152 plane_bsize = get_plane_block_size(mbmi->sb_type, pd->subsampling_x, in tokenize_vartx()
Dreconinter_enc.h48 const BLOCK_SIZE bsize = mbmi->sb_type; in has_subpel_mv_component()
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.h69 BLOCK_SIZE sb_type; member
93 return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; in get_y_mode()
238 assert(mi->sb_type < BLOCK_8X8 || in get_uv_tx_size()
239 ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != in get_uv_tx_size()
241 return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] in get_uv_tx_size()
Dvp9_loopfilter.c655 const BLOCK_SIZE block_size = mi->sb_type; in build_masks()
732 const BLOCK_SIZE block_size = mi->sb_type; in build_y_mask()
919 switch (mip[0]->sb_type) { in vp9_setup_mask()
941 switch (mip[0]->sb_type) { in vp9_setup_mask()
969 switch (mip[0]->sb_type) { in vp9_setup_mask()
1112 const BLOCK_SIZE sb_type = mi[0].sb_type; in vp9_filter_block_plane_non420() local
1116 (num_4x4_blocks_wide_lookup[sb_type] > 1) in vp9_filter_block_plane_non420()
1117 ? !(c & (num_8x8_blocks_wide_lookup[sb_type] - 1)) in vp9_filter_block_plane_non420()
1122 (num_4x4_blocks_high_lookup[sb_type] > 1) in vp9_filter_block_plane_non420()
1123 ? !(r & (num_8x8_blocks_high_lookup[sb_type] - 1)) in vp9_filter_block_plane_non420()
[all …]
Dvp9_reconinter.c140 const MV mv = mi->sb_type < BLOCK_8X8 in build_inter_predictors()
162 assert(xd->mi[0]->sb_type != BLOCK_4X8 && in build_inter_predictors()
163 xd->mi[0]->sb_type != BLOCK_8X4); in build_inter_predictors()
222 if (xd->mi[0]->sb_type < BLOCK_8X8) { in build_inter_predictors_for_planes()
/external/libaom/libaom/av1/decoder/
Dinspection.c99 mi->sb_type = mbmi->sb_type; in ifd_inspect()
109 const BLOCK_SIZE bsize = mbmi->sb_type; in ifd_inspect()
Ddecodemv.c70 BLOCK_SIZE bsize = mbmi->sb_type; in read_delta_qindex()
102 const BLOCK_SIZE bsize = mbmi->sb_type; in read_delta_lflevel()
221 aom_read_symbol(r, xd->tile_ctx->obmc_cdf[mbmi->sb_type], 2, ACCT_STR); in read_motion_mode()
225 aom_read_symbol(r, xd->tile_ctx->motion_mode_cdf[mbmi->sb_type], in read_motion_mode()
348 const int bw = mi_size_wide[mbmi->sb_type]; in read_inter_segment_id()
349 const int bh = mi_size_high[mbmi->sb_type]; in read_inter_segment_id()
403 if (!is_comp_ref_allowed(xd->mi[0]->sb_type)) return 0; in read_skip_mode()
544 const BLOCK_SIZE bsize = mbmi->sb_type; in read_palette_mode_info()
591 r, xd->tile_ctx->filter_intra_cdfs[mbmi->sb_type], 2, ACCT_STR); in read_filter_intra_mode_info()
605 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_read_tx_type()
[all …]
Ddecodetxb.c143 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_read_coeffs_txb()
152 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_read_coeffs_txb()
338 const BLOCK_SIZE bsize = mbmi->sb_type; in av1_read_coeffs_txb_facade()
356 update_txk_array(mbmi->txk_type, mbmi->sb_type, row, col, tx_size, in av1_read_coeffs_txb_facade()
Dinspection.h41 int16_t sb_type; member
/external/libaom/libaom/test/
Dreconinter_test.cc180 const int sb_type = GET_PARAM(0); in RunTest() local
181 const int width = block_size_wide[sb_type]; in RunTest()
182 const int height = block_size_high[sb_type]; in RunTest()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_segmentation.c137 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in count_segs()
166 bw = num_8x8_blocks_wide_lookup[mi[0]->sb_type]; in count_segs_sb()
167 bh = num_8x8_blocks_high_lookup[mi[0]->sb_type]; in count_segs_sb()
Dvp9_encodeframe.c312 xd->mi[0]->sb_type = bsize; in set_block_size()
824 if (xd->mi[0]->sb_type == BLOCK_64X64) { in set_low_temp_var_flag()
827 } else if (xd->mi[0]->sb_type == BLOCK_64X32) { in set_low_temp_var_flag()
832 } else if (xd->mi[0]->sb_type == BLOCK_32X64) { in set_low_temp_var_flag()
848 if ((*this_mi)->sb_type == BLOCK_32X32) { in set_low_temp_var_flag()
858 if ((*this_mi)->sb_type == BLOCK_16X16 || in set_low_temp_var_flag()
859 (*this_mi)->sb_type == BLOCK_32X16 || in set_low_temp_var_flag()
860 (*this_mi)->sb_type == BLOCK_16X32) { in set_low_temp_var_flag()
1064 partition = partition_lookup[bsl][mi->sb_type]; in update_partition_svc()
1114 partition = partition_lookup[bsl][mi->sb_type]; in update_prev_partition_helper()
[all …]
Dvp9_encodemv.c256 if (mi->sb_type < BLOCK_8X8) { in vp9_update_mv_count()
257 const int num_4x4_w = num_4x4_blocks_wide_lookup[mi->sb_type]; in vp9_update_mv_count()
258 const int num_4x4_h = num_4x4_blocks_high_lookup[mi->sb_type]; in vp9_update_mv_count()

123