| commit | ffa06b37083d028b50f27e67ae6ed0c6ee9953bb | [log] [tgz] |
|---|---|---|
| author | Yaowu Xu <yaowu@google.com> | Tue Nov 18 08:52:21 2014 -0800 |
| committer | Yaowu Xu <yaowu@google.com> | Tue Nov 18 09:05:57 2014 -0800 |
| tree | 126502ce22e939244450349e98c51840efac5ec4 | |
| parent | 1687c47bfdff2a4a6d2a07fb143be3f9b21824ff [diff] |
Prevent severe rate control errors in CBR mode In rare cases, the interaction between rate correction factor and Q choices may cause severe oscillating frame sizes that are way off target bandwidth. This commit adds tracking of rate control results for last two frames, and use the information to prevent oscillating Q choices. Change-Id: I9a6d125a15652b9bcac0e1fec6d7a1aedc4ed97e