Limit new motion vector size
authorYaowu Xu <yaowu@google.com>
Tue, 25 Aug 2015 02:09:03 +0000 (19:09 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 25 Aug 2015 17:00:34 +0000 (10:00 -0700)
commita1ec3eb3263dfc265961cc6d5c13dd7be788798e
treeeaf62de71d32077e2feeb27135cfbf0d7e965dd8
parentd88ca3c3354aa58e487683cd8736322a4e814d1c
Limit new motion vector size

This commit adds clamp of new vectors similar to the logic in RD loop.
Such clamp is not necessary from the perspective of VP8 bitstream, but
is added to improve ChromeCast mirroring's robustness.

Change-Id: I42f6adbc60ffce283b994869364230858632d6fa
vp8/encoder/pickinter.c