vp9: Be more responsive to massive overshoot.
authorAlex Converse <aconverse@google.com>
Mon, 25 Jan 2016 20:03:50 +0000 (12:03 -0800)
committerAlex Converse <aconverse@google.com>
Mon, 25 Jan 2016 20:03:50 +0000 (12:03 -0800)
commit4b2b90fed3e905b852ed7c3cffec5a85ba1687e6
tree6d02c52ed9d892be0e32f655aa1774a68de854fd
parent9e612763f0eeab6c231afe6a2821ebed529715c9
vp9: Be more responsive to massive overshoot.

Limit oscilation detection in the case where overshoot is very very
large.

This keeps the 9-bit cost patch from breaking the DownUp reisze test.
The patch pushed us to an 11% undershoot right before a scene cut
causing a 1200% overshoot. (Whereas before we were undershooting by
only 6% before overshooting by 1200%).

Change-Id: Id90ccfab8aba872ccadc45b73b3bb097b895677f
vp9/encoder/vp9_ratectrl.c