]> granicus.if.org Git - libvpx/commit
Speed up non-rd mode decision search
authorJingning Han <jingning@google.com>
Wed, 18 Mar 2015 01:40:40 +0000 (18:40 -0700)
committerJingning Han <jingning@google.com>
Wed, 18 Mar 2015 19:04:58 +0000 (12:04 -0700)
commit83cbe226231b1affa2826cd6b88aef51578d47b8
tree46fffdb40322975a2ca1027ae1c5a7a3cdadba86
parentee41141466c0261678b6e92dc361534d1c5a209b
Speed up non-rd mode decision search

This commit makes the encoder to explicitly calculate the SAD
associated with the LAST_FRAME motion vector and compare it to
that of the GOLDEN_FRAME given by integral projection motion
estimation. It skips the expensive sub-pixel motion search over
GOLDEN_FRAME when the LAST_FRAME can provide fairly good motion
compensated prediction quality.

For dark720p speed -6 single thread goes from
33304 b/f, 40.070 dB, 18156 ms ->
33319 b/f, 40.061 dB, 17611 ms

Change-Id: I01bc94b9b598075567a392111046b97a9bc30efe
vp9/encoder/vp9_pickmode.c