Loading lib_com/ivas_cnst.h +3 −0 Original line number Diff line number Diff line Loading @@ -836,6 +836,9 @@ typedef enum { #define SBA_MIN_BRATE_HOA IVAS_256k #define SBA_NHARM_HOA3 16 #define SBA_T_DESIGN_11_SIZE 70 #ifdef FIX_SBA_DTX_DECODE_ERROR #define SBA_DTX_BITRATE_THRESHOLD IVAS_80k #endif typedef enum { Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ #endif #define FIX_I173_I174 /* Issues 173 and 174: Remove frame and subframe index from ISm metadata and headtracking respectively. */ #define FIX_TCX_DEC_RECONF_BFI #define FIX_SBA_DTX_DECODE_ERROR /* Issue 176: SBA decoder error with DTX at 80kbps SWB, Issue 21: SBA front-VAD threshold (203) */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading lib_enc/ivas_front_vad.c +4 −0 Original line number Diff line number Diff line Loading @@ -396,7 +396,11 @@ ivas_error front_vad_spar( hFrontVad = hSpar->hFrontVad; st = hSpar->hCoreCoderVAD; #ifdef FIX_SBA_DTX_DECODE_ERROR if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= SBA_DTX_BITRATE_THRESHOLD ) #else if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= IVAS_80k ) #endif { /*------------------------------------------------------------------* * Initialization Loading lib_enc/ivas_spar_encoder.c +5 −0 Original line number Diff line number Diff line Loading @@ -319,8 +319,13 @@ ivas_error ivas_spar_enc( *nb_bits_metadata = hMetaData->nb_bits_tot; #ifdef FIX_SBA_DTX_DECODE_ERROR /* Force IVAS front pre-proc decision for higher bitrates */ if ( hEncoderConfig->ivas_total_brate > SBA_DTX_BITRATE_THRESHOLD || hEncoderConfig->Opt_DTX_ON == 0 ) #else /* temp hack to not force IVAS front pre-proc decision for higher bitrates */ if ( hEncoderConfig->ivas_total_brate > IVAS_64k || hEncoderConfig->Opt_DTX_ON == 0 ) #endif { st_ivas->hSpar->front_vad_flag = 0; } Loading Loading
lib_com/ivas_cnst.h +3 −0 Original line number Diff line number Diff line Loading @@ -836,6 +836,9 @@ typedef enum { #define SBA_MIN_BRATE_HOA IVAS_256k #define SBA_NHARM_HOA3 16 #define SBA_T_DESIGN_11_SIZE 70 #ifdef FIX_SBA_DTX_DECODE_ERROR #define SBA_DTX_BITRATE_THRESHOLD IVAS_80k #endif typedef enum { Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ #endif #define FIX_I173_I174 /* Issues 173 and 174: Remove frame and subframe index from ISm metadata and headtracking respectively. */ #define FIX_TCX_DEC_RECONF_BFI #define FIX_SBA_DTX_DECODE_ERROR /* Issue 176: SBA decoder error with DTX at 80kbps SWB, Issue 21: SBA front-VAD threshold (203) */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading
lib_enc/ivas_front_vad.c +4 −0 Original line number Diff line number Diff line Loading @@ -396,7 +396,11 @@ ivas_error front_vad_spar( hFrontVad = hSpar->hFrontVad; st = hSpar->hCoreCoderVAD; #ifdef FIX_SBA_DTX_DECODE_ERROR if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= SBA_DTX_BITRATE_THRESHOLD ) #else if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= IVAS_80k ) #endif { /*------------------------------------------------------------------* * Initialization Loading
lib_enc/ivas_spar_encoder.c +5 −0 Original line number Diff line number Diff line Loading @@ -319,8 +319,13 @@ ivas_error ivas_spar_enc( *nb_bits_metadata = hMetaData->nb_bits_tot; #ifdef FIX_SBA_DTX_DECODE_ERROR /* Force IVAS front pre-proc decision for higher bitrates */ if ( hEncoderConfig->ivas_total_brate > SBA_DTX_BITRATE_THRESHOLD || hEncoderConfig->Opt_DTX_ON == 0 ) #else /* temp hack to not force IVAS front pre-proc decision for higher bitrates */ if ( hEncoderConfig->ivas_total_brate > IVAS_64k || hEncoderConfig->Opt_DTX_ON == 0 ) #endif { st_ivas->hSpar->front_vad_flag = 0; } Loading