ref: de3097aa2373a441b76364cc9a813b29462f86a1
parent: adaffcc01081a1d38b9c2b3077ac3c092988b685
parent: 4611f24797fdb8c3f694d89a5ab035739a669c90
author: Yaowu Xu <[email protected]>
date: Mon Mar 16 12:56:10 EDT 2015
Merge "Remove duplicate clamping"
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -755,8 +755,6 @@
vp9_find_best_ref_mvs(xd, cm->allow_high_precision_mv, candidates,
&frame_mv[NEARESTMV][ref_frame],
&frame_mv[NEARMV][ref_frame]);
- clamp_mv2(&frame_mv[NEARESTMV][ref_frame].as_mv, xd);
- clamp_mv2(&frame_mv[NEARMV][ref_frame].as_mv, xd);
if (!vp9_is_scaled(sf) && bsize >= BLOCK_8X8)
vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride,