Skip to content

Bitstream not synchronizing for float encode-float decode case

Test case: [ltv_basop_encoder-OMASA 2TC 4ISM at 32 kbps, 48kHz in, 48kHz out, BINAURAL out]

Visible deviation observed around the frame 1850 in the output waveforms when comparing the float and fixed encoded streams (decoded with float decoder). Upon debugging, it was observed that bitstream is not in sync between encoder and decoder.

For further analysis, float encoder and float decoder was used. The lack of sync is observed in the decod_audio()/encod_audio() functions inside cpe_dec()/cpe_enc() call for frame 1850 image

From the above table it can be noted that the noise_level and the nb_subfr_flag values are out of sync. Also, one function dec_pit_exc() is not entered even though the enc_pit_exc() is called in the encoder side.

Please confirm if lack of sync is acceptable.

Edited by Sandesh Venkatesh