Commit 3014b343 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

check EVS BEness

parent 0ee08479
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2159,7 +2159,7 @@ void minimum_statistics_fx(

                /* Compute bias correction Bmin */
                tmp0 = Mpy_32_16_1( scalar, QeqInv );
#if defined( FIX_2485_HARMONIZE_minimum_statistics ) && defined( FIX_2485_HARMONIZE_minimum_statistics_EVSmode )
#if defined( FIX_2485_HARMONIZE_minimum_statistics ) && defined( FIX_2485_HARMONIZE_minimum_statistics_EVSmode_ )
                tmp1 = L_sub( 1073741824l, L_mult( msM_win, QeqInv ) );
#else
                tmp1 = L_msu( 1073741824l /*0.5 Q31*/, msM_win, QeqInv );
@@ -2169,7 +2169,7 @@ void minimum_statistics_fx(
                move32();

                tmp0 = Mpy_32_16_1( scalar2, QeqInv );
#if defined( FIX_2485_HARMONIZE_minimum_statistics ) && defined( FIX_2485_HARMONIZE_minimum_statistics_EVSmode )
#if defined( FIX_2485_HARMONIZE_minimum_statistics ) && defined( FIX_2485_HARMONIZE_minimum_statistics_EVSmode_ )
                tmp1 = L_sub( 1073741824l /*0.5 Q31*/, L_mult( msM_subwin, QeqInv ) );
#else
                tmp1 = L_msu( 1073741824l /*0.5 Q31*/, msM_subwin, QeqInv );
+1 −2
Original line number Diff line number Diff line
@@ -2590,9 +2590,8 @@ void perform_noise_estimation_enc_fx(
            ptr_per_fx++;
            i++;
        }
        /* exponent for cldfb part of msPeriodog */
        // hFdCngEnc->hFdCngCom->exp_cldfb_periodog = add( sub( enerBuffer_exp, 4 ), CLDFBscalingFactor_EXP );

        /* exponent for cldfb part of msPeriodog */
        FOR( i = 0; i < numBands; i++ )
        {
            periodog[i] = L_shr( periodog[i], sub( max_exp, periodog_exp[i] ) );