/external/libaom/libaom/av1/common/ |
D | reconinter.h | 121 BLOCK_SIZE sb_type; member 206 BLOCK_SIZE sb_type) { in is_interinter_compound_used() argument 207 const int comp_allowed = is_comp_ref_allowed(sb_type); in is_interinter_compound_used() 213 return comp_allowed && av1_wedge_params_lookup[sb_type].wedge_types > 0; in is_interinter_compound_used() 218 static INLINE int is_any_masked_compound_used(BLOCK_SIZE sb_type) { in is_any_masked_compound_used() argument 221 if (!is_comp_ref_allowed(sb_type)) return 0; in is_any_masked_compound_used() 225 is_interinter_compound_used(comp_type, sb_type)) in is_any_masked_compound_used() 231 static INLINE int get_wedge_types_lookup(BLOCK_SIZE sb_type) { in get_wedge_types_lookup() argument 232 return av1_wedge_params_lookup[sb_type].wedge_types; in get_wedge_types_lookup() 235 static INLINE int av1_is_wedge_used(BLOCK_SIZE sb_type) { in av1_is_wedge_used() argument [all …]
|
D | reconinter.c | 113 inter_pred_params->sb_type = bsize; in av1_init_mask_comp() 310 BLOCK_SIZE sb_type) { in get_wedge_mask_inplace() argument 312 const int bh = block_size_high[sb_type]; in get_wedge_mask_inplace() 313 const int bw = block_size_wide[sb_type]; in get_wedge_mask_inplace() 315 av1_wedge_params_lookup[sb_type].codebook + wedge_index; in get_wedge_mask_inplace() 318 av1_wedge_params_lookup[sb_type].signflip[wedge_index]; in get_wedge_mask_inplace() 320 assert(wedge_index >= 0 && wedge_index < get_wedge_types_lookup(sb_type)); in get_wedge_mask_inplace() 330 const INTERINTER_COMPOUND_DATA *const comp_data, BLOCK_SIZE sb_type) { in av1_get_compound_type_mask() argument 332 (void)sb_type; in av1_get_compound_type_mask() 336 comp_data->wedge_sign, sb_type); in av1_get_compound_type_mask() [all …]
|
D | blockd.h | 235 BLOCK_SIZE sb_type; member 352 const BLOCK_SIZE bsize = mbmi->sb_type; in is_global_mv_block() 1079 return av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in av1_get_tx_size() 1119 return is_interintra_allowed_bsize(mbmi->sb_type) && in is_interintra_allowed() 1173 if (is_motion_variation_allowed_bsize(mbmi->sb_type) && in motion_mode_allowed() 1197 BLOCK_SIZE sb_type) { in av1_allow_palette() argument 1198 assert(sb_type < BLOCK_SIZES_ALL); in av1_allow_palette() 1199 return allow_screen_content_tools && block_size_wide[sb_type] <= 64 && in av1_allow_palette() 1200 block_size_high[sb_type] <= 64 && sb_type >= BLOCK_8X8; in av1_allow_palette() 1268 if (AOMMIN(mi_size_wide[mbmi->sb_type], mi_size_high[mbmi->sb_type]) < 2) in is_nontrans_global_motion()
|
D | obmc.h | 38 AOMMIN(mi_size_wide[above_mi[0]->sb_type], mi_size_wide[BLOCK_64X64]); in foreach_overlappable_nb_above() 75 AOMMIN(mi_size_high[left_mi[0]->sb_type], mi_size_high[BLOCK_64X64]); in foreach_overlappable_nb_left()
|
D | av1_loopfilter.c | 202 : av1_get_max_uv_txsize(mbmi->sb_type, plane_ptr->subsampling_x, in get_transform_size() 206 const BLOCK_SIZE sb_type = mbmi->sb_type; in get_transform_size() local 207 const int blk_row = mi_row & (mi_size_high[sb_type] - 1); in get_transform_size() 208 const int blk_col = mi_col & (mi_size_wide[sb_type] - 1); in get_transform_size() 210 mbmi->inter_tx_size[av1_get_txb_size_index(sb_type, blk_row, blk_col)]; in get_transform_size() 300 get_plane_block_size(mbmi->sb_type, plane_ptr->subsampling_x, in set_lpf_parameters()
|
D | mvref_common.c | 163 const int candidate_bsize = candidate->sb_type; in scan_row_mbmi() 210 const int candidate_bsize = candidate->sb_type; in scan_col_mbmi() 689 idx += mi_size_wide[candidate->sb_type]; in setup_ref_mv_list() 696 idx += mi_size_high[candidate->sb_type]; in setup_ref_mv_list() 753 idx += mi_size_wide[candidate->sb_type]; in setup_ref_mv_list() 761 idx += mi_size_high[candidate->sb_type]; in setup_ref_mv_list() 798 const BLOCK_SIZE bsize = mi->sb_type; in av1_find_mv_refs() 1053 int bw = block_size_wide[mbmi->sb_type]; in record_samples() 1054 int bh = block_size_high[mbmi->sb_type]; in record_samples() 1131 uint8_t superblock_width = mi_size_wide[mbmi->sb_type]; in av1_findSamples() [all …]
|
D | pred_common.h | 343 const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->sb_type]; in get_tx_size_context() 354 above = block_size_wide[above_mbmi->sb_type] >= max_tx_wide; in get_tx_size_context() 358 left = block_size_high[left_mbmi->sb_type] >= max_tx_high; in get_tx_size_context()
|
/external/libaom/libaom/av1/encoder/ |
D | reconinter_enc.c | 150 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in build_obmc_prediction() 196 BLOCK_SIZE bsize = xd->mi[0]->sb_type; in av1_build_prediction_by_above_preds() 211 BLOCK_SIZE bsize = xd->mi[0]->sb_type; in av1_build_prediction_by_left_preds() 254 av1_setup_dst_planes(xd->plane, xd->mi[0]->sb_type, &cm->cur_frame->buf, in av1_build_obmc_inter_predictors_sb() 302 const INTERINTER_COMPOUND_DATA *const comp_data, BLOCK_SIZE sb_type, int h, in build_masked_compound() argument 306 const int subh = (2 << mi_size_high_log2[sb_type]) == h; in build_masked_compound() 307 const int subw = (2 << mi_size_wide_log2[sb_type]) == w; in build_masked_compound() 308 const uint8_t *mask = av1_get_compound_type_mask(comp_data, sb_type); in build_masked_compound() 310 mask, block_size_wide[sb_type], w, h, subw, subh); in build_masked_compound() 317 const INTERINTER_COMPOUND_DATA *const comp_data, BLOCK_SIZE sb_type, int h, in build_masked_compound_highbd() argument [all …]
|
D | var_based_part.c | 133 xd->mi[0]->sb_type = bsize; in set_block_size() 414 if (xd->mi[0]->sb_type == BLOCK_64X64) { in set_low_temp_var_flag_64x64() 417 } else if (xd->mi[0]->sb_type == BLOCK_64X32) { in set_low_temp_var_flag_64x64() 422 } else if (xd->mi[0]->sb_type == BLOCK_32X64) { in set_low_temp_var_flag_64x64() 440 if ((*this_mi)->sb_type == BLOCK_32X32) { in set_low_temp_var_flag_64x64() 447 if ((*this_mi)->sb_type == BLOCK_16X16 || in set_low_temp_var_flag_64x64() 448 (*this_mi)->sb_type == BLOCK_32X16 || in set_low_temp_var_flag_64x64() 449 (*this_mi)->sb_type == BLOCK_16X32) { in set_low_temp_var_flag_64x64() 464 if (xd->mi[0]->sb_type == BLOCK_128X128) { in set_low_temp_var_flag_128x128() 467 } else if (xd->mi[0]->sb_type == BLOCK_128X64) { in set_low_temp_var_flag_128x128() [all …]
|
D | pickcdef.c | 447 (mbmi->sb_type == BLOCK_128X128 || mbmi->sb_type == BLOCK_128X64)) || in av1_cdef_search() 449 (mbmi->sb_type == BLOCK_128X128 || mbmi->sb_type == BLOCK_64X128))) in av1_cdef_search() 457 if (mbmi->sb_type == BLOCK_128X128 || mbmi->sb_type == BLOCK_128X64 || in av1_cdef_search() 458 mbmi->sb_type == BLOCK_64X128) { in av1_cdef_search() 459 bs = mbmi->sb_type; in av1_cdef_search()
|
D | intra_mode_search.c | 227 av1_filter_intra_allowed_bsize(cm, mbmi->sb_type)) { in intra_model_yrd() 230 mode_cost += x->filter_intra_cost[mbmi->sb_type][1] + in intra_model_yrd() 233 mode_cost += x->filter_intra_cost[mbmi->sb_type][0]; in intra_model_yrd() 322 cpi->common.features.allow_screen_content_tools, mbmi->sb_type); in intra_mode_info_cost_y() 348 total_rate += x->filter_intra_cost[mbmi->sb_type][use_filter_intra]; in intra_mode_info_cost_y() 377 cpi->common.features.allow_screen_content_tools, mbmi->sb_type); in intra_mode_info_cost_uv() 611 if (!xd->lossless[mbmi->segment_id] && block_signals_txsize(mbmi->sb_type)) { in palette_rd_y() 1015 mbmi->sb_type)); in rd_pick_palette_intra_sbuv() 1017 const BLOCK_SIZE bsize = mbmi->sb_type; in rd_pick_palette_intra_sbuv() 1159 const BLOCK_SIZE bsize = mbmi->sb_type; in av1_restore_uv_color_map() [all …]
|
D | bitstream.c | 148 const int max_blocks_high = max_block_high(xd, mbmi->sb_type, 0); in write_tx_size_vartx() 149 const int max_blocks_wide = max_block_wide(xd, mbmi->sb_type, 0); in write_tx_size_vartx() 161 mbmi->sb_type, tx_size); in write_tx_size_vartx() 163 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() 281 xd->tile_ctx->obmc_cdf[mbmi->sb_type], 2); in write_motion_mode() 285 xd->tile_ctx->motion_mode_cdf[mbmi->sb_type], in write_motion_mode() 367 plane ? av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in pack_txb_tokens() 461 mbmi->sb_type, mi_row, mi_col, pred); in write_segment_id() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.h | 70 BLOCK_SIZE sb_type; member 94 return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; in get_y_mode() 239 assert(mi->sb_type < BLOCK_8X8 || in get_uv_tx_size() 240 ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != in get_uv_tx_size() 242 return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] in get_uv_tx_size()
|
D | vp9_reconinter.c | 140 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()
|
D | vp9_loopfilter.c | 655 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 …]
|
/external/llvm-project/lldb/source/API/ |
D | SBType.cpp | 681 SBType sb_type; in GetType() local 683 sb_type.SetSP(m_opaque_up->GetTypeImpl()); in GetType() 685 return LLDB_RECORD_RESULT(sb_type); in GetType() 833 SBType sb_type; in GetType() local 835 sb_type.SetSP(lldb::TypeImplSP(new TypeImpl(m_opaque_sp->GetType()))); in GetType() 837 return LLDB_RECORD_RESULT(sb_type); in GetType() 843 SBType sb_type; in GetReturnType() local 845 sb_type.SetSP(lldb::TypeImplSP(new TypeImpl(m_opaque_sp->GetReturnType()))); in GetReturnType() 847 return LLDB_RECORD_RESULT(sb_type); in GetReturnType() 863 SBType sb_type; in GetArgumentTypeAtIndex() local [all …]
|
D | SBTypeEnumMember.cpp | 89 SBType sb_type; in GetType() local 91 sb_type.SetSP(m_opaque_sp->GetIntegerType()); in GetType() 93 return LLDB_RECORD_RESULT(sb_type); in GetType()
|
D | SBFunction.cpp | 203 SBType sb_type; in GetType() local 207 sb_type.ref().SetType(function_type->shared_from_this()); in GetType() 209 return LLDB_RECORD_RESULT(sb_type); in GetType()
|
/external/libaom/libaom/av1/decoder/ |
D | inspection.c | 102 mi->sb_type = mbmi->sb_type; in ifd_inspect() 112 const BLOCK_SIZE bsize = mbmi->sb_type; in ifd_inspect()
|
D | decodemv.c | 87 BLOCK_SIZE bsize = mbmi->sb_type; in read_delta_qindex() 119 const BLOCK_SIZE bsize = mbmi->sb_type; in read_delta_lflevel() 238 aom_read_symbol(r, xd->tile_ctx->obmc_cdf[mbmi->sb_type], 2, ACCT_STR); in read_motion_mode() 242 aom_read_symbol(r, xd->tile_ctx->motion_mode_cdf[mbmi->sb_type], in read_motion_mode() 370 const int bw = mi_size_wide[mbmi->sb_type]; in read_inter_segment_id() 371 const int bh = mi_size_high[mbmi->sb_type]; in read_inter_segment_id() 425 if (!is_comp_ref_allowed(xd->mi[0]->sb_type)) return 0; in read_skip_mode() 566 const BLOCK_SIZE bsize = mbmi->sb_type; in read_palette_mode_info() 611 r, xd->tile_ctx->filter_intra_cdfs[mbmi->sb_type], 2, ACCT_STR); in read_filter_intra_mode_info() 693 BLOCK_SIZE bsize = mbmi->sb_type; in read_intrabc_info() [all …]
|
D | inspection.h | 41 int16_t sb_type; member
|
/external/libaom/libaom/test/ |
D | reconinter_test.cc | 181 const int sb_type = GET_PARAM(0); in RunTest() local 182 const int width = block_size_wide[sb_type]; in RunTest() 183 const int height = block_size_high[sb_type]; in RunTest()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_segmentation.c | 178 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in count_segs() 207 bw = num_8x8_blocks_wide_lookup[mi[0]->sb_type]; in count_segs_sb() 208 bh = num_8x8_blocks_high_lookup[mi[0]->sb_type]; in count_segs_sb()
|
D | vp9_encodemv.c | 256 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()
|
D | vp9_encodeframe.c | 370 xd->mi[0]->sb_type = bsize; in set_block_size() 883 if (xd->mi[0]->sb_type == BLOCK_64X64) { in set_low_temp_var_flag() 886 } else if (xd->mi[0]->sb_type == BLOCK_64X32) { in set_low_temp_var_flag() 891 } else if (xd->mi[0]->sb_type == BLOCK_32X64) { in set_low_temp_var_flag() 907 if ((*this_mi)->sb_type == BLOCK_32X32) { in set_low_temp_var_flag() 917 if ((*this_mi)->sb_type == BLOCK_16X16 || in set_low_temp_var_flag() 918 (*this_mi)->sb_type == BLOCK_32X16 || in set_low_temp_var_flag() 919 (*this_mi)->sb_type == BLOCK_16X32) { in set_low_temp_var_flag() 1123 partition = partition_lookup[bsl][mi->sb_type]; in update_partition_svc() 1173 partition = partition_lookup[bsl][mi->sb_type]; in update_prev_partition_helper() [all …]
|