Commit 9d7f1c9a authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE,...

[cleanup] accept FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE, FIX_622_SILENCE_USAN_WARNING, FIX_615_UBSAN_SPAR_TO_DIRAC
parent 5426f32e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -229,11 +229,7 @@ void ifft_rel(
     *-----------------------------------------------------------------*/

    idx = fft256_read_indexes;
#ifdef FIX_622_SILENCE_USAN_WARNING
    xi0 = &temp[0] - 1;
#else
    xi0 = temp - 1;
#endif
    if ( n == 128 )
    {
        for ( i = 0; i < n; i++ )
+0 −4
Original line number Diff line number Diff line
@@ -915,12 +915,8 @@ enum fea_names
#define MDCT_ST_PLC_FADEOUT_DELAY_4_LSP_FADE    3

typedef enum {
#ifdef FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE
    NOISE_GEN_MODE_UNDEF = -1,
    EQUAL_CORES = 0,
#else
    EQUAL_CORES,
#endif
    TCX10_IN_0_TCX20_IN_1,
    TCX20_IN_0_TCX10_IN_1,
} TONALMDCTCONC_NOISE_GEN_MODE;
+0 −4
Original line number Diff line number Diff line
@@ -1792,11 +1792,7 @@ void ivas_get_spar_md_from_dirac(
    {
        for ( band = start_band; band < end_band; band++ )
        {
#ifdef FIX_615_UBSAN_SPAR_TO_DIRAC
            ndm = hSpar_md_cfg->num_dmx_chans_per_band[band];
#else
            ndm = hSpar_md_cfg->num_dmx_chans_per_band[band - 1];
#endif

            /*SPAR from DirAC*/
            set_f( response_avg, 0.0f, MAX_OUTPUT_CHANNELS );
+0 −3
Original line number Diff line number Diff line
@@ -158,9 +158,6 @@
#define FIX_658_SPLIT_REND_MASA                         /*Dlb : Fix for issue 658, uninitialized memory access in MASA in Split rendering 0DOF mode*/                 
#endif

#define FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE      /* FhG: fix usan error */
#define FIX_622_SILENCE_USAN_WARNING                    /* FhG: silenceusan warning in ifft code */
#define FIX_615_UBSAN_SPAR_TO_DIRAC                     /*Dlb : Fix for UBSAN issue 615*/

#define FIX_624_PLANAR_SBA_WB                           /*Dlb : Fix for unintialised value issue 624 */
#define FIX_629_UBSAN_MD_MAX_BITS                       /*Dlb : Fix for UBSAN issue 629 for MD MAX bits calculation*/
+0 −4
Original line number Diff line number Diff line
@@ -526,11 +526,7 @@ void ivas_mdct_core_invQ(

    sts = hCPE->hCoreCoder;
    bfi = sts[0]->bfi;
#ifdef FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE
    noise_gen_mode_bfi = NOISE_GEN_MODE_UNDEF;
#else
    noise_gen_mode_bfi = -1;
#endif

    set_f( xn_buf, 0, L_MDCT_OVLP_MAX + L_FRAME_PLUS + L_MDCT_OVLP_MAX );
    set_s( total_nbbits, 0, CPE_CHANNELS );