• Hui Su's avatar
    Reduce memory allocation in alloc_mode_context() · 8efee2f5
    Hui Su authored
    Before this patch we were passing in the number of pixels as
    number of 4x4 blocks, thus allocating much more memory than
    necessary. With this patch, the heap usage on a CIF test clip
    drops from 130MB to 93MB.
    
    Change-Id: I6078c5ff02a9cf08aa0eb9acd2527ac3b2baf0f7
    8efee2f5
Name
Last commit
Last update
aom Loading commit data...
aom_dsp Loading commit data...
aom_mem Loading commit data...
aom_ports Loading commit data...
aom_scale Loading commit data...
aom_util Loading commit data...
av1 Loading commit data...
build Loading commit data...
examples Loading commit data...
test Loading commit data...
third_party Loading commit data...
tools 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...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
README.md Loading commit data...
aomdec.c Loading commit data...
aomenc.c Loading commit data...
aomenc.h Loading commit data...
aomstats.c Loading commit data...
aomstats.h Loading commit data...
args.c Loading commit data...
args.h Loading commit data...
codereview.settings Loading commit data...
configure Loading commit data...
docs.cmake 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...
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...