Commit 5eed6e22 authored by Dmitry Kovalev's avatar Dmitry Kovalev Committed by Gerrit Code Review
Browse files

Merge "Removing redundant calls to clamp_mv2."

parents 66ccf5dd cd2cc27a
......@@ -551,22 +551,14 @@ static void read_inter_block_mode_info(VP9D_COMP *pbi, MODE_INFO *mi,
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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment