📄 tab_lbc.c
字号:
-7900 ,
-8076 ,
-8250 ,
-8423 ,
-8595 ,
-8765 ,
-8935 ,
-9102 ,
-9269 ,
-9434 ,
-9598 ,
-9760 ,
-9921 ,
-10080,
-10238,
-10394,
-10549,
-10702,
-10853,
-11003,
-11151,
-11297,
-11442,
-11585,
-11727,
-11866,
-12004,
-12140,
-12274,
-12406,
-12537,
-12665,
-12792,
-12916,
-13039,
-13160,
-13279,
-13395,
-13510,
-13623,
-13733,
-13842,
-13949,
-14053,
-14155,
-14256,
-14354,
-14449,
-14543,
-14635,
-14724,
-14811,
-14896,
-14978,
-15059,
-15137,
-15213,
-15286,
-15357,
-15426,
-15493,
-15557,
-15619,
-15679,
-15736,
-15791,
-15843,
-15893,
-15941,
-15986,
-16029,
-16069,
-16107,
-16143,
-16176,
-16207,
-16235,
-16261,
-16284,
-16305,
-16324,
-16340,
-16353,
-16364,
-16373,
-16379,
-16383,
-16384,
-16383,
-16379,
-16373,
-16364,
-16353,
-16340,
-16324,
-16305,
-16284,
-16261,
-16235,
-16207,
-16176,
-16143,
-16107,
-16069,
-16029,
-15986,
-15941,
-15893,
-15843,
-15791,
-15736,
-15679,
-15619,
-15557,
-15493,
-15426,
-15357,
-15286,
-15213,
-15137,
-15059,
-14978,
-14896,
-14811,
-14724,
-14635,
-14543,
-14449,
-14354,
-14256,
-14155,
-14053,
-13949,
-13842,
-13733,
-13623,
-13510,
-13395,
-13279,
-13160,
-13039,
-12916,
-12792,
-12665,
-12537,
-12406,
-12274,
-12140,
-12004,
-11866,
-11727,
-11585,
-11442,
-11297,
-11151,
-11003,
-10853,
-10702,
-10549,
-10394,
-10238,
-10080,
-9921 ,
-9760 ,
-9598 ,
-9434 ,
-9269 ,
-9102 ,
-8935 ,
-8765 ,
-8595 ,
-8423 ,
-8250 ,
-8076 ,
-7900 ,
-7723 ,
-7545 ,
-7366 ,
-7186 ,
-7005 ,
-6823 ,
-6639 ,
-6455 ,
-6270 ,
-6084 ,
-5897 ,
-5708 ,
-5520 ,
-5330 ,
-5139 ,
-4948 ,
-4756 ,
-4563 ,
-4370 ,
-4176 ,
-3981 ,
-3786 ,
-3590 ,
-3393 ,
-3196 ,
-2999 ,
-2801 ,
-2603 ,
-2404 ,
-2205 ,
-2006 ,
-1806 ,
-1606 ,
-1406 ,
-1205 ,
-1005 ,
-804 ,
-603 ,
-402 ,
-201 ,
0 ,
201 ,
402 ,
603 ,
804 ,
1005 ,
1205 ,
1406 ,
1606 ,
1806 ,
2006 ,
2205 ,
2404 ,
2603 ,
2801 ,
2999 ,
3196 ,
3393 ,
3590 ,
3786 ,
3981 ,
4176 ,
4370 ,
4563 ,
4756 ,
4948 ,
5139 ,
5330 ,
5520 ,
5708 ,
5897 ,
6084 ,
6270 ,
6455 ,
6639 ,
6823 ,
7005 ,
7186 ,
7366 ,
7545 ,
7723 ,
7900 ,
8076 ,
8250 ,
8423 ,
8595 ,
8765 ,
8935 ,
9102 ,
9269 ,
9434 ,
9598 ,
9760 ,
9921 ,
10080 ,
10238 ,
10394 ,
10549 ,
10702 ,
10853 ,
11003 ,
11151 ,
11297 ,
11442 ,
11585 ,
11727 ,
11866 ,
12004 ,
12140 ,
12274 ,
12406 ,
12537 ,
12665 ,
12792 ,
12916 ,
13039 ,
13160 ,
13279 ,
13395 ,
13510 ,
13623 ,
13733 ,
13842 ,
13949 ,
14053 ,
14155 ,
14256 ,
14354 ,
14449 ,
14543 ,
14635 ,
14724 ,
14811 ,
14896 ,
14978 ,
15059 ,
15137 ,
15213 ,
15286 ,
15357 ,
15426 ,
15493 ,
15557 ,
15619 ,
15679 ,
15736 ,
15791 ,
15843 ,
15893 ,
15941 ,
15986 ,
16029 ,
16069 ,
16107 ,
16143 ,
16176 ,
16207 ,
16235 ,
16261 ,
16284 ,
16305 ,
16324 ,
16340 ,
16353 ,
16364 ,
16373 ,
16379 ,
16383 ,
} ;
/*
** LspDcTable: LSP long term Dc component
**
*/
Word16 LspDcTable[LpcOrder] = {
0x0c3b ,
0x1271 ,
0x1e0a ,
0x2a36 ,
0x3630 ,
0x406f ,
0x4d28 ,
0x56f4 ,
0x638c ,
0x6c46 ,
} ;
/*
** BandInfoTable:
**
** Purpose:
** Used to index in arrays. Called by LSP sub vector
** quantization routines.
**
** Table Structure:
** The unquantized LSP vector, quantized LSP vector, and residual
** LSP error vector are each divided into three subvectors.
** The table format is as follows:
**
** 1st pair corresponds to subvector 0
** 2nd pair corresponds to subvector 1
** 3rd pair corresponds to subvector 2
**
** The 1st slot in each pair is used to index the location of
** the vector in a 10-element array. For example, for subvector
** 1, dimensions [0,..,2] get automatically mapped to array
** location [3,..,5], and for subvector 3, dimensions
** [0,..,3] automatically get mapped to array location [6,..,9].
**
** The 2nd slot in each pair corresponds to the dimension of
** the subvector
*/
Word16 BandInfoTable[LspQntBands][2] = {
{ 0,3},
{ 3,3},
{ 6,4}
} ;
/*
** Band0Tb8:
**
** Purpose:
** Vector Quantize the first 3-vector of the 10 LSP parameters.
**
** Table Structure:
** 8 bit, 256 entry table.
*/
Word16 Band0Tb8[LspCbSize*3] = {
0, 0, 0,
-270, -1372, -1032,
-541, -1650, -1382,
-723, -2011, -2213,
-941, -1122, -1942,
-780, -1145, -2454,
-884, -1309, -1373,
-1051, -1523, -1766,
-1083, -1622, -2300,
-777, -1377, -2147,
-935, -1467, -2763,
-802, -1327, -3471,
-935, -1959, -3999,
-240, -89, 222,
-661, -257, -160,
-994, -466, -419,
-188, -164, -278,
-342, -512, -415,
-607, -511, -797,
16, 19, -716,
374, 425, -972,
-346, 245, -282,
-265, 506, -754,
-620, -147, 1955,
-742, -860, 2597,
-150, -352, 2704,
305, 880, 1954,
123, 731, 2766,
-348, 765, 3327,
618, 221, 3258,
-178, -47, 4219,
393, 1304, 3842,
698, 1702, 4801,
63, -584, 1229,
-215, -732, 1704,
172, -335, 1909,
-2, 216, 1797,
353, 127, 2205,
-1208, 188, 11,
-513, -75, -683,
-973, 222, -646,
-616, -843, -388,
-950, -1113, -359,
-1431, -623, -705,
-1398, -1063, -178,
-45, -461, 35,
-9, -657, -216,
127, -1078, 95,
-950, -1156, 584,
-1480, -1494, 449,
-120, -705, 516,
-368, -961, 727,
-378, -526, 973,
-793, -614, 676,
-801, -755, 1287,
-1476, -340, 1636,
-505, -1254, 1543,
-1243, -1622, 1532,
-776, -1477, -655,
-1151, -1296, -823,
-1153, -1672, -1124,
-1291, -2003, -1702,
-622, -1283, 57,
-471, -1611, 509,
-1060, -1570, -139,
-873, -2156, -536,
-1716, -2021, -364,
-2150, -3218, -1291,
-1248, -1945, -2904,
-1215, -2633, -2855,
167, -244, 84,
349, -412, -217,
-40, -352, 632,
227, -529, 405,
68, -383, -443,
167, -558, -706,
-275, -854, -14,
-351, -1089, -449,
341, -72, -289,
603, -106, -474,
322, -219, -649,
179, -317, -998,
450, -291, -996,
555, 195, -525,
784, 272, -831,
-148, -384, -849,
82, -536, -1357,
238, -172, -1354,
422, -268, -1841,
297, -737, -2079,
-111, -801, -598,
1, -668, -984,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -