Loading lib_dec/ivas_mono_dmx_renderer.c +4 −4 Original line number Diff line number Diff line Loading @@ -233,13 +233,13 @@ void ivas_apply_non_diegetic_panning( #endif #ifdef FIX_2570_BUF_OVFL if ( non_diegetic_pan_gain < -90.0 ) if ( non_diegetic_pan_gain < -90.f ) { wrapped_angle = -180.0 - non_diegetic_pan_gain; wrapped_angle = -180.f - non_diegetic_pan_gain; } else if ( non_diegetic_pan_gain > 90.0 ) else if ( non_diegetic_pan_gain > 90.f ) { wrapped_angle = 180.0 - non_diegetic_pan_gain; wrapped_angle = 180.f - non_diegetic_pan_gain; } else { Loading lib_rend/ivas_objectRenderer_sources.c +4 −4 Original line number Diff line number Diff line Loading @@ -396,13 +396,13 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams( set_f( hrf_right, 0.0f, *filterlength ); #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( SrcSpatial_p->Pos_p[1] < -90.0 ) if ( SrcSpatial_p->Pos_p[1] < -90.f ) { wrapped_angle = -180.0 - SrcSpatial_p->Pos_p[1]; wrapped_angle = -180.f - SrcSpatial_p->Pos_p[1]; } else if ( SrcSpatial_p->Pos_p[1] > 90.0 ) else if ( SrcSpatial_p->Pos_p[1] > 90.f ) { wrapped_angle = 180.0 - SrcSpatial_p->Pos_p[1]; wrapped_angle = 180.f - SrcSpatial_p->Pos_p[1]; } else { Loading lib_rend/lib_rend.c +12 −12 Original line number Diff line number Diff line Loading @@ -2242,13 +2242,13 @@ static ivas_error updateMcPanGainsForMcOut( { #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( inputMc->nonDiegeticPanGain < -90.0 ) if ( inputMc->nonDiegeticPanGain < -90.f ) { wrapped_angle = -180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = -180.f - inputMc->nonDiegeticPanGain; } else if ( inputMc->nonDiegeticPanGain > 90.0 ) else if ( inputMc->nonDiegeticPanGain > 90.f ) { wrapped_angle = 180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = 180.f - inputMc->nonDiegeticPanGain; } else { Loading Loading @@ -2406,13 +2406,13 @@ static ivas_error updateMcPanGainsForBinauralOut( { #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( inputMc->nonDiegeticPanGain < -90.0 ) if ( inputMc->nonDiegeticPanGain < -90.f ) { wrapped_angle = -180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = -180.f - inputMc->nonDiegeticPanGain; } else if ( inputMc->nonDiegeticPanGain > 90.0 ) else if ( inputMc->nonDiegeticPanGain > 90.f ) { wrapped_angle = 180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = 180.f - inputMc->nonDiegeticPanGain; } else { Loading Loading @@ -6063,13 +6063,13 @@ static ivas_error renderIsmToMc( { #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( ismInput->nonDiegeticPanGain < -90.0 ) if ( ismInput->nonDiegeticPanGain < -90.f ) { wrapped_angle = -180.0 - ismInput->nonDiegeticPanGain; wrapped_angle = -180.f - ismInput->nonDiegeticPanGain; } else if ( ismInput->nonDiegeticPanGain > 90.0 ) else if ( ismInput->nonDiegeticPanGain > 90.f ) { wrapped_angle = 180.0 - ismInput->nonDiegeticPanGain; wrapped_angle = 180.f - ismInput->nonDiegeticPanGain; } else { Loading Loading
lib_dec/ivas_mono_dmx_renderer.c +4 −4 Original line number Diff line number Diff line Loading @@ -233,13 +233,13 @@ void ivas_apply_non_diegetic_panning( #endif #ifdef FIX_2570_BUF_OVFL if ( non_diegetic_pan_gain < -90.0 ) if ( non_diegetic_pan_gain < -90.f ) { wrapped_angle = -180.0 - non_diegetic_pan_gain; wrapped_angle = -180.f - non_diegetic_pan_gain; } else if ( non_diegetic_pan_gain > 90.0 ) else if ( non_diegetic_pan_gain > 90.f ) { wrapped_angle = 180.0 - non_diegetic_pan_gain; wrapped_angle = 180.f - non_diegetic_pan_gain; } else { Loading
lib_rend/ivas_objectRenderer_sources.c +4 −4 Original line number Diff line number Diff line Loading @@ -396,13 +396,13 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams( set_f( hrf_right, 0.0f, *filterlength ); #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( SrcSpatial_p->Pos_p[1] < -90.0 ) if ( SrcSpatial_p->Pos_p[1] < -90.f ) { wrapped_angle = -180.0 - SrcSpatial_p->Pos_p[1]; wrapped_angle = -180.f - SrcSpatial_p->Pos_p[1]; } else if ( SrcSpatial_p->Pos_p[1] > 90.0 ) else if ( SrcSpatial_p->Pos_p[1] > 90.f ) { wrapped_angle = 180.0 - SrcSpatial_p->Pos_p[1]; wrapped_angle = 180.f - SrcSpatial_p->Pos_p[1]; } else { Loading
lib_rend/lib_rend.c +12 −12 Original line number Diff line number Diff line Loading @@ -2242,13 +2242,13 @@ static ivas_error updateMcPanGainsForMcOut( { #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( inputMc->nonDiegeticPanGain < -90.0 ) if ( inputMc->nonDiegeticPanGain < -90.f ) { wrapped_angle = -180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = -180.f - inputMc->nonDiegeticPanGain; } else if ( inputMc->nonDiegeticPanGain > 90.0 ) else if ( inputMc->nonDiegeticPanGain > 90.f ) { wrapped_angle = 180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = 180.f - inputMc->nonDiegeticPanGain; } else { Loading Loading @@ -2406,13 +2406,13 @@ static ivas_error updateMcPanGainsForBinauralOut( { #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( inputMc->nonDiegeticPanGain < -90.0 ) if ( inputMc->nonDiegeticPanGain < -90.f ) { wrapped_angle = -180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = -180.f - inputMc->nonDiegeticPanGain; } else if ( inputMc->nonDiegeticPanGain > 90.0 ) else if ( inputMc->nonDiegeticPanGain > 90.f ) { wrapped_angle = 180.0 - inputMc->nonDiegeticPanGain; wrapped_angle = 180.f - inputMc->nonDiegeticPanGain; } else { Loading Loading @@ -6063,13 +6063,13 @@ static ivas_error renderIsmToMc( { #ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW #ifdef FIX_2570_BUF_OVFL if ( ismInput->nonDiegeticPanGain < -90.0 ) if ( ismInput->nonDiegeticPanGain < -90.f ) { wrapped_angle = -180.0 - ismInput->nonDiegeticPanGain; wrapped_angle = -180.f - ismInput->nonDiegeticPanGain; } else if ( ismInput->nonDiegeticPanGain > 90.0 ) else if ( ismInput->nonDiegeticPanGain > 90.f ) { wrapped_angle = 180.0 - ismInput->nonDiegeticPanGain; wrapped_angle = 180.f - ismInput->nonDiegeticPanGain; } else { Loading