webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Variables
constants.c File Reference
#include "defines.h"
#include "constants.h"

Variables

const int16_t WebRtcIlbcfix_kHpInCoefs [5] = {3798, -7596, 3798, 7807, -3733}
 
const int16_t WebRtcIlbcfix_kHpOutCoefs [5] = {3849, -7699, 3849, 7918, -3833}
 
const int16_t WebRtcIlbcfix_kStartSequenceEnrgWin [NSUB_MAX-1]
 
const int16_t WebRtcIlbcfix_kLpFiltCoefs [FILTERORDER_DS_PLUS1]
 
const int16_t WebRtcIlbcfix_kLpcWin [BLOCKL_MAX]
 
const int16_t WebRtcIlbcfix_kLpcAsymWin [BLOCKL_MAX]
 
const int32_t WebRtcIlbcfix_kLpcLagWin [LPC_FILTERORDER+1]
 
const int16_t WebRtcIlbcfix_kLpcChirpSyntDenum [LPC_FILTERORDER+1]
 
const int16_t WebRtcIlbcfix_kLpcChirpWeightDenum [LPC_FILTERORDER+1]
 
const int16_t WebRtcIlbcfix_kLsfCb [64 *3+128 *3+128 *4]
 
const int16_t WebRtcIlbcfix_kLsfDimCb [LSF_NSPLIT] = {3, 3, 4}
 
const int16_t WebRtcIlbcfix_kLsfSizeCb [LSF_NSPLIT] = {64,128,128}
 
const int16_t WebRtcIlbcfix_kLsfMean [LPC_FILTERORDER]
 
const int16_t WebRtcIlbcfix_kLspMean [LPC_FILTERORDER]
 
const int16_t WebRtcIlbcfix_kLsfWeight20ms [4] = {12288, 8192, 4096, 0}
 
const int16_t WebRtcIlbcfix_kLsfWeight30ms [6] = {8192, 16384, 10923, 5461, 0, 0}
 
const int16_t WebRtcIlbcfix_kCos [64]
 
const int16_t WebRtcIlbcfix_kCosDerivative [64]
 
const int16_t WebRtcIlbcfix_kCosGrid [COS_GRID_POINTS+1]
 
const int16_t WebRtcIlbcfix_kAcosDerivative [64]
 
const int16_t WebRtcIlbcfix_kStateSq3 [8]
 
const int32_t WebRtcIlbcfix_kChooseFrgQuant [64]
 
const int16_t WebRtcIlbcfix_kScale [64]
 
const int16_t WebRtcIlbcfix_kFrgQuantMod [64]
 
const int16_t WebRtcIlbcfix_kCbFiltersRev [CB_FILTERLEN]
 
const int16_t WebRtcIlbcfix_kAlpha [4]
 
const size_t WebRtcIlbcfix_kSearchRange [5][CB_NSTAGES]
 
const size_t WebRtcIlbcfix_kFilterRange [5] ={63, 85, 125, 147, 147}
 
const int16_t WebRtcIlbcfix_kGainSq3 [9]
 
const int16_t WebRtcIlbcfix_kGainSq4 [17]
 
const int16_t WebRtcIlbcfix_kGainSq5 [33]
 
const int16_t WebRtcIlbcfix_kGainSq5Sq [32]
 
const int16_t *const WebRtcIlbcfix_kGain [3]
 
const int16_t WebRtcIlbcfix_kEnhPolyPhaser [ENH_UPS0][ENH_FLO_MULT2_PLUS1]
 
const int16_t WebRtcIlbcfix_kEnhWt [3]
 
const size_t WebRtcIlbcfix_kEnhPlocs [ENH_NBLOCKS_TOT]
 
const int16_t WebRtcIlbcfix_kPlcPerSqr [6]
 
const int16_t WebRtcIlbcfix_kPlcPitchFact [6]
 
const int16_t WebRtcIlbcfix_kPlcPfSlope [6]
 

Variable Documentation

◆ WebRtcIlbcfix_kAcosDerivative

const int16_t WebRtcIlbcfix_kAcosDerivative[64]
Initial value:
= {
-26887, -8812, -5323, -3813, -2979, -2444, -2081, -1811,
-1608, -1450, -1322, -1219, -1132, -1059, -998, -946,
-901, -861, -827, -797, -772, -750, -730, -713,
-699, -687, -677, -668, -662, -657, -654, -652,
-652, -654, -657, -662, -668, -677, -687, -699,
-713, -730, -750, -772, -797, -827, -861, -901,
-946, -998, -1059, -1132, -1219, -1322, -1450, -1608,
-1811, -2081, -2444, -2979, -3813, -5323, -8812, -26887
}

◆ WebRtcIlbcfix_kAlpha

const int16_t WebRtcIlbcfix_kAlpha[4]
Initial value:
={
6554, 13107, 19661, 26214}

◆ WebRtcIlbcfix_kCbFiltersRev

const int16_t WebRtcIlbcfix_kCbFiltersRev[CB_FILTERLEN]
Initial value:
={
-140, 446, -755, 3302, 2922, -590, 343, -138}

◆ WebRtcIlbcfix_kChooseFrgQuant

const int32_t WebRtcIlbcfix_kChooseFrgQuant[64]
Initial value:
= {
118, 163, 222, 305, 425, 604,
851, 1174, 1617, 2222, 3080, 4191,
5525, 7215, 9193, 11540, 14397, 17604,
21204, 25209, 29863, 35720, 42531, 50375,
59162, 68845, 80108, 93754, 110326, 129488,
150654, 174328, 201962, 233195, 267843, 308239,
354503, 405988, 464251, 531550, 608652, 697516,
802526, 928793, 1080145, 1258120, 1481106, 1760881,
2111111, 2546619, 3078825, 3748642, 4563142, 5573115,
6887601, 8582108, 10797296, 14014513, 18625760, 25529599,
37302935, 58819185, 109782723, WEBRTC_SPL_WORD32_MAX
}
#define WEBRTC_SPL_WORD32_MAX
Definition: signal_processing_library.h:27

◆ WebRtcIlbcfix_kCos

const int16_t WebRtcIlbcfix_kCos[64]
Initial value:
= {
32767, 32729, 32610, 32413, 32138, 31786, 31357, 30853,
30274, 29622, 28899, 28106, 27246, 26320, 25330, 24279,
23170, 22006, 20788, 19520, 18205, 16846, 15447, 14010,
12540, 11039, 9512, 7962, 6393, 4808, 3212, 1608,
0, -1608, -3212, -4808, -6393, -7962, -9512, -11039,
-12540, -14010, -15447, -16846, -18205, -19520, -20788, -22006,
-23170, -24279, -25330, -26320, -27246, -28106, -28899, -29622,
-30274, -30853, -31357, -31786, -32138, -32413, -32610, -32729
}

◆ WebRtcIlbcfix_kCosDerivative

const int16_t WebRtcIlbcfix_kCosDerivative[64]
Initial value:
= {
-632, -1893, -3150, -4399, -5638, -6863, -8072, -9261,
-10428, -11570, -12684, -13767, -14817, -15832, -16808, -17744,
-18637, -19486, -20287, -21039, -21741, -22390, -22986, -23526,
-24009, -24435, -24801, -25108, -25354, -25540, -25664, -25726,
-25726, -25664, -25540, -25354, -25108, -24801, -24435, -24009,
-23526, -22986, -22390, -21741, -21039, -20287, -19486, -18637,
-17744, -16808, -15832, -14817, -13767, -12684, -11570, -10428,
-9261, -8072, -6863, -5638, -4399, -3150, -1893, -632}

◆ WebRtcIlbcfix_kCosGrid

const int16_t WebRtcIlbcfix_kCosGrid[COS_GRID_POINTS+1]
Initial value:
= {
32760, 32723, 32588, 32364, 32051, 31651, 31164, 30591,
29935, 29196, 28377, 27481, 26509, 25465, 24351, 23170,
21926, 20621, 19260, 17846, 16384, 14876, 13327, 11743,
10125, 8480, 6812, 5126, 3425, 1714, 0, -1714, -3425,
-5126, -6812, -8480, -10125, -11743, -13327, -14876,
-16384, -17846, -19260, -20621, -21926, -23170, -24351,
-25465, -26509, -27481, -28377, -29196, -29935, -30591,
-31164, -31651, -32051, -32364, -32588, -32723, -32760
}

◆ WebRtcIlbcfix_kEnhPlocs

const size_t WebRtcIlbcfix_kEnhPlocs[ENH_NBLOCKS_TOT]
Initial value:
= {
160, 480, 800, 1120, 1440, 1760, 2080, 2400
}

◆ WebRtcIlbcfix_kEnhPolyPhaser

const int16_t WebRtcIlbcfix_kEnhPolyPhaser[ENH_UPS0][ENH_FLO_MULT2_PLUS1]
Initial value:
={
{0, 0, 0, 4096, 0, 0, 0},
{64, -315, 1181, 3531, -436, 77, -64},
{97, -509, 2464, 2464, -509, 97, -97},
{77, -436, 3531, 1181, -315, 64, -77}
}

◆ WebRtcIlbcfix_kEnhWt

const int16_t WebRtcIlbcfix_kEnhWt[3]
Initial value:
= {
4800, 16384, 27968
}

◆ WebRtcIlbcfix_kFilterRange

const size_t WebRtcIlbcfix_kFilterRange[5] ={63, 85, 125, 147, 147}

◆ WebRtcIlbcfix_kFrgQuantMod

const int16_t WebRtcIlbcfix_kFrgQuantMod[64]
Initial value:
= {
569, 671, 786, 916, 1077, 1278,
1529, 1802, 2109, 2481, 2898, 3440,
3943, 4535, 5149, 5778, 6464, 7208,
7904, 8682, 9397, 10285, 11240, 12246,
13313, 14382, 15492, 16735, 18131, 19693,
21280, 22912, 24624, 26544, 28432, 30488,
32720,
4383, 4684, 5012, 5363, 5739, 6146,
6603, 7113, 7679, 8285, 9040, 9850,
10838, 11882, 13103, 14467, 15950, 17669,
19712, 22016, 24800, 28576,
8240, 9792, 12040, 15440, 22472
}

◆ WebRtcIlbcfix_kGain

const int16_t* const WebRtcIlbcfix_kGain[3]
Initial value:
=
const int16_t WebRtcIlbcfix_kGainSq3[9]
Definition: constants.c:604
const int16_t WebRtcIlbcfix_kGainSq4[17]
Definition: constants.c:609
const int16_t WebRtcIlbcfix_kGainSq5[33]
Definition: constants.c:615

◆ WebRtcIlbcfix_kGainSq3

const int16_t WebRtcIlbcfix_kGainSq3[9]
Initial value:
={
-16384, -10813, -5407, 0, 4096, 8192,
12288, 16384, 32767}

◆ WebRtcIlbcfix_kGainSq4

const int16_t WebRtcIlbcfix_kGainSq4[17]
Initial value:
={
-17203, -14746, -12288, -9830, -7373, -4915,
-2458, 0, 2458, 4915, 7373, 9830,
12288, 14746, 17203, 19661, 32767}

◆ WebRtcIlbcfix_kGainSq5

const int16_t WebRtcIlbcfix_kGainSq5[33]
Initial value:
={
614, 1229, 1843, 2458, 3072, 3686,
4301, 4915, 5530, 6144, 6758, 7373,
7987, 8602, 9216, 9830, 10445, 11059,
11674, 12288, 12902, 13517, 14131, 14746,
15360, 15974, 16589, 17203, 17818, 18432,
19046, 19661, 32767}

◆ WebRtcIlbcfix_kGainSq5Sq

const int16_t WebRtcIlbcfix_kGainSq5Sq[32]
Initial value:
= {
23, 92, 207, 368, 576, 829,
1129, 1474, 1866, 2304, 2787, 3317,
3893, 4516, 5184, 5897, 6658, 7464,
8318, 9216, 10160, 11151, 12187, 13271,
14400, 15574, 16796, 18062, 19377, 20736,
22140, 23593
}

◆ WebRtcIlbcfix_kHpInCoefs

const int16_t WebRtcIlbcfix_kHpInCoefs[5] = {3798, -7596, 3798, 7807, -3733}

◆ WebRtcIlbcfix_kHpOutCoefs

const int16_t WebRtcIlbcfix_kHpOutCoefs[5] = {3849, -7699, 3849, 7918, -3833}

◆ WebRtcIlbcfix_kLpcAsymWin

const int16_t WebRtcIlbcfix_kLpcAsymWin[BLOCKL_MAX]
Initial value:
= {
2, 7, 15, 27, 42, 60, 81, 106, 135, 166, 201, 239,
280, 325, 373, 424, 478, 536, 597, 661, 728, 798, 872, 949,
1028, 1111, 1197, 1287, 1379, 1474, 1572, 1674, 1778, 1885, 1995, 2108,
2224, 2343, 2465, 2589, 2717, 2847, 2980, 3115, 3254, 3395, 3538, 3684,
3833, 3984, 4138, 4295, 4453, 4615, 4778, 4944, 5112, 5283, 5456, 5631,
5808, 5987, 6169, 6352, 6538, 6725, 6915, 7106, 7300, 7495, 7692, 7891,
8091, 8293, 8497, 8702, 8909, 9118, 9328, 9539, 9752, 9966, 10182, 10398,
10616, 10835, 11055, 11277, 11499, 11722, 11947, 12172, 12398, 12625, 12852, 13080,
13309, 13539, 13769, 14000, 14231, 14463, 14695, 14927, 15160, 15393, 15626, 15859,
16092, 16326, 16559, 16792, 17026, 17259, 17492, 17725, 17957, 18189, 18421, 18653,
18884, 19114, 19344, 19573, 19802, 20030, 20257, 20483, 20709, 20934, 21157, 21380,
21602, 21823, 22042, 22261, 22478, 22694, 22909, 23123, 23335, 23545, 23755, 23962,
24168, 24373, 24576, 24777, 24977, 25175, 25371, 25565, 25758, 25948, 26137, 26323,
26508, 26690, 26871, 27049, 27225, 27399, 27571, 27740, 27907, 28072, 28234, 28394,
28552, 28707, 28860, 29010, 29157, 29302, 29444, 29584, 29721, 29855, 29987, 30115,
30241, 30364, 30485, 30602, 30717, 30828, 30937, 31043, 31145, 31245, 31342, 31436,
31526, 31614, 31699, 31780, 31858, 31933, 32005, 32074, 32140, 32202, 32261, 32317,
32370, 32420, 32466, 32509, 32549, 32585, 32618, 32648, 32675, 32698, 32718, 32734,
32748, 32758, 32764, 32767, 32767, 32667, 32365, 31863, 31164, 30274, 29197, 27939,
26510, 24917, 23170, 21281, 19261, 17121, 14876, 12540, 10126, 7650, 5126, 2571
}

◆ WebRtcIlbcfix_kLpcChirpSyntDenum

const int16_t WebRtcIlbcfix_kLpcChirpSyntDenum[LPC_FILTERORDER+1]
Initial value:
= {
32767, 29573, 26690, 24087,
21739, 19619, 17707, 15980,
14422, 13016, 11747}

◆ WebRtcIlbcfix_kLpcChirpWeightDenum

const int16_t WebRtcIlbcfix_kLpcChirpWeightDenum[LPC_FILTERORDER+1]
Initial value:
= {
32767, 13835, 5841, 2466, 1041, 440,
186, 78, 33, 14, 6}

◆ WebRtcIlbcfix_kLpcLagWin

const int32_t WebRtcIlbcfix_kLpcLagWin[LPC_FILTERORDER+1]
Initial value:
={
2147483647, 2144885453, 2137754373, 2125918626, 2109459810,
2088483140, 2063130336, 2033564590, 1999977009, 1962580174,
1921610283}

◆ WebRtcIlbcfix_kLpcWin

const int16_t WebRtcIlbcfix_kLpcWin[BLOCKL_MAX]
Initial value:
= {
6, 22, 50, 89, 139, 200, 272, 355, 449, 554, 669, 795,
932, 1079, 1237, 1405, 1583, 1771, 1969, 2177, 2395, 2622, 2858, 3104,
3359, 3622, 3894, 4175, 4464, 4761, 5066, 5379, 5699, 6026, 6361, 6702,
7050, 7404, 7764, 8130, 8502, 8879, 9262, 9649, 10040, 10436, 10836, 11240,
11647, 12058, 12471, 12887, 13306, 13726, 14148, 14572, 14997, 15423, 15850, 16277,
16704, 17131, 17558, 17983, 18408, 18831, 19252, 19672, 20089, 20504, 20916, 21325,
21730, 22132, 22530, 22924, 23314, 23698, 24078, 24452, 24821, 25185, 25542, 25893,
26238, 26575, 26906, 27230, 27547, 27855, 28156, 28450, 28734, 29011, 29279, 29538,
29788, 30029, 30261, 30483, 30696, 30899, 31092, 31275, 31448, 31611, 31764, 31906,
32037, 32158, 32268, 32367, 32456, 32533, 32600, 32655, 32700, 32733, 32755, 32767,
32767, 32755, 32733, 32700, 32655, 32600, 32533, 32456, 32367, 32268, 32158, 32037,
31906, 31764, 31611, 31448, 31275, 31092, 30899, 30696, 30483, 30261, 30029, 29788,
29538, 29279, 29011, 28734, 28450, 28156, 27855, 27547, 27230, 26906, 26575, 26238,
25893, 25542, 25185, 24821, 24452, 24078, 23698, 23314, 22924, 22530, 22132, 21730,
21325, 20916, 20504, 20089, 19672, 19252, 18831, 18408, 17983, 17558, 17131, 16704,
16277, 15850, 15423, 14997, 14572, 14148, 13726, 13306, 12887, 12471, 12058, 11647,
11240, 10836, 10436, 10040, 9649, 9262, 8879, 8502, 8130, 7764, 7404, 7050,
6702, 6361, 6026, 5699, 5379, 5066, 4761, 4464, 4175, 3894, 3622, 3359,
3104, 2858, 2622, 2395, 2177, 1969, 1771, 1583, 1405, 1237, 1079, 932,
795, 669, 554, 449, 355, 272, 200, 139, 89, 50, 22, 6
}

◆ WebRtcIlbcfix_kLpFiltCoefs

const int16_t WebRtcIlbcfix_kLpFiltCoefs[FILTERORDER_DS_PLUS1]
Initial value:
= {
-273, 512, 1297, 1696, 1297, 512, -273
}

◆ WebRtcIlbcfix_kLsfCb

const int16_t WebRtcIlbcfix_kLsfCb[64 *3+128 *3+128 *4]

◆ WebRtcIlbcfix_kLsfDimCb

const int16_t WebRtcIlbcfix_kLsfDimCb[LSF_NSPLIT] = {3, 3, 4}

◆ WebRtcIlbcfix_kLsfMean

const int16_t WebRtcIlbcfix_kLsfMean[LPC_FILTERORDER]
Initial value:
= {
2308, 3652, 5434, 7885,
10255, 12559, 15160, 17513,
20328, 22752}

◆ WebRtcIlbcfix_kLsfSizeCb

const int16_t WebRtcIlbcfix_kLsfSizeCb[LSF_NSPLIT] = {64,128,128}

◆ WebRtcIlbcfix_kLsfWeight20ms

const int16_t WebRtcIlbcfix_kLsfWeight20ms[4] = {12288, 8192, 4096, 0}

◆ WebRtcIlbcfix_kLsfWeight30ms

const int16_t WebRtcIlbcfix_kLsfWeight30ms[6] = {8192, 16384, 10923, 5461, 0, 0}

◆ WebRtcIlbcfix_kLspMean

const int16_t WebRtcIlbcfix_kLspMean[LPC_FILTERORDER]
Initial value:
= {
31476, 29565, 25819, 18725, 10276,
1236, -9049, -17600, -25884, -30618
}

◆ WebRtcIlbcfix_kPlcPerSqr

const int16_t WebRtcIlbcfix_kPlcPerSqr[6]
Initial value:
= {
839, 1343, 2048, 2998, 4247, 5849
}

◆ WebRtcIlbcfix_kPlcPfSlope

const int16_t WebRtcIlbcfix_kPlcPfSlope[6]
Initial value:
= {
26667, 18729, 13653, 10258, 7901, 6214
}

◆ WebRtcIlbcfix_kPlcPitchFact

const int16_t WebRtcIlbcfix_kPlcPitchFact[6]
Initial value:
= {
0, 5462, 10922, 16384, 21846, 27306
}

◆ WebRtcIlbcfix_kScale

const int16_t WebRtcIlbcfix_kScale[64]
Initial value:
= {
29485, 25003, 21345, 18316, 15578, 13128, 10973, 9310, 7955,
6762, 5789, 4877, 4255, 3699, 3258, 2904, 2595, 2328,
2123, 1932, 1785, 1631, 1493, 1370, 1260, 1167, 1083,
32081, 29611, 27262, 25229, 23432, 21803, 20226, 18883, 17609,
16408, 15311, 14327, 13390, 12513, 11693, 10919, 10163, 9435,
8739, 8100, 7424, 6813, 6192, 5648, 5122, 4639, 4207, 3798,
3404, 3048, 2706, 2348, 2036, 1713, 1393, 1087, 747
}

◆ WebRtcIlbcfix_kSearchRange

const size_t WebRtcIlbcfix_kSearchRange[5][CB_NSTAGES]
Initial value:
={
{58,58,58}, {108,44,44}, {108,108,108}, {108,108,108}, {108,108,108}}

◆ WebRtcIlbcfix_kStartSequenceEnrgWin

const int16_t WebRtcIlbcfix_kStartSequenceEnrgWin[NSUB_MAX-1]
Initial value:
= {
1638, 1843, 2048, 1843, 1638
}

◆ WebRtcIlbcfix_kStateSq3

const int16_t WebRtcIlbcfix_kStateSq3[8]
Initial value:
= {
-30473, -17838, -9257, -2537,
3639, 10893, 19958, 32636
}