Loading lib_dec/fd_cng_dec_fx.c +3 −4 Original line number Diff line number Diff line Loading @@ -4648,9 +4648,9 @@ void generate_masking_noise_ivas_fx( ELSE { #ifdef FIX_REMOVE_SYNTH2_FX Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, olapBufferSynth2_32, FFTLEN, Q6 ); Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, olapBufferSynth2_32, FFTLEN, Q7 ); SynthesisSTFT_fx( fftBuffer_fx, maskingNoise_fx, olapBufferSynth2_32, hFdCngCom->olapWinSyn_fx, 0, hFdCngCom, element_mode, nchan_out ); Copy_Scale_sig_32_16( olapBufferSynth2_32, hFdCngCom->olapBufferSynth2, FFTLEN, -Q6 ); Copy_Scale_sig_32_16( olapBufferSynth2_32, hFdCngCom->olapBufferSynth2, FFTLEN, -Q7 ); #else SynthesisSTFT_fx( fftBuffer_fx, maskingNoise_fx, hFdCngCom->olapBufferSynth2_fx, hFdCngCom->olapWinSyn_fx, 0, hFdCngCom, element_mode, nchan_out ); #endif Loading Loading @@ -4703,8 +4703,7 @@ void generate_stereo_masking_noise_fx( Copy_Scale_sig_16_32_no_sat( hStereoCng->olapBufferSynth22_fx, Ns_fx, shr( hFdCngCom->frameSize, 1 ), sub( Q6, st->Q_syn ) ); /*Q6*/ #ifdef FIX_REMOVE_SYNTH2_FX assert( 0 ); Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, Np_fx, shr( hFdCngCom->frameSize, 1 ), Q16 ); Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, Np_fx, shr( hFdCngCom->frameSize, 1 ), 0 ); /*st->Q_syn*/ #else Copy32( hFdCngCom->olapBufferSynth2_fx, Np_fx, shr( hFdCngCom->frameSize, 1 ) ); /*st->Q_syn*/ #endif Loading Loading
lib_dec/fd_cng_dec_fx.c +3 −4 Original line number Diff line number Diff line Loading @@ -4648,9 +4648,9 @@ void generate_masking_noise_ivas_fx( ELSE { #ifdef FIX_REMOVE_SYNTH2_FX Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, olapBufferSynth2_32, FFTLEN, Q6 ); Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, olapBufferSynth2_32, FFTLEN, Q7 ); SynthesisSTFT_fx( fftBuffer_fx, maskingNoise_fx, olapBufferSynth2_32, hFdCngCom->olapWinSyn_fx, 0, hFdCngCom, element_mode, nchan_out ); Copy_Scale_sig_32_16( olapBufferSynth2_32, hFdCngCom->olapBufferSynth2, FFTLEN, -Q6 ); Copy_Scale_sig_32_16( olapBufferSynth2_32, hFdCngCom->olapBufferSynth2, FFTLEN, -Q7 ); #else SynthesisSTFT_fx( fftBuffer_fx, maskingNoise_fx, hFdCngCom->olapBufferSynth2_fx, hFdCngCom->olapWinSyn_fx, 0, hFdCngCom, element_mode, nchan_out ); #endif Loading Loading @@ -4703,8 +4703,7 @@ void generate_stereo_masking_noise_fx( Copy_Scale_sig_16_32_no_sat( hStereoCng->olapBufferSynth22_fx, Ns_fx, shr( hFdCngCom->frameSize, 1 ), sub( Q6, st->Q_syn ) ); /*Q6*/ #ifdef FIX_REMOVE_SYNTH2_FX assert( 0 ); Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, Np_fx, shr( hFdCngCom->frameSize, 1 ), Q16 ); Copy_Scale_sig_16_32_no_sat( hFdCngCom->olapBufferSynth2, Np_fx, shr( hFdCngCom->frameSize, 1 ), 0 ); /*st->Q_syn*/ #else Copy32( hFdCngCom->olapBufferSynth2_fx, Np_fx, shr( hFdCngCom->frameSize, 1 ) ); /*st->Q_syn*/ #endif Loading