vpx/vp9/encoder
paulwilkins e15be3025b Fix for encoder slowdown (for speeds >= 3)
Some clips in nightly unit test exhibiting significant encoder slowdown which
appears to bisect to Change-Id: I692311a709ccdb6003e705103de9d05b59bf840a.

The above change allowed for emergency iterations of the recode loop and
adjustment of the Q range if there is a large rate miss.

This patch disables the above adaptation for cases of cpu_speed >= 3 or more
specifically where cpi->sf.recode_loop >= ALLOW_RECODE_KFARFGF.

For speeds >= 3 the code does not currently run a dummy bit pack operation
inside the recode loop. Without this dummy pack operation there is no up to
date estimate of the current frame's size to use as a basis for assessing the
requirement for a recode. In practice it was using the previous frames size (or 0
for the first frame) which could cause odd behavior.

If we require the emergency rate correction added in  Change-Id: I6923.. for
the higher speed settings it will be necessary to enable the dummy pack
which will in turn hurt encode speed.

BUG=webm:1454

Change-Id: I4fb3c6062ca9508325a6f31582f8e80f1a9b126f
2017-08-16 10:56:52 +01:00
..
2017-06-21 19:00:15 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2017-02-16 13:20:32 -08:00
2016-08-02 16:47:11 -07:00
2017-07-10 11:20:35 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2017-05-18 12:56:02 +01:00
2016-08-02 16:47:11 -07:00
2017-07-10 11:20:35 -07:00
2017-04-06 00:50:56 +00:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2016-08-02 16:47:11 -07:00
2017-03-17 16:53:09 -07:00
2015-07-20 18:13:04 -07:00