]> granicus.if.org Git - libvpx/commit
Add first_spatial_layer_to_encode to SVC.
authorMarco <marpan@chromium.org>
Thu, 1 Oct 2015 22:46:06 +0000 (15:46 -0700)
committerMarco <marpan@chromium.org>
Tue, 6 Oct 2015 15:56:15 +0000 (08:56 -0700)
commit7266bedc041b4bbc3e823226f14d70e97892d959
tree4f920c345dae309f173717f8f9c9f0e6730d279b
parentb2120948391f8beb7ff74bd46b83da1ff2020f49
Add first_spatial_layer_to_encode to SVC.

Use the existing VP9_SET_SVC control to set the
first spatial layer to encode.

Since we loop over all spatial layers inside the encoder, the
setting of spatial_layer_id via VP9_SET_SVC has no relevance.
Use it instead to set the first_spatial_layer_to_encode,
which allows an application to skip encoding lower layer(s).

Change only affects the 1 pass CBR SVC.

Change-Id: I5d63ab713c3e250fdf42c637f38d5ec8f60cd1fb
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_svc_layercontext.c
vp9/encoder/vp9_svc_layercontext.h
vp9/vp9_cx_iface.c