Commit dee81ea3 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

fix path for IVAS

parent 6314efd1
Loading
Loading
Loading
Loading
Loading
+34 −24
Original line number Diff line number Diff line
@@ -1258,20 +1258,29 @@ void open_decoder_LPD_ivas_fx(
#ifdef HARMONIZE_2583_open_decoder_LPD
    /*TODO: CHECK THIS*/
    IF( EQ_32( st->sr_core, INT_FS_16k ) )
    {
        st->gamma = GAMMA1;
        move16();
        st->inv_gamma = GAMMA1_INV;
        move16();
        test();
        test();
        IF( EQ_32( st->sr_core, INT_FS_16k ) ||
            ( GT_32( st->sr_core, INT_FS_16k ) && EQ_16( st->element_mode, IVAS_CPE_MDCT ) ) )
        {
            st->gamma = GAMMA16k;
            move16();
            st->inv_gamma = GAMMA16k_INV;
            move16();
        }
    }
    ELSE
    {
        st->gamma = GAMMA1;
        move16();
#endif

        st->inv_gamma = GAMMA1_INV;
        move16();
    }
#else
        test();
        IF( EQ_32( st->sr_core, INT_FS_16k ) )
        {
            st->gamma = GAMMA16k;
@@ -1290,11 +1299,12 @@ void open_decoder_LPD_ivas_fx(
        {
            st->gamma = GAMMA1;
            move16();
        st->inv_gamma = GAMMA1_INV;
        move16();
        }
#ifdef HARMONIZE_2583_open_decoder_LPD
    }
#endif


    /* LPC quantization */
    test();
    IF( LE_32( st->sr_core, INT_FS_16k ) && EQ_16( st->tcxonly, 0 ) )