• Marco's avatar
    vp9-svc: Fix to the layer buffer settings. · cbe62b9c
    Marco authored
    For the case when the number of temporal layers > 1,
    the buffer levels (starting/optimal_buffer_level,
    and maximum_buffer_size) were not scaled properly.
    
    In vp9_update_layer_context_change_config():
    when setting the layer-buffer levels, fix is to scale
    the layer-target_bandwidth by the target_bandwidth
    (which is the full stream bandwidth) instead of the
    spatial_layer_target.
    
    This is needed because prior to the call
    vp9_update_layer_context_change_config(), set_rc_buffer_sizes()
    is called which sets the buffer levels based on target bandwidth
    (which is the full bandwidth for the SVC stream).
    
    This fix properly sets the layer-buffer levels based on the
    layer-bandwidth, and leads to better rate targeting.
    
    Small/neutral change in avgPSNR/SSIM metrics on RTC set.
    
    Change-Id: Ic0f4f7f3487c37b9a9adb4781ae5edfed7140a57
    cbe62b9c
Name
Last commit
Last update
..
common Loading commit data...
decoder Loading commit data...
encoder Loading commit data...
exports_dec Loading commit data...
exports_enc Loading commit data...
vp9_common.mk Loading commit data...
vp9_cx_iface.c Loading commit data...
vp9_dx_iface.c Loading commit data...
vp9_dx_iface.h Loading commit data...
vp9_iface_common.h Loading commit data...
vp9cx.mk Loading commit data...
vp9dx.mk Loading commit data...