blob: 7c40a9a393fab9bf96972c2ea3e41ce90220aea6 [file] [log] [blame]
Roman Khassraf059bab92015-05-20 12:49:46 +02001/* AMR (GSM 06.90) importance bit ordering */
2
3/*
4 * Copyright 2010 Sylvain Munaut <tnt@246tNt.com>
5 * All Rights Reserved
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#include "GSM690Tables.h"
22
23unsigned int GSM::g690_12_2_BitOrder[244] = {
24 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
25 10, 11, 12, 13, 14, 23, 15, 16, 17, 18,
26 19, 20, 21, 22, 24, 25, 26, 27, 28, 38,
27 141, 39, 142, 40, 143, 41, 144, 42, 145, 43,
28 146, 44, 147, 45, 148, 46, 149, 47, 97, 150,
29 200, 48, 98, 151, 201, 49, 99, 152, 202, 86,
30 136, 189, 239, 87, 137, 190, 240, 88, 138, 191,
31 241, 91, 194, 92, 195, 93, 196, 94, 197, 95,
32 198, 29, 30, 31, 32, 33, 34, 35, 50, 100,
33 153, 203, 89, 139, 192, 242, 51, 101, 154, 204,
34 55, 105, 158, 208, 90, 140, 193, 243, 59, 109,
35 162, 212, 63, 113, 166, 216, 67, 117, 170, 220,
36 36, 37, 54, 53, 52, 58, 57, 56, 62, 61,
37 60, 66, 65, 64, 70, 69, 68, 104, 103, 102,
38 108, 107, 106, 112, 111, 110, 116, 115, 114, 120,
39 119, 118, 157, 156, 155, 161, 160, 159, 165, 164,
40 163, 169, 168, 167, 173, 172, 171, 207, 206, 205,
41 211, 210, 209, 215, 214, 213, 219, 218, 217, 223,
42 222, 221, 73, 72, 71, 76, 75, 74, 79, 78,
43 77, 82, 81, 80, 85, 84, 83, 123, 122, 121,
44 126, 125, 124, 129, 128, 127, 132, 131, 130, 135,
45 134, 133, 176, 175, 174, 179, 178, 177, 182, 181,
46 180, 185, 184, 183, 188, 187, 186, 226, 225, 224,
47 229, 228, 227, 232, 231, 230, 235, 234, 233, 238,
48 237, 236, 96, 199,
49};