Loading lib_enc/ivas_decision_matrix_enc.c +3 −0 Original line number Diff line number Diff line Loading @@ -215,6 +215,7 @@ void ivas_decision_matrix_enc( if ( st->core == TCX_20_CORE && st->total_brate < STEREO_TCX_MIN_RATE ) { st->core = ACELP_CORE; #ifdef NONBE_FIX_1205_TD_STEREO_MOD_CT /* In TD stereo at 16.4kbps (not applicable at 13.2kbps), we cannot overwrite the `coder_type` when it is set to TRANSITION, */ /* as it is used for TD stereo bit allocation. To ensure consistent bit allocation, it must remain unchanged on the decoder side. */ Loading @@ -231,6 +232,7 @@ void ivas_decision_matrix_enc( #else st->coder_type = AUDIO; #endif st->sp_aud_decision2 = 0; if ( st->low_rate_mode ) Loading Loading @@ -397,6 +399,7 @@ void ivas_decision_matrix_enc( } } #endif return; } Loading lib_enc/ivas_stereo_classifier.c +1 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,7 @@ static void edge_detect( const float *inp, const int16_t len, const float inp_mi static float redge_detect( const float *inp, const int16_t len, const float inp_min, const float inp_max ); /*-------------------------------------------------------------------* * Function select_stereo_mode() * Loading lib_enc/ivas_stereo_td_enc.c +1 −0 Original line number Diff line number Diff line Loading @@ -482,6 +482,7 @@ void tdm_configure_enc( #ifdef DEBUG_MODE_TD sts[0]->mod_ct_ST = mod_ct; #endif /* Correction of tdm_inst_ratio_idx in case of TC in the seecondary channel */ if ( hStereoTD->flag_skip_DMX == 0 && hStereoTD->tdm_LRTD_flag == 1 && sts[1]->tc_cnt > 1 /*&& abs(hStereoTD->tdm_inst_ratio_idx-LRTD_STEREO_MID_IS_PRIM) > 5*/ ) { Loading lib_enc/stat_enc.h +2 −1 Original line number Diff line number Diff line Loading @@ -1558,8 +1558,9 @@ typedef struct enc_core_structure int16_t sba_br_sw_while_no_data; /* Indicator for SBA bitrate switch while in FRAME_NO_DATA mode */ #ifdef DEBUG_MODE_TD short mod_ct_ST; int16_t mod_ct_ST; #endif } Encoder_State, *ENC_CORE_HANDLE; Loading Loading
lib_enc/ivas_decision_matrix_enc.c +3 −0 Original line number Diff line number Diff line Loading @@ -215,6 +215,7 @@ void ivas_decision_matrix_enc( if ( st->core == TCX_20_CORE && st->total_brate < STEREO_TCX_MIN_RATE ) { st->core = ACELP_CORE; #ifdef NONBE_FIX_1205_TD_STEREO_MOD_CT /* In TD stereo at 16.4kbps (not applicable at 13.2kbps), we cannot overwrite the `coder_type` when it is set to TRANSITION, */ /* as it is used for TD stereo bit allocation. To ensure consistent bit allocation, it must remain unchanged on the decoder side. */ Loading @@ -231,6 +232,7 @@ void ivas_decision_matrix_enc( #else st->coder_type = AUDIO; #endif st->sp_aud_decision2 = 0; if ( st->low_rate_mode ) Loading Loading @@ -397,6 +399,7 @@ void ivas_decision_matrix_enc( } } #endif return; } Loading
lib_enc/ivas_stereo_classifier.c +1 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,7 @@ static void edge_detect( const float *inp, const int16_t len, const float inp_mi static float redge_detect( const float *inp, const int16_t len, const float inp_min, const float inp_max ); /*-------------------------------------------------------------------* * Function select_stereo_mode() * Loading
lib_enc/ivas_stereo_td_enc.c +1 −0 Original line number Diff line number Diff line Loading @@ -482,6 +482,7 @@ void tdm_configure_enc( #ifdef DEBUG_MODE_TD sts[0]->mod_ct_ST = mod_ct; #endif /* Correction of tdm_inst_ratio_idx in case of TC in the seecondary channel */ if ( hStereoTD->flag_skip_DMX == 0 && hStereoTD->tdm_LRTD_flag == 1 && sts[1]->tc_cnt > 1 /*&& abs(hStereoTD->tdm_inst_ratio_idx-LRTD_STEREO_MID_IS_PRIM) > 5*/ ) { Loading
lib_enc/stat_enc.h +2 −1 Original line number Diff line number Diff line Loading @@ -1558,8 +1558,9 @@ typedef struct enc_core_structure int16_t sba_br_sw_while_no_data; /* Indicator for SBA bitrate switch while in FRAME_NO_DATA mode */ #ifdef DEBUG_MODE_TD short mod_ct_ST; int16_t mod_ct_ST; #endif } Encoder_State, *ENC_CORE_HANDLE; Loading