]> granicus.if.org Git - libvpx/commit
vp9: Add flatness metric to cyclic refresh setup.
authorMarco Paniconi <marpan@google.com>
Mon, 30 Jul 2018 16:25:14 +0000 (09:25 -0700)
committerMarco Paniconi <marpan@google.com>
Thu, 16 Aug 2018 03:53:54 +0000 (20:53 -0700)
commit2b2a757199a9ea84528102778bcdccc54fa6ee54
tree4390cb4b2369022982fd86140e37f2065d7799a5
parent47808645a8572dc799795aab45a6be7ee78a84fc
vp9: Add flatness metric to cyclic refresh setup.

For screen-content with aq-mode = 3: identify spatial
flat superblocks in the setup stage and don't mark them as
candidates for refresh. Spatially flat blocks are already
removed from refresh at a later stage in the encoding (in pick_mode),
but doing this at the setup stage of cyclic refresh (before encoding)
allows refresh to more quickly hit the text areas. Only drawback is
an extra source variance calculation for a set of superblocks on
each frame.

Adjust the refresh rate: lower it to reduce overshoot since
more texture areas are hit faster with this change.

Change-Id: I88fa20e52fdbf1a938ae814f9b48c887f1f909d2
vp9/encoder/vp9_aq_cyclicrefresh.c
vp9/encoder/vp9_aq_cyclicrefresh.h