Commit b45ffd79 authored by vaillancour's avatar vaillancour
Browse files

fix some BE issues between linux and msvc

parent a1ad50e4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1749,8 +1749,6 @@ void init_TCX_config(
)
{
    /* Initialize the TCX MDCT windows */
    //set16_fx((Word16*)hTcxCfg, 0, (sizeof(TCX_config)) / sizeof(Word16));

    hTcxCfg->tcx_mdct_window_length = extract_l(L_shr(L_mult0(L_LOOK_12k8, fscale), LD_FSCALE_DENOM));
    hTcxCfg->tcx_mdct_window_delay = hTcxCfg->tcx_mdct_window_length;
    move16();
+2 −1
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ void hf_synth_reset_fx(

    set16_fx(hBWE_zero->mem_hf_fx, 0, 2 * L_FILT16k);
    set16_fx(hBWE_zero->mem_syn_hf_fx, 0, M);
    set16_fx(hBWE_zero->mem_hp400_fx, 0, 4);
    set16_fx(hBWE_zero->mem_hp400_fx, 0, 4);  /* TBV -> mem_hp400_fx has a length of 6, but only 4 values initialized in EVS ??? */

    set16_fx(hBWE_zero->delay_syn_hf_fx, 0, NS2SA(16000, DELAY_CLDFB_NS));
    set16_fx(hBWE_zero->mem_hp_interp_fx, 0, INTERP_3_1_MEM_LEN);

+3 −0
Original line number Diff line number Diff line
@@ -616,6 +616,9 @@ ivas_error init_decoder_fx(
        }

        hf_synth_init_fx(st_fx->hBWE_zero);
        /* TBV  Hack for bit exactness with 26.452, Issue should be corrected there as the the reset is not perform on all values  of mem_hp400_fx*/
        set16_fx(st_fx->hBWE_zero->mem_hp400_fx, 0, 6);

    }
    ELSE
    {