Loading lib_dec/ivas_cpe_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -497,7 +497,7 @@ ivas_error ivas_cpe_dec( stereo_cna_update_params( hCPE, output, output_frame, tdm_ratio_idx ); /*----------------------------------------------------------------* * Synthesis synchronization between CPE modes * Synthesis synchronization between coding tools and CPE modes *----------------------------------------------------------------*/ if ( !st_ivas->sba_dirac_stereo_flag ) Loading lib_dec/ivas_sce_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -257,13 +257,13 @@ ivas_error ivas_sce_dec( output_Fs = st_ivas->hDecoderConfig->output_Fs; /*----------------------------------------------------------------* * LB synthesis synchronization between IVAS formats * LB synthesis synchronization between coding tools *----------------------------------------------------------------*/ delay_signal( output[0], output_frame, st->prev_synth_buffer, NS2SA( output_Fs, IVAS_DEC_DELAY_NS - DELAY_CLDFB_NS ) ); /*----------------------------------------------------------------* * HB synthesis synchronization between IVAS formats * HB synthesis synchronization between coding tools *----------------------------------------------------------------*/ delay_signal( outputHB[0], output_frame, hSCE->prev_hb_synth, NS2SA( output_Fs, IVAS_DEC_DELAY_NS - DELAY_BWE_TOTAL_NS ) ); Loading lib_enc/ivas_cpe_enc.c +4 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,6 @@ ivas_error ivas_cpe_enc( /*----------------------------------------------------------------* * Stereo technology selection * Front-VAD on input L and R channels *----------------------------------------------------------------*/ if ( sts[0]->ini_frame > 0 && st_ivas->hMCT == NULL ) Loading @@ -185,6 +184,10 @@ ivas_error ivas_cpe_enc( stereo_mode_combined_format_enc( st_ivas, hCPE ); /*----------------------------------------------------------------* * Front-VAD on input L and R channels *----------------------------------------------------------------*/ if ( ( error = front_vad( hCPE, NULL, hEncoderConfig, &hCPE->hFrontVad[0], st_ivas->hMCT != NULL, input_frame, vad_flag_dtx, fr_bands, Etot_LR, lf_E, localVAD_HE_SAD, vad_hover_flag, band_energies_LR, NULL, NULL ) ) != IVAS_ERR_OK ) { return error; Loading lib_enc/ivas_front_vad.c +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ ivas_error front_vad( } } /* Only run VAD if DTX is on and TD stereo or unified stereo is selected */ /* Only run VAD if DTX is on and Unified stereo is selected */ if ( hFrontVads[0] != NULL && element_mode != IVAS_CPE_MDCT ) { #ifdef DEBUGGING Loading Loading
lib_dec/ivas_cpe_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -497,7 +497,7 @@ ivas_error ivas_cpe_dec( stereo_cna_update_params( hCPE, output, output_frame, tdm_ratio_idx ); /*----------------------------------------------------------------* * Synthesis synchronization between CPE modes * Synthesis synchronization between coding tools and CPE modes *----------------------------------------------------------------*/ if ( !st_ivas->sba_dirac_stereo_flag ) Loading
lib_dec/ivas_sce_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -257,13 +257,13 @@ ivas_error ivas_sce_dec( output_Fs = st_ivas->hDecoderConfig->output_Fs; /*----------------------------------------------------------------* * LB synthesis synchronization between IVAS formats * LB synthesis synchronization between coding tools *----------------------------------------------------------------*/ delay_signal( output[0], output_frame, st->prev_synth_buffer, NS2SA( output_Fs, IVAS_DEC_DELAY_NS - DELAY_CLDFB_NS ) ); /*----------------------------------------------------------------* * HB synthesis synchronization between IVAS formats * HB synthesis synchronization between coding tools *----------------------------------------------------------------*/ delay_signal( outputHB[0], output_frame, hSCE->prev_hb_synth, NS2SA( output_Fs, IVAS_DEC_DELAY_NS - DELAY_BWE_TOTAL_NS ) ); Loading
lib_enc/ivas_cpe_enc.c +4 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,6 @@ ivas_error ivas_cpe_enc( /*----------------------------------------------------------------* * Stereo technology selection * Front-VAD on input L and R channels *----------------------------------------------------------------*/ if ( sts[0]->ini_frame > 0 && st_ivas->hMCT == NULL ) Loading @@ -185,6 +184,10 @@ ivas_error ivas_cpe_enc( stereo_mode_combined_format_enc( st_ivas, hCPE ); /*----------------------------------------------------------------* * Front-VAD on input L and R channels *----------------------------------------------------------------*/ if ( ( error = front_vad( hCPE, NULL, hEncoderConfig, &hCPE->hFrontVad[0], st_ivas->hMCT != NULL, input_frame, vad_flag_dtx, fr_bands, Etot_LR, lf_E, localVAD_HE_SAD, vad_hover_flag, band_energies_LR, NULL, NULL ) ) != IVAS_ERR_OK ) { return error; Loading
lib_enc/ivas_front_vad.c +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ ivas_error front_vad( } } /* Only run VAD if DTX is on and TD stereo or unified stereo is selected */ /* Only run VAD if DTX is on and Unified stereo is selected */ if ( hFrontVads[0] != NULL && element_mode != IVAS_CPE_MDCT ) { #ifdef DEBUGGING Loading