]>
Commit | Line | Data |
---|---|---|
1 | static unsigned char ulaw_dsp[] = { | |
2 | 3, 7, 11, 15, 19, 23, 27, 31, | |
3 | 35, 39, 43, 47, 51, 55, 59, 63, | |
4 | 66, 68, 70, 72, 74, 76, 78, 80, | |
5 | 82, 84, 86, 88, 90, 92, 94, 96, | |
6 | 98, 99, 100, 101, 102, 103, 104, 105, | |
7 | 106, 107, 108, 109, 110, 111, 112, 113, | |
8 | 113, 114, 114, 115, 115, 116, 116, 117, | |
9 | 117, 118, 118, 119, 119, 120, 120, 121, | |
10 | 121, 121, 122, 122, 122, 122, 123, 123, | |
11 | 123, 123, 124, 124, 124, 124, 125, 125, | |
12 | 125, 125, 125, 125, 126, 126, 126, 126, | |
13 | 126, 126, 126, 126, 127, 127, 127, 127, | |
14 | 127, 127, 127, 127, 127, 127, 127, 127, | |
15 | 128, 128, 128, 128, 128, 128, 128, 128, | |
16 | 128, 128, 128, 128, 128, 128, 128, 128, | |
17 | 128, 128, 128, 128, 128, 128, 128, 128, | |
18 | 253, 249, 245, 241, 237, 233, 229, 225, | |
19 | 221, 217, 213, 209, 205, 201, 197, 193, | |
20 | 190, 188, 186, 184, 182, 180, 178, 176, | |
21 | 174, 172, 170, 168, 166, 164, 162, 160, | |
22 | 158, 157, 156, 155, 154, 153, 152, 151, | |
23 | 150, 149, 148, 147, 146, 145, 144, 143, | |
24 | 143, 142, 142, 141, 141, 140, 140, 139, | |
25 | 139, 138, 138, 137, 137, 136, 136, 135, | |
26 | 135, 135, 134, 134, 134, 134, 133, 133, | |
27 | 133, 133, 132, 132, 132, 132, 131, 131, | |
28 | 131, 131, 131, 131, 130, 130, 130, 130, | |
29 | 130, 130, 130, 130, 129, 129, 129, 129, | |
30 | 129, 129, 129, 129, 129, 129, 129, 129, | |
31 | 128, 128, 128, 128, 128, 128, 128, 128, | |
32 | 128, 128, 128, 128, 128, 128, 128, 128, | |
33 | 128, 128, 128, 128, 128, 128, 128, 128, | |
34 | }; | |
35 | ||
36 | static unsigned char dsp_ulaw[] = { | |
37 | 0, 0, 0, 0, 0, 1, 1, 1, | |
38 | 1, 2, 2, 2, 2, 3, 3, 3, | |
39 | 3, 4, 4, 4, 4, 5, 5, 5, | |
40 | 5, 6, 6, 6, 6, 7, 7, 7, | |
41 | 7, 8, 8, 8, 8, 9, 9, 9, | |
42 | 9, 10, 10, 10, 10, 11, 11, 11, | |
43 | 11, 12, 12, 12, 12, 13, 13, 13, | |
44 | 13, 14, 14, 14, 14, 15, 15, 15, | |
45 | 15, 16, 16, 17, 17, 18, 18, 19, | |
46 | 19, 20, 20, 21, 21, 22, 22, 23, | |
47 | 23, 24, 24, 25, 25, 26, 26, 27, | |
48 | 27, 28, 28, 29, 29, 30, 30, 31, | |
49 | 31, 32, 33, 34, 35, 36, 37, 38, | |
50 | 39, 40, 41, 42, 43, 44, 45, 46, | |
51 | 47, 49, 51, 53, 55, 57, 59, 61, | |
52 | 63, 66, 70, 74, 78, 84, 92, 104, | |
53 | 254, 231, 219, 211, 205, 201, 197, 193, | |
54 | 190, 188, 186, 184, 182, 180, 178, 176, | |
55 | 175, 174, 173, 172, 171, 170, 169, 168, | |
56 | 167, 166, 165, 164, 163, 162, 161, 160, | |
57 | 159, 159, 158, 158, 157, 157, 156, 156, | |
58 | 155, 155, 154, 154, 153, 153, 152, 152, | |
59 | 151, 151, 150, 150, 149, 149, 148, 148, | |
60 | 147, 147, 146, 146, 145, 145, 144, 144, | |
61 | 143, 143, 143, 143, 142, 142, 142, 142, | |
62 | 141, 141, 141, 141, 140, 140, 140, 140, | |
63 | 139, 139, 139, 139, 138, 138, 138, 138, | |
64 | 137, 137, 137, 137, 136, 136, 136, 136, | |
65 | 135, 135, 135, 135, 134, 134, 134, 134, | |
66 | 133, 133, 133, 133, 132, 132, 132, 132, | |
67 | 131, 131, 131, 131, 130, 130, 130, 130, | |
68 | 129, 129, 129, 129, 128, 128, 128, 128, | |
69 | }; |