Loading lib_dec/core_switching_dec_fx.c +8 −4 Original line number Diff line number Diff line Loading @@ -2933,8 +2933,9 @@ ivas_error core_switching_pre_dec_ivas_fx( { #ifdef HARM_CORE_SW set16_fx( hHQ_core->old_out_fx, 0, output_frame ); hHQ_core->Q_old_wtda_LB = 15; hHQ_core->Q_old_wtda = 15; set16_fx( hHQ_core->old_out_LB_fx, 0, L_FRAME16k ); hHQ_core->Q_old_wtda_LB = Q15; hHQ_core->Q_old_wtda = Q15; move16(); #else set16_fx( hHQ_core->old_out_fx, 0, output_frame ); Loading @@ -2953,6 +2954,7 @@ ivas_error core_switching_pre_dec_ivas_fx( reset_preecho_dec_fx( hHQ_core ); } } test(); IF( st->core_brate == FRAME_NO_DATA ) { Loading Loading @@ -3051,6 +3053,7 @@ ivas_error core_switching_pre_dec_ivas_fx( move32(); } } test(); test(); IF( NE_16( st->last_L_frame, st->L_frame ) && LE_16( st->L_frame, L_FRAME16k ) && LE_16( st->last_L_frame, L_FRAME16k ) ) Loading @@ -3069,6 +3072,7 @@ ivas_error core_switching_pre_dec_ivas_fx( IF( LE_32( st->total_brate, SID_2k40 ) && LE_32( st->last_total_brate, SID_2k40 ) ) { lerp( st->hFdCngDec->hFdCngCom->olapBufferSynth, st->hFdCngDec->hFdCngCom->olapBufferSynth, shl( st->L_frame, 1 ), shl( st->last_L_frame, 1 ) ); IF( EQ_16( st->L_frame, L_FRAME ) ) { FOR( i = 0; i < shl( st->L_frame, 1 ); i++ ) Loading Loading @@ -3099,7 +3103,7 @@ ivas_error core_switching_pre_dec_ivas_fx( IF( EQ_16( st->L_frame, L_FRAME ) ) { FOR( i = 0; i < ( st->L_frame * 2 ); i++ ) FOR( i = 0; i < shl( st->L_frame, 1 ); i++ ) { st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i] = Mult_32_16( st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i], (Word16) 20480 /* 0.6250f in Q15 */ ); move32(); Loading @@ -3107,7 +3111,7 @@ ivas_error core_switching_pre_dec_ivas_fx( } ELSE { FOR( i = 0; i < ( st->L_frame * 2 ); i++ ) FOR( i = 0; i < shl( st->L_frame, 1 ); i++ ) { st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i] = Mult_32_16( L_shl( st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i], 1 ), (Word16) 26214 /* 1.6f in Q14 */ ); move32(); Loading lib_dec/ivas_core_dec_fx.c +1 −1 File changed.Contains only whitespace changes. Show changes Loading
lib_dec/core_switching_dec_fx.c +8 −4 Original line number Diff line number Diff line Loading @@ -2933,8 +2933,9 @@ ivas_error core_switching_pre_dec_ivas_fx( { #ifdef HARM_CORE_SW set16_fx( hHQ_core->old_out_fx, 0, output_frame ); hHQ_core->Q_old_wtda_LB = 15; hHQ_core->Q_old_wtda = 15; set16_fx( hHQ_core->old_out_LB_fx, 0, L_FRAME16k ); hHQ_core->Q_old_wtda_LB = Q15; hHQ_core->Q_old_wtda = Q15; move16(); #else set16_fx( hHQ_core->old_out_fx, 0, output_frame ); Loading @@ -2953,6 +2954,7 @@ ivas_error core_switching_pre_dec_ivas_fx( reset_preecho_dec_fx( hHQ_core ); } } test(); IF( st->core_brate == FRAME_NO_DATA ) { Loading Loading @@ -3051,6 +3053,7 @@ ivas_error core_switching_pre_dec_ivas_fx( move32(); } } test(); test(); IF( NE_16( st->last_L_frame, st->L_frame ) && LE_16( st->L_frame, L_FRAME16k ) && LE_16( st->last_L_frame, L_FRAME16k ) ) Loading @@ -3069,6 +3072,7 @@ ivas_error core_switching_pre_dec_ivas_fx( IF( LE_32( st->total_brate, SID_2k40 ) && LE_32( st->last_total_brate, SID_2k40 ) ) { lerp( st->hFdCngDec->hFdCngCom->olapBufferSynth, st->hFdCngDec->hFdCngCom->olapBufferSynth, shl( st->L_frame, 1 ), shl( st->last_L_frame, 1 ) ); IF( EQ_16( st->L_frame, L_FRAME ) ) { FOR( i = 0; i < shl( st->L_frame, 1 ); i++ ) Loading Loading @@ -3099,7 +3103,7 @@ ivas_error core_switching_pre_dec_ivas_fx( IF( EQ_16( st->L_frame, L_FRAME ) ) { FOR( i = 0; i < ( st->L_frame * 2 ); i++ ) FOR( i = 0; i < shl( st->L_frame, 1 ); i++ ) { st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i] = Mult_32_16( st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i], (Word16) 20480 /* 0.6250f in Q15 */ ); move32(); Loading @@ -3107,7 +3111,7 @@ ivas_error core_switching_pre_dec_ivas_fx( } ELSE { FOR( i = 0; i < ( st->L_frame * 2 ); i++ ) FOR( i = 0; i < shl( st->L_frame, 1 ); i++ ) { st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i] = Mult_32_16( L_shl( st->hFdCngDec->hFdCngCom->olapBufferSynth_fx[i], 1 ), (Word16) 26214 /* 1.6f in Q14 */ ); move32(); Loading