Commit 1e6af879 authored by JÜRGEN Gerstacker's avatar JÜRGEN Gerstacker
Browse files

exchanged post_decoder() to post_decoder_ivas_ix

parent ac900052
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@
#define HARM_FD_BWE                                     /* VA: harmonize core-coder FD BWE function duplications */
#define FIX_2411_Harmonize_TNSANALYSIS_DETECTTNSFILT    /* FhG: basop issue 2411: harmonize TNSAnalysis*_fx(), DetectTnsFilt*_fx()*/        
#define HARMONIZE_READ_DECODE_TNS                       /* FhG basop 2389: Harm between two pairs of functions. */
#define FIX_2429_POST_DECODER

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -954,7 +954,11 @@ void decoder_LPD_fx(
    st->last_is_cng = 0;

    /* Postfiltering */
#ifdef FIX_2429_POST_DECODER
    post_decoder_ivas_fx( st, synth_buf, pit_gain, pitch, signal_out, bpf_noise_buf );
#else
    post_decoder( st, synth_buf, pit_gain, pitch, signal_out, bpf_noise_buf );
#endif

    IF( signal_outFB )
    {
+4 −0
Original line number Diff line number Diff line
@@ -1399,7 +1399,11 @@ void ivas_mdct_core_reconstruct_fx(
            Copy_Scale_sig_32_16( st->p_bpf_noise_buf_32, st->p_bpf_noise_buf, st->L_frame, -Q11 ); // Q11 -> Q0
        }

#ifdef FIX_2429_POST_DECODER
        post_decoder_ivas_fx( st, synth_buf_fx, pit_gain_fx[ch], pitch[ch], x_fx_16, st->p_bpf_noise_buf );
#else
        post_decoder_ivas_fx( st, synth_buf_fx, pit_gain_fx[ch], pitch[ch], x_fx_16, st->p_bpf_noise_buf );
#endif

        IF( st->p_bpf_noise_buf_32 )
        {
+4 −0
Original line number Diff line number Diff line
@@ -783,7 +783,11 @@ void stereo_tcx_core_dec_fx(

    /* Postfiltering */

#ifdef FIX_2429_POST_DECODER
    post_decoder_ivas_fx( st, synth_buf_fx, pit_gain_fx, pitch, signal_out_fx, st->p_bpf_noise_buf );
#else
    post_decoder( st, synth_buf_fx, pit_gain_fx, pitch, signal_out_fx, st->p_bpf_noise_buf );
#endif

    test();
    IF( st->p_bpf_noise_buf_32 && st->tcxonly == 0 )
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ void post_decoder(
    BPF_DEC_HANDLE hBPF;
    Word16 coder_type = st->coder_type;

    printf("post_decoder()\n");
    move16();
    hBPF = st->hBPF;
    L_frame = st->L_frame;
@@ -193,6 +194,7 @@ void post_decoder_ivas_fx(
    BPF_DEC_HANDLE hBPF;
    Word16 coder_type = st->coder_type;

    printf("post_decoder_ivas_fx()\n");
    move16();
    hBPF = st->hBPF;
    L_frame = st->L_frame;
Loading