Loading lib_dec/core_dec_init.c +1 −0 Original line number Diff line number Diff line Loading @@ -671,6 +671,7 @@ void open_decoder_LPD( st->second_last_tns_active = 0; st->second_last_core = -1; #ifdef SET_TNS_FLAG_IN_EVERY_FRAME /* TODO: also apply for MCT modes, once issue #24 is solved */ if ( st->hTcxCfg != NULL && !MCT_flag && st->element_mode != EVS_MONO ) { st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( is_init ? total_brate : st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode, st->mct_chan_mode ); Loading lib_dec/ivas_tcx_core_dec.c +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ void stereo_tcx_init_dec( hTcxDec->tcx_lpc_shaped_ari = getTcxLpcShapedAri( st->bits_frame_nominal * FRAMES_PER_SEC, st->rf_flag, st->element_mode ); st->igf = getIgfPresent( st->element_mode, st->bits_frame_nominal * FRAMES_PER_SEC, st->bwidth, st->rf_flag, st->mct_chan_mode ); #ifdef SET_TNS_FLAG_IN_EVERY_FRAME /* TODO: also apply for MCT modes, once issue #24 is solved */ if ( !MCT_flag && st->element_mode != EVS_MONO ) { st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode, st->mct_chan_mode ); Loading Loading
lib_dec/core_dec_init.c +1 −0 Original line number Diff line number Diff line Loading @@ -671,6 +671,7 @@ void open_decoder_LPD( st->second_last_tns_active = 0; st->second_last_core = -1; #ifdef SET_TNS_FLAG_IN_EVERY_FRAME /* TODO: also apply for MCT modes, once issue #24 is solved */ if ( st->hTcxCfg != NULL && !MCT_flag && st->element_mode != EVS_MONO ) { st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( is_init ? total_brate : st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode, st->mct_chan_mode ); Loading
lib_dec/ivas_tcx_core_dec.c +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ void stereo_tcx_init_dec( hTcxDec->tcx_lpc_shaped_ari = getTcxLpcShapedAri( st->bits_frame_nominal * FRAMES_PER_SEC, st->rf_flag, st->element_mode ); st->igf = getIgfPresent( st->element_mode, st->bits_frame_nominal * FRAMES_PER_SEC, st->bwidth, st->rf_flag, st->mct_chan_mode ); #ifdef SET_TNS_FLAG_IN_EVERY_FRAME /* TODO: also apply for MCT modes, once issue #24 is solved */ if ( !MCT_flag && st->element_mode != EVS_MONO ) { st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode, st->mct_chan_mode ); Loading