📄 aac_enc_psy_tables_int.c
字号:
{ /* bval Q10 */ 0, 1290, 2560, 3789, 4966, 6062, 7096, 8038, 8909, 9718, 10445, 11110, 11725, 12288, 12800, 13271, 13711, 14111, 14490, 15155, 15749, 16271, 16753, 17172, 17562, 17920, 18330, 18780, 19190, 19569, 19968, 20398, 20787, 21146, 21524, 21914, 22272, 22630, 22989, 23347, 23716, 24074, 24422, 24576};short psy_table_bval_44100_short [] ={ /* bval Q10 */ 0, 1772, 3492, 5110, 6605, 7936, 9134, 10199, 11131, 11960, 12687, 13343, 13937, 14459, 14940, 15370, 15770, 16138, 16783, 17357, 17869, 18319, 18739, 19118, 19476, 19876, 20326, 20736, 21115, 21514, 21944, 22333, 22682, 23050, 23419, 23788, 24156, 24504, 24576, 24576, 24576, 24576};short psy_table_bval_48000_short [] ={ /* bval Q10 */ 0, 1925, 3789, 5519, 7096, 8489, 9718, 10783, 11725, 12554, 13271, 13916, 14490, 15002, 15473, 15892, 16282, 16957, 17562, 18084, 18565, 18985, 19384, 19743, 20163, 20623, 21033, 21422, 21780, 22159, 22559, 22927, 23306, 23685, 24054, 24422, 24576, 24576, 24576, 24576, 24576, 24576};short psy_table_bval_64000_short [] ={ /* bval Q10 */ 0, 2560, 4966, 7096, 8909, 10445, 11725, 12800, 13711, 14490, 15165, 15759, 16282, 16753, 17183, 17572, 18248, 18842, 19374, 19855, 20296, 20695, 21064, 21484, 21944, 22364, 22753, 23153, 23572, 23951, 24320, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576};short psy_table_bval_88200_short [] ={ /* bval Q10 */ 0, 3492, 6605, 9134, 11131, 12687, 13937, 14940, 15770, 16476, 17091, 17623, 18104, 18545, 18934, 19302, 19948, 20531, 21043, 21514, 21944, 22333, 22682, 23091, 23532, 23921, 24320, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576};short psy_table_bval_96000_short [] ={ /* bval Q10 */ 0, 3789, 7096, 9718, 11725, 13271, 14490, 15473, 16282, 16968, 17572, 18094, 18565, 18995, 19384, 20070, 20685, 21228, 21719, 22159, 22559, 22927, 23337, 23788, 24187, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576, 24576};short psy_table_qsthr_8000_short [] ={ /* qsthr Q9 */ 15508, 15508, 12948, 11412, 11412, 8852, 8852, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 8730, 8730, 9370, 9370, 9370, 9370, 9866, 9866, 9866, 10271, 10271, 10614, 10614, 10911, 8730 };short psy_table_qsthr_11025_short [] ={ /* qsthr Q9 */ 13967, 13967, 13967, 11407, 11407, 9871, 9871, 7311, 7311, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 8730, 9370, 9370, 9370, 9370, 9866, 9866, 9866, 10271, 10271, 10614, 10614, 10911, 10911};short psy_table_qsthr_12000_short [] ={ /* qsthr Q9 */ 13967, 13967, 13967, 11407, 11407, 9871, 9871, 7311, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 8730, 9370, 9370, 9370, 9866, 9866, 9866, 10271, 10271, 10614, 10614, 10911, 10911, 8730 };short psy_table_qsthr_16000_short [] ={ /* qsthr Q9 */ 13967, 13967, 11407, 11407, 9871, 7311, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 8730, 9370, 9370, 9370, 9866, 9866, 9866, 10271, 10271, 10614, 10614, 12447, 12447, 12150};short psy_table_qsthr_22050_short [] ={ /* qsthr Q9 */ 13967, 13967, 11407, 9871, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 9370, 9370, 9370, 9370, 9866, 9866, 11402, 11807, 11807, 13174, 13174, 13471, 16031, 15734};short psy_table_qsthr_24000_short [] ={ /* qsthr Q9 */ 13967, 13967, 11407, 9871, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 8730, 9370, 9370, 9370, 9866, 9866, 11402, 11807, 12831, 13174, 13174, 16031, 16031, 16292, 16527};short psy_table_qsthr_32000_short [] ={ /* qsthr Q9 */ 13967, 11407, 9871, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 8730, 8730, 9370, 9370, 10906, 10906, 12426, 12426, 12426, 15391, 15391, 15734, 21151, 21151, 21412, 30961};short psy_table_qsthr_44100_short [] ={ /* qsthr Q9 */ 13967, 11407, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 8730, 10266, 10266, 11930, 11930, 11930, 14490, 14986, 14986, 20511, 20511, 20854, 26271, 26532, 26767, 27172};short psy_table_qsthr_48000_short [] ={ /* qsthr Q9 */ 13967, 11407, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 7828, 7828, 8730, 10266, 10266, 10266, 11290, 11930, 14490, 14490, 14986, 20106, 20511, 20511, 25789, 26271, 26532, 26767, 27172, 27172};short psy_table_qsthr_64000_short [] ={ /* qsthr Q9 */ 13967, 9871, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 7828, 7828, 7828, 7828, 9364, 9364, 10266, 11290, 11290, 13850, 14490, 19610, 19610, 20106, 25226, 25631, 25974, 26271, 26532, 26977, 27351, 26767};short psy_table_qsthr_88200_short [] ={ /* qsthr Q9 */ 13967, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 9364, 9364, 10388, 10388, 10388, 12948, 13850, 13850, 18970, 19610, 24730, 25226, 25226, 25631, 25974, 26271, 26767, 27172, 27812, 27172};short psy_table_qsthr_96000_short [] ={ /* qsthr Q9 */ 13967, 7311, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 6287, 7828, 9364, 9364, 10388, 10388, 12948, 12948, 13850, 18970, 18970, 24730, 24730, 25226, 25226, 25631, 25974, 26532, 26977, 27515, 28073, 25974};sPsyPartitionTable psy_partition_tables_long[] ={ {96000, 71, psy_table_w_low_96000_long, psy_table_width_96000_long, psy_table_bval_44100_long, psy_table_qsthr_96000_long}, /* 96000 */ {88200, 72, psy_table_w_low_88200_long, psy_table_width_88200_long, psy_table_bval_88200_long, psy_table_qsthr_88200_long}, /* 88200 */ {64000, 67, psy_table_w_low_64000_long, psy_table_width_64000_long, psy_table_bval_64000_long, psy_table_qsthr_64000_long}, /* 64000 */ {48000, 69, psy_table_w_low_48000_long, psy_table_width_48000_long, psy_table_bval_48000_long, psy_table_qsthr_48000_long}, /* 48000 */ {44100, 70, psy_table_w_low_44100_long, psy_table_width_44100_long, psy_table_bval_44100_long, psy_table_qsthr_44100_long}, /* 44100 */ {32000, 66, psy_table_w_low_32000_long, psy_table_width_32000_long, psy_table_bval_32000_long, psy_table_qsthr_32000_long}, /* 32000 */ {24000, 66, psy_table_w_low_24000_long, psy_table_width_24000_long, psy_table_bval_24000_long, psy_table_qsthr_24000_long}, /* 24000 */ {22050, 63, psy_table_w_low_22050_long, psy_table_width_22050_long, psy_table_bval_22050_long, psy_table_qsthr_22050_long}, /* 22050 */ {16000, 60, psy_table_w_low_16000_long, psy_table_width_16000_long, psy_table_bval_16000_long, psy_table_qsthr_16000_long}, /* 16000 */ {12000, 57, psy_table_w_low_12000_long, psy_table_width_12000_long, psy_table_bval_12000_long, psy_table_qsthr_12000_long}, /* 12000 */ {11025, 56, psy_table_w_low_11025_long, psy_table_width_11025_long, psy_table_bval_11025_long, psy_table_qsthr_11025_long}, /* 11025 */ { 8000, 52, psy_table_w_low_8000_long, psy_table_width_8000_long, psy_table_bval_8000_long, psy_table_qsthr_8000_long}, /* 8000 */};sPsyPartitionTable psy_partition_tables_short[] ={ {96000, 36, psy_table_w_low_96000_short, psy_table_width_96000_short, psy_table_bval_44100_short, psy_table_qsthr_96000_short}, /* 96000 */ {88200, 37, psy_table_w_low_88200_short, psy_table_width_88200_short, psy_table_bval_88200_short, psy_table_qsthr_88200_short}, /* 88200 */ {64000, 39, psy_table_w_low_64000_short, psy_table_width_64000_short, psy_table_bval_64000_short, psy_table_qsthr_64000_short}, /* 64000 */ {48000, 42, psy_table_w_low_48000_short, psy_table_width_48000_short, psy_table_bval_48000_short, psy_table_qsthr_48000_short}, /* 48000 */ {44100, 42, psy_table_w_low_44100_short, psy_table_width_44100_short, psy_table_bval_44100_short, psy_table_qsthr_44100_short}, /* 44100 */ {32000, 44, psy_table_w_low_32000_short, psy_table_width_32000_short, psy_table_bval_32000_short, psy_table_qsthr_32000_short}, /* 32000 */ {24000, 46, psy_table_w_low_24000_short, psy_table_width_24000_short, psy_table_bval_24000_short, psy_table_qsthr_24000_short}, /* 24000 */ {22050, 46, psy_table_w_low_22050_short, psy_table_width_22050_short, psy_table_bval_22050_short, psy_table_qsthr_22050_short}, /* 22050 */ {16000, 47, psy_table_w_low_16000_short, psy_table_width_16000_short, psy_table_bval_16000_short, psy_table_qsthr_16000_short}, /* 16000 */ {12000, 48, psy_table_w_low_12000_short, psy_table_width_12000_short, psy_table_bval_12000_short, psy_table_qsthr_12000_short}, /* 12000 */ {11025, 47, psy_table_w_low_11025_short, psy_table_width_11025_short, psy_table_bval_11025_short, psy_table_qsthr_11025_short}, /* 11025 */ { 8000, 40, psy_table_w_low_8000_short, psy_table_width_8000_short, psy_table_bval_8000_short, psy_table_qsthr_8000_short}, /* 8000 */};short AAC_HANN_long[] = { /* Q15 */ 0x0000, 0x0000, 0x0000, 0x0001, 0x0002, 0x0002, 0x0003, 0x0004, 0x0006, 0x0007, 0x0008, 0x000a, 0x000c, 0x000e, 0x0010, 0x0013, 0x0015, 0x0018, 0x001a, 0x001d, 0x0020, 0x0024, 0x0027, 0x002b, 0x002e, 0x0032, 0x0036, 0x003a, 0x003f, 0x0043, 0x0048, 0x004c, 0x0051, 0x0056, 0x005c, 0x0061, 0x0067, 0x006c, 0x0072, 0x0078, 0x007e, 0x0085, 0x008b, 0x0092, 0x0098, 0x009f, 0x00a6, 0x00ae, 0x00b5, 0x00bd, 0x00c4, 0x00cc, 0x00d4, 0x00dc, 0x00e4, 0x00ed, 0x00f6, 0x00fe, 0x0107, 0x0110, 0x0119, 0x0123, 0x012c, 0x0136, 0x0140, 0x014a, 0x0154, 0x015e, 0x0168, 0x0173, 0x017e, 0x0189, 0x0194, 0x019f, 0x01aa, 0x01b6, 0x01c1, 0x01cd, 0x01d9, 0x01e5, 0x01f1, 0x01fd, 0x020a, 0x0217, 0x0223, 0x0230, 0x023e, 0x024b, 0x0258, 0x0266, 0x0273, 0x0281, 0x028f, 0x029d, 0x02ac, 0x02ba, 0x02c9, 0x02d8, 0x02e6, 0x02f5, 0x0305, 0x0314, 0x0323, 0x0333, 0x0343, 0x0353, 0x0363, 0x0373, 0x0383, 0x0394, 0x03a4, 0x03b5, 0x03c6, 0x03d7, 0x03e8, 0x03fa, 0x040b, 0x041d, 0x042f, 0x0441, 0x0453, 0x0465, 0x0477, 0x048a, 0x049d, 0x04af, 0x04c2, 0x04d6, 0x04e9, 0x04fc, 0x0510, 0x0523, 0x0537, 0x054b, 0x055f, 0x0573, 0x0588, 0x059c, 0x05b1, 0x05c6, 0x05db, 0x05f0, 0x0605, 0x061a, 0x0630, 0x0645, 0x065b, 0x0671, 0x0687, 0x069d, 0x06b4, 0x06ca, 0x06e1, 0x06f7, 0x070e, 0x0725, 0x073c, 0x0754, 0x076b, 0x0783, 0x079a, 0x07b2, 0x07ca, 0x07e2, 0x07fb, 0x0813, 0x082b, 0x0844, 0x085d, 0x0876, 0x088f, 0x08a8, 0x08c1, 0x08db, 0x08f4, 0x090e, 0x0928, 0x0942, 0x095c, 0x0976, 0x0991, 0x09ab, 0x09c6, 0x09e0, 0x09fb, 0x0a16, 0x0a31, 0x0a4d, 0x0a68, 0x0a84, 0x0a9f, 0x0abb, 0x0ad7, 0x0af3, 0x0b0f, 0x0b2c, 0x0b48, 0x0b65, 0x0b81, 0x0b9e, 0x0bbb, 0x0bd8, 0x0bf5, 0x0c13, 0x0c30, 0x0c4e, 0x0c6b, 0x0c89, 0x0ca7, 0x0cc5, 0x0ce3, 0x0d02, 0x0d20, 0x0d3f, 0x0d5d, 0x0d7c, 0x0d9b, 0x0dba, 0x0dd9, 0x0df9, 0x0e18, 0x0e38, 0x0e57, 0x0e77, 0x0e97, 0x0eb7, 0x0ed7, 0x0ef7, 0x0f18, 0x0f38, 0x0f59, 0x0f79, 0x0f9a, 0x0fbb, 0x0fdc, 0x0ffd, 0x101f, 0x1040, 0x1062, 0x1083, 0x10a5, 0x10c7, 0x10e9, 0x110b, 0x112d, 0x1150, 0x1172, 0x1194, 0x11b7, 0x11da, 0x11fd, 0x1220, 0x1243, 0x1266, 0x1289, 0x12ad,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -