Loading lib_dec/FEC_HQ_phase_ecu_fx.c +3 −1 Original line number Diff line number Diff line Loading @@ -3064,7 +3064,9 @@ static void ivas_rec_wtda_fx( pX_end = X + sub( Lprot, 1 ); FOR( i = 0; i < hamm_len2; i++ ) { tmp = BASOP_Util_Divide1616_Scale( 1, *w_hamm, &tmp_e ); tmp_e = 0; tmp = BASOP_Util_Divide1616_Scale( ONE_IN_Q14, *w_hamm, &tmp_e ); tmp = shl( tmp, 1 ); tmp = shr( tmp, sub( 4, tmp_e ) ); // Q11 *pX_start = mult_r( *pX_start, tmp ); // Qin - 4 move16(); Loading lib_dec/hq_core_dec_fx.c +2 −0 Original line number Diff line number Diff line Loading @@ -1026,6 +1026,8 @@ void ivas_hq_core_dec_fx( /* Rough resampling, but reduces energy loss in case of switch to ACELP in first good frame */ L_lerp_fx_q11( t_audio_q, wtda_audio_LB, st_fx->L_frame, inner_frame ); v_multc_fixed_16( t_audio_q, ONE_IN_Q14, wtda_audio_LB, st_fx->L_frame ); Q_audio = 15; move16(); } ELSE { Loading Loading
lib_dec/FEC_HQ_phase_ecu_fx.c +3 −1 Original line number Diff line number Diff line Loading @@ -3064,7 +3064,9 @@ static void ivas_rec_wtda_fx( pX_end = X + sub( Lprot, 1 ); FOR( i = 0; i < hamm_len2; i++ ) { tmp = BASOP_Util_Divide1616_Scale( 1, *w_hamm, &tmp_e ); tmp_e = 0; tmp = BASOP_Util_Divide1616_Scale( ONE_IN_Q14, *w_hamm, &tmp_e ); tmp = shl( tmp, 1 ); tmp = shr( tmp, sub( 4, tmp_e ) ); // Q11 *pX_start = mult_r( *pX_start, tmp ); // Qin - 4 move16(); Loading
lib_dec/hq_core_dec_fx.c +2 −0 Original line number Diff line number Diff line Loading @@ -1026,6 +1026,8 @@ void ivas_hq_core_dec_fx( /* Rough resampling, but reduces energy loss in case of switch to ACELP in first good frame */ L_lerp_fx_q11( t_audio_q, wtda_audio_LB, st_fx->L_frame, inner_frame ); v_multc_fixed_16( t_audio_q, ONE_IN_Q14, wtda_audio_LB, st_fx->L_frame ); Q_audio = 15; move16(); } ELSE { Loading