Loading lib_rend/ivas_dirac_dec_binaural_functions_fx.c +8 −6 Original line number Diff line number Diff line Loading @@ -4998,6 +4998,7 @@ static void getDirectPartGains_fx( HRTFS_PARAMBIN_HANDLE hHrtfParambin ) { // float aziRad, eleRad; #if 0 Word32 y, mappedX; Word16 aziRadMapped, A, A2, A3; const Word16 LsAngleRad = 17157; // Q15 Loading @@ -5008,6 +5009,7 @@ static void getDirectPartGains_fx( ptr_sin = &sine_table_Q31[180]; // sin[x] = sine_table_Q31[180 + x] ptr_cos = cosine_table_Q31; #endif IF( renderStereoOutputInsteadOfBinaural ) /* In stereo (i.e. non-binaural) rendering mode */ { Loading Loading @@ -5368,23 +5370,23 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( int16_t bin, ch, inCh, outCh, ismDirIndex, slot, band_idx, bin_lo, bin_hi, max_band, n_ism; SPAT_PARAM_REND_COMMON_DATA_HANDLE hSpatParamRendCom; MASA_ISM_DATA_HANDLE hMasaIsmData; #ifdef OBJ_EDITING_PARAMISM_BIN PARAM_ISM_DEC_HANDLE hParamIsmDec; #endif PARAM_ISM_DEC_HANDLE hParamIsmDec = 0; int16_t nSlots; #if 0 uint8_t enableCentering; int16_t dirac_read_idx; int16_t nSlots; float panGainsOut[4][2]; float panGainsIn[4][2]; float panEnesOut[4][2]; float panEnesIn[4][2]; #endif uint8_t ismGainEdited[4]; uint8_t ismDirEdited[4]; uint8_t masaGainEdited; #if 0 uint8_t masaIsmMode; #endif *cldfb_buf_q = 0; hSpatParamRendCom = st_ivas->hSpatParamRendCom; hMasaIsmData = st_ivas->hMasaIsmData; #if 0 Loading @@ -5398,7 +5400,6 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( { masaIsmMode = 0u; } #endif if ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_FOA || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_HOA2 || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_HOA3 ) { Loading @@ -5408,6 +5409,7 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( { enableCentering = 1; } #endif #ifdef OBJ_EDITING_PARAMISM_BIN if ( st_ivas->ism_mode == ISM_MASA_MODE_DISC || st_ivas->ivas_format == ISM_FORMAT ) Loading Loading
lib_rend/ivas_dirac_dec_binaural_functions_fx.c +8 −6 Original line number Diff line number Diff line Loading @@ -4998,6 +4998,7 @@ static void getDirectPartGains_fx( HRTFS_PARAMBIN_HANDLE hHrtfParambin ) { // float aziRad, eleRad; #if 0 Word32 y, mappedX; Word16 aziRadMapped, A, A2, A3; const Word16 LsAngleRad = 17157; // Q15 Loading @@ -5008,6 +5009,7 @@ static void getDirectPartGains_fx( ptr_sin = &sine_table_Q31[180]; // sin[x] = sine_table_Q31[180 + x] ptr_cos = cosine_table_Q31; #endif IF( renderStereoOutputInsteadOfBinaural ) /* In stereo (i.e. non-binaural) rendering mode */ { Loading Loading @@ -5368,23 +5370,23 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( int16_t bin, ch, inCh, outCh, ismDirIndex, slot, band_idx, bin_lo, bin_hi, max_band, n_ism; SPAT_PARAM_REND_COMMON_DATA_HANDLE hSpatParamRendCom; MASA_ISM_DATA_HANDLE hMasaIsmData; #ifdef OBJ_EDITING_PARAMISM_BIN PARAM_ISM_DEC_HANDLE hParamIsmDec; #endif PARAM_ISM_DEC_HANDLE hParamIsmDec = 0; int16_t nSlots; #if 0 uint8_t enableCentering; int16_t dirac_read_idx; int16_t nSlots; float panGainsOut[4][2]; float panGainsIn[4][2]; float panEnesOut[4][2]; float panEnesIn[4][2]; #endif uint8_t ismGainEdited[4]; uint8_t ismDirEdited[4]; uint8_t masaGainEdited; #if 0 uint8_t masaIsmMode; #endif *cldfb_buf_q = 0; hSpatParamRendCom = st_ivas->hSpatParamRendCom; hMasaIsmData = st_ivas->hMasaIsmData; #if 0 Loading @@ -5398,7 +5400,6 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( { masaIsmMode = 0u; } #endif if ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_FOA || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_HOA2 || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_HOA3 ) { Loading @@ -5408,6 +5409,7 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( { enableCentering = 1; } #endif #ifdef OBJ_EDITING_PARAMISM_BIN if ( st_ivas->ism_mode == ISM_MASA_MODE_DISC || st_ivas->ivas_format == ISM_FORMAT ) Loading