GNU Radio's DSD Package
dstar_const.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 DSD Author
3 * GPG Key ID: 0x3F1D7FD0 (74EF 430D F7F2 0A48 FCE6 F630 FAA2 635D 3F1D 7FD0)
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/*
19 * dstar interleave experiments
20 */
21
22#ifndef _MAIN
23
24extern const int dW[72];
25extern const int dX[72];
26
27#else
28const int dW[72] = {
29
30 // 0-11
31 0, 0,
32 3, 2,
33 1, 1,
34 0, 0,
35 1, 1,
36 0, 0,
37
38 // 12-23
39 3, 2,
40 1, 1,
41 3, 2,
42 1, 1,
43 0, 0,
44 3, 2,
45
46 // 24-35
47 0, 0,
48 3, 2,
49 1, 1,
50 0, 0,
51 1, 1,
52 0, 0,
53
54 // 36-47
55 3, 2,
56 1, 1,
57 3, 2,
58 1, 1,
59 0, 0,
60 3, 2,
61
62 // 48-59
63 0, 0,
64 3, 2,
65 1, 1,
66 0, 0,
67 1, 1,
68 0, 0,
69
70 // 60-71
71 3, 2,
72 1, 1,
73 3, 3,
74 2, 1,
75 0, 0,
76 3, 3,
77};
78const int dX[72] = {
79
80 // 0-11
81 10, 22,
82 11, 9,
83 10, 22,
84 11, 23,
85 8, 20,
86 9, 21,
87
88 // 12-23
89 10, 8,
90 9, 21,
91 8, 6,
92 7, 19,
93 8, 20,
94 9, 7,
95
96 // 24-35
97 6, 18,
98 7, 5,
99 6, 18,
100 7, 19,
101 4, 16,
102 5, 17,
103
104 // 36-47
105 6, 4,
106 5, 17,
107 4, 2,
108 3, 15,
109 4, 16,
110 5, 3,
111
112 // 48-59
113 2, 14,
114 3, 1,
115 2, 14,
116 3, 15,
117 0, 12,
118 1, 13,
119
120 // 60-71
121 2, 0,
122 1, 13,
123 0, 12,
124 10, 11,
125 0, 12,
126 1, 13,
127};
128
129#endif
const int dW[72]
const int dX[72]