Commit 1eaec7f4 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

Merge branch '1611_ref_external_target_interpolation_different_between_framesizes' into 'float-pc'

port MR 1411 from float to float-pc

See merge request !1731
parents 51c023ed 4fdca6a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -221,6 +221,7 @@
#define FIX_1001_ARI_HM_OVERFLOW                        /* FhG: fix for undef behaviour in in the harmonic TCX model arithmetic coder */
#define NONBE_FIX_1005_MC_RS_TCBUFFER_UPDATE            /* FhG: issue #1005: fix TC Buffer update at a MC rate switch */
#define NONBE_FIX_1004_USAN_DTX_MASA_NO_DIRS             /* Nokia: fix USAN error caused by non-setting of correctly the number of MASA directions in DTX */
#define FIX_1008_EXTORIENT_TARGET_INTERPOLATION          /* FhG: issue #1008, external orientation init was wrong for 5ms */
/* #define NONBE_FIX_991_PARAMBIN_BINARY_HRTF */             /* Nokia: issue #991: fix using of binary file HRTF in ParamBin (to actiate when USE_NEW_HRTF_BINARY_FILE_FORMAT and FIX_777_COMBI_RENDER_CONFIG_FILE are on  )*/

/* #################### End BASOP porting switches ############################ */
+4 −0
Original line number Diff line number Diff line
@@ -804,14 +804,18 @@ ivas_error ivas_combined_orientation_open(
    ( *hCombinedOrientationData )->num_subframes = num_subframes;
    ( *hCombinedOrientationData )->interpolationCoefficient = 1.0f;
    ( *hCombinedOrientationData )->interpolationIncrement = 1.0f;
#ifndef FIX_1008_EXTORIENT_TARGET_INTERPOLATION
    if ( num_subframes == 1 )
    {
        ( *hCombinedOrientationData )->maximumFramesToTargetOrientation = 2000;
    }
    else
    {
#endif
        ( *hCombinedOrientationData )->maximumFramesToTargetOrientation = 500;
#ifndef FIX_1008_EXTORIENT_TARGET_INTERPOLATION
    }
#endif
    ( *hCombinedOrientationData )->lrSwitchedNext = 0;
    ( *hCombinedOrientationData )->lrSwitchedCurrent = 0;
    ( *hCombinedOrientationData )->lrSwitchInterpVal = 0.0f;