Resolve "Critical mismatch In function ivas_spar_unquant_dtx_indicies()"

Reason why this change is needed

Static analysis shows that in function ivas_spar_unquant_dtx_indicies() there is significant problem concerning length of a loop.

In floating point we have:

    for ( i = 0; i < FOA_CHANNELS - ndm_per_band[bw * b]; i++ )

But in fixed point instead of [bw * b] we have [bw - b] !

    FOR( i = 0; i < ( FOA_CHANNELS - ndm_per_band[( bw - b )] ); i++ )

Description of the change

  • Correction applied

Affected operating points

Closes #2639 (closed)

Merge request reports

Loading