Home
last modified time | relevance | path

Searched refs:MI_SIZE (Results 1 – 25 of 38) 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/encoder/
Dpartition_strategy.h97 -(((mi_row + mi_height) * MI_SIZE) + AOM_INTERP_EXTEND); in set_offsets_for_motion_search()
98 x->mv_limits.col_min = -(((mi_col + mi_width) * MI_SIZE) + AOM_INTERP_EXTEND); in set_offsets_for_motion_search()
99 x->mv_limits.row_max = (cm->mi_rows - mi_row) * MI_SIZE + AOM_INTERP_EXTEND; in set_offsets_for_motion_search()
100 x->mv_limits.col_max = (cm->mi_cols - mi_col) * MI_SIZE + AOM_INTERP_EXTEND; in set_offsets_for_motion_search()
106 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_offsets_for_motion_search()
107 xd->mb_to_bottom_edge = ((cm->mi_rows - mi_height - mi_row) * MI_SIZE) * 8; in set_offsets_for_motion_search()
108 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); 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.c99 &best_ref_mv1, INT_MAX, 0, (MI_SIZE * mi_col), in motion_compensated_prediction()
100 (MI_SIZE * mi_row), 0, &cpi->ss_cfg[SS_CFG_SRC]); in motion_compensated_prediction()
140 int mb_y_offset = mi_row * MI_SIZE * xd->cur_buf->y_stride + mi_col * MI_SIZE; in mode_estimation()
145 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in mode_estimation()
146 xd->mb_to_bottom_edge = ((cm->mi_rows - 1 - mi_row) * MI_SIZE) * 8; in mode_estimation()
147 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in mode_estimation()
148 xd->mb_to_right_edge = ((cm->mi_cols - 1 - mi_col) * MI_SIZE) * 8; in mode_estimation()
190 x->mv_limits.col_min = -((mi_col * MI_SIZE) + (17 - 2 * AOM_INTERP_EXTEND)); in mode_estimation()
192 ((cm->mi_cols - 1 - mi_col) * MI_SIZE) + (17 - 2 * AOM_INTERP_EXTEND); in mode_estimation()
210 &warp_types, mi_col * MI_SIZE, mi_row * MI_SIZE, 0, 0, MV_PRECISION_Q3, in mode_estimation()
[all …]
Daq_variance.c117 const int bw = MI_SIZE * mi_size_wide[bs] - right_overflow; in av1_log_block_var()
118 const int bh = MI_SIZE * mi_size_high[bs] - bottom_overflow; in av1_log_block_var()
154 const int bw = MI_SIZE * mi_size_wide[bs]; in haar_ac_energy()
155 const int bh = MI_SIZE * mi_size_high[bs]; in haar_ac_energy()
Dreconinter_enc.c106 const int pre_x = (mi_x + MI_SIZE * col_start) >> ss_x; in build_inter_predictors()
107 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y; in build_inter_predictors()
249 const int mi_x = mi_col * MI_SIZE; in build_inter_predictors_for_plane()
250 const int mi_y = mi_row * MI_SIZE; in build_inter_predictors_for_plane()
325 int bw = (above_mi_width * MI_SIZE) >> pd->subsampling_x; in build_prediction_by_above_pred()
346 int this_height = xd->n4_h * MI_SIZE; in av1_build_prediction_by_above_preds()
359 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in av1_build_prediction_by_above_preds()
401 int this_width = xd->n4_w * MI_SIZE; in av1_build_prediction_by_left_preds()
414 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in av1_build_prediction_by_left_preds()
499 const int mi_x = mi_col * MI_SIZE; in av1_build_inter_predictors_for_planes_single_buf()
[all …]
Dpickcdef.c347 32, sizeof(*src) * cm->mi_rows * cm->mi_cols * MI_SIZE * MI_SIZE); in av1_cdef_search()
349 32, sizeof(*ref_coeff) * cm->mi_rows * cm->mi_cols * MI_SIZE * MI_SIZE); in av1_cdef_search()
359 (cm->mi_rows * MI_SIZE) >> xd->plane[pli].subsampling_y; in av1_cdef_search()
361 (cm->mi_cols * MI_SIZE) >> xd->plane[pli].subsampling_x; in av1_cdef_search()
Dlevel.c400 (tile_info->mi_col_end - tile_info->mi_col_start) * MI_SIZE; in get_tile_stats()
402 (tile_info->mi_row_end - tile_info->mi_row_start) * MI_SIZE; in get_tile_stats()
412 cm->width - tile_info->mi_col_start * MI_SIZE; in get_tile_stats()
414 cm->height - tile_info->mi_row_start * MI_SIZE; in get_tile_stats()
/external/libaom/libaom/av1/common/
Dmvref_common.h276 ref_dv->as_mv.col = -MI_SIZE * mib_size - INTRABC_DELAY_PIXELS; in av1_find_ref_dv()
278 ref_dv->as_mv.row = -MI_SIZE * mib_size; in av1_find_ref_dv()
298 const int src_top_edge = mi_row * MI_SIZE * SCALE_PX_TO_MV + dv.row; in av1_is_dv_valid()
299 const int tile_top_edge = tile->mi_row_start * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
301 const int src_left_edge = mi_col * MI_SIZE * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
302 const int tile_left_edge = tile->mi_col_start * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
305 const int src_bottom_edge = (mi_row * MI_SIZE + bh) * SCALE_PX_TO_MV + dv.row; in av1_is_dv_valid()
306 const int tile_bottom_edge = tile->mi_row_end * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
308 const int src_right_edge = (mi_col * MI_SIZE + bw) * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
309 const int tile_right_edge = tile->mi_col_end * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
[all …]
Dav1_loopfilter.c1484 const int row_step = (MI_SIZE >> MI_SIZE_LOG2); in av1_build_bitmask_vert_info()
1563 const int col_step = (MI_SIZE >> MI_SIZE_LOG2); in av1_build_bitmask_horz_info()
1864 dst->buf += 2 * MI_SIZE * dst->stride; in av1_filter_block_plane_ver()
1932 dst->buf += MI_SIZE * dst->stride; in av1_filter_block_plane_hor()
2094 const int row_step = MI_SIZE >> MI_SIZE_LOG2; in av1_filter_block_plane_vert()
2104 uint8_t *p = dst_ptr + y * MI_SIZE * dst_stride; in av1_filter_block_plane_vert()
2110 const uint32_t curr_x = ((mi_col * MI_SIZE) >> scale_horz) + x * MI_SIZE; in av1_filter_block_plane_vert()
2111 const uint32_t curr_y = ((mi_row * MI_SIZE) >> scale_vert) + y * MI_SIZE; in av1_filter_block_plane_vert()
2172 p += advance_units * MI_SIZE; in av1_filter_block_plane_vert()
2181 const int col_step = MI_SIZE >> MI_SIZE_LOG2; in av1_filter_block_plane_horz()
[all …]
Dtile_common.c166 r.left = tile_info->mi_col_start * MI_SIZE; in av1_get_tile_rect()
167 r.right = tile_info->mi_col_end * MI_SIZE; in av1_get_tile_rect()
168 r.top = tile_info->mi_row_start * MI_SIZE; in av1_get_tile_rect()
169 r.bottom = tile_info->mi_row_end * MI_SIZE; in av1_get_tile_rect()
Donyxc_int.h817 xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x; in set_plane_n4()
818 xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y; in set_plane_n4()
828 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_mi_row_col()
829 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
830 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
831 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
1179 bw = n4_w * MI_SIZE; in set_txfm_ctxs()
1180 bh = n4_h * MI_SIZE; in set_txfm_ctxs()
Dmv.h164 return mi_col * MI_SIZE + bw / 2 - 1; in block_center_x()
169 return mi_row * MI_SIZE + bh / 2 - 1; in block_center_y()
Dreconinter.c822 const int bw = (above_mi_width * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
824 const int plane_col = (rel_mi_col * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
858 const int bh = (left_mi_height * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left()
859 const int plane_row = (rel_mi_row * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left()
935 xd->mb_to_left_edge = 8 * MI_SIZE * (-above_mi_col); in av1_setup_build_prediction_by_above_pred()
937 (xd->n4_w - rel_mi_col - above_mi_width) * MI_SIZE * 8; in av1_setup_build_prediction_by_above_pred()
974 xd->mb_to_top_edge = 8 * MI_SIZE * (-left_mi_row); in av1_setup_build_prediction_by_left_pred()
977 (xd->n4_h - rel_mi_row - left_mi_height) * MI_SIZE * 8; in av1_setup_build_prediction_by_left_pred()
Dreconinter.h270 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
271 const int y = (MI_SIZE * mi_row) >> subsampling_y; in setup_pred_plane()
Dwarped_motion.c1030 const int rsuy = (AOMMAX(bh, MI_SIZE) / 2 - 1); in find_affine_int()
1031 const int rsux = (AOMMAX(bw, MI_SIZE) / 2 - 1); in find_affine_int()
1036 const int isuy = (mi_row * MI_SIZE + rsuy); in find_affine_int()
1037 const int isux = (mi_col * MI_SIZE + rsux); in find_affine_int()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h375 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_mi_row_col()
376 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
377 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
378 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
Dvp9_reconinter.h88 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
89 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.c799 ctx->img.planes[0] += mi_row * MI_SIZE * ctx->img.stride[0]; in decoder_get_frame()
803 mi_row * (MI_SIZE >> ssy) * ctx->img.stride[plane]; in decoder_get_frame()
806 ctx->img.d_h = AOMMIN(tile_height, cm->mi_rows - mi_row) * MI_SIZE; in decoder_get_frame()
819 ctx->img.planes[0] += mi_col * MI_SIZE * (1 + is_hbd); in decoder_get_frame()
823 mi_col * (MI_SIZE >> ssx) * (1 + is_hbd); in decoder_get_frame()
826 ctx->img.d_w = AOMMIN(tile_width, cm->mi_cols - mi_col) * MI_SIZE; in decoder_get_frame()
1196 *tile_size = ((tile_width * MI_SIZE) << 16) + tile_height * MI_SIZE; in ctrl_get_tile_size()
/external/libaom/libaom/av1/decoder/
Dobu.c366 const int tile_width_in_pixels = tile_width * MI_SIZE; in alloc_tile_list_buffer()
367 const int tile_height_in_pixels = tile_height * MI_SIZE; in alloc_tile_list_buffer()
419 const int tile_width_in_pixels = tile_width * MI_SIZE; in copy_decoded_tile_to_tile_list_buffer()
420 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.c4389 if (cm->mi_cols * MI_SIZE != unscaled->y_width ||
4390 cm->mi_rows * MI_SIZE != unscaled->y_height) {
4417 if (cm->mi_cols * MI_SIZE != unscaled->y_width ||
4418 cm->mi_rows * MI_SIZE != unscaled->y_height) {
5710 int ref_pos_row = mi_row * MI_SIZE + mv_row;
5711 int ref_pos_col = mi_col * MI_SIZE + mv_col;
5728 if (grid_pos_row >= 0 && grid_pos_row < ref_tpl_frame->mi_rows * MI_SIZE &&
5729 grid_pos_col >= 0 && grid_pos_col < ref_tpl_frame->mi_cols * MI_SIZE) {
5859 x->mv_limits.row_min = -((mi_row * MI_SIZE) + (17 - 2 * VP9_INTERP_EXTEND));
5861 (cm->mi_rows - 1 - mi_row) * MI_SIZE + (17 - 2 * VP9_INTERP_EXTEND);
[all …]
/external/libaom/libaom/aom_dsp/
Dvariance.c312 const int mi_x = mi_col * MI_SIZE; in aom_upsampled_pred_c()
313 const int mi_y = mi_row * MI_SIZE; in aom_upsampled_pred_c()
318 const int pre_x = (mi_x + MI_SIZE * col_start) >> ssx; in aom_upsampled_pred_c()
319 const int pre_y = (mi_y + MI_SIZE * row_start) >> ssy; in aom_upsampled_pred_c()
904 const int mi_x = mi_col * MI_SIZE; in aom_highbd_upsampled_pred_c()
905 const int mi_y = mi_row * MI_SIZE; in aom_highbd_upsampled_pred_c()
910 const int pre_x = (mi_x + MI_SIZE * col_start) >> ssx; in aom_highbd_upsampled_pred_c()
911 const int pre_y = (mi_y + MI_SIZE * row_start) >> ssy; in aom_highbd_upsampled_pred_c()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c515 const int mi_x = mi_col * MI_SIZE; in aom_upsampled_pred_sse2()
516 const int mi_y = mi_row * MI_SIZE; in aom_upsampled_pred_sse2()
521 const int pre_x = (mi_x + MI_SIZE * col_start) >> ssx; in aom_upsampled_pred_sse2()
522 const int pre_y = (mi_y + MI_SIZE * row_start) >> ssy; in aom_upsampled_pred_sse2()
Dhighbd_variance_sse2.c646 const int mi_x = mi_col * MI_SIZE; in aom_highbd_upsampled_pred_sse2()
647 const int mi_y = mi_row * MI_SIZE; in aom_highbd_upsampled_pred_sse2()
652 const int pre_x = (mi_x + MI_SIZE * col_start) >> ssx; in aom_highbd_upsampled_pred_sse2()
653 const int pre_y = (mi_y + MI_SIZE * row_start) >> ssy; in aom_highbd_upsampled_pred_sse2()

12