Commit 32fc4070 authored by Thomas Daede's avatar Thomas Daede

Increase amount of memory allocated by Emscripten.

The decoder's memory usage has increased to where it requires at least
300MB for 1080p 4:4:4.

Change-Id: I654119b1bb569162064f8a52edce60ee63236f11
parent ae9ec67d
......@@ -348,7 +348,7 @@ if (CONFIG_AV1_DECODER AND ENABLE_EXAMPLES)
if (EMSCRIPTEN)
add_preproc_definition(_POSIX_SOURCE)
append_link_flag_to_target("inspect" "-s TOTAL_MEMORY=134217728")
append_link_flag_to_target("inspect" "-s TOTAL_MEMORY=402653184")
append_link_flag_to_target("inspect" "-s MODULARIZE=1")
append_link_flag_to_target("inspect"
"-s EXPORT_NAME=\"\'DecoderModule\'\"")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment