📄 qua_gain_tbl.cpp
字号:
14133, 3960, -50, -300, 15102, 4236, 50, 298, 14332, 4824, 242, 1454, 14846, 5451, 422, 2542, 15306, 6083, 584, 3518, 14329, 6888, 768, 4623, 15060, 7689, 930, 5602, 14406, 9426, 1231, 7413, 15387, 9741, 1280, 7706, 14824, 14271, 1844, 11102, 13600, 24939, 2669, 16067, 16396, 1969, -1082, -6517, 16817, 2832, -545, -3283, 15713, 2843, -539, -3248, 16104, 3336, -303, -1825, 16384, 3963, -49, -294, 16940, 4579, 165, 992, 15711, 4599, 171, 1030, 16222, 5448, 421, 2537, 16832, 6382, 655, 3945, 15745, 7141, 821, 4944, 16326, 7469, 888, 5343, 16611, 8624, 1100, 6622, 17028, 10418, 1379, 8303, 15905, 11817, 1565, 9423, 16878, 14690, 1887, 11360, 16515, 20870, 2406, 14483, 18142, 2083, -999, -6013, 19401, 3178, -375, -2257, 17508, 3426, -264, -1589, 20054, 4027, -25, -151, 18069, 4249, 54, 326, 18952, 5066, 314, 1890, 17711, 5402, 409, 2461, 19835, 6192, 610, 3676, 17950, 7014, 795, 4784, 21318, 7877, 966, 5816, 17910, 9289, 1210, 7283, 19144, 9290, 1210, 7284, 20517, 11381, 1510, 9089, 18075, 14485, 1866, 11234, 19999, 17882, 2177, 13108, 18842, 32764, 3072, 18494 }; /* table used in 'low' rates: MR475, MR515, MR59 */ extern const Word16 table_gain_lowrates[VQ_SIZE_LOWRATES*4] = { /*g_pit, g_fac, qua_ener_MR122, qua_ener */ 10813, 28753, 2879, 17333, 20480, 2785, -570, -3431, 18841, 6594, 703, 4235, 6225, 7413, 876, 5276, 17203, 10444, 1383, 8325, 21626, 1269, -1731, -10422, 21135, 4423, 113, 683, 11304, 1556, -1430, -8609, 19005, 12820, 1686, 10148, 17367, 2498, -731, -4398, 17858, 4833, 244, 1472, 9994, 2498, -731, -4398, 17530, 7864, 964, 5802, 14254, 1884, -1147, -6907, 15892, 3153, -387, -2327, 6717, 1802, -1213, -7303, 18186, 20193, 2357, 14189, 18022, 3031, -445, -2678, 16711, 5857, 528, 3181, 8847, 4014, -30, -180, 15892, 8970, 1158, 6972, 18022, 1392, -1594, -9599, 16711, 4096, 0, 0, 8192, 655, -2708, -16305, 15237, 13926, 1808, 10884, 14254, 3112, -406, -2444, 14090, 4669, 193, 1165, 5406, 2703, -614, -3697, 13434, 6553, 694, 4180, 12451, 901, -2237, -13468, 12451, 2662, -637, -3833, 3768, 655, -2708, -16305, 14745, 23511, 2582, 15543, 19169, 2457, -755, -4546, 20152, 5079, 318, 1913, 6881, 4096, 0, 0, 20480, 8560, 1089, 6556, 19660, 737, -2534, -15255, 19005, 4259, 58, 347, 7864, 2088, -995, -5993, 11468, 12288, 1623, 9771, 15892, 1474, -1510, -9090, 15728, 4628, 180, 1086, 9175, 1433, -1552, -9341, 16056, 7004, 793, 4772, 14827, 737, -2534, -15255, 15073, 2252, -884, -5321, 5079, 1228, -1780, -10714, 13271, 17326, 2131, 12827, 16547, 2334, -831, -5002, 15073, 5816, 518, 3118, 3932, 3686, -156, -938, 14254, 8601, 1096, 6598, 16875, 778, -2454, -14774, 15073, 3809, -107, -646, 6062, 614, -2804, -16879, 9338, 9256, 1204, 7251, 13271, 1761, -1247, -7508, 13271, 3522, -223, -1343, 2457, 1966, -1084, -6529, 11468, 5529, 443, 2668, 10485, 737, -2534, -15255, 11632, 3194, -367, -2212, 1474, 778, -2454, -14774 }; /*--------------------------------------------------------------------------*/#ifdef __cplusplus}#endif/*------------------------------------------------------------------------------ FUNCTION NAME:------------------------------------------------------------------------------ INPUT AND OUTPUT DEFINITIONS Inputs: None Outputs: None Returns: None Global Variables Used: None Local Variables Needed: None------------------------------------------------------------------------------ FUNCTION DESCRIPTION None------------------------------------------------------------------------------ REQUIREMENTS None------------------------------------------------------------------------------ REFERENCES [1] qua_gain.tab, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001------------------------------------------------------------------------------ PSEUDO-CODE------------------------------------------------------------------------------ RESOURCES USED [optional] When the code is written for a specific target processor the the resources used should be documented below. HEAP MEMORY USED: x bytes STACK MEMORY USED: x bytes CLOCK CYCLES: (cycle count equation for this function) + (variable used to represent cycle count for each subroutine called) where: (cycle count variable) = cycle count for [subroutine name]------------------------------------------------------------------------------ CAUTION [optional] [State any special notes, constraints or cautions for users of this function]------------------------------------------------------------------------------*//*----------------------------------------------------------------------------; FUNCTION CODE----------------------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -