Loading lib_enc/swb_bwe_enc_fx.c +2 −8 Original line number Diff line number Diff line Loading @@ -345,17 +345,11 @@ void swb_bwe_enc_fx( delay_input_signal_fx( hBWE_FD->old_input_lp_fx, old_input_lp_fx, &old_input_16k_fx[L_INP_MEM], Sample_Delay_LP, L_FRAME16k, &hBWE_FD->prev_Q_input_lp, &Q_slb_speech ); } } q_new_input_hp = s_min( Q_shb_speech, hBWE_FD->Q_new_input_hp ); #ifdef NONBE_FIX_ISSUE_2206_SWB_EXPERIMENT IF( st_fx->element_mode == IVAS_CPE_DFT ) { q_new_input_hp = s_min( Q_shb_speech, hBWE_TD->old_speech_shb_q ); /* Adjust values copied above to q_new_input_hp */ scale_sig( new_input_hp_fx, Sample_Delay_HP, sub( q_new_input_hp, hBWE_TD->old_speech_shb_q ) ); Copy_Scale_sig( shb_speech_fx, &new_input_hp_fx[Sample_Delay_HP], sub( L_FRAME16k, Sample_Delay_HP ), sub( q_new_input_hp, Q_shb_speech ) ); } ELSE IF( st_fx->element_mode == EVS_MONO ) IF( st_fx->element_mode == EVS_MONO ) { Copy( hBWE_FD->new_input_hp_fx, new_input_hp_fx, Sample_Delay_HP ); Copy( shb_speech_fx, &new_input_hp_fx[Sample_Delay_HP], L_FRAME16k - Sample_Delay_HP ); Loading Loading
lib_enc/swb_bwe_enc_fx.c +2 −8 Original line number Diff line number Diff line Loading @@ -345,17 +345,11 @@ void swb_bwe_enc_fx( delay_input_signal_fx( hBWE_FD->old_input_lp_fx, old_input_lp_fx, &old_input_16k_fx[L_INP_MEM], Sample_Delay_LP, L_FRAME16k, &hBWE_FD->prev_Q_input_lp, &Q_slb_speech ); } } q_new_input_hp = s_min( Q_shb_speech, hBWE_FD->Q_new_input_hp ); #ifdef NONBE_FIX_ISSUE_2206_SWB_EXPERIMENT IF( st_fx->element_mode == IVAS_CPE_DFT ) { q_new_input_hp = s_min( Q_shb_speech, hBWE_TD->old_speech_shb_q ); /* Adjust values copied above to q_new_input_hp */ scale_sig( new_input_hp_fx, Sample_Delay_HP, sub( q_new_input_hp, hBWE_TD->old_speech_shb_q ) ); Copy_Scale_sig( shb_speech_fx, &new_input_hp_fx[Sample_Delay_HP], sub( L_FRAME16k, Sample_Delay_HP ), sub( q_new_input_hp, Q_shb_speech ) ); } ELSE IF( st_fx->element_mode == EVS_MONO ) IF( st_fx->element_mode == EVS_MONO ) { Copy( hBWE_FD->new_input_hp_fx, new_input_hp_fx, Sample_Delay_HP ); Copy( shb_speech_fx, &new_input_hp_fx[Sample_Delay_HP], L_FRAME16k - Sample_Delay_HP ); Loading