]> granicus.if.org Git - libvpx/commit
vp9-svc: Fix to resetting RC for temporal layers
authorMarco Paniconi <marpan@google.com>
Wed, 19 Aug 2020 00:56:51 +0000 (17:56 -0700)
committerMarco Paniconi <marpan@google.com>
Wed, 19 Aug 2020 01:01:53 +0000 (18:01 -0700)
commit53747dfe65eaf670a7192f55117f3bf1e0280743
tree26048667064a2fd304f1122f16ceaee5f2b79a32
parent529c29bb0f6511a9b3e25177cece0d843827458b
vp9-svc: Fix to resetting RC for temporal layers

Fix to reset RC for temporal layers: the
first_spatial_layer_to_encode is usually/default 0,
so the logic to reset for temporal layers was not
being executed. Use VPXMAX(1, ) to make sure  all
temporal layers will be reset (when max-q is used
for overshoot).

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