Loading lib_enc/swb_pre_proc_fx.c +6 −1 Original line number Diff line number Diff line Loading @@ -493,9 +493,14 @@ void wb_pre_proc_ivas_fx( #ifdef NONBE_FIX_ISSUE_2206 /* rescale the hb_speech and memories back to new_inp_resamp16k_q to keep the downstream BWE coding unaffected */ Scale_sig( hb_speech, L_FRAME16k / 4, sub( new_inp_resamp16k_q, Q_wb_sp ) ); Scale_sig( hBWE_TD->decim_state1_fx, ( 2 * ALLPASSSECTIONS_STEEP + 1 ), sub( new_inp_resamp16k_q, Q_wb_sp ) ); Scale_sig( hBWE_TD->decim_state2_fx, ( 2 * ALLPASSSECTIONS_STEEP + 1 ), sub( new_inp_resamp16k_q, Q_wb_sp ) ); Scale_sig( hb_speech, L_FRAME16k / 4, sub( new_inp_resamp16k_q, Q_wb_sp ) ); if ( st_fx->element_mode == EVS_MONO ) { Q_wb_sp = new_inp_resamp16k_q; move16(); } #else /* rescale the hb_speech and memories back to Q-1 to keep the downstream BWE coding unaffected */ Scale_sig( hb_speech, L_FRAME16k / 4, negate( Q_wb_sp ) ); Loading Loading
lib_enc/swb_pre_proc_fx.c +6 −1 Original line number Diff line number Diff line Loading @@ -493,9 +493,14 @@ void wb_pre_proc_ivas_fx( #ifdef NONBE_FIX_ISSUE_2206 /* rescale the hb_speech and memories back to new_inp_resamp16k_q to keep the downstream BWE coding unaffected */ Scale_sig( hb_speech, L_FRAME16k / 4, sub( new_inp_resamp16k_q, Q_wb_sp ) ); Scale_sig( hBWE_TD->decim_state1_fx, ( 2 * ALLPASSSECTIONS_STEEP + 1 ), sub( new_inp_resamp16k_q, Q_wb_sp ) ); Scale_sig( hBWE_TD->decim_state2_fx, ( 2 * ALLPASSSECTIONS_STEEP + 1 ), sub( new_inp_resamp16k_q, Q_wb_sp ) ); Scale_sig( hb_speech, L_FRAME16k / 4, sub( new_inp_resamp16k_q, Q_wb_sp ) ); if ( st_fx->element_mode == EVS_MONO ) { Q_wb_sp = new_inp_resamp16k_q; move16(); } #else /* rescale the hb_speech and memories back to Q-1 to keep the downstream BWE coding unaffected */ Scale_sig( hb_speech, L_FRAME16k / 4, negate( Q_wb_sp ) ); Loading