]> granicus.if.org Git - libvpx/commit
Fixes to buffer update for temporal layers.
authorMarco Paniconi <marpan@google.com>
Fri, 1 Nov 2013 18:03:03 +0000 (11:03 -0700)
committerMarco Paniconi <marpan@google.com>
Fri, 1 Nov 2013 18:47:40 +0000 (11:47 -0700)
commit41138e01f5b301952bba3553da20ac6a6cedf8a8
tree01edf7b1902f6113fcacb87d925896913c87afc0
parenta272530bf0962d4cbf54fdb8abd1051f8fbb5917
Fixes to buffer update for temporal layers.

When a frame is dropped due to |buffer_level| < 0 for a given temporal layer,
the buffer level for the upper temporal layers was not updated (in calc_pframe_target_size()).
This change fixes that.

Also, use the layer per-frame-bandwidth for updating the buffer level
of the higher layers when a frame is dropped.

Change-Id: I660c23f3229b47e9d124a950b480314b4307c5a8
vp8/encoder/onyx_if.c
vp8/encoder/ratectrl.c