Home
last modified time | relevance | path

Searched refs:MI_SIZE (Results 1 – 25 of 40) sorted by relevance

12

/external/libaom/libaom/test/
Dintrabc_test.cc42 MAX_SB_SIZE / MI_SIZE, in TEST()
43 MAX_SB_SIZE / MI_SIZE, in TEST()
47 MAX_SB_SIZE / MI_SIZE, in TEST()
48 MAX_SB_SIZE / MI_SIZE, in TEST()
52 MAX_SB_SIZE / MI_SIZE, in TEST()
53 MAX_SB_SIZE / MI_SIZE, in TEST()
57 MAX_SB_SIZE / MI_SIZE, in TEST()
58 MAX_SB_SIZE / MI_SIZE, in TEST()
62 MAX_SB_SIZE / MI_SIZE, in TEST()
63 MAX_SB_SIZE / MI_SIZE, in TEST()
[all …]
/external/libaom/libaom/av1/common/
Dmvref_common.h268 ref_dv->as_fullmv.col = -MI_SIZE * mib_size - INTRABC_DELAY_PIXELS; in av1_find_ref_dv()
270 ref_dv->as_fullmv.row = -MI_SIZE * mib_size; in av1_find_ref_dv()
289 const int src_top_edge = mi_row * MI_SIZE * SCALE_PX_TO_MV + dv.row; in av1_is_dv_valid()
290 const int tile_top_edge = tile->mi_row_start * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
292 const int src_left_edge = mi_col * MI_SIZE * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
293 const int tile_left_edge = tile->mi_col_start * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
296 const int src_bottom_edge = (mi_row * MI_SIZE + bh) * SCALE_PX_TO_MV + dv.row; in av1_is_dv_valid()
297 const int tile_bottom_edge = tile->mi_row_end * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
299 const int src_right_edge = (mi_col * MI_SIZE + bw) * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
300 const int tile_right_edge = tile->mi_col_end * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
[all …]
Dav1_loopfilter.c357 uint8_t *p = dst_ptr + y * MI_SIZE * dst_stride; in av1_filter_block_plane_vert()
363 const uint32_t curr_x = ((mi_col * MI_SIZE) >> scale_horz) + x * MI_SIZE; in av1_filter_block_plane_vert()
364 const uint32_t curr_y = ((mi_row * MI_SIZE) >> scale_vert) + y * MI_SIZE; in av1_filter_block_plane_vert()
454 p += advance_units * MI_SIZE; in av1_filter_block_plane_vert()
470 uint8_t *p = dst_ptr + x * MI_SIZE; in av1_filter_block_plane_horz()
476 const uint32_t curr_x = ((mi_col * MI_SIZE) >> scale_horz) + x * MI_SIZE; in av1_filter_block_plane_horz()
477 const uint32_t curr_y = ((mi_row * MI_SIZE) >> scale_vert) + y * MI_SIZE; in av1_filter_block_plane_horz()
570 p += advance_units * dst_stride * MI_SIZE; in av1_filter_block_plane_horz()
588 uint8_t *p = dst_ptr + y * MI_SIZE * dst_stride; in av1_filter_block_plane_vert_test()
594 const uint32_t curr_x = ((mi_col * MI_SIZE) >> scale_horz) + x * MI_SIZE; in av1_filter_block_plane_vert_test()
[all …]
Dtile_common.c175 r.left = tile_info->mi_col_start * MI_SIZE; in av1_get_tile_rect()
176 r.right = tile_info->mi_col_end * MI_SIZE; in av1_get_tile_rect()
177 r.top = tile_info->mi_row_start * MI_SIZE; in av1_get_tile_rect()
178 r.bottom = tile_info->mi_row_end * MI_SIZE; in av1_get_tile_rect()
Dav1_common_int.h1005 xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x; in set_plane_n4()
1006 xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y; in set_plane_n4()
1016 xd->mb_to_top_edge = -GET_MV_SUBPEL(mi_row * MI_SIZE); in set_mi_row_col()
1017 xd->mb_to_bottom_edge = GET_MV_SUBPEL((mi_rows - bh - mi_row) * MI_SIZE); in set_mi_row_col()
1018 xd->mb_to_left_edge = -GET_MV_SUBPEL((mi_col * MI_SIZE)); in set_mi_row_col()
1019 xd->mb_to_right_edge = GET_MV_SUBPEL((mi_cols - bw - mi_col) * MI_SIZE); in set_mi_row_col()
1315 bw = n4_w * MI_SIZE; in set_txfm_ctxs()
1316 bh = n4_h * MI_SIZE; in set_txfm_ctxs()
Dreconinter.c785 const int pre_x = (mi_x + MI_SIZE * col_start) >> ss_x; in build_inter_predictors_sub8x8()
786 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y; in build_inter_predictors_sub8x8()
858 const int pre_x = (mi_x + MI_SIZE * col_start) >> ss_x; in build_inter_predictors_8x8_and_bigger()
859 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y; in build_inter_predictors_8x8_and_bigger()
1107 const int bw = (op_mi_size * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
1109 const int plane_col = (rel_mi_col * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
1147 const int bh = (op_mi_size * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left()
1148 const int plane_row = (rel_mi_row * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left()
1260 xd->mb_to_left_edge = 8 * MI_SIZE * (-above_mi_col); in av1_setup_build_prediction_by_above_pred()
1263 (xd->width - rel_mi_col - above_mi_width) * MI_SIZE * 8; in av1_setup_build_prediction_by_above_pred()
[all …]
Dmv.h213 return mi_col * MI_SIZE + bw / 2 - 1; in block_center_x()
218 return mi_row * MI_SIZE + bh / 2 - 1; in block_center_y()
Dreconinter.h315 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
316 const int y = (MI_SIZE * mi_row) >> subsampling_y; in setup_pred_plane()
Denums.h37 #define MI_SIZE (1 << MI_SIZE_LOG2) macro
Dmvref_common.c1055 int x = col_offset * MI_SIZE + sign_c * AOMMAX(bw, MI_SIZE) / 2 - 1; in record_samples()
1056 int y = row_offset * MI_SIZE + sign_r * AOMMAX(bh, MI_SIZE) / 2 - 1; in record_samples()
/external/libaom/libaom/av1/encoder/
Dmcomp.h174 const int min1 = -(mi_row * MI_SIZE + border - 2 * AOM_INTERP_EXTEND); in av1_set_mv_row_limits()
175 const int min2 = -(((mi_row + mi_height) * MI_SIZE) + 2 * AOM_INTERP_EXTEND); in av1_set_mv_row_limits()
177 const int max1 = (mi_params->mi_rows - mi_row - mi_height) * MI_SIZE + in av1_set_mv_row_limits()
180 (mi_params->mi_rows - mi_row) * MI_SIZE + 2 * AOM_INTERP_EXTEND; in av1_set_mv_row_limits()
187 const int min1 = -(mi_col * MI_SIZE + border - 2 * AOM_INTERP_EXTEND); in av1_set_mv_col_limits()
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()
193 (mi_params->mi_cols - mi_col) * MI_SIZE + 2 * AOM_INTERP_EXTEND; in av1_set_mv_col_limits()
Daq_variance.c118 const int bw = MI_SIZE * mi_size_wide[bs] - right_overflow; in av1_log_block_var()
119 const int bh = MI_SIZE * mi_size_high[bs] - bottom_overflow; in av1_log_block_var()
155 const int bw = MI_SIZE * mi_size_wide[bs]; in haar_ac_energy()
156 const int bh = MI_SIZE * mi_size_high[bs]; in haar_ac_energy()
Dpartition_strategy.h168 xd->mb_to_top_edge = -GET_MV_SUBPEL(mi_row * MI_SIZE); in set_offsets_for_motion_search()
170 GET_MV_SUBPEL((mi_params->mi_rows - mi_height - mi_row) * MI_SIZE); in set_offsets_for_motion_search()
171 xd->mb_to_left_edge = -GET_MV_SUBPEL(mi_col * MI_SIZE); 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()
Dtpl_model.c212 int mb_y_offset = mi_row * MI_SIZE * xd->cur_buf->y_stride + mi_col * MI_SIZE; in mode_estimation()
217 mi_row * MI_SIZE * tpl_frame->rec_picture->y_stride + mi_col * MI_SIZE; in mode_estimation()
308 mi_row * MI_SIZE * ref_frame_ptr->y_stride + mi_col * MI_SIZE; in mode_estimation()
367 av1_init_inter_params(&inter_pred_params, bw, bh, mi_row * MI_SIZE, in mode_estimation()
368 mi_col * MI_SIZE, 0, 0, xd->bd, is_cur_buf_hbd(xd), 0, in mode_estimation()
422 av1_init_inter_params(&inter_pred_params, bw, bh, mi_row * MI_SIZE, in mode_estimation()
423 mi_col * MI_SIZE, 0, 0, xd->bd, is_cur_buf_hbd(xd), 0, in mode_estimation()
557 const int ref_pos_row = mi_row * MI_SIZE + full_mv.row; in tpl_model_update_b()
558 const int ref_pos_col = mi_col * MI_SIZE + full_mv.col; in tpl_model_update_b()
585 if (grid_pos_row >= 0 && grid_pos_row < ref_tpl_frame->mi_rows * MI_SIZE && in tpl_model_update_b()
[all …]
Dreconinter_enc.c89 const int mi_x = mi_col * MI_SIZE; in av1_enc_build_inter_predictor_y()
90 const int mi_y = mi_row * MI_SIZE; in av1_enc_build_inter_predictor_y()
118 const int mi_x = mi_col * MI_SIZE; in av1_enc_build_inter_predictor()
119 const int mi_y = mi_row * MI_SIZE; in av1_enc_build_inter_predictor()
165 bw = (op_mi_size * MI_SIZE) >> pd->subsampling_x; in build_obmc_prediction()
267 const int mi_x = mi_col * MI_SIZE; in av1_build_inter_predictors_for_planes_single_buf()
268 const int mi_y = mi_row * MI_SIZE; in av1_build_inter_predictors_for_planes_single_buf()
Dlevel.c929 (tile_info->mi_col_end - tile_info->mi_col_start) * MI_SIZE; in get_tile_stats()
931 (tile_info->mi_row_end - tile_info->mi_row_start) * MI_SIZE; in get_tile_stats()
941 cm->width - tile_info->mi_col_start * MI_SIZE; in get_tile_stats()
943 cm->height - tile_info->mi_row_start * MI_SIZE; in get_tile_stats()
Dmotion_search_facade.c435 av1_init_inter_params(&inter_pred_params, pw, ph, mi_row * MI_SIZE, in av1_joint_motion_search()
436 mi_col * MI_SIZE, 0, 0, xd->bd, is_cur_buf_hbd(xd), 0, in av1_joint_motion_search()
645 const int p_col = ((mi_col * MI_SIZE) >> pd->subsampling_x); in build_second_inter_pred()
646 const int p_row = ((mi_row * MI_SIZE) >> pd->subsampling_y); in build_second_inter_pred()
Drdopt.c2712 (tile->mi_col_start - mi_col) * MI_SIZE; in rd_pick_intrabc_mode_sb()
2714 (tile->mi_col_end - mi_col) * MI_SIZE - w; in rd_pick_intrabc_mode_sb()
2716 (tile->mi_row_start - mi_row) * MI_SIZE; in rd_pick_intrabc_mode_sb()
2718 (sb_row * cm->seq_params.mib_size - mi_row) * MI_SIZE - h; in rd_pick_intrabc_mode_sb()
2722 (tile->mi_col_start - mi_col) * MI_SIZE; in rd_pick_intrabc_mode_sb()
2724 (sb_col * cm->seq_params.mib_size - mi_col) * MI_SIZE - w; in rd_pick_intrabc_mode_sb()
2728 (tile->mi_row_start - mi_row) * MI_SIZE; in rd_pick_intrabc_mode_sb()
2732 (bottom_coded_mi_edge - mi_row) * MI_SIZE - h; in rd_pick_intrabc_mode_sb()
5195 int32_t *wsrc = ctxt->x->wsrc_buf + (rel_mi_col * MI_SIZE); in calc_target_weighted_pred_above()
5196 int32_t *mask = ctxt->x->mask_buf + (rel_mi_col * MI_SIZE); in calc_target_weighted_pred_above()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h395 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_mi_row_col()
396 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
397 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
398 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
Dvp9_reconinter.h89 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
90 const int y = (MI_SIZE * mi_row) >> subsampling_y; in setup_pred_plane()
Dvp9_enums.h24 #define MI_SIZE (1 << MI_SIZE_LOG2) // pixels per mi-unit macro
Dvp9_reconinter.c212 const int mi_x = mi_col * MI_SIZE; in build_inter_predictors_for_planes()
213 const int mi_y = mi_row * MI_SIZE; in build_inter_predictors_for_planes()
/external/libaom/libaom/av1/
Dav1_dx_iface.c784 ctx->img.planes[0] += mi_row * MI_SIZE * ctx->img.stride[0]; in decoder_get_frame()
788 mi_row * (MI_SIZE >> ssy) * ctx->img.stride[plane]; in decoder_get_frame()
792 AOMMIN(tile_height, cm->mi_params.mi_rows - mi_row) * MI_SIZE; in decoder_get_frame()
804 ctx->img.planes[0] += mi_col * MI_SIZE * (1 + is_hbd); in decoder_get_frame()
808 mi_col * (MI_SIZE >> ssx) * (1 + is_hbd); in decoder_get_frame()
812 AOMMIN(tile_width, cm->mi_params.mi_cols - mi_col) * MI_SIZE; in decoder_get_frame()
1167 *tile_size = ((tile_width * MI_SIZE) << 16) + tile_height * MI_SIZE; in ctrl_get_tile_size()
/external/libaom/libaom/av1/decoder/
Dobu.c372 const int tile_width_in_pixels = tile_width * MI_SIZE; in alloc_tile_list_buffer()
373 const int tile_height_in_pixels = tile_height * MI_SIZE; in alloc_tile_list_buffer()
425 const int tile_width_in_pixels = tile_width * MI_SIZE; in copy_decoded_tile_to_tile_list_buffer()
426 const int tile_height_in_pixels = tile_height * MI_SIZE; in copy_decoded_tile_to_tile_list_buffer()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c4599 if (cm->mi_cols * MI_SIZE != unscaled->y_width ||
4600 cm->mi_rows * MI_SIZE != unscaled->y_height) {
4627 if (cm->mi_cols * MI_SIZE != unscaled->y_width ||
4628 cm->mi_rows * MI_SIZE != unscaled->y_height) {
6113 int ref_pos_row = mi_row * MI_SIZE + mv_row;
6114 int ref_pos_col = mi_col * MI_SIZE + mv_col;
6131 if (grid_pos_row >= 0 && grid_pos_row < ref_tpl_frame->mi_rows * MI_SIZE &&
6132 grid_pos_col >= 0 && grid_pos_col < ref_tpl_frame->mi_cols * MI_SIZE) {
6237 x->mv_limits.row_min = -((mi_row * MI_SIZE) + (17 - 2 * VP9_INTERP_EXTEND));
6239 (cm->mi_rows - 1 - mi_row) * MI_SIZE + (17 - 2 * VP9_INTERP_EXTEND);
[all …]

12