Commit 8d1d9723 authored by Mohammadreza Naghibzadeh's avatar Mohammadreza Naghibzadeh
Browse files

Modify q_old_out_diff calculation in IMDCT_ivas_fx for TCX-20 and not TCX-only frames.

parent 1f09e81b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3385,7 +3385,8 @@ void IMDCT_ivas_fx(

                Word16 diff = sub( q_tmp_fx_32, q_win );
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT_DYNAMIC_QOLD
                Word16 q_old_out_diff = s_max( sub( q_tmp_fx_32, *q_old_out_fx ), 0 );
                // Word16 q_old_out_diff = s_max( sub( q_tmp_fx_32, *q_old_out_fx ), 0 );
                Word16 q_old_out_diff = sub( q_tmp_fx_32, *q_old_out_fx );
#endif
                FOR( Word16 ind = 0; ind < L_frame; ind++ )
                {