Skip to content

Resolve comment in stereo_dft_enc_compute_itd_fx()

Bug description

In the function stereo_dft_enc_compute_itd_fx(), file lib_enc/ivas_stereo_dft_enc_itd_fx.c, line 1995ff there is the following comment which is imho resolved:

    /*calculate total cohSNR for frame in dB*/
    // THIS PART NEEDS TO BE RECHECKED AGAINST NEW FLOAT CODE
    IF( BASOP_Util_Cmp_Mant32Exp( mEr, mEr_e, MAX_32, 0 ) > 0 )
    {
        cohSNR = Mpy_32_32( 83886080, BASOP_Util_Log10( mEr, mEr_e ) ); // Q16 (cohSNR = 20 * log10f( mEr );)
    }
    ELSE
    {
        cohSNR = 0;
        move32();
    }

I think the comment

// THIS PART NEEDS TO BE RECHECKED AGAINST NEW FLOAT CODE

refers back to an older code version, which was addresed in MRs

and probably can simply be removed?