Loading lib_enc/ivas_core_enc_fx.c +4 −4 Original line number Diff line number Diff line Loading @@ -702,13 +702,13 @@ ivas_error ivas_core_enc_fx( #ifdef NONBE_FIX_ISSUE_2206 IF( GE_32( input_Fs, 32000 ) && st->hBWE_TD != NULL ) { /* provide 1 bit of headroom. A better solution is to deal with the scale of /* provide 2 bits of headroom. A better solution is to deal with the scale of hBWE_FD->old_fdbwe_speech_fx and other vectors which are fixed to Q-1 */ st->q_inp = sub( st->q_inp, 1 ); st->q_old_inp = sub( st->q_old_inp, 1 ); st->q_inp = sub( st->q_inp, 2 ); st->q_old_inp = sub( st->q_old_inp, 2 ); move16(); move16(); Scale_sig( st->input_fx - input_frame, shl( input_frame, 1 ), -1 ); Scale_sig( st->input_fx - input_frame, shl( input_frame, 1 ), -2 ); } #else Loading Loading
lib_enc/ivas_core_enc_fx.c +4 −4 Original line number Diff line number Diff line Loading @@ -702,13 +702,13 @@ ivas_error ivas_core_enc_fx( #ifdef NONBE_FIX_ISSUE_2206 IF( GE_32( input_Fs, 32000 ) && st->hBWE_TD != NULL ) { /* provide 1 bit of headroom. A better solution is to deal with the scale of /* provide 2 bits of headroom. A better solution is to deal with the scale of hBWE_FD->old_fdbwe_speech_fx and other vectors which are fixed to Q-1 */ st->q_inp = sub( st->q_inp, 1 ); st->q_old_inp = sub( st->q_old_inp, 1 ); st->q_inp = sub( st->q_inp, 2 ); st->q_old_inp = sub( st->q_old_inp, 2 ); move16(); move16(); Scale_sig( st->input_fx - input_frame, shl( input_frame, 1 ), -1 ); Scale_sig( st->input_fx - input_frame, shl( input_frame, 1 ), -2 ); } #else Loading