Commit bd63a018 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_FLOAT_1573_POSITION_UPDATE

parent 04d3c40d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -116,7 +116,6 @@
#define FIX_BASOP_2023_TDREND_DISTATT_PRECISION_BUGFIX  /* Eri: Bug discovered in cleanup of basop issue 2023 */
#define FIX_1576_LCLD_CRASH_DIFFERENT_CODEC_ISAR_FRAME_SIZE  /* Dolby: float issue 1576: fix for crash in LCLD mode when codec frame size is less than isar frame size */
#define FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW     /* Orange: float issue 1548: Harmonize non diegetic panning law in ISM and renderers */
#define FIX_FLOAT_1573_POSITION_UPDATE                  /* Eri: Float issue 1573: For static orientation and listener movement, the PoseUpdated flag is cleared and prevents 5 ms update rate. */
#define FIX_BASOP_2521_DIRAC_STEREO_STEFFI_NRGS         /* FhG: BASOP issue 2521: Fix wrong porting for determination of first subframe length in ivas_sba_dirac_stereo_compute_td_stefi_nrgs() */
#define FIX_1452_DEFAULT_REVERB                         /* Nokia/Philips/FhG: Fix default room presets and their usage in renderer */
#define NONBE_FIX_ISSUE_2206_MDCT_STEREO_FIX_2549       /* FhG: Correct scale inconsistency of old_inp_16k_fx buffer scale. */
+0 −8
Original line number Diff line number Diff line
@@ -126,15 +126,9 @@ ivas_error TDREND_MIX_LIST_SetOrient_fx(
    /* Get listener */
    List_p = hBinRendererTd->Listener_p;

#ifdef FIX_FLOAT_1573_POSITION_UPDATE
    /* Evaluate the normalized orientation vectors and set pose update flag */
    /* Use OR since the position may have been updated in TDREND_MIX_LIST_SetPos */
    List_p->PoseUpdated = s_or( List_p->PoseUpdated, TDREND_SPATIAL_EvalOrthonormOrient_fx( List_p->Front_fx, List_p->Up_fx, List_p->Right_fx, FrontVec_p_fx, UpVec_p_fx, orient_q ) ); // Q0
#else
    /* Evaluate the normalized orientation vectors and set pose update flag */
    List_p->PoseUpdated = TDREND_SPATIAL_EvalOrthonormOrient_fx( List_p->Front_fx, List_p->Up_fx, List_p->Right_fx, FrontVec_p_fx, UpVec_p_fx, orient_q ); // Q0
    move16();
#endif

    return IVAS_ERR_OK;
}
@@ -228,10 +222,8 @@ ivas_error TDREND_MIX_Init_fx(
    TDREND_SPATIAL_VecInit_fx( hBinRendererTd->Listener_p->Front_fx, 0, 0, -ONE_IN_Q30 );
    TDREND_SPATIAL_VecInit_fx( hBinRendererTd->Listener_p->Up_fx, 0, ONE_IN_Q30, 0 );
    TDREND_SPATIAL_VecInit_fx( hBinRendererTd->Listener_p->Right_fx, ONE_IN_Q30, 0, 0 );
#ifdef FIX_FLOAT_1573_POSITION_UPDATE
    hBinRendererTd->Listener_p->PoseUpdated = FALSE;
    move16();
#endif

    /* Init HR filter set */
    IF( *hHrtfTD == NULL )