Commit 69a038c8 authored by norvell's avatar norvell
Browse files

Cleanup in lib_dec/FEC_HQ_core_fx.c, removing ADD_IVAS_HQ_CODE_FEC

parent 00f498d4
Loading
Loading
Loading
Loading
Loading
+167 −172
Original line number Diff line number Diff line
@@ -725,10 +725,9 @@ void HQ_FEC_Mem_update_fx(
    move32();
#endif
    move32(); // tmp_energy_fx
#ifdef ADD_IVAS_HQ_CODE_FEC

    IF( EQ_16( output_frame, L_FRAME8k ) )
    {
#endif

        IF( is_transient )
        {
@@ -759,10 +758,7 @@ void HQ_FEC_Mem_update_fx(
                }
            }
        }
#ifndef ADD_IVAS_HQ_CODE_FEC
        IF( EQ_16( output_frame, L_FRAME8k ) )
        {
#endif

        /* if LR MDCT core is used, recalculate norms from decoded MDCT spectrum (using code from hq_hr_enc_fx()) */
        test();
        IF( ( EQ_16( hqswb_clas, HQ_HVQ ) ) || ( EQ_16( hq_core_type, LOW_RATE_HQ_CORE ) ) )
@@ -962,13 +958,14 @@ void HQ_FEC_Mem_update_fx(

        hHQ_nbfec->old_Min_ind = Min_ind;
        move16();
        }


        FOR( i = 0; i < L_FRAME8k; i++ )
        {
            hHQ_nbfec->old_coeffs_fx[i] = t_audio_q_fx[i];
            move32();
        }
    }

    hHQ_core->old_is_transient[2] = hHQ_core->old_is_transient[1];
    move16();
@@ -976,9 +973,7 @@ void HQ_FEC_Mem_update_fx(
    move16();
    hHQ_core->old_is_transient[0] = is_transient;
    move16();
#ifdef ADD_IVAS_HQ_CODE_FEC
    }
#endif

    return;
}