Home
last modified time | relevance | path

Searched refs:mi_stride (Results 1 – 25 of 48) sorted by relevance

12

/external/libaom/libaom/av1/common/
Dobmc.h32 MB_MODE_INFO **prev_row_mi = xd->mi - mi_col - 1 * xd->mi_stride; in foreach_overlappable_nb_above()
70 MB_MODE_INFO **prev_col_mi = xd->mi - 1 - mi_row * xd->mi_stride; in foreach_overlappable_nb_left()
75 MB_MODE_INFO **left_mi = prev_col_mi + left_mi_row * xd->mi_stride; in foreach_overlappable_nb_left()
80 left_mi = prev_col_mi + (left_mi_row + 1) * xd->mi_stride; in foreach_overlappable_nb_left()
Ddebugmodes.c43 mi += cm->mi_stride - cols; in print_mi_data()
71 mi += cm->mi_stride - cols; in av1_print_modes_and_motion_vectors()
85 mi += cm->mi_stride - cols; in av1_print_modes_and_motion_vectors()
Dcdef.c37 cm->mi_grid_visible[(mi_row + r) * cm->mi_stride + mi_col + c]->skip; in sb_all_skip()
44 int mi_stride) { in is_8x8_block_skip() argument
48 is_skip &= grid[(mi_row + r) * mi_stride + (mi_col + c)]->skip; in is_8x8_block_skip()
80 if (!is_8x8_block_skip(grid, mi_row + r, mi_col + c, cm->mi_stride)) { in sb_compute_cdef_list()
193 if (cm->mi_grid_visible[MI_SIZE_64X64 * fbr * cm->mi_stride + in av1_cdef_frame()
195 cm->mi_grid_visible[MI_SIZE_64X64 * fbr * cm->mi_stride + in av1_cdef_frame()
231 cm->mi_grid_visible[MI_SIZE_64X64 * fbr * cm->mi_stride + in av1_cdef_frame()
Donyxc_int.h380 int mi_stride; member
730 ((cm->mi_rows + MAX_MIB_SIZE) >> 1) * (cm->mi_stride >> 1); in ensure_mv_buffer()
783 xd->mi_stride = cm->mi_stride; in av1_init_macroblockd()
847 xd->above_mbmi = xd->mi[-xd->mi_stride]; in set_mi_row_col()
866 &xd->mi[-(mi_row & ss_y) * xd->mi_stride - (mi_col & ss_x)]; in set_mi_row_col()
873 xd->chroma_up_available ? base_mi[-xd->mi_stride + ss_x] : NULL; in set_mi_row_col()
877 xd->chroma_left_available ? base_mi[ss_y * xd->mi_stride - 1] : NULL; in set_mi_row_col()
1281 const int offset = mi_row * cm->mi_stride + mi_col; in get_partition()
1297 const MB_MODE_INFO *const mbmi_below = mi[bhigh / 2 * cm->mi_stride]; in get_partition()
Dmvref_common.c159 MB_MODE_INFO **const candidate_mi0 = xd->mi + row_offset * xd->mi_stride; in scan_row_mbmi()
212 xd->mi[(row_offset + i) * xd->mi_stride + col_offset]; in scan_col_mbmi()
254 xd->mi[mi_pos.row * xd->mi_stride + mi_pos.col]; in scan_blk_mbmi()
342 cm->tpl_mvs + ((mi_row + mi_pos.row) >> 1) * (cm->mi_stride >> 1) + in add_tpl_ref_mv()
704 const MB_MODE_INFO *const candidate = xd->mi[-xd->mi_stride + idx]; in setup_ref_mv_list()
711 const MB_MODE_INFO *const candidate = xd->mi[idx * xd->mi_stride - 1]; in setup_ref_mv_list()
780 const MB_MODE_INFO *const candidate = xd->mi[-xd->mi_stride + idx]; in setup_ref_mv_list()
788 const MB_MODE_INFO *const candidate = xd->mi[idx * xd->mi_stride - 1]; in setup_ref_mv_list()
994 const int mi_offset = mi_r * (cm->mi_stride >> 1) + mi_c; in motion_field_projection()
1014 int size = ((cm->mi_rows + MAX_MIB_SIZE) >> 1) * (cm->mi_stride >> 1); in av1_setup_motion_field()
[all …]
Dalloccommon.c77 cm->mi_stride = calc_mi_size(cm->mi_cols); in av1_set_mb_mi()
278 new_mi_size = cm->mi_stride * calc_mi_size(cm->mi_rows); in av1_alloc_context_buffers()
Dav1_loopfilter.c718 MB_MODE_INFO **mi = cm->mi_grid_visible + mi_row * cm->mi_stride + mi_col; in setup_masks()
790 cm->mi_grid_visible + prev_row * cm->mi_stride + prev_col; in setup_masks()
842 MB_MODE_INFO **mi = cm->mi_grid_visible + mi_row * cm->mi_stride + mi_col; in setup_tx_block_mask()
862 (mi_row + blk_row) * cm->mi_stride + mi_col + in setup_tx_block_mask()
892 cm->mi_grid_visible + (mi_row | ssy) * cm->mi_stride + (mi_col | ssx); in setup_fix_block_mask()
2005 MB_MODE_INFO **mi = cm->mi_grid_visible + mi_row * cm->mi_stride + mi_col; in set_lpf_parameters()
2205 set_lpf_parameters(&params, (cm->mi_stride << scale_vert), cm, xd, in av1_filter_block_plane_horz()
2337 set_lpf_parameters(&params, (cm->mi_stride << scale_vert), cm, xd, in av1_filter_block_plane_horz_test()
/external/libvpx/libvpx/vp8/common/
Dfindnearmv.h99 int mi_stride) { in above_block_mv() argument
102 cur_mb -= mi_stride; in above_block_mv()
129 int mi_stride) { in above_block_mode() argument
132 cur_mb -= mi_stride; in above_block_mode()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c362 int mb_cols, int mi_stride) { in find_neighboring_blocks() argument
367 if (mb_col > 0) assign_neighbor(&neighbors[i], mi - mi_stride - 1, 15); in find_neighboring_blocks()
371 assign_neighbor(&neighbors[i], mi - mi_stride, j); in find_neighboring_blocks()
376 if (mb_row > 0) assign_neighbor(&neighbors[i], mi - mi_stride + 1, 12); in find_neighboring_blocks()
385 assign_neighbor(&neighbors[i], mi + mi_stride + 1, 0); in find_neighboring_blocks()
389 assign_neighbor(&neighbors[i], mi + mi_stride, j); in find_neighboring_blocks()
395 assign_neighbor(&neighbors[i], mi + mi_stride - 1, 4); in find_neighboring_blocks()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h161 int mi_stride; member
345 xd->mi_stride = cm->mi_stride; in vp9_init_macroblockd()
381 xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; in set_mi_row_col()
Dvp9_mvref_common.c41 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in find_mv_refs_idx()
62 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in find_mv_refs_idx()
89 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in find_mv_refs_idx()
Dvp9_mfqe.c257 if (mfqe_decision(mi + mi_offset * cm->mi_stride, mfqe_bs)) { in mfqe_partition()
325 mfqe_partition(cm, mi + mi_offset * cm->mi_stride, subsize, in mfqe_partition()
330 mfqe_partition(cm, mi + mi_offset * cm->mi_stride + mi_offset, subsize, in mfqe_partition()
353 MODE_INFO *mi_local = cm->mi + (mi_row * cm->mi_stride + mi_col); in vp9_mfqe()
356 cm->postproc_state.prev_mi + (mi_row * cm->mi_stride + mi_col); in vp9_mfqe()
Dvp9_alloccommon.c26 cm->mi_stride = calc_mi_size(cm->mi_cols); in vp9_set_mb_mi()
120 new_mi_size = cm->mi_stride * calc_mi_size(cm->mi_rows); in vp9_alloc_context_buffers()
Dvp9_postproc.c291 cm->mi = cm->mip + cm->mi_stride + 1; in swap_mi_and_prev_mi()
292 cm->postproc_state.prev_mi = cm->postproc_state.prev_mip + cm->mi_stride + 1; in swap_mi_and_prev_mi()
322 ppstate->prev_mi = ppstate->prev_mip + cm->mi_stride + 1; in vp9_post_proc_frame()
Dvp9_blockd.h156 int mi_stride; member
/external/libaom/libaom/av1/encoder/
Dsegmentation.c91 const int mis = cm->mi_stride; in count_segs_sb()
189 mi_ptr = cm->mi_grid_visible + tile_info.mi_row_start * cm->mi_stride + in av1_choose_segmap_coding_method()
193 mi_ptr += cm->seq_params.mib_size * cm->mi_stride) { in av1_choose_segmap_coding_method()
Dpickcdef.c391 cm->mi_grid_visible[MI_SIZE_64X64 * fbr * cm->mi_stride + in av1_cdef_search()
452 MI_SIZE_64X64 * fbr * cm->mi_stride + MI_SIZE_64X64 * fbc; in av1_cdef_search()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c52 cm->mi = cm->mip + cm->mi_stride + 1; in vp9_dec_setup_mi()
53 cm->mi_grid_visible = cm->mi_grid_base + cm->mi_stride + 1; in vp9_dec_setup_mi()
55 cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mi_grid_base)); in vp9_dec_setup_mi()
Dvp9_decodemv.c521 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in dec_find_mv_refs()
543 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in dec_find_mv_refs()
570 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in dec_find_mv_refs()
683 xd->mi[mv_ref->col + mv_ref->row * xd->mi_stride]; in get_mode_context()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_segmentation.c160 const int mis = cm->mi_stride; in count_segs_sb()
231 mi_row += 8, mi_ptr += 8 * cm->mi_stride) { in vp9_choose_segmap_coding_method()
Dvp9_encodeframe.c247 const int idx_str = xd->mi_stride * mi_row + mi_col; in set_mode_info_offsets()
299 const int mi_stride = xd->mi_stride; in duplicate_mode_info_in_sb() local
304 for (i = 0; i < block_width; ++i) xd->mi[j * mi_stride + i] = src_mi; in duplicate_mode_info_in_sb()
841 cm->mi_stride * (mi_row + idx[i][0]) + mi_col + idx[i][1]; in set_low_temp_var_flag()
878 int start_pos = mi_row * cm->mi_stride + mi_col; in copy_partitioning_helper()
976 start_pos = mi_row * (svc->mi_stride[svc->spatial_layer_id - 1]) + mi_col; in scale_partitioning_svc()
1053 int start_pos = mi_row * cm->mi_stride + mi_col; in update_partition_svc()
1076 prev_part[start_pos + xx * cm->mi_stride + yy] = bsize; in update_partition_svc()
1083 prev_part[start_pos + bs * cm->mi_stride] = subsize; in update_partition_svc()
1104 int start_pos = mi_row * cm->mi_stride + mi_col; in update_prev_partition_helper()
[all …]
Dvp9_svc_layercontext.h127 int mi_stride[VPX_MAX_LAYERS]; member
Dvp9_encoder.c821 cm->mi = cm->mip + cm->mi_stride + 1; in vp9_enc_setup_mi()
822 memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); in vp9_enc_setup_mi()
823 cm->prev_mi = cm->prev_mip + cm->mi_stride + 1; in vp9_enc_setup_mi()
825 memset(cm->prev_mip, 0, sizeof(*cm->prev_mip) * cm->mi_stride); in vp9_enc_setup_mi()
828 memset(&cm->prev_mip[i * cm->mi_stride], 0, sizeof(*cm->prev_mip)); in vp9_enc_setup_mi()
830 cm->mi_grid_visible = cm->mi_grid_base + cm->mi_stride + 1; in vp9_enc_setup_mi()
831 cm->prev_mi_grid_visible = cm->prev_mi_grid_base + cm->mi_stride + 1; in vp9_enc_setup_mi()
834 cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mi_grid_base)); in vp9_enc_setup_mi()
877 cm->mi = cm->mip + cm->mi_stride + 1; in vp9_swap_mi_and_prev_mi()
878 cm->prev_mi = cm->prev_mip + cm->mi_stride + 1; in vp9_swap_mi_and_prev_mi()
[all …]
Dvp9_speed_features.c659 (cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), sizeof(uint8_t)); in set_rt_speed_feature_framesize_independent()
785 (uint8_t *)vpx_calloc((cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), in set_rt_speed_feature_framesize_independent()
789 (uint8_t *)vpx_calloc((cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), in set_rt_speed_feature_framesize_independent()
/external/libaom/libaom/av1/decoder/
Dinspection.c71 const MB_MODE_INFO *mbmi = cm->mi_grid_visible[j * cm->mi_stride + i]; in ifd_inspect()

12