Home
last modified time | relevance | path

Searched refs:as_mv (Results 1 – 14 of 14) sorted by relevance

/external/libvpx/vp8/common/
Dreconinter.c145 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors_b()
147 … ptr = ptr_base + d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b()
148 sppf(ptr, d->pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch); in vp8_build_inter_predictors_b()
152 … ptr_base += d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b()
178 … ptr = ptr_base + d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors4b()
180 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors4b()
182 …x->subpixel_predict8x8(ptr, d->pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_… in vp8_build_inter_predictors4b()
197 … ptr = ptr_base + d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors2b()
199 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors2b()
201 …x->subpixel_predict8x4(ptr, d->pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_… in vp8_build_inter_predictors2b()
[all …]
Dfindnearmv.c23 MV as_mv; member
29 xmv = x->mbmi.mv.as_mv; in mv_bias()
37 mvp->as_mv = xmv; in mv_bias()
165 *best_mv = near_mvs[0].as_mv; in vp8_find_near_mvs()
166 *nearest = near_mvs[CNT_NEAREST].as_mv; in vp8_find_near_mvs()
167 *nearby = near_mvs[CNT_NEAR].as_mv; in vp8_find_near_mvs()
Ddebugmodes.c119 … fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, mi[mb_index].mbmi.mv.as_mv.col / 2); in vp8_print_modes_and_motion_vectors()
146 …fprintf(mvs, "%3d:%-3d ", mi[mb_index].bmi[bindex].mv.as_mv.row, mi[mb_index].bmi[bindex].mv.as_mv in vp8_print_modes_and_motion_vectors()
Dblockd.h148 MV as_mv; member
169 MV as_mv; member
Dpostproc.c881 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
902 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
923 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
965 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
981 MV *mv = &mi->mbmi.mv.as_mv; in vp8_post_proc_frame()
/external/libvpx/vp8/decoder/
Ddecodemv.c298 MV *const mv = & mbmi->mv.as_mv; in vp8_read_mb_modes_mv()
359 MV *const mv = & bmi.mv.as_mv; in vp8_read_mb_modes_mv()
365 … mv_contz = vp8_mv_cont(&(vp8_left_bmi(mi, k)->mv.as_mv), &(vp8_above_bmi(mi, k, mis)->mv.as_mv)); in vp8_read_mb_modes_mv()
378 *mv = vp8_left_bmi(mi, k)->mv.as_mv; in vp8_read_mb_modes_mv()
384 *mv = vp8_above_bmi(mi, k, mis)->mv.as_mv; in vp8_read_mb_modes_mv()
424 *mv = mi->bmi[15].mv.as_mv; in vp8_read_mb_modes_mv()
474 mi->bmi[0].mv.as_mv = *mv; in vp8_read_mb_modes_mv()
475 mi->bmi[1].mv.as_mv = *mv; in vp8_read_mb_modes_mv()
476 mi->bmi[2].mv.as_mv = *mv; in vp8_read_mb_modes_mv()
477 mi->bmi[3].mv.as_mv = *mv; in vp8_read_mb_modes_mv()
[all …]
Ddecodframe.c167 clamp_mv_to_umv_border(&xd->block[i].bmi.mv.as_mv, xd); in clamp_mvs()
169 clamp_uvmv_to_umv_border(&xd->block[i].bmi.mv.as_mv, xd); in clamp_mvs()
173 clamp_mv_to_umv_border(&xd->mode_info_context->mbmi.mv.as_mv, xd); in clamp_mvs()
174 clamp_uvmv_to_umv_border(&xd->block[16].bmi.mv.as_mv, xd); in clamp_mvs()
/external/libvpx/vp8/encoder/
Dpickinter.c76 int xoffset = d->bmi.mv.as_mv.col & 7; in get_inter_mbpred_error()
77 int yoffset = d->bmi.mv.as_mv.row & 7; in get_inter_mbpred_error()
79 in_what += (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in get_inter_mbpred_error()
688 …bestsme = vp8_diamond_search_sad(x, b, d, &best_ref_mv1, &d->bmi.mv.as_mv, step_param, x->errorper… in vp8_pick_inter_mode()
689 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row; in vp8_pick_inter_mode()
690 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col; in vp8_pick_inter_mode()
701 …thissme = vp8_diamond_search_sad(x, b, d, &best_ref_mv1, &d->bmi.mv.as_mv, step_param + n, x->erro… in vp8_pick_inter_mode()
706 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row; in vp8_pick_inter_mode()
707 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col; in vp8_pick_inter_mode()
711 d->bmi.mv.as_mv.row = mode_mv[NEWMV].row; in vp8_pick_inter_mode()
[all …]
Dtemporal_filter.c234 &best_ref_mv1, &d->bmi.mv.as_mv, in find_matching_mb()
245 &best_ref_mv1, &d->bmi.mv.as_mv, in find_matching_mb()
267 &best_ref_mv1, &d->bmi.mv.as_mv, in find_matching_mb()
276 mv_y = d->bmi.mv.as_mv.row; in find_matching_mb()
277 mv_x = d->bmi.mv.as_mv.col; in find_matching_mb()
281 d->bmi.mv.as_mv.row = mv_y; in find_matching_mb()
282 d->bmi.mv.as_mv.col = mv_x; in find_matching_mb()
293 &d->bmi.mv.as_mv, &best_ref_mv1, in find_matching_mb()
405 mbd->block[0].bmi.mv.as_mv.row = 0; in vp8cx_temp_blur1_c()
406 mbd->block[0].bmi.mv.as_mv.col = 0; in vp8cx_temp_blur1_c()
[all …]
Drdopt.c556 mv_row = x->e_mbd.block[16].bmi.mv.as_mv.row; in VP8_UVSSE()
557 mv_col = x->e_mbd.block[16].bmi.mv.as_mv.col; in VP8_UVSSE()
908 x->e_mbd.mode_info_context->mbmi.mv.as_mv.row = mv->row; in vp8_set_mbmode_and_mvs()
909 x->e_mbd.mode_info_context->mbmi.mv.as_mv.col = mv->col; in vp8_set_mbmode_and_mvs()
915 bmi->mv.as_mv.row = mv->row; in vp8_set_mbmode_and_mvs()
916 bmi->mv.as_mv.col = mv->col; in vp8_set_mbmode_and_mvs()
966 *this_mv = col ? d[-1].bmi.mv.as_mv : vp8_left_bmi(mic, i)->mv.as_mv; in labels2mode()
969 *this_mv = row ? d[-4].bmi.mv.as_mv : vp8_above_bmi(mic, i, mis)->mv.as_mv; in labels2mode()
980 const MV mv = col ? d[-1].bmi.mv.as_mv : vp8_left_bmi(mic, i)->mv.as_mv; in labels2mode()
990 d->bmi.mv.as_mv = *this_mv; in labels2mode()
[all …]
Dfirstpass.c630 d->bmi.mv.as_mv.row = 0; in vp8_first_pass()
631 d->bmi.mv.as_mv.col = 0; in vp8_first_pass()
639 &d->bmi.mv.as_mv, lst_yv12, in vp8_first_pass()
652 d->bmi.mv.as_mv.row = tmp_mv.row; in vp8_first_pass()
653 d->bmi.mv.as_mv.col = tmp_mv.col; in vp8_first_pass()
686 d->bmi.mv.as_mv.row <<= 3; in vp8_first_pass()
687 d->bmi.mv.as_mv.col <<= 3; in vp8_first_pass()
689 vp8_set_mbmode_and_mvs(x, NEWMV, &d->bmi.mv.as_mv); in vp8_first_pass()
691 sum_mvr += d->bmi.mv.as_mv.row; in vp8_first_pass()
692 sum_mvr_abs += abs(d->bmi.mv.as_mv.row); in vp8_first_pass()
[all …]
Dbitstream.c1010 write_mv(w, &mi->mv.as_mv, &best_mv, mvc); in pack_inter_mode_mvs()
1035 (&(vp8_left_bmi(m, k)->mv.as_mv), in pack_inter_mode_mvs()
1036 &(vp8_above_bmi(m, k, mis)->mv.as_mv)); in pack_inter_mode_mvs()
1044 write_mv(w, &b->mv.as_mv, &best_mv, (const MV_CONTEXT *) mvc); in pack_inter_mode_mvs()
Dencodeframe.c1274 … cpi->MVcount[0][mv_max+((xd->block[i].bmi.mv.as_mv.row - best_ref_mv.row) >> 1)]++; in vp8cx_encode_inter_macroblock()
1275 … cpi->MVcount[1][mv_max+((xd->block[i].bmi.mv.as_mv.col - best_ref_mv.col) >> 1)]++; in vp8cx_encode_inter_macroblock()
1281 cpi->MVcount[0][mv_max+((xd->block[0].bmi.mv.as_mv.row - best_ref_mv.row) >> 1)]++; in vp8cx_encode_inter_macroblock()
1282 cpi->MVcount[1][mv_max+((xd->block[0].bmi.mv.as_mv.col - best_ref_mv.col) >> 1)]++; in vp8cx_encode_inter_macroblock()
Dmcomp.c1184 MV *best_mv = &d->bmi.mv.as_mv; in vp8_full_search_sad()
1274 MV *best_mv = &d->bmi.mv.as_mv; in vp8_full_search_sadx3()
1399 MV *best_mv = &d->bmi.mv.as_mv; in vp8_full_search_sadx8()