FreeCalypso > hg > gsm-codec-lib
comparison libgsmefr/weight_a.c @ 93:b651adfce60d
libgsmefr: weight_a.c compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 26 Nov 2022 17:56:24 +0000 |
parents | 49dd1ac8e75b |
children |
comparison
equal
deleted
inserted
replaced
92:bb71c5414e71 | 93:b651adfce60d |
---|---|
7 * DESCRIPTION: | 7 * DESCRIPTION: |
8 * a_exp[i] = a[i] * fac[i-1] ,i=1,10 | 8 * a_exp[i] = a[i] * fac[i-1] ,i=1,10 |
9 * | 9 * |
10 *************************************************************************/ | 10 *************************************************************************/ |
11 | 11 |
12 #include "gsm_efr.h" | |
12 #include "typedef.h" | 13 #include "typedef.h" |
14 #include "namespace.h" | |
13 #include "basic_op.h" | 15 #include "basic_op.h" |
14 #include "count.h" | 16 #include "no_count.h" |
17 #include "sig_proc.h" | |
15 | 18 |
16 /* m = LPC order == 10 */ | 19 /* m = LPC order == 10 */ |
17 #define m 10 | 20 #define m 10 |
18 | 21 |
19 void Weight_Ai ( | 22 void Weight_Ai ( |
20 Word16 a[], /* (i) : a[m+1] LPC coefficients (m=10) */ | 23 Word16 a[], /* (i) : a[m+1] LPC coefficients (m=10) */ |
21 Word16 fac[], /* (i) : Spectral expansion factors. */ | 24 const Word16 fac[], /* (i) : Spectral expansion factors. */ |
22 Word16 a_exp[] /* (o) : Spectral expanded LPC coefficients */ | 25 Word16 a_exp[] /* (o) : Spectral expanded LPC coefficients */ |
23 ) | 26 ) |
24 { | 27 { |
25 Word16 i; | 28 Word16 i; |
26 | 29 |