Commit 403dc3e4 authored by malenov's avatar malenov
Browse files

rename H_low[] to h_low_fx[] as WMC tool capitalizes the array names for Const Data calculation

parent 7bf24e06
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ Word16 FEC_SinOnset_fx(
    exp2 = add( sub( exp2, 15 ), Q_exc ); /* from Q15 to Q_exc */

    /* Find if rescaling needed */
    tmp = extract_h( L_mult( H_low[2], gain ) );
    tmp = extract_h( L_mult( h_low_fx[2], gain ) );
    exp_gain = norm_s( tmp );
    tmp = sub( exp_gain, exp2 ); /* difference */

@@ -131,7 +131,7 @@ Word16 FEC_SinOnset_fx(
    /* Generate the scaled pulse */
    FOR( i = 0; i < MODE1_L_FIR_FER; i++ )
    {
        L_tmp = L_mult( gain, H_low[i] ); /* Q_exc*Q15 -> Q_exc */
        L_tmp = L_mult( gain, h_low_fx[i] ); /* Q_exc*Q15 -> Q_exc */
        H_low_s[i] = round_fx( L_shl( L_tmp, exp2 ) );
        move16();
    }
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
 *----------------------------------------------------------------------------------*/

const float h_low[5] = {  -0.0125f,  0.1090f, 0.7813f,  0.1090f, -0.0125f };
const Word16 H_low[5] =
const Word16 h_low_fx[5] =
{
    -410, 3572, 25602, 3572, -410
};
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
#include "cnst.h"

extern const float h_low[]; /* LP filter for filtering periodic part of excitation in artificial onset construction after FEC */
extern const Word16 H_low[5];
extern const Word16 h_low_fx[5];
extern const Word16 inv_sqi[15];
extern const Word16 sqi[15];
extern const int16_t mult_avq_tab[];