Commit a9987e37 authored by vaillancour's avatar vaillancour
Browse files

hack to silence msvc warnings about unused parameters. These parameters will...

hack to silence msvc warnings about unused parameters. These parameters will be used when IVAS code will be there
parent 4f0c210a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -388,7 +388,7 @@ void decoder_LPD(
        xsfBase = PlcGetLsfBase (st->lpcQuantization, (Word16)st->narrowBand, st->sr_core);

        dlpc_bfi( st->L_frame_fx,xsfnew_uw,st->lsfold_uw,st->last_good_fx,st->nbLostCmpt,st->mem_MA_fx,st->mem_AR_fx,
            &(st->stab_fac_fx), st->lsf_adaptive_mean_fx, st->numlpc, st->lsf_cng, st->plcBackgroundNoiseUpdated, st->lsf_q_cng, st->old_lsf_q_cng, xsfBase, st->tcxonly);
            &(st->stab_fac_fx), st->lsf_adaptive_mean_fx, st->numlpc, st->lsf_cng, st->plcBackgroundNoiseUpdated, st->lsf_q_cng, st->old_lsf_q_cng, xsfBase, (Word8)st->tcxonly);

        hTcxDec->envWeighted = 0;
        move16();
+4 −1
Original line number Diff line number Diff line
@@ -63,7 +63,10 @@ void bw_detect_fx(
    Word16 cldfb_bin_width = 4;
    const Word32 *pt32;
    Word32 max_NB32, max_WB32, max_SWB32, max_FB32, mean_NB32, mean_WB32, mean_SWB32, mean_FB32;    /* Q11*/  /* we need Word32 for the new cldfb energy vectors */
    Word16 bwd_count_wider_bw, l_frame;
    Word16 bwd_count_wider_bw;
#ifdef IVAS_CODE_DFT
    Word16 l_frame;
#endif
#ifndef IVAS_CODE_BWD
    MY_UNUSED_Array(spectrum)
#endif
+5 −0
Original line number Diff line number Diff line
@@ -285,6 +285,11 @@ static void init_tcx(
    Word16 i;
    Word16 fscaleFB;
    TCX_ENC_HANDLE hTcxEnc = st->hTcxEnc;
#ifdef REMOVE_IVAS_UNUSED_PARAMETERS_WARNING
    MY_UNUSED_Word(MCT_flag)
    MY_UNUSED_Word32(total_brate)
    MY_UNUSED_Word32(last_total_brate)
#endif
PMT("init_tcx needs an entire review to adapt to IVAS")
    fscaleFB = div_l(L_shl(st->input_Fs_fx, LD_FSCALE_DENOM+1), 12800);

+4 −0
Original line number Diff line number Diff line
@@ -78,6 +78,10 @@ void core_encode_openloop(
    Word16 w_rf[M+1], lsf_uq_rf[M+1];
    Word16 lsf_q_1st_rf[M+1], lsf_q_d_rf[M+1], lsf_q_rf[M+1];
    Word16 lsp_old_q_rf[M+1], lsf_old_q_rf[M+1];
#ifdef REMOVE_IVAS_UNUSED_PARAMETERS_WARNING
    MY_UNUSED_Word(vad_hover_flag)
    MY_UNUSED_Word(vad_flag_dtx)
#endif
#ifdef BASOP_NOGLOB_DECLARE_LOCAL
    Flag Overflow = 0;
#endif
+3 −1
Original line number Diff line number Diff line
@@ -21,7 +21,9 @@ void core_coder_reconfig(
{
    Word16 i, bwidth, index;
    TCX_ENC_HANDLE hTcxEnc = st->hTcxEnc;

#ifdef REMOVE_IVAS_UNUSED_PARAMETERS_WARNING
    MY_UNUSED_Word32(last_total_brate)
#endif
    /*Configuration of ACELP*/
    BITS_ALLOC_init_config_acelp(st->total_brate_fx, st->narrowBand, st->nb_subfr, &(st->acelp_cfg));

Loading