GNU Radio's GSM Package
GSM503Tables.h
Go to the documentation of this file.
1 /*
2 * Copyright 2012, 2014 Range Networks, Inc.
3 *
4 * This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribution.
5 *
6 * This use of this software may be subject to additional restrictions.
7 * See the LEGAL file in the main directory for details.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13 */
14 
15 
16 
17 #ifndef GSM503TABLES_H
18 #define GSM503TABLES_H
19 
20 
21 
22 namespace GSM {
23 
24 // don't change the positions in this enum
25 // (pat) The first 8 values are used as indicies into numerous tables.
26 // (pat) Encoder/decoder mode includes 8 modes for AMR + TCH_FS makes 9.
27 // TODO: Add AFS_SID type. And why is it not type 8?
29 
30 /** Tables #7-14 from GSM 05.03 */
31 extern const unsigned int gAMRBitOrderTCH_AFS12_2[244];
32 extern const unsigned int gAMRBitOrderTCH_AFS10_2[204];
33 extern const unsigned int gAMRBitOrderTCH_AFS7_95[159];
34 extern const unsigned int gAMRBitOrderTCH_AFS7_4[148];
35 extern const unsigned int gAMRBitOrderTCH_AFS6_7[134];
36 extern const unsigned int gAMRBitOrderTCH_AFS5_9[118];
37 extern const unsigned int gAMRBitOrderTCH_AFS5_15[103];
38 extern const unsigned int gAMRBitOrderTCH_AFS4_75[95];
39 
40 /** GSM 05.03 3.9.4.4 */
41 extern const unsigned int gAMRPuncturedTCH_AFS12_2[60];
42 extern const unsigned int gAMRPuncturedTCH_AFS10_2[194];
43 extern const unsigned int gAMRPuncturedTCH_AFS7_95[65];
44 extern const unsigned int gAMRPuncturedTCH_AFS7_4[26];
45 extern const unsigned int gAMRPuncturedTCH_AFS6_7[128];
46 extern const unsigned int gAMRPuncturedTCH_AFS5_9[72];
47 extern const unsigned int gAMRPuncturedTCH_AFS5_15[117];
48 extern const unsigned int gAMRPuncturedTCH_AFS4_75[87];
49 
50 /* GSM 05.03 Tables 7-14 */
51 extern const unsigned *gAMRBitOrder[8];
52 
53 /* GSM 05.03 3.9.4.2 */
54 extern const unsigned gAMRKd[9];
55 
56 /* GSM 05.03 3.9.4.2 */
57 extern const unsigned gAMRClass1ALth[8];
58 
59 /* GSM 05.03 3.9.4.4 */
60 extern const unsigned gAMRTCHUCLth[8];
61 
62 /* GSM 05.03 3.9.4.2 */
63 extern const unsigned gAMRPunctureLth[8];
64 
65 /* GSM 05.03 3.9.4.4 */
66 extern const unsigned *gAMRPuncture[8];
67 
68 }
69 
70 
71 #endif
const unsigned int gAMRBitOrderTCH_AFS10_2[204]
Definition: GSM503Tables.h:28
const unsigned gAMRPunctureLth[8]
const unsigned gAMRTCHUCLth[8]
Definition: GSM503Tables.h:28
const unsigned int gAMRPuncturedTCH_AFS6_7[128]
const unsigned int gAMRPuncturedTCH_AFS5_15[117]
const unsigned int gAMRPuncturedTCH_AFS10_2[194]
AMRMode
Definition: GSM503Tables.h:28
const unsigned int gAMRBitOrderTCH_AFS12_2[244]
Definition: GSM503Tables.h:28
const unsigned * gAMRPuncture[8]
Definition: GSM503Tables.h:28
const unsigned int gAMRBitOrderTCH_AFS7_4[148]
Definition: GSM503Tables.h:28
const unsigned int gAMRBitOrderTCH_AFS5_15[103]
const unsigned int gAMRPuncturedTCH_AFS4_75[87]
Definition: GSM503Tables.h:28
const unsigned gAMRClass1ALth[8]
const unsigned * gAMRBitOrder[8]
const unsigned int gAMRBitOrderTCH_AFS7_95[159]
const unsigned int gAMRPuncturedTCH_AFS5_9[72]
const unsigned int gAMRPuncturedTCH_AFS12_2[60]
Definition: GSM503Tables.h:28
const unsigned int gAMRPuncturedTCH_AFS7_4[26]
const unsigned int gAMRPuncturedTCH_AFS7_95[65]
const unsigned int gAMRBitOrderTCH_AFS5_9[118]
Definition: GSM503Tables.h:28
const unsigned int gAMRBitOrderTCH_AFS6_7[134]
const unsigned int gAMRBitOrderTCH_AFS4_75[95]
Definition: GSM503Tables.h:28
const unsigned gAMRKd[9]