Skip to content

Stack size in SBA decoder

The decoder stack consumption analysis revealed that the maximum is achieved in the SBA renderer (it is usually in the core decoder in other formats).

Maximum stack size: 166352 bytes in frame 0 (OSBA, 3OA, 4 ISMs, 512 kbps, 48 kHz, EXT output)

List of functions when maximum stack size is reached:	

IVAS_DEC_GetSamplesRenderer()             52 bytes
ivas_jbm_dec_render()                     248 bytes
ivas_sba_dec_render()                     172 bytes
ivas_spar_dec_upmixer_sf()                85692 bytes
ivas_dirac_dec_render_sf()                68164 bytes
ivas_dirac_dec_decorr_process()           11896 bytes
v_add_inc()                               128 bytes

At the first look, it seems that it could be relatively easy to lower it.

Edited by vaclav