28 { 0, 63 }, { 1, 22 }, { 2, 44 }, { 3, 90 },
29 { 5, 81 }, { 7, 31 }, { 8, 86 }, { 9, 58 },
30 { 10, 36 }, { 12, 68 }, { 13, 39 }, { 14, 73 },
31 { 15, 53 }, { 16, 69 }, { 17, 57 }, { 19, 88 },
32 { 20, 34 }, { 21, 71 }, { 24, 46 }, { 25, 94 },
33 { 26, 54 }, { 28, 75 }, { 29, 50 }, { 32, 70 },
34 { 33, 92 }, { 35, 74 }, { 38, 85 }, { 40, 56 },
35 { 42, 87 }, { 43, 65 }, { 45, 59 }, { 48, 79 },
36 { 49, 93 }, { 51, 89 }, { 55, 95 }, { 61, 76 },
37 { 67, 83 }, { 77, 80 }
43 int n, bs = sub_packet_h * framesize * 2 / 96;
45 for (n = 0; n < 38; n++) {
48 int o = bs * sipr_swaps[
n][1];
51 for (j = 0; j < bs; j++, i++, o++) {
52 int x = (buf[i >> 1] >> (4 * (i & 1))) & 0xF,
53 y = (buf[o >> 1] >> (4 * (o & 1))) & 0xF;
55 buf[o >> 1] = (x << (4 * (o & 1))) |
56 (buf[o >> 1] & (0xF << (4 * !(o & 1))));
57 buf[i >> 1] = (
y << (4 * (i & 1))) |
58 (buf[i >> 1] & (0xF << (4 * !(i & 1))));