/external/libvpx/libvpx/vp8/common/ |
findnearmv.h | 26 mvp->as_mv.row *= -1; 27 mvp->as_mv.col *= -1; 35 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN)) 36 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN; 37 else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN) 38 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN; 40 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN)) 41 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN; 42 else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN) 43 mv->as_mv.row = xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN [all...] |
mv.h | 25 MV as_mv; member in union:int_mv
|
reconinter.c | 131 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); 133 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) 135 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch); 154 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); 156 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7 [all...] |
debugmodes.c | 119 fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, mi[mb_index].mbmi.mv.as_mv.col / 2); 146 fprintf(mvs, "%3d:%-3d ", mi[mb_index].bmi[bindex].mv.as_mv.row, mi[mb_index].bmi[bindex].mv.as_mv.col);
|
findnearmv.c | 142 inv->as_mv.row = src->as_mv.row * -1; 143 inv->as_mv.col = src->as_mv.col * -1;
|
/external/libvpx/libvpx/vp8/encoder/ |
mcomp.c | 35 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7; 42 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + 43 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) 53 return ((mvsadcost[0][(mv->as_mv.row - ref->as_mv.row)] [all...] |
pickinter.c | 58 bestmv->as_mv.row <<= 3; 59 bestmv->as_mv.col <<= 3; 77 int xoffset = this_mv.as_mv.col & 7; 78 int yoffset = this_mv.as_mv.row & 7; 80 in_what += (this_mv.as_mv.row >> 3) * pre_stride + (this_mv.as_mv.col >> 3); 399 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - 400 best_ref_mv->as_mv.row) >> 1)]++; 401 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - 402 best_ref_mv->as_mv.col) >> 1)]++ [all...] |
mr_dissim.c | 34 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 35 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 42 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 43 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 194 mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row), 195 abs(max_mvx - here->mbmi.mv.as_mv.row)); 196 mmvy = MAX(abs(min_mvy - here->mbmi.mv.as_mv.col), 197 abs(max_mvy - here->mbmi.mv.as_mv.col));
|
rdopt.c | 479 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; 480 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; [all...] |
temporal_filter.c | 167 best_ref_mv1_full.as_mv.col = best_ref_mv1.as_mv.col >>3; 168 best_ref_mv1_full.as_mv.row = best_ref_mv1.as_mv.row >>3; 289 mbd->block[0].bmi.mv.as_mv.row = 0; 290 mbd->block[0].bmi.mv.as_mv.col = 0; 327 mbd->block[0].bmi.mv.as_mv.row, 328 mbd->block[0].bmi.mv.as_mv.col,
|
denoising.c | 218 mv_col = x->best_sse_mv.as_mv.col; 219 mv_row = x->best_sse_mv.as_mv.row; 277 mv_row = x->best_sse_mv.as_mv.row; 278 mv_col = x->best_sse_mv.as_mv.col;
|
firstpass.c | 463 ref_mv_full.as_mv.col = ref_mv->as_mv.col>>3; 464 ref_mv_full.as_mv.row = ref_mv->as_mv.row>>3; 474 best_mv->row = tmp_mv.as_mv.row; 475 best_mv->col = tmp_mv.as_mv.col; 500 best_mv->row = tmp_mv.as_mv.row; 501 best_mv->col = tmp_mv.as_mv.col; 648 d->bmi.mv.as_mv.row = 0; 649 d->bmi.mv.as_mv.col = 0 [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_mcomp.c | 694 thissad += mvsad_err_cost(&this_mv, &fcenter_mv.as_mv, \ 752 fcenter_mv.as_mv.row = center_mv->row >> 3; 753 fcenter_mv.as_mv.col = center_mv->col >> 3; 766 + mvsad_err_cost(&this_mv, &fcenter_mv.as_mv, [all...] |
vp9_temporal_filter.c | 137 best_ref_mv1_full.as_mv.col = best_ref_mv1.as_mv.col >> 3; 138 best_ref_mv1_full.as_mv.row = best_ref_mv1.as_mv.row >> 3; 155 ref_mv = &x->e_mbd.mi_8x8[0]->bmi[0].as_mv[0]; 156 bestsme = vp9_hex_search(x, &best_ref_mv1_full.as_mv, 159 0, &best_ref_mv1.as_mv, &ref_mv->as_mv); 168 bestsme = cpi->find_fractional_mv_step(x, &ref_mv->as_mv, 169 &best_ref_mv1.as_mv, [all...] |
vp9_rdopt.c | [all...] |
vp9_mbgraph.c | 46 vp9_clamp_mv_min_max(x, &ref_mv->as_mv); 48 ref_full.as_mv.col = ref_mv->as_mv.col >> 3; 49 ref_full.as_mv.row = ref_mv->as_mv.row >> 3; 52 best_err = vp9_hex_search(x, &ref_full.as_mv, step_param, x->errorperbit, 54 0, &ref_mv->as_mv, &dst_mv->as_mv); 63 &dst_mv->as_mv, &ref_mv->as_mv, [all...] |
vp9_firstpass.c | 437 ref_mv_full.as_mv.col = ref_mv->as_mv.col >> 3; 438 ref_mv_full.as_mv.row = ref_mv->as_mv.row >> 3; 448 best_mv->row = tmp_mv.as_mv.row; 449 best_mv->col = tmp_mv.as_mv.col; 472 best_mv->row = tmp_mv.as_mv.row; 473 best_mv->col = tmp_mv.as_mv.col; 648 &mv.as_mv, lst_yv12, 659 first_pass_motion_search(cpi, x, &zero_ref_mv, &tmp_mv.as_mv, [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_findnearmv.c | 30 lower_mv_precision(&mvlist[i].as_mv, allow_hp); 31 clamp_mv2(&mvlist[i].as_mv, xd); 61 dst_list[dst++].as_int = bmi[0].as_mv[ref_idx].as_int; 71 dst_list[dst++].as_int = bmi[2].as_mv[ref_idx].as_int; 72 if (dst_list[0].as_int != bmi[1].as_mv[ref_idx].as_int) 73 dst_list[dst++].as_int = bmi[1].as_mv[ref_idx].as_int; 75 dst_list[0].as_int != bmi[0].as_mv[ref_idx].as_int) 76 dst_list[dst++].as_int = bmi[0].as_mv[ref_idx].as_int;
|
vp9_reconinter.c | 83 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row + 84 mi->bmi[1].as_mv[idx].as_mv.row + 85 mi->bmi[2].as_mv[idx].as_mv.row + 86 mi->bmi[3].as_mv[idx].as_mv.row), 87 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.col [all...] |
vp9_mv.h | 25 MV as_mv; member in union:int_mv
|
vp9_debugmodes.c | 70 fprintf(mvs, "%4d:%4d ", mi_8x8[mi_index]->mbmi.mv[0].as_mv.row, 71 mi_8x8[mi_index]->mbmi.mv[0].as_mv.col);
|
vp9_mvref_common.c | 126 .as_mv[which_mv] 137 mv.as_mv.row *= -1; 138 mv.as_mv.col *= -1; 285 clamp_mv_ref(&mv_ref_list[i].as_mv, xd);
|
/external/libvpx/libvpx/vp8/decoder/ |
error_concealment.c | 189 new_row = row - bmi->mv.as_mv.row; 190 new_col = col - bmi->mv.as_mv.col; 261 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col; 262 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row; 268 bmi->mv.as_mv.col = col_acc / overlap_sum; 269 bmi->mv.as_mv.row = row_acc / overlap_sum; 273 bmi->mv.as_mv.col = 0; 274 bmi->mv.as_mv.row = 0; 290 MV * const filtered_mv = &(mi->mbmi.mv.as_mv); 316 filtered_mv->col += bmi[i].mv.as_mv.col [all...] |
decodemv.c | 295 blockmv.as_mv.row = read_mvcomponent(bc, &mvc[0]) * 2; 296 blockmv.as_mv.row += best_mv.as_mv.row; 297 blockmv.as_mv.col = read_mvcomponent(bc, &mvc[1]) * 2; 298 blockmv.as_mv.col += best_mv.as_mv.col; 495 read_mv(bc, &mbmi_mv->as_mv, (const MV_CONTEXT *) mvc); 496 mbmi_mv->as_mv.row += near_mvs[near_index].as_mv.row; 497 mbmi_mv->as_mv.col += near_mvs[near_index].as_mv.col [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.c | 372 read_mv(r, &mv[0].as_mv, &best_mv[0].as_mv, 375 read_mv(r, &mv[1].as_mv, &best_mv[1].as_mv, 378 ret = ret && mv[i].as_mv.row < MV_UPP && mv[i].as_mv.row > MV_LOW; 379 ret = ret && mv[i].as_mv.col < MV_UPP && mv[i].as_mv.col > MV_LOW; 507 mi->bmi[j].as_mv[0].as_int = block[0].as_int; 509 mi->bmi[j].as_mv[1].as_int = block[1].as_int [all...] |