vp9: Fix to quality regression issue for 1 pass.
authorMarco <marpan@google.com>
Wed, 11 May 2016 19:18:53 +0000 (12:18 -0700)
committerMarco <marpan@google.com>
Wed, 11 May 2016 21:01:21 +0000 (14:01 -0700)
commit0c60db7def133eb93e9479480f7a019fc6386de0
tree0b5d80475c64305f4712065f0445abfa16c3108c
parentccf4f47b994d4e6ea8e7a3a8f1279d6f03b5b570
vp9: Fix to quality regression issue for 1 pass.

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1217

Issue introduced in https://chromium-review.googlesource.com/#/c/339162/.
The factor on avg_frame_qindex[INTER_FRAME] in that CL, used for q-basis to
set active_best, can cause the QP to decrease too slowly or get stuck
in some cases when max-q=63.

Removing that factor fixes the regression in issue#1217.

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