ref: 513f8e681415eb8fc96fdf862ffa17a26b1a5bb2
parent: 6adbe09058f05a42ff1360ab55e3916f45e39a0c
author: Paul Wilkins <paulwilkins@google.com>
date: Wed Nov 10 05:09:45 EST 2010
Relax rate control for last few frames VBR rate control can become very noisy for the last few frames. If there are a few bits to spare or a small overshoot then the target rate and hence quantizer may start to fluctuate wildly. This patch prevents further adjustment of the active Q limits for the last few frames. Patch also removes some redundant variables and makes one small bug fix. Change-Id: Ic167831bec79acc9f0d7e4698bcc4bb188840c45