Wrong initialization value in BASOP encoder (stereo_dmx)
Basic info
- Encoder (BASOP)
Bug description
Ways to reproduce
(Clear steps or refer to a failing automated test, e.g. with a pipeline link)
20241130_Ittiam_fixed_point_encoder_release
lib_enc/IVAS_stereo_dmx_evs.c Line 3496
hStereoDmxEVS->hPOC->peak_width_fx[n] = hStereoDmxEVS->hPOC->shift_limit; // Q1
should be
hStereoDmxEVS->hPOC->peak_width_fx[n] = L_shl(hStereoDmxEVS->hPOC->shift_limit,15); // Q16
since peak_width_fx[n]
is used as Q16 in the main loop.