Home
last modified time | relevance | path

Searched refs:mvx (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dmr_dissim.c35 mvx[cnt] = x->mbmi.mv.as_mv.row; \
43 mvx[cnt] = x->mbmi.mv.as_mv.row; \
48 mvx[cnt] *= -1; \
99 int mvx[8]; in vp8_cal_dissimilarity() local
178 int max_mvx = mvx[0]; in vp8_cal_dissimilarity()
179 int min_mvx = mvx[0]; in vp8_cal_dissimilarity()
188 if (mvx[i] > max_mvx) max_mvx = mvx[i]; in vp8_cal_dissimilarity()
189 else if (mvx[i] < min_mvx) min_mvx = mvx[i]; in vp8_cal_dissimilarity()
Drdopt.c1541 int mvx[8]; in vp8_mv_pred() local
1649 mvx[i] = near_mvs[i].as_mv.row; in vp8_mv_pred()
1653 insertsortmv(mvx, vcnt); in vp8_mv_pred()
1655 mv.as_mv.row = mvx[vcnt/2]; in vp8_mv_pred()
/external/libhevc/decoder/
Dihevcd_mv_pred.c110 WORD32 mvx, mvy; in ihevcd_scale_mv() local
122 mvx = ps_mv->i2_mvx; in ihevcd_scale_mv()
125 mvx = SIGN(dist_scale_factor * mvx) in ihevcd_scale_mv()
126 * ((abs(dist_scale_factor * mvx) + 127) >> 8); in ihevcd_scale_mv()
130 ps_mv->i2_mvx = CLIP_S16(mvx); in ihevcd_scale_mv()
172 WORD32 mvx, mvy; in ihevcd_scale_collocated_mv() local
182 mvx = ps_mv->i2_mvx; in ihevcd_scale_collocated_mv()
185 mvx = SIGN(dist_scale_factor * mvx) in ihevcd_scale_collocated_mv()
186 * ((abs(dist_scale_factor * mvx) + 127) >> 8); in ihevcd_scale_collocated_mv()
190 ps_mv->i2_mvx = CLIP_S16(mvx); in ihevcd_scale_collocated_mv()
/external/libavc/encoder/
Dih264e_me.c230 WORD32 mvx, mvy; in ih264e_get_search_candidates() local
266 mvx = (ps_left_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates()
269 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx); in ih264e_get_search_candidates()
272 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates()
281 mvx = (ps_top_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates()
284 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx); in ih264e_get_search_candidates()
287 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates()
295 mvx = (ps_top_right_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates()
298 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx); in ih264e_get_search_candidates()
301 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates()
[all …]