Commit 562ee191 authored by multrus's avatar multrus
Browse files

remove debug code, rename post_decoder_ivas_fx() to post_decoder_fx()

parent ba7fd099
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7412,6 +7412,7 @@ Word16 FEC_pos_dec_fx(
    const Word16 nBits_es_Pred /* i  : number of bits for Es_pred Q                */
);

#ifndef FIX_2429_POST_DECODER
void post_decoder(
    Decoder_State *st,
    Word16 synth_buf[],   /* Q0 */
@@ -7422,6 +7423,9 @@ void post_decoder(
);

void post_decoder_ivas_fx(
#else
void post_decoder_fx(
#endif
    Decoder_State *st,
    Word16 synth_buf[],   // Q0
    Word16 pit_gain[],    // Q14
+1 −1
Original line number Diff line number Diff line
@@ -955,7 +955,7 @@ void decoder_LPD_fx(

    /* Postfiltering */
#ifdef FIX_2429_POST_DECODER
    post_decoder_ivas_fx( st, synth_buf, pit_gain, pitch, signal_out, bpf_noise_buf );
    post_decoder_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
+1 −1
Original line number Diff line number Diff line
@@ -1403,7 +1403,7 @@ void ivas_mdct_core_reconstruct_fx(
        }

#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 );
        post_decoder_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
+1 −1
Original line number Diff line number Diff line
@@ -789,7 +789,7 @@ 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 );
    post_decoder_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
+4 −2
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ static void bass_pf_1sf_delay( Word16 *syn, Word16 *T_sf, Word16 *gainT_sf, Word
 * Perform post-processing
 *---------------------------------------------------------------------*/

#ifndef FIX_2429_POST_DECODER
void post_decoder(
    Decoder_State *st,
    Word16 synth_buf[],   /* Q0 */
@@ -41,7 +42,6 @@ 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;
@@ -174,6 +174,9 @@ void post_decoder(


void post_decoder_ivas_fx(
#else
void post_decoder_fx(
#endif
    Decoder_State *st,
    Word16 synth_buf[],   // Q0
    Word16 pit_gain[],    // Q14
@@ -194,7 +197,6 @@ 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