Commit 13478ae0 authored by vaclav's avatar vaclav
Browse files

accept NONBE_FIX_809_EXTERNAL_TARGET_INTERPOLATION

parent fea472fb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -172,7 +172,6 @@

#define NONBE_FIX_787_PARAM_UPMIX_LEVEL                       /* Dlb: issue 787: fix level of Mono/Stereo for ParamUpmix mode */
#define NONBE_FIX_802_PARAMUPMIX_HIGHPASS                     /* Dlb: issue 802: Move HighPass filter operation for ParamUpmix */
#define NONBE_FIX_809_EXTERNAL_TARGET_INTERPOLATION           /* FhG: issue 809: unify external target interpolation inter and intra frame behaviour */
#define NONBE_FIX_775_OSBA_BR_SWITCHING_CRASH                 /* FhG: issue 775: fix crash in OSBA with bitrate switching and output order lower than input order */
#define NONBE_FIX_827_JBM_CREND_EARLY_REFLECTIONS             /* FhG: issue #827: Resolve "JBM Crend early reflections are wrong" */
#define NONBE_FIX_833_OSBA_JBM_OBJECT_GAINS                   /* Fhg: issue #833: Resolve "JBM OSBA: the gains for the discrete objects are not computed" */
+1 −2
Original line number Diff line number Diff line
@@ -1357,12 +1357,12 @@ static void external_target_interpolation(

            /* Set the received orientation as the target */
            hCombinedOrientationData->Quaternions_ext_interpolation_target = hExtOrientationData->Quaternions[i];

            /* Use the most recent external orientation as the starting orientation */
            if ( hExtOrientationData->enableExternalOrientation[i] == 1 )
            {
                if ( i > 0 )
                {
#ifdef NONBE_FIX_809_EXTERNAL_TARGET_INTERPOLATION
                    if ( hExtOrientationData->enableExternalOrientation[i - 1] == 0 )
                    {
                        IVAS_QUATERNION identity;
@@ -1375,7 +1375,6 @@ static void external_target_interpolation(
                        hCombinedOrientationData->Quaternions_ext_interpolation_start = hCombinedOrientationData->Quaternion_frozen_ext;
                    }
                    else
#endif
                    {
                        hCombinedOrientationData->Quaternions_ext_interpolation_start = hExtOrientationData->Quaternions[i - 1];
                    }