/external/libaom/libaom/av1/encoder/ |
D | tpl_model.c | 234 const int mi_width = mi_size_wide[bsize]; in mode_estimation() local 238 set_mi_row_col(xd, &xd->tile, mi_row, mi_height, mi_col, mi_width, in mode_estimation() 330 mi_row, mi_col - mi_width, tpl_frame->stride, block_mis_log2)]; in mode_estimation() 338 if (xd->up_available && mi_col + mi_width < xd->tile.mi_col_end) { in mode_estimation() 340 mi_row - mi_height, mi_col + mi_width, tpl_frame->stride, in mode_estimation() 456 for (int idx = 0; idx < mi_width; ++idx) { in mode_estimation() 457 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > idx && in mode_estimation() 563 const int mi_width = mi_size_wide[bsize]; in tpl_model_update_b() local 590 int ref_mi_col = round_floor(grid_pos_col, bw) * mi_width; in tpl_model_update_b() 594 for (int idx = 0; idx < mi_width; idx += step) { in tpl_model_update_b() [all …]
|
D | partition_strategy.h | 146 const int mi_width = mi_size_wide[bsize]; in set_offsets_for_motion_search() local 159 mi_width, cpi->oxcf.border_in_pixels); in set_offsets_for_motion_search() 161 set_plane_n4(xd, mi_width, mi_height, num_planes); in set_offsets_for_motion_search() 167 assert(!(mi_col & (mi_width - 1)) && !(mi_row & (mi_height - 1))); in set_offsets_for_motion_search() 173 GET_MV_SUBPEL((mi_params->mi_cols - mi_width - mi_col) * MI_SIZE); in set_offsets_for_motion_search()
|
D | mcomp.h | 186 int mi_col, int mi_width, int border) { in av1_set_mv_col_limits() argument 188 const int min2 = -(((mi_col + mi_width) * MI_SIZE) + 2 * AOM_INTERP_EXTEND); in av1_set_mv_col_limits() 190 const int max1 = (mi_params->mi_cols - mi_col - mi_width) * MI_SIZE + border - in av1_set_mv_col_limits() 199 int mi_row, int mi_col, int mi_height, int mi_width, int border) { in av1_set_mv_limits() argument 201 av1_set_mv_col_limits(mi_params, mv_limits, mi_col, mi_width, border); in av1_set_mv_limits()
|
D | tokenize.c | 209 const int mi_width = mi_size_wide[plane_bsize]; in av1_tokenize_sb_vartx() local 224 mu_blocks_wide = AOMMIN(mi_width, mu_blocks_wide); in av1_tokenize_sb_vartx() 228 for (int idx = 0; idx < mi_width; idx += mu_blocks_wide) { in av1_tokenize_sb_vartx() 230 const int unit_width = AOMMIN(mu_blocks_wide + idx, mi_width); in av1_tokenize_sb_vartx()
|
D | encodemb.c | 625 const int mi_width = mi_size_wide[plane_bsize]; in av1_encode_sb() local 642 mu_blocks_wide = AOMMIN(mi_width, mu_blocks_wide); in av1_encode_sb() 646 for (int idx = 0; idx < mi_width; idx += mu_blocks_wide) { in av1_encode_sb() 649 const int unit_width = AOMMIN(mu_blocks_wide + idx, mi_width); in av1_encode_sb()
|
D | tx_search.c | 520 static int get_search_init_depth(int mi_width, int mi_height, int is_inter, in get_search_init_depth() argument 526 if (mi_width > mi_size_wide[BLOCK_64X64] || in get_search_init_depth() 532 return (mi_height != mi_width) in get_search_init_depth() 536 return (mi_height != mi_width) in get_search_init_depth() 2972 const int mi_width = mi_size_wide[plane_bsize]; in tx_block_yrd() local 2979 set_blk_skip(x, 0, blk_row * mi_width + blk_col, 1); in tx_block_yrd() 2985 set_blk_skip(x, 0, blk_row * mi_width + blk_col, 0); in tx_block_yrd() 3042 const int mi_width = mi_size_wide[bsize]; in inter_block_yrd() local 3048 const int init_depth = get_search_init_depth(mi_width, mi_height, 1, &cpi->sf, in inter_block_yrd() 3055 memcpy(tx_above, xd->above_txfm_context, sizeof(TXFM_CONTEXT) * mi_width); in inter_block_yrd() [all …]
|
D | encodeframe.c | 394 const int mi_width = mi_size_wide[bsize]; in set_offsets_without_segment_id() local 412 mi_width, cpi->oxcf.border_in_pixels); in set_offsets_without_segment_id() 414 set_plane_n4(xd, mi_width, mi_height, num_planes); in set_offsets_without_segment_id() 417 assert(!(mi_col & (mi_width - 1)) && !(mi_row & (mi_height - 1))); in set_offsets_without_segment_id() 418 set_mi_row_col(xd, tile, mi_row, mi_height, mi_col, mi_width, in set_offsets_without_segment_id() 547 const int mi_width = mi_size_wide[bsize]; in update_state() local 608 for (x_idx = 0; x_idx < mi_width; x_idx++) { in update_state() 609 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx && in update_state() 1498 int mi_width = mi_size_wide[bsize]; in restore_context() local 1514 sizeof(*xd->above_partition_context) * mi_width); in restore_context() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_non_greedy_mv.c | 187 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in vp9_alloc_motion_field_info() local 189 const int block_cols = mi_size_to_block_size(mi_width, mi_cols); in vp9_alloc_motion_field_info() 292 const int mi_width = num_8x8_blocks_wide_lookup[motion_field->bsize]; in vp9_motion_field_mi_get_mv() local 294 const int bcol = mi_col / mi_width; in vp9_motion_field_mi_get_mv() 296 assert(mi_col % mi_width == 0); in vp9_motion_field_mi_get_mv() 303 const int mi_width = num_8x8_blocks_wide_lookup[motion_field->bsize]; in vp9_motion_field_mi_set_mv() local 305 const int bcol = mi_col / mi_width; in vp9_motion_field_mi_set_mv() 307 assert(mi_col % mi_width == 0); in vp9_motion_field_mi_set_mv()
|
D | vp9_encoder.c | 6088 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local 6093 for (idx = 0; idx < mi_width; ++idx) { 6119 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local 6136 int ref_mi_col = round_floor(grid_pos_col, bw) * mi_width; 6145 for (idx = 0; idx < mi_width; ++idx) { 6165 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local 6168 for (idx = 0; idx < mi_width; ++idx) { 6272 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; local 6390 1, (best_inter_cost << TPL_DEP_COST_SCALE_LOG2) / (mi_height * mi_width)); 6392 1, (best_intra_cost << TPL_DEP_COST_SCALE_LOG2) / (mi_height * mi_width)); [all …]
|
D | vp9_encodeframe.c | 313 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in set_offsets() local 327 mv_limits->col_min = -(((mi_col + mi_width) * MI_SIZE) + VP9_INTERP_EXTEND); in set_offsets() 332 assert(!(mi_col & (mi_width - 1)) && !(mi_row & (mi_height - 1))); in set_offsets() 333 set_mi_row_col(xd, tile, mi_row, mi_height, mi_col, mi_width, cm->mi_rows, in set_offsets() 1815 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in update_state() local 1858 for (x_idx = 0; x_idx < mi_width; x_idx++) in update_state() 1859 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx && in update_state() 2180 int mi_width = num_8x8_blocks_wide_lookup[bsize]; in restore_context() local 2194 sizeof(*xd->above_seg_context) * mi_width); in restore_context() 2208 int mi_width = num_8x8_blocks_wide_lookup[bsize]; in save_context() local [all …]
|
D | vp9_mcomp.c | 2060 const int mi_width = num_8x8_blocks_wide_lookup[motion_field->bsize]; in vp9_prepare_nb_full_mvs() local 2066 assert(mi_col % mi_width == 0); in vp9_prepare_nb_full_mvs() 2071 int bcol = mi_col / mi_width + c; in vp9_prepare_nb_full_mvs()
|
D | vp9_rdopt.c | 3560 const int mi_width = VPXMIN(num_8x8_blocks_wide_lookup[bsize], in vp9_rd_pick_inter_mode_sb() local 3579 for (i = 0; i < mi_width; ++i) { in vp9_rd_pick_inter_mode_sb()
|
/external/libaom/libaom/av1/common/ |
D | mvref_common.c | 673 int mi_width = AOMMIN(mi_size_wide[BLOCK_64X64], xd->width); in setup_ref_mv_list() local 674 mi_width = AOMMIN(mi_width, cm->mi_params.mi_cols - mi_col); in setup_ref_mv_list() 677 const int mi_size = AOMMIN(mi_width, mi_height); in setup_ref_mv_list()
|