Skip to content

Memory reduction for audio channels in JBM decoder

vaclav requested to merge 1330-jbm-audio-channels-memory-reduction into main

Reason why this change is needed

  • There is a potential for memory savings in the JBM decoder, consisting of sharing audio buffers hTcBuffer->tc_buffer[] and st_ivas->p_output_f[][].

Description of the change

  • Sharing of audio buffers hTcBuffer->tc_buffer[] and st_ivas->p_output_f[][] is done.

Affected operating points

  • All is BE.
  • Heap RAM is reduced for JBM decoding in all formats. The reduction is proportional to the decoder's number of audio channels and it is at the amount of 2% - 5%. E.g.:

all JBM decoding, 48 kHz in/out

decoder heap [kBytes]

main

fix

diff

EVS, 32 kbps, MONO out 229.2 225.3 3.8
stereo, 32 kbps, STEREO out 312.1 304.4 7.7
ISM, 64 kbps, 4 ISM,  BINAURAL out 817.6 802.2 15.4
SBA, 512 kbps, HOA3, BINAURAL out 1,055.4 1,013.2 42.2
OSBA 512 kbps, 3OA, 4 ISMs, BINAURAL out 1,734.8 1,677.2 57.6
Edited by vaclav

Merge request reports

Loading