Saturation (assert) in LTV stereo decoder
Input audio file can be downloaded here: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-pc-testfiles/-/blob/longer-testv-on-runners/ltv16_STEREO.wav
Reference execs created using
git checkout 20231128_Update_Ittiam
make -j
cp IVAS_cod IVAS_cod_ref; mv IVAS_dec IVAS_dec_ref
Test setup (provided pytest packages are installed):
python3 -m pytest "tests/test_param_file_ltv.py::test_param_file_tests[stereo at 16.4 kbps, 16kHz in, 16kHz out]" --update_ref 1 -m create_ref
python3 -m pytest "tests/test_param_file_ltv.py::test_param_file_tests[stereo at 16.4 kbps, 16kHz in, 16kHz out]"
or directly with the command lines:
./IVAS_cod_ref -stereo 16400 16 scripts/testv/ltv16_STEREO.wav tmp.bs
./IVAS_dec STEREO 16 tmp.bs out.wav
The bitstream is also attached below for quick debugging in the decoder.
There is an assert hit in frame 4112 at this line: https://forge.3gpp.org/rep/sa4/audio/ivas-basop/-/blob/main/lib_dec/dec_tcx_fx.c#L2844