fix for issue 732, planar sba in OSBA mode
Basic Info
- Related issues: #732 (closed)
- Requested reviewers: @weckbecker
Reason why this change is needed
- OSBA encoder crashes for planar SBA due to a mismatch between
st_ivas->hEncoderConfig->nchan_inp
andn = 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