]> granicus.if.org Git - libvpx/commit
vp9-svc: Adjust some logic on gf temporal reference.
authorMarco Paniconi <marpan@google.com>
Thu, 7 Jun 2018 22:07:57 +0000 (15:07 -0700)
committerMarco Paniconi <marpan@google.com>
Fri, 8 Jun 2018 03:43:39 +0000 (20:43 -0700)
commit2626b1545e4b5493729850d14185b0ec00a21383
treea0db597655dd29371d3802cf8db17b5610764ff4
parente32f0bf2399bfba4cda1f04f56bc2b05a2d34354
vp9-svc: Adjust some logic on gf temporal reference.

For the feature of using second temporal reference (when
inter-layer is off): move the buffer_idx assignement and
refresh flag settings further down to vp9_rc_get_svc_params(),
since is_key_frame is set there for every frame/layer.
Otherwise it was using the setting from the previous frame/layer.

This makes the refresh more consistent for both layers for
2 spatial layers case.

Small/negligible change in metrics.

Change-Id: I88279243bc27898448e8891dba38143d936cf6d5
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_svc_layercontext.c