Loading lib_dec/ivas_stereo_icbwe_dec_fx.c +1 −6 Original line number Diff line number Diff line Loading @@ -909,22 +909,17 @@ void stereo_icBWE_dec_fx( #endif FOR( i = 0; i < winLen_fx; i++ ) { #ifdef FIX_1439_SPEEDUP_stereo_icBWE_dec_fx L_tmp = L_mult0( alpha_fx, icbweM2Ref_fx ); /* Q29 */ L_tmp = L_mac0( L_tmp, sub( 32767 /* 1.0 in Q15*/, alpha_fx ), hStereoICBWE->icbweM2Ref_prev_fx ); /* Q29 */ tmp = shl( round_fx( L_tmp ), 1 ); /* Q14 */ synthRef_fx[i] = Mpy_32_16_1( synthRef_fx[i], tmp ); /* Qsyn - 1 */ move32(); #ifdef FIX_1439_SPEEDUP_stereo_icBWE_dec_fx if ( LE_16( alpha_fx, winSlope_fx_ ) ) { alpha_fx = add( alpha_fx, winSlope_fx ); /* Q15 */ } #else L_tmp = L_mult0( alpha_fx, icbweM2Ref_fx ); /* Q29 */ L_tmp = L_mac0( L_tmp, sub( 32767 /* 1.0 in Q15*/, alpha_fx ), hStereoICBWE->icbweM2Ref_prev_fx ); /* Q29 */ tmp = shl( round_fx( L_tmp ), 1 ); /* Q14 */ synthRef_fx[i] = Mpy_32_16_1( synthRef_fx[i], tmp ); /* Qsyn - 1 */ move32(); IF( LE_16( alpha_fx, sub( 32767 /* 1.0 in Q15*/, winSlope_fx ) ) ) { alpha_fx = add( alpha_fx, winSlope_fx ); /* Q15 */ Loading Loading
lib_dec/ivas_stereo_icbwe_dec_fx.c +1 −6 Original line number Diff line number Diff line Loading @@ -909,22 +909,17 @@ void stereo_icBWE_dec_fx( #endif FOR( i = 0; i < winLen_fx; i++ ) { #ifdef FIX_1439_SPEEDUP_stereo_icBWE_dec_fx L_tmp = L_mult0( alpha_fx, icbweM2Ref_fx ); /* Q29 */ L_tmp = L_mac0( L_tmp, sub( 32767 /* 1.0 in Q15*/, alpha_fx ), hStereoICBWE->icbweM2Ref_prev_fx ); /* Q29 */ tmp = shl( round_fx( L_tmp ), 1 ); /* Q14 */ synthRef_fx[i] = Mpy_32_16_1( synthRef_fx[i], tmp ); /* Qsyn - 1 */ move32(); #ifdef FIX_1439_SPEEDUP_stereo_icBWE_dec_fx if ( LE_16( alpha_fx, winSlope_fx_ ) ) { alpha_fx = add( alpha_fx, winSlope_fx ); /* Q15 */ } #else L_tmp = L_mult0( alpha_fx, icbweM2Ref_fx ); /* Q29 */ L_tmp = L_mac0( L_tmp, sub( 32767 /* 1.0 in Q15*/, alpha_fx ), hStereoICBWE->icbweM2Ref_prev_fx ); /* Q29 */ tmp = shl( round_fx( L_tmp ), 1 ); /* Q14 */ synthRef_fx[i] = Mpy_32_16_1( synthRef_fx[i], tmp ); /* Qsyn - 1 */ move32(); IF( LE_16( alpha_fx, sub( 32767 /* 1.0 in Q15*/, winSlope_fx ) ) ) { alpha_fx = add( alpha_fx, winSlope_fx ); /* Q15 */ Loading