shithub: libvpx

Download patch

ref: f8639b1554c190333f2a16f3f5d93854d7479df1
parent: 1633786bfb5a3566d55ccdf827dd7999b2c2fab4
author: Marco <marpan@google.com>
date: Tue Jan 9 11:35:29 EST 2018

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