Improve MV prediction accuracy to achieve performance gain
authorYunqing Wang <yunqingwang@google.com>
Fri, 3 Dec 2010 16:26:21 +0000 (11:26 -0500)
committerYunqing Wang <yunqingwang@google.com>
Fri, 3 Dec 2010 20:23:35 +0000 (15:23 -0500)
commitc3bbb29164239a48d948a7de2d6d8a1d161a5a0e
tree56efa6c5177c3454be41cd6de1fcf852833aa5d3
parenta5397dbaf13c87516bbf404dea35fe49bfe805e3
Improve MV prediction accuracy to achieve performance gain

Add vp8_mv_pred() to better predict starting MV for NEWMV
mode in vp8_rd_pick_inter_mode(). Set different search
ranges according to MV prediction accuracy, which improves
encoder performance without hurting the quality. Also,
as Yaowu suggested, using diamond search result as full
search starting point and therefore adjusting(reducing)
full search range helps the performance.

Change-Id: Ie4a3c8df87e697c1f4f6e2ddb693766bba1b77b6
vp8/encoder/firstpass.c
vp8/encoder/mcomp.c
vp8/encoder/mcomp.h
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c
vp8/encoder/temporal_filter.c