Loading lib_com/ivas_stereo_td_bit_alloc.c +6 −6 Original line number Diff line number Diff line Loading @@ -408,12 +408,13 @@ void tdm_bit_alloc( } *total_brate_sec += ( fast_FCB_rates_2sfr[idx] - tmp_rate ); } #ifndef FIX_751_MASA_TD_BITRATE_CHECK /* prevent 2.4 kb/s and 2.8 kb/s as they are reserved bitrates for DTX and VBR */ if ( *total_brate_sec == PPP_NELP_2k80 || *total_brate_sec == SID_2k40 ) { *total_brate_sec += 100; } #endif /* To prevent 13.2 kb/s for primary channel as some bitstream issues arrise with it */ if ( element_brate_wo_meta - *total_brate_sec == ACELP_13k20 ) { Loading @@ -421,13 +422,12 @@ void tdm_bit_alloc( } } #ifdef FIX_751_MASA_TD_BITRATE_CHECK else { /* prevent 2.4 kb/s and 2.8 kb/s as they are reserved bitrates for DTX and VBR */ if ( *total_brate_sec == PPP_NELP_2k80 || *total_brate_sec == SID_2k40 ) { *total_brate_sec += 100; } *total_brate_sec -= 100; } #endif *total_brate_pri = element_brate_wo_meta - *total_brate_sec; Loading Loading
lib_com/ivas_stereo_td_bit_alloc.c +6 −6 Original line number Diff line number Diff line Loading @@ -408,12 +408,13 @@ void tdm_bit_alloc( } *total_brate_sec += ( fast_FCB_rates_2sfr[idx] - tmp_rate ); } #ifndef FIX_751_MASA_TD_BITRATE_CHECK /* prevent 2.4 kb/s and 2.8 kb/s as they are reserved bitrates for DTX and VBR */ if ( *total_brate_sec == PPP_NELP_2k80 || *total_brate_sec == SID_2k40 ) { *total_brate_sec += 100; } #endif /* To prevent 13.2 kb/s for primary channel as some bitstream issues arrise with it */ if ( element_brate_wo_meta - *total_brate_sec == ACELP_13k20 ) { Loading @@ -421,13 +422,12 @@ void tdm_bit_alloc( } } #ifdef FIX_751_MASA_TD_BITRATE_CHECK else { /* prevent 2.4 kb/s and 2.8 kb/s as they are reserved bitrates for DTX and VBR */ if ( *total_brate_sec == PPP_NELP_2k80 || *total_brate_sec == SID_2k40 ) { *total_brate_sec += 100; } *total_brate_sec -= 100; } #endif *total_brate_pri = element_brate_wo_meta - *total_brate_sec; Loading