Commit d902a7a9 authored by Nishant S Kulgod's avatar Nishant S Kulgod
Browse files

commit 9

parent 80ac0564
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ ivas_error acelp_core_enc(
    q_comm_Bin = min( Q_factor_arrL( st->Bin_E_old, 128 ), Q_factor_arrL( st->Bin_E, 256 ) );
    Q_new = Q_factor_arr( &inp[-M - 1], L_FRAME16k + M + 1 );
    Q_new = min( Q_new, q_comm_Bin - ( QSCALE - 2 ) );
    Q_new = min(Q_new, 5);
    Q_new = min(Q_new, 1);
    IF(st->hLPDmem) {
        Q_new = min(Q_new, Q_factor_arr(&st->hLPDmem->old_exc_flt[-M - 1], L_EXC_MEM + M + 1));
        st->hLPDmem->e_old_exc = 15 - Q_new;
@@ -975,7 +975,7 @@ ivas_error acelp_core_enc(
        Word16 Q_exc2 = add( Q_new, 1 );
#ifdef IVAS_FLOAT_FIXED_CONVERSIONS
        Word16 shift;
        shift = -4 - Q_new;
        shift = -3;
        move16();
#endif
        IF( tdm_low_rate_mode ) /* tdm stereo low rate mode */