annotate libtwamr/graytab.c @ 523:86d4ec69b36c

miscutil: new program tw5a-dump
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Sep 2024 04:13:28 +0000
parents 675597e63fd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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};