added clamp for 2nd motion vector
authorYaowu Xu <yaowu@google.com>
Tue, 13 Mar 2012 17:26:53 +0000 (10:26 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 15 Mar 2012 01:53:26 +0000 (18:53 -0700)
commit21d3612a2f2e09d8cc76e696a181865744479dcd
tree44ce532021e67c647a7acccb0c8e84175bb4e8cf
parentf798f9e46542c570253bcd7323a3a4d6822187a9
added clamp for 2nd motion vector

The commit added a clamp to the 2nd motion vector used in compound
prediction to insure mv within UMV borders. The clamp is similar to
that of the first motion vector except that No SPLITMV is ever used
for the 2nd motion vector.

Change-Id: I26dd63c304bd66b2e03a083749cc98c641667116
vp8/common/blockd.h
vp8/common/reconinter.c
vp8/decoder/decodemv.c