Commit 2a633994 authored by vaclav's avatar vaclav
Browse files

formatting

parent b7813478
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -384,10 +384,7 @@ ivas_error ivas_cpe_enc(
    {
        int32_t internal_Fs;

        internal_Fs = getTcxonly( IVAS_CPE_MDCT, sts[0]->bits_frame_nominal * FRAMES_PER_SEC, 0,
                                  sts[0]->is_ism_format ) == 0
                          ? INT_FS_16k
                          : max( INT_FS_16k, sts[0]->sr_core );
        internal_Fs = getTcxonly( IVAS_CPE_MDCT, sts[0]->bits_frame_nominal * FRAMES_PER_SEC, 0, 0 );

        /* iDFT at input sampling rate */
        stereo_dft_enc_synthesize( hCPE->hStereoDft, sts[0]->input, 0, input_Fs, input_Fs, 0 );
+1 −2
Original line number Diff line number Diff line
@@ -603,8 +603,7 @@ void pre_proc(
            else
            {
                SetModeIndex( st, st->last_total_brate, EVS_MONO, 0 );
                st->sr_core = getCoreSamplerateMode2( EVS_MONO, st->total_brate, st->bwidth, st->flag_ACELP16k, st->rf_mode,
                                                      0 );
                st->sr_core = getCoreSamplerateMode2( EVS_MONO, st->total_brate, st->bwidth, st->flag_ACELP16k, st->rf_mode, 0 );
                st->L_frame = (int16_t) ( st->sr_core / FRAMES_PER_SEC );
                st->encoderLookahead_enc = NS2SA( st->sr_core, ACELP_LOOK_NS );
                st->encoderPastSamples_enc = ( st->L_frame * 9 ) >> 4;
+1 −2
Original line number Diff line number Diff line
@@ -393,8 +393,7 @@ void updt_enc_common(
    {
        st->codec_mode = MODE2;

        st->sr_core = getCoreSamplerateMode2( EVS_MONO, st->total_brate, st->bwidth, st->flag_ACELP16k, st->rf_mode,
                                              0 );
        st->sr_core = getCoreSamplerateMode2( EVS_MONO, st->total_brate, st->bwidth, st->flag_ACELP16k, st->rf_mode, 0 );

        st->L_frame = (int16_t) ( st->sr_core / FRAMES_PER_SEC );