]> granicus.if.org Git - libvpx/commit
vp9-svc: Frame dropper for SVC.
authorMarco Paniconi <marpan@google.com>
Wed, 14 Mar 2018 17:03:31 +0000 (10:03 -0700)
committerMarco Paniconi <marpan@google.com>
Fri, 16 Mar 2018 04:04:59 +0000 (21:04 -0700)
commit2640f25072884abb363a011268e411e46e652da5
tree17a12400bce603b5b5365ecd7bcf4858fe01ad75
parentd07a5bfbf868eec93f01dfc7cb106e44fe512db9
vp9-svc: Frame dropper for SVC.

If a given spatial layer decides to drop, due to the
buffer/overshoot conditions for that layer, then drop
that current spatial layer and all spatial layers above.

In the current implementation the svc frame counter
(and hence the pattern for the non-flexible SVC case)
are updated on frame drops.

Also add last spatial layer encoded to the pkt.
This is useful for RTC applications that enable
frame dropping for SVC.

Update to the SVC datarate tests:
enabled frame dropper on all SVC datarate tests, and
made a fix to properly set the temporal_layer_id, which
works now even on frame drops.

Change-Id: If828c193f3cb6b1839803fd52fe9fbbda5b5a039
test/datarate_test.cc
test/encode_test_driver.cc
test/encode_test_driver.h
vp8/vp8_cx_iface.c
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
vpx/vpx_encoder.h