Commit f420fd71 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] accept NONBE_1300_TDREND_LARGE_ITD

parent 73c02708
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -103,7 +103,6 @@
#define FIX_1387_INIT_PRM_SQQ                           /* FhG: initialize pointer prm_sqQ, which might be uninitialized in case of bfi == 1 */
#define FIX_1349_TNS_CRASH                              /* FhG: Fix crash in TNS entropy coding, in case order of joint TNS coding is reduced to 0 */
#define FIX_1384_MSAN_stereo_tcx_core_enc               /* VA: issue 1384: fix use-of-uninitialized value in stereo_tcx_core_enc() */
#define NONBE_1300_TDREND_LARGE_ITD                     /* Eri: issue 1300: There was a bug feeding 1.25 ms frames to the TD renderer, causing out-of-buffer access. This was resolved. However, it is still possible that modeled HRTF with large ITDs could trigger out-of-buffer access. This adds a check to prevent this.*/
#define FIX_1384_MSAN_ivas_spar_dec_open                /* VA: issue 1386: fix use-of-uninitialized value in ivas_spar_dec_open() */
#define FIX_1388_MSAN_ivas_init_decoder                 /* VA: issue 1388: fix use-of-uninitialized value in ivas_init_decoder() */
#define FIX_1288_SPLIT_REND_XSAN                        /* Dlb: Fix asan, msan and usan issues in split rendering mode*/
+0 −4
Original line number Diff line number Diff line
@@ -509,10 +509,8 @@ ivas_error TDREND_GetMix_fx(
    Word32 hrf_left_delta[SFX_SPAT_BIN_MAX_FILTER_LENGTH];
    Word32 hrf_right_delta[SFX_SPAT_BIN_MAX_FILTER_LENGTH];
    Word16 intp_count;
#ifdef NONBE_1300_TDREND_LARGE_ITD
    Word16 currShift, prevShift, transition_len, length_in2;
    Word16 tmp1, tmp2, tmp_e, tmp3, tmp4, tmp_e2, tlen1, tlen2;
#endif

    Word16 hrf_left_delta_e = 0, hrf_right_delta_e = 0;
    move16();
@@ -549,7 +547,6 @@ ivas_error TDREND_GetMix_fx(
                                                               &intp_count, &Src_p->filterlength, &Src_p->itd,
                                                               &Src_p->Gain_fx,
                                                               Src_p );
#ifdef NONBE_1300_TDREND_LARGE_ITD
            /* For large ITD values at lower sampling rate, check if the transition can be done */
            IF( LT_16( i_mult( Src_p->previtd, Src_p->itd ), 0 ) )
            {
@@ -571,7 +568,6 @@ ivas_error TDREND_GetMix_fx(
                    move16();
                }
            }
#endif
        }

        /* Render source if needed */