Loading lib_com/tcx_utils.c +4 −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 @@ -1748,6 +1749,8 @@ 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(); 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/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 Loading
lib_com/tcx_utils.c +4 −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 @@ -1748,6 +1749,8 @@ 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(); 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/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