Skip to content

Encoder crash for Stereo at 32 kbps in PostShortTerm_ivas_enc_fx()

Basic info

  • Float reference:
    • Encoder (float):
    • Decoder (float):
  • Fixed point:
    • Encoder (fixed): 33cc0215
    • Decoder (fixed):

Bug description

The fixed point encoder crashes with an assert:

Assertion failed: (0), function saturate, file basop32.c, line 505.

grafik grafik grafik

Ways to reproduce

Box folder: ...\Box_EXTERNAL_IVAS_BASOP_VERIFICATION\issues\issue-1199

./IVAS_cod_fx -dtx -stereo -max_band SWB 32000 32 stereo-noisy_speech-p800-1-cat3-lab_a-20ms_aligned_files_concatenated_32.wav bit

# also occurs for the inputs below (uploaded):
./IVAS_cod_fx -dtx -stereo -max_band SWB 32000 32 stereo-noisy_speech-p800-1-cat6-lab_a-20ms_aligned_files_concatenated_32.wav bit
./IVAS_cod_fx -stereo -max_band SWB 32000 32 stereo-noisy_speech-p800-1-cat6-lab_a-20ms_aligned_files_concatenated_32.wav bit # w/o DTX

./IVAS_cod_fx -dtx -stereo -max_band SWB 32000 32 stereo-noisy_speech-p800-1-cat6-lab_d-20ms_aligned_files_concatenated_32.wav bit

./IVAS_cod_fx -dtx -stereo -max_band SWB 32000 32 stereo-noisy_speech-p800-2-cat1-lab_d-20ms_aligned_files_concatenated_32.wav bit

./IVAS_cod_fx -dtx -stereo -max_band SWB 32000 32 stereo-noisy_speech-p800-2-cat1-lab_d-20ms_aligned_files_concatenated_32.-10dB.wav bit
Edited by Archit Tamarapu