Loading lib_com/tcx_utils.c +2 −1 Original line number Diff line number Diff line Loading @@ -1693,6 +1693,7 @@ void tcx_get_gain( } } #if 0 void init_TCX_config_dec( /* TEMPORARY */ TCX_CONFIG_HANDLE hTcxCfg, Word16 L_frame, Loading Loading @@ -1738,7 +1739,7 @@ void init_TCX_config_dec( /* TEMPORARY */ mdct_window_aldo(hTcxCfg->tcx_aldo_window_1, hTcxCfg->tcx_aldo_window_1_trunc, hTcxCfg->tcx_aldo_window_2, L_frame); mdct_window_aldo(hTcxCfg->tcx_aldo_window_1_FB, hTcxCfg->tcx_aldo_window_1_FB_trunc, hTcxCfg->tcx_aldo_window_2_FB, L_frameTCX); } #endif void init_TCX_config( TCX_CONFIG_HANDLE hTcxCfg, Word16 L_frame, Loading lib_dec/core_dec_init.c +1 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,7 @@ void open_decoder_LPD( move16(); st->hTcxCfg->tcx_mdct_window_length_old = st->hTcxCfg->tcx_mdct_window_length; move16(); init_TCX_config_dec( st->hTcxCfg, st->L_frame_fx, st->fscale, hTcxDec->L_frameTCX, fscaleFB ); // TEMPORARY should be rename to init_TCX_config init_TCX_config( st->hTcxCfg, st->L_frame_fx, st->fscale, hTcxDec->L_frameTCX, fscaleFB ); // TEMPORARY should be rename to init_TCX_config IF(st->ini_frame_fx == 0) { st->hTcxCfg->tcx_last_overlap_mode = st->hTcxCfg->tcx_curr_overlap_mode = ALDO_WINDOW; Loading lib_dec/hf_synth_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -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); Loading lib_dec/hq_core_dec_fx.c +1 −0 Original line number Diff line number Diff line Loading @@ -593,6 +593,7 @@ void HQ_core_dec_init( set16_fx(hHQ_core->old_out_LB_fx, 0, L_FRAME32k); hHQ_core->Q_old_wtda = 15; hHQ_core->Q_old_postdec = 0; hHQ_core->Q_old_wtda_LB = 0; hHQ_core->last_hq_core_type_fx = -1; set16_fx(hHQ_core->old_is_transient_fx, 0, 3); Loading lib_dec/init_dec_fx.c +3 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
lib_com/tcx_utils.c +2 −1 Original line number Diff line number Diff line Loading @@ -1693,6 +1693,7 @@ void tcx_get_gain( } } #if 0 void init_TCX_config_dec( /* TEMPORARY */ TCX_CONFIG_HANDLE hTcxCfg, Word16 L_frame, Loading Loading @@ -1738,7 +1739,7 @@ void init_TCX_config_dec( /* TEMPORARY */ mdct_window_aldo(hTcxCfg->tcx_aldo_window_1, hTcxCfg->tcx_aldo_window_1_trunc, hTcxCfg->tcx_aldo_window_2, L_frame); mdct_window_aldo(hTcxCfg->tcx_aldo_window_1_FB, hTcxCfg->tcx_aldo_window_1_FB_trunc, hTcxCfg->tcx_aldo_window_2_FB, L_frameTCX); } #endif void init_TCX_config( TCX_CONFIG_HANDLE hTcxCfg, Word16 L_frame, Loading
lib_dec/core_dec_init.c +1 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,7 @@ void open_decoder_LPD( move16(); st->hTcxCfg->tcx_mdct_window_length_old = st->hTcxCfg->tcx_mdct_window_length; move16(); init_TCX_config_dec( st->hTcxCfg, st->L_frame_fx, st->fscale, hTcxDec->L_frameTCX, fscaleFB ); // TEMPORARY should be rename to init_TCX_config init_TCX_config( st->hTcxCfg, st->L_frame_fx, st->fscale, hTcxDec->L_frameTCX, fscaleFB ); // TEMPORARY should be rename to init_TCX_config IF(st->ini_frame_fx == 0) { st->hTcxCfg->tcx_last_overlap_mode = st->hTcxCfg->tcx_curr_overlap_mode = ALDO_WINDOW; Loading
lib_dec/hf_synth_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
lib_dec/hq_core_dec_fx.c +1 −0 Original line number Diff line number Diff line Loading @@ -593,6 +593,7 @@ void HQ_core_dec_init( set16_fx(hHQ_core->old_out_LB_fx, 0, L_FRAME32k); hHQ_core->Q_old_wtda = 15; hHQ_core->Q_old_postdec = 0; hHQ_core->Q_old_wtda_LB = 0; hHQ_core->last_hq_core_type_fx = -1; set16_fx(hHQ_core->old_is_transient_fx, 0, 3); Loading
lib_dec/init_dec_fx.c +3 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading