Loading lib_enc/ivas_stereo_td_enc.c +2 −1 Original line number Diff line number Diff line Loading @@ -454,7 +454,8 @@ void tdm_configure_enc( { /* Only sure TRANSITION coding modes are important for bit allocation, otherwise mod_ct is set to AUDIO only to easy debugging if needed */ /* Enforce GC coder type on inactive signal (this can be later overwritten to INACTIVE) */ if ( !( sts[0]->localVAD == 0 && sts[0]->coder_type == TRANSITION ) && if ( !( sts[0]->sp_aud_decision1 == 1 && sts[0]->sp_aud_decision2 == 1 && sts[0]->coder_type == TRANSITION && sts[0]->total_brate < STEREO_TCX_MIN_RATE ) && !( sts[0]->localVAD == 0 && sts[0]->coder_type == TRANSITION ) && ( sts[0]->coder_type == TRANSITION || ( ( ( sts[0]->last_L_frame >= L_FRAME16k && sts[0]->flag_ACELP16k == 0 ) || ( sts[0]->last_L_frame == L_FRAME && sts[0]->flag_ACELP16k == 1 ) ) && Loading Loading
lib_enc/ivas_stereo_td_enc.c +2 −1 Original line number Diff line number Diff line Loading @@ -454,7 +454,8 @@ void tdm_configure_enc( { /* Only sure TRANSITION coding modes are important for bit allocation, otherwise mod_ct is set to AUDIO only to easy debugging if needed */ /* Enforce GC coder type on inactive signal (this can be later overwritten to INACTIVE) */ if ( !( sts[0]->localVAD == 0 && sts[0]->coder_type == TRANSITION ) && if ( !( sts[0]->sp_aud_decision1 == 1 && sts[0]->sp_aud_decision2 == 1 && sts[0]->coder_type == TRANSITION && sts[0]->total_brate < STEREO_TCX_MIN_RATE ) && !( sts[0]->localVAD == 0 && sts[0]->coder_type == TRANSITION ) && ( sts[0]->coder_type == TRANSITION || ( ( ( sts[0]->last_L_frame >= L_FRAME16k && sts[0]->flag_ACELP16k == 0 ) || ( sts[0]->last_L_frame == L_FRAME && sts[0]->flag_ACELP16k == 1 ) ) && Loading