Improve motion search in real-time mode
authorYunqing Wang <yunqingwang@google.com>
Tue, 8 Feb 2011 00:16:15 +0000 (19:16 -0500)
committerYunqing Wang <yunqingwang@google.com>
Thu, 10 Feb 2011 18:40:24 +0000 (13:40 -0500)
commit41e6eceb28b6b5bda8c4d8b0abbf182b8f30609c
treea821f64322470d513b21b2d9f5032ff34eb1fa34
parenteaadfb58695f1b5928be47e87bb00d7a6096a3ab
Improve motion search in real-time mode

Applied better MV prediction in real-time mode, which improves
the encoding quality.

Used quarter-pixel search instead of iterative sub-pixel search
for speed >=5 to improve encoding performance.

Tests on the test set showed:
1. For speed=-5, quality improvement: 1.7% on AvgPSNR and 2.1%
on SSIM, performance improvement: 3.6% (This counts in the
performance lose caused by MV prediction calculation in "Improve
MV prediction in vp8_pick_inter_mode() for speed>3").
2. For speed=-8, quality improvement: 2.1% on AvgPSNR and 2.5%
on SSIM. but, 6.9% performance decrease because of MV prediction
calculation. This should be improved later.

Change-Id: I349a96c452bd691081d8c8e3e54419e7f477bebd
vp8/encoder/mcomp.c
vp8/encoder/mcomp.h
vp8/encoder/onyx_if.c
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c
vp8/encoder/temporal_filter.c