⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tab_8khz.inc

📁 Intel开发的IPP库的应用实例
💻 INC
字号:
/*
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2004-2006 Intel Corporation. All Rights Reserved.
//
//     Intel(R) Integrated Performance Primitives Advanced Aurora Sample for Windows*
//
//   By downloading and installing this sample, you hereby agree that the
//   accompanying Materials are being provided to you under the terms and
//   conditions of the End User License Agreement for the Intel(R) Integrated
//   Performance Primitives product previously accepted by you. Please refer
//   to the file ippEULA.rtf located in the root directory of your Intel(R) IPP
//   product installation for more information.
//
//   ES 202 050 v1.1.1 is the international standard promoted by ETSI
//   and other organizations. Implementations of these standards, or the standard
//   enabled platforms may require licenses from various entities, including
//   Intel Corporation.
//
*/

static short qCoeff8kHz[5][128] = {
{
1961,195,
1240,-506,
1369,41,
899,-115,
1843,-459,
1674,-1176,
1066,-1678,
233,-1863,
1030,-995,
554,-1268,
696,-607,
229,-476,
306,-885,
-132,-785,
-58,-1302,
-634,-1787,
-83,788,
-312,387,
-720,357,
-1008,54,
-454,-267,
-836,-305,
-1264,-314,
-1492,-775,
-206,30,
-592,41,
-125,-359,
-527,-633,
-538,-1107,
-967,-722,
-1078,-1241,
-1708,-1552,
1432,604,
925,373,
877,900,
423,654,
506,203,
505,-197,
95,340,
142,-53,
-1918,248,
-2288,-212,
-2484,414,
-3253,651,
-2094,-804,
-2859,-831,
-2899,-47,
-3706,-136,
230,1266,
-476,1258,
-595,750,
-1029,1050,
-1090,506,
-1530,639,
-1430,125,
-1739,-272,
-343,1842,
-1100,1799,
-1566,1251,
-2057,858,
-2168,1690,
-2669,1069,
-3307,1530,
-4117,1044},
{
1080,144,
712,140,
463,209,
239,205,
837,-182,
546,-63,
336,-1,
366,-242,
1190,-420,
793,-550,
585,-331,
436,-551,
1024,-915,
673,-1272,
345,-1015,
145,-1379,
-238,617,
-364,396,
-391,161,
-600,72,
-185,41,
-379,-62,
-359,-301,
-533,-484,
22,-268,
-150,-370,
-276,-560,
-422,-807,
6,-541,
-118,-782,
-284,-1171,
-724,-1058,
687,489,
343,446,
338,811,
61,614,
106,354,
-100,398,
-2,169,
-195,229,
141,43,
-12,-49,
177,-154,
-179,-161,
209,-413,
211,-722,
596,-823,
38,-1002,
-248,966,
-554,645,
-787,959,
-1271,726,
-616,339,
-890,538,
-819,-65,
-886,210,
-1225,257,
-1693,299,
-1128,-117,
-1531,-190,
-581,-200,
-836,-359,
-758,-675,
-1168,-568},
{
641,291,
430,145,
326,306,
223,166,
641,5,
422,-47,
525,-217,
339,-189,
824,-256,
556,-440,
588,-723,
315,-564,
340,-356,
80,-586,
220,-838,
-139,-793,
105,-114,
-75,-26,
-166,-109,
-273,-197,
-302,-40,
-443,-120,
-213,-356,
-399,-307,
-23,-134,
-108,-242,
-23,-385,
-122,-531,
-329,-525,
-527,-750,
-564,-448,
-904,-457,
393,541,
155,448,
115,277,
-36,237,
-42,393,
-157,168,
-49,94,
-180,31,
294,43,
155,25,
76,133,
36,-3,
236,-86,
192,-235,
155,-398,
48,-251,
-12,644,
-227,491,
-214,302,
-379,238,
-286,118,
-440,65,
-582,234,
-622,9,
-420,685,
-437,415,
-710,497,
-1099,432,
-620,-226,
-855,-111,
-833,187,
-1225,-16},
{
600,212,
393,413,
384,168,
320,22,
257,264,
120,207,
228,127,
195,16,
104,-20,
26,-77,
19,29,
-67,76,
365,-123,
233,-83,
130,-119,
249,-206,
711,-84,
483,6,
516,-200,
589,-426,
370,-308,
211,-355,
340,-514,
157,-694,
38,-182,
-54,-134,
135,-232,
55,-324,
101,-481,
-60,-425,
-130,-650,
-437,-603,
156,598,
143,367,
8,279,
-146,339,
109,88,
15,144,
-89,199,
-162,117,
-26,454,
-245,597,
-233,218,
-386,188,
-339,369,
-596,371,
-537,101,
-754,2,
-160,15,
-260,-38,
-273,82,
-388,5,
-61,-27,
-144,-84,
-41,-256,
-139,-197,
-231,-144,
-264,-264,
-355,-146,
-518,-125,
-145,-317,
-251,-435,
-416,-320,
-659,-356},
{
404,297,
320,155,
307,24,
216,103,
215,260,
146,164,
115,72,
53,137,
25,57,
0,-17,
-62,41,
-85,-35,
183,8,
86,-9,
143,-81,
99,-174,
486,43,
374,-111,
248,-74,
209,-172,
520,-262,
317,-255,
294,-452,
67,-408,
174,-295,
52,-265,
-10,-180,
-112,-209,
-56,-305,
-133,-439,
30,-617,
-315,-626,
210,452,
75,355,
83,240,
-49,303,
-8,205,
-38,119,
-106,199,
-211,177,
-79,467,
-189,300,
-303,418,
-505,312,
-338,206,
-349,54,
-516,109,
-648,-102,
-130,105,
-236,81,
-153,21,
-250,-22,
52,-94,
-26,-93,
-103,-123,
-169,-66,
-192,-289,
-207,-152,
-298,-224,
-331,-382,
-317,-101,
-442,-55,
-445,-222,
-565,-408}
};

static short qCoeff8kHzVAD[32][2] = {
{312, 260},
{205, 124},
{84, 137},
{114, 36},
{44, -24},
{-41, -34},
{228, -140},
{119, -82},
{348, 19},
{208, -9},
{385, -220},
{196, -333},
{102, -203},
{-6, -371},
{-149, -251},
{-262, -451},
{97, 273},
{-26, 165},
{9, 59},
{-157, 146},
{-109, 294},
{-320, 188},
{-228, 33},
{-382, -30},
{-88, 58},
{-135, -33},
{17, -116},
{-18, -219},
{-92, -130},
{-216, -111},
{-308, -226},
{-531, -318}
};


static short qCoeff8kHz_Log[256][2] = {
{-31736, 1562},
{-32759, 1497},
{31456, 1491},
{31891, 1442},
{29960, 1465},
{30796, 1435},
{31072, 1395},
{30195, 1392},
{29545, 1415},
{29259, 1367},
{30128, 1356},
{29517, 1329},
{28749, 1330},
{28984, 1298},
{28266, 1300},
{28354, 1270},
{28447, 1402},
{28341, 1357},
{27849, 1324},
{27614, 1282},
{27120, 1311},
{26826, 1275},
{27818, 1248},
{27309, 1224},
{27179, 1253},
{26592, 1238},
{26843, 1204},
{26346, 1179},
{26231, 1210},
{25731, 1193},
{25779, 1159},
{25092, 1156},
{27321, 1361},
{26260, 1339},
{26306, 1297},
{26091, 1263},
{25412, 1295},
{25309, 1253},
{25852, 1232},
{25266, 1216},
{24639, 1198},
{25181, 1182},
{24501, 1169},
{24646, 1136},
{25329, 1130},
{24763, 1105},
{24147, 1114},
{24193, 1079},
{24512, 1273},
{24615, 1233},
{24015, 1211},
{23870, 1180},
{22983, 1175},
{23478, 1155},
{24063, 1146},
{23561, 1124},
{23625, 1094},
{23122, 1079},
{23599, 1056},
{23086, 1028},
{22075, 1063},
{22760, 1056},
{22309, 1033},
{22549, 1003},
{23573, 1247},
{23252, 1206},
{22254, 1200},
{22368, 1154},
{22945, 1137},
{22987, 1107},
{22491, 1087},
{21838, 1094},
{21393, 1069},
{21619, 1039},
{20940, 1044},
{21098, 1015},
{21802, 1010},
{21289, 987},
{22023, 978},
{21488, 954},
{21621, 1163},
{22338, 1118},
{21632, 1126},
{21097, 1102},
{20693, 1144},
{20240, 1105},
{20667, 1075},
{20247, 1050},
{20398, 1020},
{20559, 991},
{20804, 964},
{20009, 967},
{20443, 941},
{20998, 926},
{20340, 905},
{19856, 879},
{19003, 1118},
{19680, 1073},
{19073, 1009},
{18491, 983},
{18954, 1049},
{19660, 1031},
{19842, 998},
{19277, 976},
{18629, 951},
{18904, 919},
{19583, 909},
{18455, 896},
{19891, 934},
{19332, 945},
{19137, 887},
{19321, 855},
{17858, 1073},
{18236, 1021},
{17660, 989},
{17825, 955},
{18123, 924},
{17652, 896},
{16862, 890},
{17389, 862},
{18653, 863},
{18037, 871},
{18768, 833},
{18333, 810},
{18049, 841},
{17255, 832},
{17732, 814},
{17768, 785},
{16795, 1021},
{16861, 963},
{17273, 926},
{16367, 923},
{16083, 877},
{15197, 860},
{16665, 853},
{16599, 817},
{17163, 798},
{16656, 780},
{17218, 763},
{16659, 743},
{15935, 837},
{15988, 799},
{15246, 815},
{15424, 776},
{15523, 967},
{15465, 906},
{14269, 895},
{14372, 833},
{14627, 786},
{14130, 753},
{14492, 721},
{13990, 695},
{16153, 766},
{15805, 744},
{16181, 719},
{15692, 697},
{14973, 748},
{15394, 723},
{15017, 701},
{15213, 673},
{13221, 845},
{13651, 795},
{13121, 756},
{13561, 721},
{12749, 702},
{12597, 658},
{13319, 678},
{13994, 662},
{14559, 682},
{14677, 652},
{14184, 633},
{13706, 614},
{13452, 645},
{13002, 625},
{12656, 601},
{13267, 592},
{12291, 792},
{12188, 737},
{10955, 736},
{10787, 673},
{10774, 622},
{10924, 580},
{10406, 550},
{11119, 541},
{11843, 689},
{11641, 647},
{12218, 623},
{12121, 584},
{12762, 571},
{12236, 551},
{11763, 529},
{11242, 507},
{9499, 697},
{9719, 634},
{8286, 643},
{8274, 536},
{9988, 586},
{8898, 581},
{9124, 510},
{8526, 482},
{11544, 604},
{11593, 565},
{10538, 518},
{10702, 484},
{9612, 540},
{9953, 499},
{10190, 463},
{9664, 440},
{9439, 473},
{8896, 449},
{9165, 416},
{8461, 424},
{7887, 449},
{7874, 403},
{8626, 392},
{8040, 370},
{7377, 584},
{6511, 530},
{7567, 496},
{6737, 463},
{7130, 418},
{7160, 376},
{7521, 346},
{6907, 331},
{5447, 467},
{6154, 410},
{4747, 401},
{5213, 337},
{6262, 365},
{6154, 326},
{6181, 282},
{5523, 273},
{4636, 271},
{5136, 242},
{3599, 263},
{4376, 221},
{3724, 344},
{2107, 264},
{3172, 214},
{3817, 187},
{535, 211},
{2051, 189},
{3005, 156},
{2248, 119},
{1244, 142},
{1393, 83},
{610, 47},
{0, 7},
{138, 104},
{-660, -17},
{-967, 44},
{-1543, -38},
{-2140, -75},
{-2730, -105},
{-3284, -135},
{-3961, -169}
};

short w8kHz_C0 = 19;
short w8kHz_LE = 436;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -