Loading lib_com/ivas_tools.c +0 −74 Original line number Diff line number Diff line Loading @@ -1007,7 +1007,6 @@ void lls_interp_n( return; } #ifdef FIX_ANGLE_WRAPPING /* helper function for panning_wrap_angles */ static float wrap_azi( const float azi_deg ) Loading Loading @@ -1095,79 +1094,6 @@ void panning_wrap_angles( return; } } #else /*-------------------------------------------------------------------* * panning_wrap_angles() * * Wrap angles for amplitude panning to the range: * azimuth = (-180, 180] * elevation = [-90, 90] * Considers direction changes from large elevation values *-------------------------------------------------------------------*/ void panning_wrap_angles( const float azi_deg, /* i : azimuth in degrees for panning direction (positive left) */ const float ele_deg, /* i : elevation in degrees for panning direction (positive up) */ float *azi_wrapped, /* o : wrapped azimuth component */ float *ele_wrapped /* o : wrapped elevation component */ ) { float azi, ele; azi = azi_deg; ele = ele_deg; /* Special case when elevation is a multiple of 90; azimuth is irrelevant */ if ( ( ele != 0 ) && ( fmodf( ele, 90 ) == 0 ) ) { azi = 0; while ( fabsf( ele ) > 90 ) { ele -= 360; } } else { /* Wrap elevation and adjust azimuth accordingly */ while ( fabsf( ele ) > 90 ) { /* Flip to other hemisphere */ azi += 180; /* Compensate elevation accordingly */ if ( ele > 90 ) { ele -= 180; } else if ( ele < -90 ) { ele += 180; } } /* Wrap azimuth value */ while ( fabsf( azi ) > 180 ) { azi = fmodf( azi + 180, 360 ); if ( azi < 0 ) { azi += 360; } azi -= 180; } } /* Set -180 to 180 for deduplication purposes; angles are otherwise identical */ if ( azi == -180 ) { azi = 180; } *azi_wrapped = azi; *ele_wrapped = ele; return; } #endif /*-------------------------------------------------------------------------* * v_sort_ind() Loading lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ #endif #define FIX_I59_DELAY_ROUNDING /* Issue 59: rounding in sample domain instead of nanosec for IVAS_ENC_GetDelay() and IVAS_DEC_GetDelay() */ #define FIX_FIX_I59 /* Issue 59: small fix concerning LFE delay rounding */ #define FIX_ANGLE_WRAPPING /* Issue 244: Problems with angle wrapping*/ #define FIX_245_RANGE_CODER_VOIP_MSAN /* Issue 245: fix use-of-uninitialized-value in range coder in VoIP mode */ #define FIX_272_COV /* Issue 272: Cleanup for code coverage related to calls to ivas_binaural_cldfb() */ #define FIX_235 /* Issue 235: Deallocation of HR filter memory separately for lib_rend (ROM) and lib_util (from file) */ Loading lib_debug/coan_out_000004 0 → 100644 +924 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
lib_com/ivas_tools.c +0 −74 Original line number Diff line number Diff line Loading @@ -1007,7 +1007,6 @@ void lls_interp_n( return; } #ifdef FIX_ANGLE_WRAPPING /* helper function for panning_wrap_angles */ static float wrap_azi( const float azi_deg ) Loading Loading @@ -1095,79 +1094,6 @@ void panning_wrap_angles( return; } } #else /*-------------------------------------------------------------------* * panning_wrap_angles() * * Wrap angles for amplitude panning to the range: * azimuth = (-180, 180] * elevation = [-90, 90] * Considers direction changes from large elevation values *-------------------------------------------------------------------*/ void panning_wrap_angles( const float azi_deg, /* i : azimuth in degrees for panning direction (positive left) */ const float ele_deg, /* i : elevation in degrees for panning direction (positive up) */ float *azi_wrapped, /* o : wrapped azimuth component */ float *ele_wrapped /* o : wrapped elevation component */ ) { float azi, ele; azi = azi_deg; ele = ele_deg; /* Special case when elevation is a multiple of 90; azimuth is irrelevant */ if ( ( ele != 0 ) && ( fmodf( ele, 90 ) == 0 ) ) { azi = 0; while ( fabsf( ele ) > 90 ) { ele -= 360; } } else { /* Wrap elevation and adjust azimuth accordingly */ while ( fabsf( ele ) > 90 ) { /* Flip to other hemisphere */ azi += 180; /* Compensate elevation accordingly */ if ( ele > 90 ) { ele -= 180; } else if ( ele < -90 ) { ele += 180; } } /* Wrap azimuth value */ while ( fabsf( azi ) > 180 ) { azi = fmodf( azi + 180, 360 ); if ( azi < 0 ) { azi += 360; } azi -= 180; } } /* Set -180 to 180 for deduplication purposes; angles are otherwise identical */ if ( azi == -180 ) { azi = 180; } *azi_wrapped = azi; *ele_wrapped = ele; return; } #endif /*-------------------------------------------------------------------------* * v_sort_ind() Loading
lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ #endif #define FIX_I59_DELAY_ROUNDING /* Issue 59: rounding in sample domain instead of nanosec for IVAS_ENC_GetDelay() and IVAS_DEC_GetDelay() */ #define FIX_FIX_I59 /* Issue 59: small fix concerning LFE delay rounding */ #define FIX_ANGLE_WRAPPING /* Issue 244: Problems with angle wrapping*/ #define FIX_245_RANGE_CODER_VOIP_MSAN /* Issue 245: fix use-of-uninitialized-value in range coder in VoIP mode */ #define FIX_272_COV /* Issue 272: Cleanup for code coverage related to calls to ivas_binaural_cldfb() */ #define FIX_235 /* Issue 235: Deallocation of HR filter memory separately for lib_rend (ROM) and lib_util (from file) */ Loading
lib_debug/coan_out_000004 0 → 100644 +924 −0 File added.Preview size limit exceeded, changes collapsed. Show changes