Loading lib_com/ivas_prot.h +0 −4 Original line number Diff line number Diff line Loading @@ -225,10 +225,6 @@ ivas_error pre_proc_front_ivas( const int16_t front_vad_dtx_flag, /* i : front-VAD DTX flag to overwrite VAD decision*/ const int32_t ivas_total_brate, /* i : IVAS total bitrate */ const int16_t ivas_format /* i : IVAS format */ #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ); ivas_error pre_proc_ivas( Loading lib_com/prot.h +0 −4 Original line number Diff line number Diff line Loading @@ -3861,10 +3861,6 @@ void dtx( const int32_t ivas_total_brate, /* i : IVAS total bitrate */ const int16_t vad, /* i : VAD flag for DTX */ const float speech[] /* i : Pointer to the speech frame */ #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ); void dtx_hangover_control( Loading lib_enc/amr_wb_enc.c +0 −4 Original line number Diff line number Diff line Loading @@ -310,11 +310,7 @@ void amr_wb_enc( { st->fd_cng_reset_flag = 0; } #ifdef SBA_BR_SWITCHING_RECONFIG dtx( st, -1, vad_flag_dtx, inp, 0 ); #else dtx( st, -1, vad_flag_dtx, inp ); #endif /*----------------------------------------------------------------* * Noise energy down-ward update and total noise energy estimation * Long-term energies and relative frame energy updates Loading lib_enc/dtx.c +0 −14 Original line number Diff line number Diff line Loading @@ -83,10 +83,6 @@ void dtx( const int32_t ivas_total_brate, /* i : IVAS total bitrate */ const int16_t vad, /* i : VAD flag for DTX */ const float speech[] /* i : Pointer to the speech frame */ #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ) { float alpha; Loading @@ -94,17 +90,7 @@ void dtx( DTX_ENC_HANDLE hDtxEnc = st->hDtxEnc; int16_t last_br_cng_flag, last_br_flag, br_dtx_flag; #ifdef SBA_BR_SWITCHING_RECONFIG if ( sba_dtx_init_flag ) { last_br_cng_flag = 0; last_br_flag = 0; br_dtx_flag = 0; } else if ( st->dtx_sce_sba != 0 ) #else if ( st->dtx_sce_sba != 0 ) #endif { last_br_cng_flag = 1; last_br_flag = 1; Loading lib_enc/ivas_core_pre_proc_front.c +2 −10 Original line number Diff line number Diff line Loading @@ -108,12 +108,7 @@ ivas_error pre_proc_front_ivas( const int16_t force_front_vad, /* i : flag to force VAD decision */ const int16_t front_vad_dtx_flag, /* i : front-VAD DTX flag to overwrite VAD decision*/ const int32_t ivas_total_brate, /* i : IVAS total bitrate - for setting the DTX */ const int16_t ivas_format #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ) const int16_t ivas_format ) { float *inp_12k8, *new_inp_12k8; /* pointers to current frame and new data */ float *wsp; /* weighted input signal buffer */ Loading Loading @@ -558,11 +553,8 @@ ivas_error pre_proc_front_ivas( { st->cng_type = LP_CNG; } #ifdef SBA_BR_SWITCHING_RECONFIG dtx( st, ivas_total_brate, *vad_flag_dtx, inp_12k8, sba_dtx_init_flag ); #else dtx( st, ivas_total_brate, *vad_flag_dtx, inp_12k8 ); #endif if ( hCPE != NULL && hCPE->hStereoDft != NULL && st->core_brate == SID_2k40 ) { Loading Loading
lib_com/ivas_prot.h +0 −4 Original line number Diff line number Diff line Loading @@ -225,10 +225,6 @@ ivas_error pre_proc_front_ivas( const int16_t front_vad_dtx_flag, /* i : front-VAD DTX flag to overwrite VAD decision*/ const int32_t ivas_total_brate, /* i : IVAS total bitrate */ const int16_t ivas_format /* i : IVAS format */ #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ); ivas_error pre_proc_ivas( Loading
lib_com/prot.h +0 −4 Original line number Diff line number Diff line Loading @@ -3861,10 +3861,6 @@ void dtx( const int32_t ivas_total_brate, /* i : IVAS total bitrate */ const int16_t vad, /* i : VAD flag for DTX */ const float speech[] /* i : Pointer to the speech frame */ #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ); void dtx_hangover_control( Loading
lib_enc/amr_wb_enc.c +0 −4 Original line number Diff line number Diff line Loading @@ -310,11 +310,7 @@ void amr_wb_enc( { st->fd_cng_reset_flag = 0; } #ifdef SBA_BR_SWITCHING_RECONFIG dtx( st, -1, vad_flag_dtx, inp, 0 ); #else dtx( st, -1, vad_flag_dtx, inp ); #endif /*----------------------------------------------------------------* * Noise energy down-ward update and total noise energy estimation * Long-term energies and relative frame energy updates Loading
lib_enc/dtx.c +0 −14 Original line number Diff line number Diff line Loading @@ -83,10 +83,6 @@ void dtx( const int32_t ivas_total_brate, /* i : IVAS total bitrate */ const int16_t vad, /* i : VAD flag for DTX */ const float speech[] /* i : Pointer to the speech frame */ #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ) { float alpha; Loading @@ -94,17 +90,7 @@ void dtx( DTX_ENC_HANDLE hDtxEnc = st->hDtxEnc; int16_t last_br_cng_flag, last_br_flag, br_dtx_flag; #ifdef SBA_BR_SWITCHING_RECONFIG if ( sba_dtx_init_flag ) { last_br_cng_flag = 0; last_br_flag = 0; br_dtx_flag = 0; } else if ( st->dtx_sce_sba != 0 ) #else if ( st->dtx_sce_sba != 0 ) #endif { last_br_cng_flag = 1; last_br_flag = 1; Loading
lib_enc/ivas_core_pre_proc_front.c +2 −10 Original line number Diff line number Diff line Loading @@ -108,12 +108,7 @@ ivas_error pre_proc_front_ivas( const int16_t force_front_vad, /* i : flag to force VAD decision */ const int16_t front_vad_dtx_flag, /* i : front-VAD DTX flag to overwrite VAD decision*/ const int32_t ivas_total_brate, /* i : IVAS total bitrate - for setting the DTX */ const int16_t ivas_format #ifdef SBA_BR_SWITCHING_RECONFIG , const int16_t sba_dtx_init_flag #endif ) const int16_t ivas_format ) { float *inp_12k8, *new_inp_12k8; /* pointers to current frame and new data */ float *wsp; /* weighted input signal buffer */ Loading Loading @@ -558,11 +553,8 @@ ivas_error pre_proc_front_ivas( { st->cng_type = LP_CNG; } #ifdef SBA_BR_SWITCHING_RECONFIG dtx( st, ivas_total_brate, *vad_flag_dtx, inp_12k8, sba_dtx_init_flag ); #else dtx( st, ivas_total_brate, *vad_flag_dtx, inp_12k8 ); #endif if ( hCPE != NULL && hCPE->hStereoDft != NULL && st->core_brate == SID_2k40 ) { Loading