Loading lib_enc/ivas_spar_encoder.c +2 −2 Original line number Diff line number Diff line Loading @@ -819,14 +819,14 @@ static ivas_error ivas_spar_enc_process( if ( hSpar->hPCA != NULL ) { #ifdef SPAR_SCALING_HARMONIZATION for ( int out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) for ( int16_t out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) { v_multc( p_pcm_tmp[out_ch], MDFT_NORM_SCALING, p_pcm_tmp[out_ch], input_frame ); } #endif ivas_pca_enc( hEncoderConfig, hSpar->hPCA, hMetaData, p_pcm_tmp, input_frame, FOA_CHANNELS ); #ifdef SPAR_SCALING_HARMONIZATION for ( int out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) for ( int16_t out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) { v_multc( p_pcm_tmp[out_ch], PCM16_TO_FLT_FAC, p_pcm_tmp[out_ch], input_frame ); } Loading Loading
lib_enc/ivas_spar_encoder.c +2 −2 Original line number Diff line number Diff line Loading @@ -819,14 +819,14 @@ static ivas_error ivas_spar_enc_process( if ( hSpar->hPCA != NULL ) { #ifdef SPAR_SCALING_HARMONIZATION for ( int out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) for ( int16_t out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) { v_multc( p_pcm_tmp[out_ch], MDFT_NORM_SCALING, p_pcm_tmp[out_ch], input_frame ); } #endif ivas_pca_enc( hEncoderConfig, hSpar->hPCA, hMetaData, p_pcm_tmp, input_frame, FOA_CHANNELS ); #ifdef SPAR_SCALING_HARMONIZATION for ( int out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) for ( int16_t out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ ) { v_multc( p_pcm_tmp[out_ch], PCM16_TO_FLT_FAC, p_pcm_tmp[out_ch], input_frame ); } Loading