FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/namespace.h @ 322:fc82b113977f
libtwamr: integrate c4_17pf.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 18 Apr 2024 19:41:41 +0000 |
parents | 5fc9a2d12048 |
children | dfd5f159574b |
rev | line source |
---|---|
38
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * The code from ETSI consists of many separate modules and lots of little |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * functions; if we were to keep all those global function names untreated, |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * our library would cause horrible namespace pollution for any application |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 * linking with it. Our current solution: we include this header in all |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 * internal modules, transforming the names of all internal functions |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 * with intermodule linkage. |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 */ |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
10 #ifndef namespace_h |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
11 #define namespace_h |
38
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
13 #define Overflow AMR__Overflow |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
14 #define Carry AMR__Carry |
39
36e1363ad885
libgsmefr: initial import of ETSI header files
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
15 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
16 #define add AMR__add |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
17 #define sub AMR__sub |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
18 #define abs_s AMR__abs_s |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
19 #define shl AMR__shl |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
20 #define shr AMR__shr |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
21 #define mult AMR__mult |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
22 #define L_mult AMR__L_mult |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
23 #define negate AMR__negate |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
24 #define extract_h AMR__extract_h |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
25 #define extract_l AMR__extract_l |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
26 #define round AMR__round |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
27 #define L_mac AMR__L_mac |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
28 #define L_msu AMR__L_msu |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
29 #define L_macNs AMR__L_macNs |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
30 #define L_msuNs AMR__L_msuNs |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
31 #define L_add AMR__L_add |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
32 #define L_sub AMR__L_sub |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
33 #define L_add_c AMR__L_add_c |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
34 #define L_sub_c AMR__L_sub_c |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
35 #define L_negate AMR__L_negate |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
36 #define mult_r AMR__mult_r |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
37 #define L_shl AMR__L_shl |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
38 #define L_shr AMR__L_shr |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
39 #define shr_r AMR__shr_r |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
40 #define mac_r AMR__mac_r |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
41 #define msu_r AMR__msu_r |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
42 #define L_deposit_h AMR__L_deposit_h |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
43 #define L_deposit_l AMR__L_deposit_l |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
44 #define L_shr_r AMR__L_shr_r |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
45 #define L_abs AMR__L_abs |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
46 #define L_sat AMR__L_sat |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
47 #define norm_m AMR__norm_s |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
48 #define div_s AMR__div_s |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
49 #define norm_l AMR__norm_l |
39
36e1363ad885
libgsmefr: initial import of ETSI header files
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
50 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
51 #define L_Extract AMR__L_Extract |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
52 #define L_Comp AMR__L_Comp |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
53 #define Mpy_32 AMR__Mpy_32 |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
54 #define Mpy_32_16 AMR__Mpy_32_16 |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
55 #define Div_32 AMR__Div_32 |
39
36e1363ad885
libgsmefr: initial import of ETSI header files
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
56 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
57 #define Inv_sqrt AMR__Inv_sqrt |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
58 #define Log2 AMR__Log2 |
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
59 #define Pow2 AMR__Pow2 |
39
36e1363ad885
libgsmefr: initial import of ETSI header files
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
60 |
253
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
61 #define A_Refl AMR__A_Refl |
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
62 #define Autocorr AMR__Autocorr |
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
63 #define Az_lsp AMR__Az_lsp |
308
8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
255
diff
changeset
|
64 #define Bgn_scd AMR__Bgn_scd |
8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
255
diff
changeset
|
65 #define Bgn_scd_reset AMR__Bgn_scd_reset |
253
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
66 |
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
67 #define agc AMR__agc |
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
68 #define agc2 AMR__agc2 |
308
8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
255
diff
changeset
|
69 #define agc_reset AMR__agc_reset |
255
07f936338de1
libtwamr: integrated up to b_cn_cod.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
254
diff
changeset
|
70 #define pseudonoise AMR__pseudonoise |
07f936338de1
libtwamr: integrated up to b_cn_cod.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
254
diff
changeset
|
71 #define build_CN_code AMR__build_CN_code |
07f936338de1
libtwamr: integrated up to b_cn_cod.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
254
diff
changeset
|
72 #define build_CN_param AMR__build_CN_param |
308
8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
255
diff
changeset
|
73 #define gmed_n AMR__gmed_n |
8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
255
diff
changeset
|
74 #define sqrt_l_exp AMR__sqrt_l_exp |
314
15c354f75110
libtwamr: integrate set_sign.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
75 #define set_sign AMR__set_sign |
15c354f75110
libtwamr: integrate set_sign.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
76 #define set_sign12k2 AMR__set_sign12k2 |
315
5401aaf7acb0
libtwamr: integrate cor_h.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
314
diff
changeset
|
77 #define cor_h AMR__cor_h |
5401aaf7acb0
libtwamr: integrate cor_h.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
314
diff
changeset
|
78 #define cor_h_x AMR__cor_h_x |
5401aaf7acb0
libtwamr: integrate cor_h.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
314
diff
changeset
|
79 #define cor_h_x2 AMR__cor_h_x2 |
253
54f6bc41ed10
libtwamr: integrate a* modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
252
diff
changeset
|
80 |
254
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
81 #define Bits2prm AMR__Bits2prm |
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
82 #define Prm2bits AMR__Prm2bits |
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
83 |
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
84 #define bitno AMR__bitno |
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
85 #define prmno AMR__prmno |
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
86 #define prmnofs AMR__prmnofs |
317
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
316
diff
changeset
|
87 #define gray AMR__gray |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
316
diff
changeset
|
88 #define dgray AMR__dgray |
255
07f936338de1
libtwamr: integrated up to b_cn_cod.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
254
diff
changeset
|
89 #define window_200_40 AMR__window_200_40 |
07f936338de1
libtwamr: integrated up to b_cn_cod.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
254
diff
changeset
|
90 #define window_160_80 AMR__window_160_80 |
07f936338de1
libtwamr: integrated up to b_cn_cod.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
254
diff
changeset
|
91 #define window_232_8 AMR__window_232_8 |
254
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
92 |
320
ee64aabcc7a0
libtwamr: integrate c2_9pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
319
diff
changeset
|
93 #define code_2i40_9bits AMR__code_2i40_9bits |
319
9bca350be398
libtwamr: integrate c2_11pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
318
diff
changeset
|
94 #define code_2i40_11bits AMR__code_2i40_11bits |
321
5fc9a2d12048
libtwamr: integrate c3_14pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
320
diff
changeset
|
95 #define code_3i40_14bits AMR__code_3i40_14bits |
322
fc82b113977f
libtwamr: integrate c4_17pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
321
diff
changeset
|
96 #define code_4i40_17bits AMR__code_4i40_17bits |
318
6fd6c5fc1aa4
libtwamr: integrate c1035pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
317
diff
changeset
|
97 #define code_10i40_35bits AMR__code_10i40_35bits |
316
ebd064c52fe3
libtwamr: integrate s10_8pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
315
diff
changeset
|
98 #define search_10and8i40 AMR__search_10and8i40 |
ebd064c52fe3
libtwamr: integrate s10_8pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
315
diff
changeset
|
99 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
100 #endif /* include guard */ |