Home
last modified time | relevance | path

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

12

/external/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/av1/common/
Dmvref_common.h269 ref_dv->as_fullmv.col = -MI_SIZE * mib_size - INTRABC_DELAY_PIXELS; in av1_find_ref_dv()
271 ref_dv->as_fullmv.row = -MI_SIZE * mib_size; in av1_find_ref_dv()
290 const int src_top_edge = mi_row * MI_SIZE * SCALE_PX_TO_MV + dv.row; in av1_is_dv_valid()
291 const int tile_top_edge = tile->mi_row_start * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
293 const int src_left_edge = mi_col * MI_SIZE * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
294 const int tile_left_edge = tile->mi_col_start * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
297 const int src_bottom_edge = (mi_row * MI_SIZE + bh) * SCALE_PX_TO_MV + dv.row; in av1_is_dv_valid()
298 const int tile_bottom_edge = tile->mi_row_end * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
300 const int src_right_edge = (mi_col * MI_SIZE + bw) * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
301 const int tile_right_edge = tile->mi_col_end * MI_SIZE * SCALE_PX_TO_MV; in av1_is_dv_valid()
[all …]
Dav1_loopfilter.c670 const int32_t tu_edge = ((coord * MI_SIZE) & transform_masks) ? (0) : (1); in set_one_param_for_line_luma()
803 const int32_t tu_edge = ((coord * MI_SIZE) & transform_masks) ? (0) : (1); in set_one_param_for_line_chroma()
925 dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert()
935 dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert()
946 dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert()
957 dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert()
1133 u_dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert_chroma()
1141 v_dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert_chroma()
1151 u_dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert_chroma()
1159 v_dst_shortptr + (2 * MI_SIZE * dst_stride), dst_stride, in filter_vert_chroma()
[all …]
Dtile_common.c181 r.left = tile_info->mi_col_start * MI_SIZE; in av1_get_tile_rect()
182 r.right = tile_info->mi_col_end * MI_SIZE; in av1_get_tile_rect()
183 r.top = tile_info->mi_row_start * MI_SIZE; in av1_get_tile_rect()
184 r.bottom = tile_info->mi_row_end * MI_SIZE; in av1_get_tile_rect()
Dav1_common_int.h1328 xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x; in set_plane_n4()
1329 xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y; in set_plane_n4()
1339 xd->mb_to_top_edge = -GET_MV_SUBPEL(mi_row * MI_SIZE); in set_mi_row_col()
1340 xd->mb_to_bottom_edge = GET_MV_SUBPEL((mi_rows - bh - mi_row) * MI_SIZE); in set_mi_row_col()
1341 xd->mb_to_left_edge = -GET_MV_SUBPEL((mi_col * MI_SIZE)); in set_mi_row_col()
1342 xd->mb_to_right_edge = GET_MV_SUBPEL((mi_cols - bw - mi_col) * MI_SIZE); in set_mi_row_col()
1639 bw = n4_w * MI_SIZE; in set_txfm_ctxs()
1640 bh = n4_h * MI_SIZE; in set_txfm_ctxs()
Dreconinter_template.inc115 const int pre_x = (mi_x + MI_SIZE * col_start) >> ss_x;
116 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y;
191 const int pre_x = (mi_x + MI_SIZE * col_start) >> ss_x;
192 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y;
Dmv.h203 return mi_col * MI_SIZE + bw / 2 - 1; in block_center_x()
208 return mi_row * MI_SIZE + bh / 2 - 1; in block_center_y()
Dreconinter.c857 const int bw = (op_mi_size * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
859 const int plane_col = (rel_mi_col * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
897 const int bh = (op_mi_size * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left()
898 const int plane_row = (rel_mi_row * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left()
1003 xd->mb_to_left_edge = 8 * MI_SIZE * (-above_mi_col); in av1_setup_build_prediction_by_above_pred()
1006 (xd->width - rel_mi_col - above_mi_width) * MI_SIZE * 8; in av1_setup_build_prediction_by_above_pred()
1043 xd->mb_to_top_edge = GET_MV_SUBPEL(MI_SIZE * (-left_mi_row)); in av1_setup_build_prediction_by_left_pred()
1046 GET_MV_SUBPEL((xd->height - rel_mi_row - left_mi_height) * MI_SIZE); in av1_setup_build_prediction_by_left_pred()
/external/libaom/av1/encoder/
Dmcomp.h230 const int min1 = -(mi_row * MI_SIZE + border - 2 * AOM_INTERP_EXTEND); in av1_set_mv_row_limits()
231 const int min2 = -(((mi_row + mi_height) * MI_SIZE) + 2 * AOM_INTERP_EXTEND); in av1_set_mv_row_limits()
233 const int max1 = (mi_params->mi_rows - mi_row - mi_height) * MI_SIZE + in av1_set_mv_row_limits()
236 (mi_params->mi_rows - mi_row) * MI_SIZE + 2 * AOM_INTERP_EXTEND; in av1_set_mv_row_limits()
243 const int min1 = -(mi_col * MI_SIZE + border - 2 * AOM_INTERP_EXTEND); in av1_set_mv_col_limits()
244 const int min2 = -(((mi_col + mi_width) * MI_SIZE) + 2 * AOM_INTERP_EXTEND); in av1_set_mv_col_limits()
246 const int max1 = (mi_params->mi_cols - mi_col - mi_width) * MI_SIZE + border - in av1_set_mv_col_limits()
249 (mi_params->mi_cols - mi_col) * MI_SIZE + 2 * AOM_INTERP_EXTEND; in av1_set_mv_col_limits()
Daq_variance.c115 const int bw = MI_SIZE * mi_size_wide[bs] - right_overflow; in av1_log_block_var()
116 const int bh = MI_SIZE * mi_size_high[bs] - bottom_overflow; in av1_log_block_var()
150 const int bw = MI_SIZE * mi_size_wide[bs]; in av1_log_block_avg()
151 const int bh = MI_SIZE * mi_size_high[bs]; in av1_log_block_avg()
Dpartition_strategy.h177 xd->mb_to_top_edge = -GET_MV_SUBPEL(mi_row * MI_SIZE); in set_offsets_for_motion_search()
179 GET_MV_SUBPEL((mi_params->mi_rows - mi_height - mi_row) * MI_SIZE); in set_offsets_for_motion_search()
180 xd->mb_to_left_edge = -GET_MV_SUBPEL(mi_col * MI_SIZE); in set_offsets_for_motion_search()
182 GET_MV_SUBPEL((mi_params->mi_cols - mi_width - mi_col) * MI_SIZE); in set_offsets_for_motion_search()
Dreconinter_enc.c61 const int mi_x = mi_col * MI_SIZE; in av1_enc_build_inter_predictor_y()
62 const int mi_y = mi_row * MI_SIZE; in av1_enc_build_inter_predictor_y()
116 const int mi_x = mi_col * MI_SIZE; in av1_enc_build_inter_predictor()
117 const int mi_y = mi_row * MI_SIZE; in av1_enc_build_inter_predictor()
194 bw = (op_mi_size * MI_SIZE) >> pd->subsampling_x; in build_obmc_prediction()
277 const int mi_x = mi_col * MI_SIZE; in av1_build_inter_predictors_for_planes_single_buf()
278 const int mi_y = mi_row * MI_SIZE; in av1_build_inter_predictors_for_planes_single_buf()
440 const int mi_x = mi_col * MI_SIZE; in aom_upsampled_pred_c()
441 const int mi_y = mi_row * MI_SIZE; in aom_upsampled_pred_c()
580 const int mi_x = mi_col * MI_SIZE; in aom_highbd_upsampled_pred_c()
[all …]
Dtpl_model.c372 ((mi_row * MI_SIZE * dst_buffer_stride) >> pd->subsampling_y) + in get_rate_distortion()
373 ((mi_col * MI_SIZE) >> pd->subsampling_x); in get_rate_distortion()
399 (mi_row * MI_SIZE) >> pd->subsampling_y, in get_rate_distortion()
400 (mi_col * MI_SIZE) >> pd->subsampling_x, in get_rate_distortion()
414 int src_mb_offset = ((mi_row * MI_SIZE * src_stride) >> pd->subsampling_y) + in get_rate_distortion()
415 ((mi_col * MI_SIZE) >> pd->subsampling_x); in get_rate_distortion()
465 int mb_y_offset = mi_row * MI_SIZE * xd->cur_buf->y_stride + mi_col * MI_SIZE; in mode_estimation()
470 mi_row * MI_SIZE * tpl_frame->rec_picture->y_stride + mi_col * MI_SIZE; in mode_estimation()
640 mi_row * MI_SIZE * ref_frame_ptr->y_stride + mi_col * MI_SIZE; in mode_estimation()
747 av1_init_inter_params(&inter_pred_params, bw, bh, mi_row * MI_SIZE, in mode_estimation()
[all …]
Dlevel.c1115 (tile_info->mi_col_end - tile_info->mi_col_start) * MI_SIZE; in get_tile_stats()
1117 (tile_info->mi_row_end - tile_info->mi_row_start) * MI_SIZE; in get_tile_stats()
1127 cm->width - tile_info->mi_col_start * MI_SIZE; in get_tile_stats()
1129 cm->height - tile_info->mi_row_start * MI_SIZE; in get_tile_stats()
Dmotion_search_facade.c583 av1_init_inter_params(&inter_pred_params, pw, ph, mi_row * MI_SIZE, in av1_joint_motion_search()
584 mi_col * MI_SIZE, 0, 0, xd->bd, is_cur_buf_hbd(xd), 0, in av1_joint_motion_search()
814 const int p_col = ((mi_col * MI_SIZE) >> pd->subsampling_x); in build_second_inter_pred()
815 const int p_row = ((mi_row * MI_SIZE) >> pd->subsampling_y); in build_second_inter_pred()
/external/libvpx/vp9/common/
Dvp9_onyxc_int.h425 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_mi_row_col()
426 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
427 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
428 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/av1/qmode_rc/
Dducky_encode.cc494 tpl_frame_stats.frame_height = mi_rows * MI_SIZE; in ObtainTplStats()
495 tpl_frame_stats.frame_width = mi_cols * MI_SIZE; in ObtainTplStats()
496 tpl_frame_stats.min_block_size = (1 << block_mis_log2) * MI_SIZE; in ObtainTplStats()
506 block_stats.row = mi_row * MI_SIZE; in ObtainTplStats()
507 block_stats.col = mi_col * MI_SIZE; in ObtainTplStats()
508 block_stats.height = (1 << block_mis_log2) * MI_SIZE; in ObtainTplStats()
509 block_stats.width = (1 << block_mis_log2) * MI_SIZE; in ObtainTplStats()
/external/libaom/av1/encoder/x86/
Dreconinter_enc_sse2.c49 const int mi_x = mi_col * MI_SIZE; in aom_upsampled_pred_sse2()
50 const int mi_y = mi_row * MI_SIZE; in aom_upsampled_pred_sse2()
184 const int mi_x = mi_col * MI_SIZE; in aom_highbd_upsampled_pred_sse2()
185 const int mi_y = mi_row * MI_SIZE; in aom_highbd_upsampled_pred_sse2()
/external/libaom/av1/
Dav1_dx_iface.c839 ctx->img.planes[0] += mi_row * MI_SIZE * ctx->img.stride[0]; in decoder_get_frame()
843 mi_row * (MI_SIZE >> ssy) * ctx->img.stride[plane]; in decoder_get_frame()
847 AOMMIN(tile_height, cm->mi_params.mi_rows - mi_row) * MI_SIZE; in decoder_get_frame()
859 ctx->img.planes[0] += mi_col * MI_SIZE * (1 + is_hbd); in decoder_get_frame()
863 mi_col * (MI_SIZE >> ssx) * (1 + is_hbd); in decoder_get_frame()
867 AOMMIN(tile_width, cm->mi_params.mi_cols - mi_col) * MI_SIZE; in decoder_get_frame()
1405 *tile_size = ((tile_width * MI_SIZE) << 16) + tile_height * MI_SIZE; in ctrl_get_tile_size()
/external/libaom/aom_dsp/arm/
Dloopfilter_neon.c711 aom_lpf_vertical_14_dual_neon(s + 2 * MI_SIZE * pitch, pitch, blimit, limit, in aom_lpf_vertical_14_quad_neon()
770 aom_lpf_vertical_8_dual_neon(s + 2 * MI_SIZE * pitch, pitch, blimit, limit, in aom_lpf_vertical_8_quad_neon()
829 aom_lpf_vertical_6_dual_neon(s + 2 * MI_SIZE * pitch, pitch, blimit, limit, in aom_lpf_vertical_6_quad_neon()
884 aom_lpf_vertical_4_dual_neon(s + 2 * MI_SIZE * pitch, pitch, blimit, limit, in aom_lpf_vertical_4_quad_neon()
943 aom_lpf_horizontal_14_dual_neon(s + 2 * MI_SIZE, pitch, blimit, limit, thresh, in aom_lpf_horizontal_14_quad_neon()
991 aom_lpf_horizontal_8_dual_neon(s + 2 * MI_SIZE, pitch, blimit, limit, thresh, in aom_lpf_horizontal_8_quad_neon()
1034 aom_lpf_horizontal_6_dual_neon(s + 2 * MI_SIZE, pitch, blimit, limit, thresh, in aom_lpf_horizontal_6_quad_neon()
1070 aom_lpf_horizontal_4_dual_neon(s + 2 * MI_SIZE, pitch, blimit, limit, thresh, in aom_lpf_horizontal_4_quad_neon()
/external/libaom/av1/decoder/
Dobu.c378 const int tile_width_in_pixels = tile_width * MI_SIZE; in alloc_tile_list_buffer()
379 const int tile_height_in_pixels = tile_height * MI_SIZE; in alloc_tile_list_buffer()
432 const int tile_width_in_pixels = tile_width * MI_SIZE; in copy_decoded_tile_to_tile_list_buffer()
433 const int tile_height_in_pixels = tile_height * MI_SIZE; in copy_decoded_tile_to_tile_list_buffer()
/external/libvpx/vp9/encoder/
Dvp9_encoder.c4863 if (cm->mi_cols * MI_SIZE != unscaled->y_width ||
4864 cm->mi_rows * MI_SIZE != unscaled->y_height) {
4891 if (cm->mi_cols * MI_SIZE != unscaled->y_width ||
4892 cm->mi_rows * MI_SIZE != unscaled->y_height) {
6557 int ref_pos_row = mi_row * MI_SIZE + mv_row;
6558 int ref_pos_col = mi_col * MI_SIZE + mv_col;
6575 if (grid_pos_row >= 0 && grid_pos_row < ref_tpl_frame->mi_rows * MI_SIZE &&
6576 grid_pos_col >= 0 && grid_pos_col < ref_tpl_frame->mi_cols * MI_SIZE) {
6684 x->mv_limits.row_min = -((mi_row * MI_SIZE) + (17 - 2 * VP9_INTERP_EXTEND));
6686 (cm->mi_rows - 1 - mi_row) * MI_SIZE + (17 - 2 * VP9_INTERP_EXTEND);
[all …]

12