]> granicus.if.org Git - libvpx/commit
vp9-svc: Fix to first superframe when inter_layer is off.
authorMarco Paniconi <marpan@google.com>
Wed, 4 Apr 2018 23:24:39 +0000 (16:24 -0700)
committerMarco Paniconi <marpan@google.com>
Fri, 6 Apr 2018 04:25:55 +0000 (21:25 -0700)
commit5cc8df5bcfe49fbfca21ee57401c7807c048751b
treef6aee12e90dc4069a19dbbbef06ea1b9fda4e855
parenta4e453f668a8d98645c034b9aa9f979bfa5af4a9
vp9-svc: Fix to first superframe when inter_layer is off.

When the application selects the setting INTER_LAYER_PRED_OFF
each spatial stream should be decodeable separately.
For this we need to force key frames on all spatial layers
on the first superframe.

In order to maintain the quality at the beginning of the stream
the active_worst for spatial layer of the second superframe is set
to the last_QP of the correspondng spatial layer of the first superframe.
Also make sure nonrd_keyframe is set for non-base spatial layers.

Change only affects SVC mode wit number_spatial_layers > 1 and
svc->disable_inter_layer_pred == INTER_LAYER_PRED_OFF.
And only affects first and second frame of sequence.

Change-Id: I8ee9a0873ab1d3a02515774571f719617771ad41
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_speed_features.c