Precision issue with power spectrum causes different behavior with silent channels in MCT
# Basic info <!--- Add commit SHA used to reproduce --> - Float reference: - Encoder (float):53594392095aa5d3b5ad748c4a092634216338e2 - Decoder (float):53594392095aa5d3b5ad748c4a092634216338e2 - Fixed point: - Encoder (fixed):a584f6eecb931cc40e6eb172950fad710685d965 # Bug description For a particular selection item with -10dB loudness where for a large segment, from 0-3.400 sec, channels 0,1,3 are almost zero and therefore silent. In float that activates `st->mct_chan_mode = MCT_CHAN_MODE_IGNORE` for these channels and therefore no bits are assigned to them. In BASOP version however, that is not the case for the large majority of the frames. Checking the values of `chE_tot` in function 'ivas_mdct_core_whitening_enc_fx()' that is used for the decision for these frames, it is clear that the value for the two versions is largely deviating: ![chE_tot_ch0](/uploads/5f16e32a4019df6e6f4f722bfa1e8a2f/chE_tot_ch0.png) ![chE_tot_ch1](/uploads/61a0f9bd0a954d759cca279508fb4c42/chE_tot_ch1.png) ![chE_tot_ch2](/uploads/c222c417d244d173954f373ec79bc56b/chE_tot_ch2.png) This goes back to the precision differences between `powerSpec` and `powerSpec_fx` . As en example for frame 65: ![PP_ch0](/uploads/d31e7de1ba8b9623352564e8d0d35833/PP_ch0.png) ![PP_ch1](/uploads/7a58e4d2f0320eedcfe5a586490e1e9d/PP_ch1.png) ![PP_ch4](/uploads/08fcda7c5d50901c1bef6d809c875c89/PP_ch4.png) This does not have an audible impact for the particular case because it is 512kbps, but it could cause audible differences for cases with lower bitrate. Additionally, in my opinion the deviation on the power spectrum is worrisome and could be a cause of other issues like #1445 . Therefore, I would classify this issue as critical. # Ways to reproduce Box folder: ...\Box_EXTERNAL_IVAS_BASOP_VERIFICATION\issues\issue-1472 <!-- Commandline or script --> ```bash ./IVAS_cod -mc 5_1 -max_band WB 512000 16 am2aa1s02_16.-10dB.wav bit ./IVAS_dec 5_1 16 bit am2aa1s02_16.-10dB.dec.wav ``` <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Add further information to the first row and remove and add labels as necessary. -->
issue