Changed to use reference mv as nearest mv
authorYaowu Xu <yaowu@google.com>
Mon, 6 Aug 2012 17:51:20 +0000 (10:51 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 14 Aug 2012 16:12:15 +0000 (09:12 -0700)
commite52e8b70250b0f897e6947b5c24db365e489ba07
treea9fd79226859255bb74bf0caae44e4953f4981d0
parentb91219e29eb52d429cc5051c7e7ab5aaac8e7d02
Changed to use reference mv as nearest mv

The reference motion vector selected by surrounding pixels that has
the best matching score is used as nearest motion vector.

The change has shown consistent gain on all test sets, compression
gains range from .2% to .6%. The variation is largely dependent on
various other experiments on or off.

Change-Id: I5552e1c2f6fc57c3e8818a5ee41ffda89af05e75
vp8/common/findnearmv.c
vp8/decoder/decodemv.c
vp8/encoder/rdopt.c
vp8/encoder/tokenize.c