ref: 5eed6e222468afe2a478be60c10d0f7b894d3863
parent: 66ccf5ddcfd16b59e3ed3b36592fb0bd772eaa45
parent: cd2cc27af11c37e2adcb57948d54dbe4a305a36a
author: Dmitry Kovalev <[email protected]>
date: Mon Aug 26 06:48:37 EDT 2013
Merge "Removing redundant calls to clamp_mv2."
--- a/vp9/decoder/vp9_decodemv.c
+++ b/vp9/decoder/vp9_decodemv.c
@@ -551,22 +551,14 @@
switch (mbmi->mode) {
case NEARMV:
mv0->as_int = nearby.as_int;
- clamp_mv2(&mv0->as_mv, xd);
-
- if (is_compound) {
+ if (is_compound)
mv1->as_int = nearby_second.as_int;
- clamp_mv2(&mv1->as_mv, xd);
- }
break;
case NEARESTMV:
mv0->as_int = nearest.as_int;
- clamp_mv2(&mv0->as_mv, xd);
-
- if (is_compound) {
+ if (is_compound)
mv1->as_int = nearest_second.as_int;
- clamp_mv2(&mv1->as_mv, xd);
- }
break;
case ZEROMV: