Limit cyclic refresh on steady background blocks.
authorMarco <marpan@chromium.org>
Tue, 23 Jun 2015 15:34:06 +0000 (08:34 -0700)
committerMarco <marpan@chromium.org>
Fri, 25 Sep 2015 17:40:35 +0000 (10:40 -0700)
commit3f7656cc23dfce0d6a9849a0460626258579f647
treeba1287cd2de0355eee6178947985a4ee5071c60e
parent7e54f0fe4b821f51b77b48acce577dcfd7a91fae
Limit cyclic refresh on steady background blocks.

Use the existing QP condition on limiting cyclic refresh, and add
addiitonal condition that block has been encoded with zero/small motion
x frames in row (where x is at least several times the refresh period).
Additional condition only affect non-screen content mode.

This helps to improve visual stability for noisy input, where on steady
background areas the application of delta_qp may lead to encoding the noise.

Also added a change to use the true skip (after encoding) to update the
last QP.

Change-Id: I234a1128d017d284cf767fdb58ef6c59d809f679
vp9/encoder/vp9_aq_cyclicrefresh.c
vp9/encoder/vp9_aq_cyclicrefresh.h
vp9/encoder/vp9_encodeframe.c