• 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
build Loading commit data...
examples Loading commit data...
test Loading commit data...
third_party Loading commit data...
tools Loading commit data...
vp8 Loading commit data...
vp9 Loading commit data...
vpx Loading commit data...
vpx_dsp Loading commit data...
vpx_mem Loading commit data...
vpx_ports Loading commit data...
vpx_scale Loading commit data...
vpx_util Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CHANGELOG Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
args.c Loading commit data...
args.h Loading commit data...
codereview.settings Loading commit data...
configure Loading commit data...
docs.mk Loading commit data...
examples.mk Loading commit data...
ivfdec.c Loading commit data...
ivfdec.h Loading commit data...
ivfenc.c Loading commit data...
ivfenc.h Loading commit data...
keywords.dox Loading commit data...
libs.doxy_template Loading commit data...
libs.mk Loading commit data...
mainpage.dox Loading commit data...
md5_utils.c Loading commit data...
md5_utils.h Loading commit data...
rate_hist.c Loading commit data...
rate_hist.h Loading commit data...
solution.mk Loading commit data...
tools.mk Loading commit data...
tools_common.c Loading commit data...
tools_common.h Loading commit data...
usage.dox Loading commit data...
usage_cx.dox Loading commit data...
usage_dx.dox Loading commit data...
video_common.h Loading commit data...
video_reader.c Loading commit data...
video_reader.h Loading commit data...
video_writer.c Loading commit data...
video_writer.h Loading commit data...
vpxdec.c Loading commit data...
vpxenc.c Loading commit data...
vpxenc.h Loading commit data...
vpxstats.c Loading commit data...
vpxstats.h Loading commit data...
warnings.c Loading commit data...
warnings.h Loading commit data...
webmdec.cc Loading commit data...
webmdec.h Loading commit data...
webmenc.cc Loading commit data...
webmenc.h Loading commit data...
y4menc.c Loading commit data...
y4menc.h Loading commit data...
y4minput.c Loading commit data...
y4minput.h Loading commit data...