Home
last modified time | relevance | path

Searched refs:mi_width (Results 1 – 12 of 12) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dpartition_strategy.h85 const int mi_width = mi_size_wide[bsize]; in set_offsets_for_motion_search() local
98 x->mv_limits.col_min = -(((mi_col + mi_width) * MI_SIZE) + AOM_INTERP_EXTEND); in set_offsets_for_motion_search()
102 set_plane_n4(xd, mi_width, mi_height, num_planes); in set_offsets_for_motion_search()
105 assert(!(mi_col & (mi_width - 1)) && !(mi_row & (mi_height - 1))); in set_offsets_for_motion_search()
109 xd->mb_to_right_edge = ((cm->mi_cols - mi_width - mi_col) * MI_SIZE) * 8; in set_offsets_for_motion_search()
Dtpl_model.c297 const int mi_width = mi_size_wide[bsize]; in tpl_model_update_b() local
314 int ref_mi_col = round_floor(grid_pos_col, bw) * mi_width; in tpl_model_update_b()
323 for (idx = 0; idx < mi_width; ++idx) { in tpl_model_update_b()
340 const int mi_width = mi_size_wide[bsize]; in tpl_model_update() local
343 for (idx = 0; idx < mi_width; ++idx) { in tpl_model_update()
356 const int mi_width = mi_size_wide[bsize]; in tpl_model_store() local
359 int64_t intra_cost = src_stats->intra_cost / (mi_height * mi_width); in tpl_model_store()
360 int64_t inter_cost = src_stats->inter_cost / (mi_height * mi_width); in tpl_model_store()
369 for (idx = 0; idx < mi_width; ++idx) { in tpl_model_store()
407 const int mi_width = mi_size_wide[bsize]; in mc_flow_dispenser() local
[all …]
Dtokenize.c217 const int mi_width = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in av1_tokenize_sb_vartx() local
234 mu_blocks_wide = AOMMIN(mi_width, mu_blocks_wide); in av1_tokenize_sb_vartx()
238 for (idx = 0; idx < mi_width; idx += mu_blocks_wide) { in av1_tokenize_sb_vartx()
241 const int unit_width = AOMMIN(mu_blocks_wide + idx, mi_width); in av1_tokenize_sb_vartx()
Dencodemb.c496 const int mi_width = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in av1_encode_sb() local
520 mu_blocks_wide = AOMMIN(mi_width, mu_blocks_wide); in av1_encode_sb()
524 for (idx = 0; idx < mi_width; idx += mu_blocks_wide) { in av1_encode_sb()
527 const int unit_width = AOMMIN(mu_blocks_wide + idx, mi_width); in av1_encode_sb()
Dencodeframe.c216 const int mi_width = mi_size_wide[bsize]; in set_offsets_without_segment_id() local
234 x->mv_limits.col_min = -(((mi_col + mi_width) * MI_SIZE) + AOM_INTERP_EXTEND); in set_offsets_without_segment_id()
238 set_plane_n4(xd, mi_width, mi_height, num_planes); in set_offsets_without_segment_id()
241 assert(!(mi_col & (mi_width - 1)) && !(mi_row & (mi_height - 1))); in set_offsets_without_segment_id()
242 set_mi_row_col(xd, tile, mi_row, mi_height, mi_col, mi_width, cm->mi_rows, in set_offsets_without_segment_id()
348 const int mi_width = mi_size_wide[bsize]; in update_state() local
391 for (x_idx = 0; x_idx < mi_width; x_idx++) in update_state()
392 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx && in update_state()
1403 int mi_width = mi_size_wide[bsize]; in restore_context() local
1418 sizeof(*xd->above_seg_context) * mi_width); in restore_context()
[all …]
Drdopt.c3723 static int get_search_init_depth(int mi_width, int mi_height, int is_inter, in get_search_init_depth() argument
3728 if (mi_width > mi_size_wide[BLOCK_64X64] || in get_search_init_depth()
3734 return (mi_height != mi_width) ? sf->inter_tx_size_search_init_depth_rect in get_search_init_depth()
3737 return (mi_height != mi_width) ? sf->intra_tx_size_search_init_depth_rect in get_search_init_depth()
5413 const int mi_width = mi_size_wide[plane_bsize]; in select_tx_size_and_type() local
5420 memcpy(tx_above, xd->above_txfm_context, sizeof(TXFM_CONTEXT) * mi_width); in select_tx_size_and_type()
5427 get_search_init_depth(mi_width, mi_height, 1, &cpi->sf); in select_tx_size_and_type()
5438 for (int idx = 0; idx < mi_width; idx += bw) { in select_tx_size_and_type()
5525 const int mi_width = block_size_wide[plane_bsize] >> tx_size_wide_log2[0]; in tx_block_yrd() local
5532 set_blk_skip(x, 0, blk_row * mi_width + blk_col, 1); in tx_block_yrd()
[all …]
/external/libaom/libaom/av1/common/
Dmvref_common.c697 int mi_width = AOMMIN(mi_size_wide[BLOCK_64X64], xd->n4_w); in setup_ref_mv_list() local
698 mi_width = AOMMIN(mi_width, cm->mi_cols - mi_col); in setup_ref_mv_list()
701 int mi_size = AOMMIN(mi_width, mi_height); in setup_ref_mv_list()
772 int mi_width = AOMMIN(mi_size_wide[BLOCK_64X64], xd->n4_w); in setup_ref_mv_list() local
773 mi_width = AOMMIN(mi_width, cm->mi_cols - mi_col); in setup_ref_mv_list()
776 int mi_size = AOMMIN(mi_width, mi_height); in setup_ref_mv_list()
Dav1_loopfilter.c736 const int mi_width = in setup_masks() local
741 for (int c = mi_col; c < mi_col + mi_width; c += col_step) { in setup_masks()
782 for (int c = mi_col; c < mi_col + mi_width; c += col_step) { in setup_masks()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c5685 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local
5690 for (idx = 0; idx < mi_width; ++idx) {
5716 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local
5733 int ref_mi_col = round_floor(grid_pos_col, bw) * mi_width;
5742 for (idx = 0; idx < mi_width; ++idx) {
5762 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local
5765 for (idx = 0; idx < mi_width; ++idx) {
5894 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local
6021 1, (best_inter_cost << TPL_DEP_COST_SCALE_LOG2) / (mi_height * mi_width));
6023 1, (best_intra_cost << TPL_DEP_COST_SCALE_LOG2) / (mi_height * mi_width));
[all …]
Dvp9_encodeframe.c258 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in set_offsets() local
272 mv_limits->col_min = -(((mi_col + mi_width) * MI_SIZE) + VP9_INTERP_EXTEND); in set_offsets()
277 assert(!(mi_col & (mi_width - 1)) && !(mi_row & (mi_height - 1))); in set_offsets()
278 set_mi_row_col(xd, tile, mi_row, mi_height, mi_col, mi_width, cm->mi_rows, in set_offsets()
1746 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in update_state() local
1789 for (x_idx = 0; x_idx < mi_width; x_idx++) in update_state()
1790 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx && in update_state()
2101 int mi_width = num_8x8_blocks_wide_lookup[bsize]; in restore_context() local
2115 sizeof(*xd->above_seg_context) * mi_width); in restore_context()
2129 int mi_width = num_8x8_blocks_wide_lookup[bsize]; in save_context() local
[all …]
Dvp9_mcomp.c1886 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in vp9_prepare_nb_full_mvs() local
1892 int c = dirs[i][1] * mi_width; in vp9_prepare_nb_full_mvs()
Dvp9_rdopt.c3393 const int mi_width = VPXMIN(num_8x8_blocks_wide_lookup[bsize], in vp9_rd_pick_inter_mode_sb() local
3412 for (i = 0; i < mi_width; ++i) { in vp9_rd_pick_inter_mode_sb()