Loading lib_com/core_com_config.c +0 −13 Original line number Diff line number Diff line Loading @@ -166,10 +166,8 @@ int16_t getTcxonly( const int16_t element_mode, /* i : IVAS element mode */ const int32_t total_brate, /* i : total bitrate */ const int16_t MCT_flag /* i : hMCT handle allocated (1) or not (0)*/ #ifdef ISM_25k6_HZ_CORE , const int16_t is_ism_format #endif ) { int16_t tcxonly = 0; Loading @@ -183,7 +181,6 @@ int16_t getTcxonly( } break; case IVAS_SCE: #ifdef ISM_25k6_HZ_CORE if ( is_ism_format ) { if ( total_brate > MAX_ACELP_BRATE_ISM ) Loading @@ -200,7 +197,6 @@ int16_t getTcxonly( } break; #endif case IVAS_CPE_DFT: case IVAS_CPE_TD: if ( total_brate > MAX_ACELP_BRATE ) Loading Loading @@ -363,10 +359,8 @@ int32_t getCoreSamplerateMode2( const int16_t bwidth, /* i : audio bandwidth */ const int16_t flag_ACELP16k, /* i : ACELP@16kHz flag */ const int16_t rf_mode /* i : flag to signal the RF mode */ #ifdef ISM_25k6_HZ_CORE , const IVAS_FORMAT is_ism_format /* i : flag indicating ISM format */ #endif ) { int32_t sr_core = 0; Loading @@ -387,7 +381,6 @@ int32_t getCoreSamplerateMode2( { sr_core = INT_FS_16k; } #ifdef ISM_25k6_HZ_CORE else if ( ( bwidth == SWB || bwidth == FB ) && total_brate <= MAX_ACELP_BRATE && element_mode == IVAS_SCE && !is_ism_format ) { sr_core = INT_FS_16k; Loading @@ -400,12 +393,6 @@ int32_t getCoreSamplerateMode2( { sr_core = 25600; } #else else if ( ( bwidth == SWB && total_brate <= MAX_ACELP_BRATE && element_mode == IVAS_SCE ) || ( bwidth == FB && total_brate <= MAX_ACELP_BRATE && element_mode == IVAS_SCE ) ) { sr_core = INT_FS_16k; } #endif else if ( ( ( bwidth == SWB || bwidth == FB ) && element_mode == EVS_MONO && total_brate <= HQ_64k ) || ( element_mode > IVAS_SCE && ( ( bwidth == SWB && total_brate <= IVAS_96k ) || ( bwidth == FB && total_brate <= IVAS_96k ) ) ) ) { sr_core = 25600; Loading lib_com/ivas_cnst.h +0 −2 Original line number Diff line number Diff line Loading @@ -290,9 +290,7 @@ typedef enum #define MAX_VOICED_BRATE ACELP_13k20 /* max. per channel bitrate where VOICED is supported */ #define MIN_TC_BRATE 6450 /* min. per channel bitrate where TRANSITION is supported */ #define MAX_ACELP_BRATE 48000 /* max. per channel bitrate where ACELP core is supported */ #ifdef ISM_25k6_HZ_CORE #define MAX_ACELP_BRATE_ISM 40000 /* max. per channel bitrate where ACELP core is supported in ISM format */ #endif #define ACELP_12k8_HIGH_LIMIT 24350 /* max. per channel bitrate where the ACELP@12.8kHz is supported */ #define ACELP_16k_LOW_LIMIT 13250 /* min. per channel bitrate where the ACELP@16kHz is supported */ Loading lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,6 @@ #define FIX_383_CLEAN_UP /* Dlb : Clean up of unused functions */ #define ISM_25k6_HZ_CORE /* VA: issue 540: 1ISM 48 kbps - change ACELP/TCX 16 kHz core to TCX only 25.6 kHz core */ #define FIX_528_ISM_MD_FILE_TOO_SHORT /* VA: issue 528: ISM Metadata file too short */ Loading lib_com/prot.h +0 −4 Original line number Diff line number Diff line Loading @@ -9766,10 +9766,8 @@ int16_t getTcxonly( const int16_t element_mode, /* i : IVAS element mode */ const int32_t total_brate, /* i : total bitrate */ const int16_t MCT_flag /* i : hMCT handle allocated (1) or not (0)*/ #ifdef ISM_25k6_HZ_CORE , const int16_t is_ism_format #endif ); int16_t getTnsAllowed( Loading Loading @@ -9807,10 +9805,8 @@ int32_t getCoreSamplerateMode2( const int16_t bwidth, /* i : audio bandwidth */ const int16_t flag_ACELP16k, /* i : ACELP@16kHz flag */ const int16_t rf_mode /* i : flag to signal the RF mode */ #ifdef ISM_25k6_HZ_CORE , const IVAS_FORMAT is_ism_format /* i : flag indicating ISM format */ #endif ); float getTcxBandwidth( Loading lib_dec/core_dec_init.c +0 −4 Original line number Diff line number Diff line Loading @@ -75,10 +75,8 @@ void open_decoder_LPD( } st->sr_core = getCoreSamplerateMode2( st->element_mode, total_brate, bwidth, st->flag_ACELP16k, st->rf_flag #ifdef ISM_25k6_HZ_CORE , st->is_ism_format #endif ); st->fscale = sr2fscale( st->sr_core ); fscaleFB = sr2fscale( st->output_Fs ); Loading @@ -99,10 +97,8 @@ void open_decoder_LPD( } st->tcxonly = getTcxonly( st->element_mode, total_brate, MCT_flag #ifdef ISM_25k6_HZ_CORE , st->is_ism_format #endif ); /* the TD TCX PLC in MODE1 still runs with 80ms subframes */ Loading Loading
lib_com/core_com_config.c +0 −13 Original line number Diff line number Diff line Loading @@ -166,10 +166,8 @@ int16_t getTcxonly( const int16_t element_mode, /* i : IVAS element mode */ const int32_t total_brate, /* i : total bitrate */ const int16_t MCT_flag /* i : hMCT handle allocated (1) or not (0)*/ #ifdef ISM_25k6_HZ_CORE , const int16_t is_ism_format #endif ) { int16_t tcxonly = 0; Loading @@ -183,7 +181,6 @@ int16_t getTcxonly( } break; case IVAS_SCE: #ifdef ISM_25k6_HZ_CORE if ( is_ism_format ) { if ( total_brate > MAX_ACELP_BRATE_ISM ) Loading @@ -200,7 +197,6 @@ int16_t getTcxonly( } break; #endif case IVAS_CPE_DFT: case IVAS_CPE_TD: if ( total_brate > MAX_ACELP_BRATE ) Loading Loading @@ -363,10 +359,8 @@ int32_t getCoreSamplerateMode2( const int16_t bwidth, /* i : audio bandwidth */ const int16_t flag_ACELP16k, /* i : ACELP@16kHz flag */ const int16_t rf_mode /* i : flag to signal the RF mode */ #ifdef ISM_25k6_HZ_CORE , const IVAS_FORMAT is_ism_format /* i : flag indicating ISM format */ #endif ) { int32_t sr_core = 0; Loading @@ -387,7 +381,6 @@ int32_t getCoreSamplerateMode2( { sr_core = INT_FS_16k; } #ifdef ISM_25k6_HZ_CORE else if ( ( bwidth == SWB || bwidth == FB ) && total_brate <= MAX_ACELP_BRATE && element_mode == IVAS_SCE && !is_ism_format ) { sr_core = INT_FS_16k; Loading @@ -400,12 +393,6 @@ int32_t getCoreSamplerateMode2( { sr_core = 25600; } #else else if ( ( bwidth == SWB && total_brate <= MAX_ACELP_BRATE && element_mode == IVAS_SCE ) || ( bwidth == FB && total_brate <= MAX_ACELP_BRATE && element_mode == IVAS_SCE ) ) { sr_core = INT_FS_16k; } #endif else if ( ( ( bwidth == SWB || bwidth == FB ) && element_mode == EVS_MONO && total_brate <= HQ_64k ) || ( element_mode > IVAS_SCE && ( ( bwidth == SWB && total_brate <= IVAS_96k ) || ( bwidth == FB && total_brate <= IVAS_96k ) ) ) ) { sr_core = 25600; Loading
lib_com/ivas_cnst.h +0 −2 Original line number Diff line number Diff line Loading @@ -290,9 +290,7 @@ typedef enum #define MAX_VOICED_BRATE ACELP_13k20 /* max. per channel bitrate where VOICED is supported */ #define MIN_TC_BRATE 6450 /* min. per channel bitrate where TRANSITION is supported */ #define MAX_ACELP_BRATE 48000 /* max. per channel bitrate where ACELP core is supported */ #ifdef ISM_25k6_HZ_CORE #define MAX_ACELP_BRATE_ISM 40000 /* max. per channel bitrate where ACELP core is supported in ISM format */ #endif #define ACELP_12k8_HIGH_LIMIT 24350 /* max. per channel bitrate where the ACELP@12.8kHz is supported */ #define ACELP_16k_LOW_LIMIT 13250 /* min. per channel bitrate where the ACELP@16kHz is supported */ Loading
lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,6 @@ #define FIX_383_CLEAN_UP /* Dlb : Clean up of unused functions */ #define ISM_25k6_HZ_CORE /* VA: issue 540: 1ISM 48 kbps - change ACELP/TCX 16 kHz core to TCX only 25.6 kHz core */ #define FIX_528_ISM_MD_FILE_TOO_SHORT /* VA: issue 528: ISM Metadata file too short */ Loading
lib_com/prot.h +0 −4 Original line number Diff line number Diff line Loading @@ -9766,10 +9766,8 @@ int16_t getTcxonly( const int16_t element_mode, /* i : IVAS element mode */ const int32_t total_brate, /* i : total bitrate */ const int16_t MCT_flag /* i : hMCT handle allocated (1) or not (0)*/ #ifdef ISM_25k6_HZ_CORE , const int16_t is_ism_format #endif ); int16_t getTnsAllowed( Loading Loading @@ -9807,10 +9805,8 @@ int32_t getCoreSamplerateMode2( const int16_t bwidth, /* i : audio bandwidth */ const int16_t flag_ACELP16k, /* i : ACELP@16kHz flag */ const int16_t rf_mode /* i : flag to signal the RF mode */ #ifdef ISM_25k6_HZ_CORE , const IVAS_FORMAT is_ism_format /* i : flag indicating ISM format */ #endif ); float getTcxBandwidth( Loading
lib_dec/core_dec_init.c +0 −4 Original line number Diff line number Diff line Loading @@ -75,10 +75,8 @@ void open_decoder_LPD( } st->sr_core = getCoreSamplerateMode2( st->element_mode, total_brate, bwidth, st->flag_ACELP16k, st->rf_flag #ifdef ISM_25k6_HZ_CORE , st->is_ism_format #endif ); st->fscale = sr2fscale( st->sr_core ); fscaleFB = sr2fscale( st->output_Fs ); Loading @@ -99,10 +97,8 @@ void open_decoder_LPD( } st->tcxonly = getTcxonly( st->element_mode, total_brate, MCT_flag #ifdef ISM_25k6_HZ_CORE , st->is_ism_format #endif ); /* the TD TCX PLC in MODE1 still runs with 80ms subframes */ Loading