Commit 2f1c8b42 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_376_SBA_ROTATE

parent dcdae3bb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -144,7 +144,6 @@
/*#define SBA_HPF_TUNING_DEC*/

#define FIX_350_MASA_DELAY_COMP                         /* Nokia: Issue 350: MASA audio/meta delay compensation */
#define FIX_376_SBA_ROTATE                              /*DLB: Fix for issue 376*/
#define TD5                                             /* Eri: Contribution 17: Extended metadata for 6 DoF rendering in TD renderer */
#define TD5_FIX_INVALID_MEMORY_ACCESS                   /* FhG: Resolves segfault in case IVAS_REND_InitConfig gets initialized with rendererConfigEnabled:=false && ISM are being rendered */
#define FIX_371_DELAY_REPORT                            /* Issue 371: div. by zero with -no_delay_cmp */
+0 −12
Original line number Diff line number Diff line
@@ -4285,7 +4285,6 @@ 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++ )
                {
@@ -4294,18 +4293,7 @@ static ivas_error rotateFrameSba(
                }
                m1 = m2;
                m2 += 2 * ( l + 1 ) + 1;
#endif
            }
#ifndef 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
        }

        /*unoptimized code for reference (full matrix multiplication)*/