Loading lib_com/options.h +2 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,8 @@ #define FIX_372_LIB_REND_VALIDATE_IO /* FhG: Issue 372: IVAS_rend segfaults with unsupported I/O configs - add validation checks of I/O config */ #define TD5 /* Eri: Contribution 17: Extended metadata for 6 DoF rendering in TD renderer */ #define FIX_376_SBA_ROTATE /*DLB: Fix for issue 376*/ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ #endif lib_rend/lib_rend.c +12 −0 Original line number Diff line number Diff line Loading @@ -4344,7 +4344,18 @@ static ivas_error rotateFrameSba( ( 1 - headRotData->crossfade[i] ) * gains_prev[n][m] * ( *readPtr ); } } #ifdef FIX_376_SBA_ROTATE /* write back the result */ for ( n = m1; n < m2; n++ ) { writePtr = getSmplPtr( outAudio, n, subframe_idx * subframe_len + i ); ( *writePtr ) = tmpRot[n - m1]; } m1 = m2; m2 += 2 * ( l + 1 ) + 1; #endif } #ifndef FIX_376_SBA_ROTATE /* write back the result */ for ( n = m1; n < m2; n++ ) { Loading @@ -4353,6 +4364,7 @@ static ivas_error rotateFrameSba( } m1 = m2; m2 += 2 * ( l + 1 ) + 1; #endif } /*unoptimized code for reference (full matrix multiplication)*/ Loading Loading
lib_com/options.h +2 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,8 @@ #define FIX_372_LIB_REND_VALIDATE_IO /* FhG: Issue 372: IVAS_rend segfaults with unsupported I/O configs - add validation checks of I/O config */ #define TD5 /* Eri: Contribution 17: Extended metadata for 6 DoF rendering in TD renderer */ #define FIX_376_SBA_ROTATE /*DLB: Fix for issue 376*/ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ #endif
lib_rend/lib_rend.c +12 −0 Original line number Diff line number Diff line Loading @@ -4344,7 +4344,18 @@ static ivas_error rotateFrameSba( ( 1 - headRotData->crossfade[i] ) * gains_prev[n][m] * ( *readPtr ); } } #ifdef FIX_376_SBA_ROTATE /* write back the result */ for ( n = m1; n < m2; n++ ) { writePtr = getSmplPtr( outAudio, n, subframe_idx * subframe_len + i ); ( *writePtr ) = tmpRot[n - m1]; } m1 = m2; m2 += 2 * ( l + 1 ) + 1; #endif } #ifndef FIX_376_SBA_ROTATE /* write back the result */ for ( n = m1; n < m2; n++ ) { Loading @@ -4353,6 +4364,7 @@ static ivas_error rotateFrameSba( } m1 = m2; m2 += 2 * ( l + 1 ) + 1; #endif } /*unoptimized code for reference (full matrix multiplication)*/ Loading