Commit 16c4b2e2 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

MLD improvement changes for SBA-PLC and ISM case

parent 3aa2ac58
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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();
+2 −0
Original line number Diff line number Diff line
@@ -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
            {