Searched refs:as_mv (Results 1 - 25 of 66) sorted by relevance

123

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dfindnearmv.h30 mvp->as_mv.row *= -1;
31 mvp->as_mv.col *= -1;
39 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN))
40 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN;
41 else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN)
42 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN;
44 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN))
45 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN;
46 else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN)
47 mv->as_mv
[all...]
H A Dmv.h29 MV as_mv; member in union:int_mv
H A Dreconinter.c131 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
[all...]
H A Ddebugmodes.c119 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);
H A Dfindnearmv.c142 inv->as_mv.row = src->as_mv.row * -1;
143 inv->as_mv.col = src->as_mv.col * -1;
/external/libvpx/libvpx/vp8/common/
H A Dfindnearmv.h30 mvp->as_mv.row *= -1;
31 mvp->as_mv.col *= -1;
39 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN))
40 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN;
41 else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN)
42 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN;
44 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN))
45 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN;
46 else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN)
47 mv->as_mv
[all...]
H A Dmv.h29 MV as_mv; member in union:int_mv
H A Dreconinter.c131 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
[all...]
H A Ddebugmodes.c119 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);
H A Dfindnearmv.c142 inv->as_mv.row = src->as_mv.row * -1;
143 inv->as_mv.col = src->as_mv.col * -1;
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dmcomp.c36 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;
43 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] +
44 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1])
54 return ((mvsadcost[0][(mv->as_mv.row - ref->as_mv
[all...]
H A Dpickinter.c58 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
[all...]
H A Dmr_dissim.c35 mvx[cnt] = x->mbmi.mv.as_mv.row; \
36 mvy[cnt] = x->mbmi.mv.as_mv.col; \
43 mvx[cnt] = x->mbmi.mv.as_mv.row; \
44 mvy[cnt] = x->mbmi.mv.as_mv.col; \
195 mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row),
196 abs(max_mvx - here->mbmi.mv.as_mv.row));
197 mmvy = MAX(abs(min_mvy - here->mbmi.mv.as_mv.col),
198 abs(max_mvy - here->mbmi.mv.as_mv.col));
/external/libvpx/libvpx/vp8/encoder/
H A Dmcomp.c35 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
[all...]
H A Dpickinter.c58 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
[all...]
H A Dmr_dissim.c34 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));
/external/libvpx/libvpx/vp9/common/
H A Dvp9_mv.h29 MV as_mv; member in union:int_mv
H A Dvp9_reconinter.c105 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row +
106 mi->bmi[1].as_mv[idx].as_mv.row +
107 mi->bmi[2].as_mv[idx].as_mv.row +
108 mi->bmi[3].as_mv[idx].as_mv.row),
109 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv
[all...]
H A Dvp9_mvref_common.c131 .as_mv[which_mv]
142 mv.as_mv.row *= -1;
143 mv.as_mv.col *= -1;
283 clamp_mv_ref(&mv_ref_list[i].as_mv, xd);
311 lower_mv_precision(&mvlist[i].as_mv, allow_hp);
312 clamp_mv2(&mvlist[i].as_mv, xd);
340 nearest->as_int = bmi[0].as_mv[ref].as_int;
349 candidates[0] = bmi[1].as_mv[ref];
350 candidates[1] = bmi[0].as_mv[ref];
354 nearest->as_int = bmi[2].as_mv[re
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Derror_concealment.c187 new_row = row - bmi->mv.as_mv.row;
188 new_col = col - bmi->mv.as_mv.col;
259 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col;
260 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row;
266 bmi->mv.as_mv.col = col_acc / overlap_sum;
267 bmi->mv.as_mv.row = row_acc / overlap_sum;
271 bmi->mv.as_mv.col = 0;
272 bmi->mv.as_mv.row = 0;
288 MV * const filtered_mv = &(mi->mbmi.mv.as_mv);
314 filtered_mv->col += bmi[i].mv.as_mv
[all...]
/external/libvpx/libvpx/vp8/decoder/
H A Derror_concealment.c189 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
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_pickmode.c40 const MV ref_mv = mbmi->ref_mvs[ref][0].as_mv;
81 mvp_full = mbmi->ref_mvs[ref][x->mv_best_ref_index[ref]].as_mv;
83 mvp_full = x->pred_mv[ref].as_mv;
92 &ref_mv, &tmp_mv->as_mv);
97 &ref_mv, &tmp_mv->as_mv);
102 &ref_mv, &tmp_mv->as_mv);
107 &ref_mv, &tmp_mv->as_mv);
112 &ref_mv, &tmp_mv->as_mv);
119 &ref_mv, &tmp_mv->as_mv);
133 mvp_full.row = tmp_mv->as_mv
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_mvref_common.c108 clamp_mv_ref(&mv_ref_list[i].as_mv, xd);
136 lower_mv_precision(&mvlist[i].as_mv, allow_hp);
137 clamp_mv2(&mvlist[i].as_mv, xd);
165 nearest->as_int = bmi[0].as_mv[ref].as_int;
174 candidates[0] = bmi[1].as_mv[ref];
175 candidates[1] = bmi[0].as_mv[ref];
179 nearest->as_int = bmi[2].as_mv[ref].as_int;
H A Dvp9_reconinter.c188 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row +
189 mi->bmi[1].as_mv[idx].as_mv.row +
190 mi->bmi[2].as_mv[idx].as_mv.row +
191 mi->bmi[3].as_mv[idx].as_mv.row),
192 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv
[all...]
H A Dvp9_mv.h29 MV as_mv; member in union:int_mv

Completed in 1689 milliseconds

123