Loading lib_enc/ivas_mdct_core_enc.c +1 −5 Original line number Diff line number Diff line Loading @@ -581,7 +581,6 @@ void ivas_mdct_core_whitening_enc( int16_t n, ch, nSubframes, L_subframe, L_subframeTCX, tcx_subframe_coded_lines; float A_q[CPE_CHANNELS][NB_DIV][M + 1]; int16_t sns_vq_indices[CPE_CHANNELS * NB_DIV * SNS_MSVQ_NSTAGES_TCX10]; int16_t nbits_sns; int16_t sns_stereo_mode[NB_DIV]; int16_t idx; int16_t param_lpc[CPE_CHANNELS][NPRM_LPC_NEW]; Loading Loading @@ -908,7 +907,7 @@ void ivas_mdct_core_whitening_enc( if ( !mct_on && sts[0]->sr_core == 25600 && ( ( hCPE->element_brate == IVAS_48k || hCPE->element_brate == IVAS_64k ) ) ) { nbits_sns = quantize_sns( scf, scf_q, sts, sns_vq_indices, zero_side_flag, sns_stereo_mode ); quantize_sns( scf, scf_q, sts, sns_vq_indices, zero_side_flag, sns_stereo_mode ); } else { Loading Loading @@ -1091,7 +1090,6 @@ void ivas_mdct_core_whitening_enc( *--------------------------------------------------------------------------------*/ if ( !mct_on && sts[0]->sr_core == 25600 && ( ( hCPE->element_brate == IVAS_48k || hCPE->element_brate == IVAS_64k ) ) ) { nbits_sns = 0; idx = 0; if ( sts[0]->core == sts[1]->core ) Loading @@ -1102,7 +1100,6 @@ void ivas_mdct_core_whitening_enc( for ( n = 0; n < nSubframes; ++n ) { push_next_indice( hBstr, sns_stereo_mode[n], 1 ); nbits_sns++; sts[0]->side_bits_frame_channel++; } Loading @@ -1112,7 +1109,6 @@ void ivas_mdct_core_whitening_enc( if ( sns_stereo_mode[n] == SNS_STEREO_MODE_MS ) { push_next_indice( hBstr, zero_side_flag[n], 1 ); nbits_sns++; sts[0]->side_bits_frame_channel++; } } Loading Loading
lib_enc/ivas_mdct_core_enc.c +1 −5 Original line number Diff line number Diff line Loading @@ -581,7 +581,6 @@ void ivas_mdct_core_whitening_enc( int16_t n, ch, nSubframes, L_subframe, L_subframeTCX, tcx_subframe_coded_lines; float A_q[CPE_CHANNELS][NB_DIV][M + 1]; int16_t sns_vq_indices[CPE_CHANNELS * NB_DIV * SNS_MSVQ_NSTAGES_TCX10]; int16_t nbits_sns; int16_t sns_stereo_mode[NB_DIV]; int16_t idx; int16_t param_lpc[CPE_CHANNELS][NPRM_LPC_NEW]; Loading Loading @@ -908,7 +907,7 @@ void ivas_mdct_core_whitening_enc( if ( !mct_on && sts[0]->sr_core == 25600 && ( ( hCPE->element_brate == IVAS_48k || hCPE->element_brate == IVAS_64k ) ) ) { nbits_sns = quantize_sns( scf, scf_q, sts, sns_vq_indices, zero_side_flag, sns_stereo_mode ); quantize_sns( scf, scf_q, sts, sns_vq_indices, zero_side_flag, sns_stereo_mode ); } else { Loading Loading @@ -1091,7 +1090,6 @@ void ivas_mdct_core_whitening_enc( *--------------------------------------------------------------------------------*/ if ( !mct_on && sts[0]->sr_core == 25600 && ( ( hCPE->element_brate == IVAS_48k || hCPE->element_brate == IVAS_64k ) ) ) { nbits_sns = 0; idx = 0; if ( sts[0]->core == sts[1]->core ) Loading @@ -1102,7 +1100,6 @@ void ivas_mdct_core_whitening_enc( for ( n = 0; n < nSubframes; ++n ) { push_next_indice( hBstr, sns_stereo_mode[n], 1 ); nbits_sns++; sts[0]->side_bits_frame_channel++; } Loading @@ -1112,7 +1109,6 @@ void ivas_mdct_core_whitening_enc( if ( sns_stereo_mode[n] == SNS_STEREO_MODE_MS ) { push_next_indice( hBstr, zero_side_flag[n], 1 ); nbits_sns++; sts[0]->side_bits_frame_channel++; } } Loading