Skip to content

fix for issue 732, planar sba in OSBA mode

TYAGIRIS requested to merge 732-osba-crashes-for-planar-sba into main

Basic Info

Reason why this change is needed

  • OSBA encoder crashes for planar SBA due to a mismatch between st_ivas->hEncoderConfig->nchan_inp and n = getNumChanAnalysis( st_ivas ).

E.g.

ivas_cod.exe -ism_sba 1 -1 MD 64000 48 inp bit

Description of the change

  • This MR fixes a crash/error exit issue with planar SBA input in objects + SBA combined format (or OSBA) mode. The fix include setting correct number of input channels at encoder and zeroing out non-planar SBA channels before SBA coding (upon receiving planar SBA flag).

  • This fix has no impact if planar SBA CMD line arg is not given.

Affected operating points

  • Produced bitstream is BE compared to previous state.
  • Audio output is BE compared to previous state.
Edited by Adam Mills

Merge request reports

Loading