Add motion search skipping in first pass
authorYunqing Wang <yunqingwang@google.com>
Wed, 14 Mar 2012 14:03:39 +0000 (10:03 -0400)
committerYunqing Wang <yunqingwang@google.com>
Fri, 16 Mar 2012 19:59:00 +0000 (15:59 -0400)
commit6a819ce4fe9e4cc6bd9eed1d19ee90602651ddf5
tree11e6d75654911f8fbd339e6bb2ab2e27fc58843e
parent6b7cf3077d6f9a166e0f82c1e91fd64a646d11b0
Add motion search skipping in first pass

This change added a motion search skipping mechanism similar
to what we did in second pass. For a macroblock that is very
similar to the macroblock at same location on last frame,
we can set its mv to be zero, and skip motion search. This
improves first-pass performance for slide shows and video
conferencing clips with a slight PSNR loss.

Change-Id: Ic73f9ef5604270ddd6d433170091d20361dfe229
vp8/encoder/firstpass.c
vp8/encoder/lookahead.c
vp8/encoder/lookahead.h
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/temporal_filter.c