summaryrefslogtreecommitdiff
path: root/vpx_util/vpx_thread.c
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2018-01-09 16:35:29 -0800
committerMarco <marpan@google.com>2018-01-11 10:38:30 -0800
commitf8639b1554c190333f2a16f3f5d93854d7479df1 (patch)
treeab76990db6bbd0179728f1fb6c263b31273734d7 /vpx_util/vpx_thread.c
parent1633786bfb5a3566d55ccdf827dd7999b2c2fab4 (diff)
downloadlibvpx-f8639b1554c190333f2a16f3f5d93854d7479df1.tar
libvpx-f8639b1554c190333f2a16f3f5d93854d7479df1.tar.gz
libvpx-f8639b1554c190333f2a16f3f5d93854d7479df1.tar.bz2
libvpx-f8639b1554c190333f2a16f3f5d93854d7479df1.zip
vp9: Skip encoding of enhancement layers on the fly.
For SVC: if an enhancement layer (spatial_layer > 0) has 0 bandwidth, skip/drop the encoding of the layer. This allows the application to dynamically disable higher layers for SVC. Add flag to signal the skip encoding, this is needed to modify the packing of the superframe when the top layer is skipped/dropped. Also moved some updates (current_video_frame counter and the last_avg_frame_bandwidth) to the postencode_update_drop_frame(). Added datarate unittest for dynamically going from 3 to 2 and then back to 3 spatial layers. Change-Id: Idaccdb4aca25ba1d822ed1b4219f94e2e8640d43
Diffstat (limited to 'vpx_util/vpx_thread.c')
0 files changed, 0 insertions, 0 deletions