]> granicus.if.org Git - libvpx/commit
vp9-rtc: Fix to Q clamp in adjust_q_cbr
authorMarco Paniconi <marpan@google.com>
Mon, 25 Feb 2019 03:02:14 +0000 (19:02 -0800)
committerMarco Paniconi <marpan@google.com>
Mon, 25 Feb 2019 03:09:38 +0000 (19:09 -0800)
commit892c855313fa068067299001a3d0c9bbe2b68c4f
treec9c534bd9332582664c07b7a99c50d8ef618eae5
parent7e1c766158070c5abcce19d35467a65656836367
vp9-rtc: Fix to Q clamp in adjust_q_cbr

For CBR mode: clamp the Q to worst/best quality in
adjust_q_cbr().

Under certain conditions, when the worst/best quality is
suddenly changed by a large amount mid-stream, the Q
adjustment from the final Q from adjust_q_cbr may not respect
the worst/best qualiy limits.

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