Commit 2fc18f64 authored by Nishant S Kulgod's avatar Nishant S Kulgod
Browse files

commit 2

parent daae49bb
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1001,7 +1001,7 @@ ivas_error acelp_core_enc(
        {
            /* UNVOICED frames (Gauss. excitation) */
            //encod_unvoiced( st, inp, Aw, Aq, Es_pred, uc_two_stage_flag, res, syn, &tmp_noise, exc, pitch_buf, voice_factors, bwe_exc );
            encod_unvoiced_fx( st, inp_fx, Aw_fx, Aq_fx, Es_pred_fx, uc_two_stage_flag, res_fx, syn_fx, &tmp_noise_fx, exc_fx, pitch_buf_fx, voice_factors_fx, bwe_exc_fx, Q_exc2, shift );
            encod_unvoiced_ivas_fx( st, inp_fx, Aw_fx, Aq_fx, Es_pred_fx, uc_two_stage_flag, res_fx, syn_fx, &tmp_noise_fx, exc_fx, pitch_buf_fx, voice_factors_fx, bwe_exc_fx, Q_exc2, shift );
        }
        else if ( st->coder_type == TRANSITION )
        {
+6 −4
Original line number Diff line number Diff line
@@ -502,10 +502,12 @@ void encod_unvoiced_ivas_fx(
    }

    /* SC-VBR */
    IF(hSC_VBR) {
        hSC_VBR->prev_ppp_gain_pit_fx = gain_pit_fx;
        move16();
        hSC_VBR->prev_tilt_code_fx = hLPDmem->tilt_code;
        move16();
    }

    return;
}