FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/namespace.h @ 252:57b4053559ff
libtwamr: beginning of project
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 05 Apr 2024 01:02:23 +0000 |
parents | libgsmefr/namespace.h@cc08498ed21b |
children | 54f6bc41ed10 |
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 |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
61 #endif /* include guard */ |