• paulwilkins's avatar
    Fix for encoder slowdown (for speeds >= 3) · e15be302
    paulwilkins authored
    Some clips in nightly unit test exhibiting significant encoder slowdown which
    appears to bisect to Change-Id: I692311a709ccdb6003e705103de9d05b59bf840a.
    
    The above change allowed for emergency iterations of the recode loop and
    adjustment of the Q range if there is a large rate miss.
    
    This patch disables the above adaptation for cases of cpu_speed >= 3 or more
    specifically where cpi->sf.recode_loop >= ALLOW_RECODE_KFARFGF.
    
    For speeds >= 3 the code does not currently run a dummy bit pack operation
    inside the recode loop. Without this dummy pack operation there is no up to
    date estimate of the current frame's size to use as a basis for assessing the
    requirement for a recode. In practice it was using the previous frames size (or 0
    for the first frame) which could cause odd behavior.
    
    If we require the emergency rate correction added in  Change-Id: I6923.. for
    the higher speed settings it will be necessary to enable the dummy pack
    which will in turn hurt encode speed.
    
    BUG=webm:1454
    
    Change-Id: I4fb3c6062ca9508325a6f31582f8e80f1a9b126f
    e15be302
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...