FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/graytab.c @ 521:68fe269b4316
gsmx-to-tw5a: actually write to the output file
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Sep 2024 02:21:08 +0000 |
parents | 675597e63fd8 |
children |
rev | line source |
---|---|
317
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 ******************************************************************************** |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001 |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 * R99 Version 3.3.0 |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 * REL-4 Version 4.1.0 |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 * |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ******************************************************************************** |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 * |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 * File : gray.tab |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 * Purpose : gray encoding and decoding tables |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 * $Id $ |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 * |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 * |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ******************************************************************************** |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 */ |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 #include "namespace.h" |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 #include "typedef.h" |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 #include "graytab.h" |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 const Word16 gray[8] = {0, 1, 3, 2, 6, 4, 5, 7}; |
675597e63fd8
libtwamr: integrate gray.tab, convert to intermodule linkage
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 const Word16 dgray[8] = {0, 1, 3, 2, 5, 6, 4, 7}; |