/****************************************************************************** * * * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ***************************************************************************** * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore */ #include "ixheaacd_sbr_common.h" #include #include "ixheaacd_defines.h" #include #include "ixheaacd_intrinsics.h" // -1 is appended at the end of each table to identify // number of scf bands at run time // const ia_aac_dec_huffman_tables_struct ixheaacd_aac_huffmann_tables = { // static const WORD8 ixheaacd_sfb_96_1024[42] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 12, 12, 12, 12, 12, 16, 16, 24, 28, 36, 44, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, -1}, // 12 scfbands // static const WORD8 ixheaacd_sfb_96_128[13] = {4, 4, 4, 4, 4, 4, 8, 8, 8, 16, 28, 36, -1}, // 47 scfbands // static const WORD8 ixheaacd_sfb_64_1024[48] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 12, 12, 12, 16, 16, 16, 20, 24, 24, 28, 36, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, -1}, // 12 scfbands */ // static const WORD8 ixheaacd_sfb_64_128[13] = // same as ixheaacd_sfb_96_128 // 49 scfbands // static const WORD8 ixheaacd_sfb_48_1024[50] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 12, 12, 12, 12, 16, 16, 20, 20, 24, 24, 28, 28, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 96, -1}, // 14 scfbands // static const WORD8 ixheaacd_sfb_48_128[15] = {4, 4, 4, 4, 4, 8, 8, 8, 12, 12, 12, 16, 16, 16, -1}, // 51 scfbands // static const WORD8 ixheaacd_sfb_32_1024[52] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 12, 12, 12, 12, 16, 16, 20, 20, 24, 24, 28, 28, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, -1}, // 47 scfbands // static const WORD8 ixheaacd_sfb_24_1024[48] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 12, 12, 12, 12, 16, 16, 16, 20, 20, 24, 24, 28, 28, 32, 36, 36, 40, 44, 48, 52, 52, 64, 64, 64, 64, 64, -1}, // 15 scfbands // static const WORD8 ixheaacd_sfb_24_128[16] = {4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 12, 12, 16, 16, 20, -1}, // 43 scfbands // static const WORD8 ixheaacd_sfb_16_1024[44] = {8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 12, 12, 12, 12, 12, 12, 12, 12, 12, 16, 16, 16, 16, 20, 20, 20, 24, 24, 28, 28, 32, 36, 40, 40, 44, 48, 52, 56, 60, 64, 64, 64, -1}, // 15 scfbands // static const WORD8 ixheaacd_sfb_16_128[16] = {4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 12, 12, 16, 20, 20, -1}, // 40 scfbands // static const WORD8 ixheaacd_sfb_8_1024[41] = {12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 16, 16, 16, 16, 16, 16, 16, 20, 20, 20, 20, 24, 24, 24, 28, 28, 32, 36, 36, 40, 44, 48, 52, 56, 60, 64, 80, -1}, // 15 scfbands // static const WORD8 ixheaacd_sfb_8_128[16] = {4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 12, 16, 20, 20, -1}, // const ia_sampling_rate_info_struct str_sample_rate_info[16] = {{96000}, {88200}, {64000}, {48000}, {44100}, {32000}, {24000}, {22050}, {16000}, {12000}, {11025}, {8000}, {7350}}, // 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 // +------------------------------------------------+ // | 1| Len | Symbol | // +------------------------------------------------+ // | 0| | Offset | // +------------------------------------------------+ // LSB (00) is set 1 when the codeword is decoded // // HuffmanCodeBook_1 // idx_hf11 { 0x20100001, 0x41e00045, 0x659000c6, 0x890001c4, 0x0e6003df, 0xaef003e8, 0x10d007ef, 0x115007f7, 0x119007fb, 0xd1a007fc, 0x11e00ffd, 0x11f00ffe, 0x12000fff, 0xc0700009, 0x052000bf, 0x08b001bf, 0x0c6003bf, 0x0fd007df, 0x11c00ffb, 0x20e0001a, 0x0180003f, }, // idx_hf10 {0x10200002, 0x21800029, 0x32900064, 0x442000e2, 0x561001e4, 0x087003ef, 0x68a003f2, 0x09c007f7, 0x0a0007fb, 0x0a400ffb, 0x0a600ffd, 0x0a700ffe, 0x0a800fff, 0x60a0000d, 0x0240005f, 0x03f000df, 0x05c001df, 0x077003df, 0x094007ef, 0x00e0001f}, // idx_hf9 {0x00000000, 0x00200005, 0x1030000c, 0x20a00072, 0x31d001e6, 0x431003e1, 0x550007e2, 0x67600feb, 0x08e01fef, 0x09601ff7, 0x09e03ff7, 0x0a203ffb, 0x0a403ffd, 0x0a607ffd, 0x0a707ffe, 0x0a807fff, 0x00700037, 0x512000ed, 0x02f003df, 0x04d007df, 0x06a00fdf, 0x07e01fdf, 0x016001df}, // idx_hf8 {0x10000000, 0x20c00014, 0x31600033, 0x42400075, 0x030000f7, 0x533000fa, 0x039001fb, 0x03b001fd, 0x03d003fd, 0x03e003fe, 0x03f003ff, 0x50500006, 0x0120002f, 0x01e0006f, 0x028000ef, 0x035001f7, 0x0070000f}, // idx_hf7 {0x00000000, 0x00200005, 0x1030000c, 0x20c00074, 0x316000f3, 0x424001f5, 0x030003f7, 0x533003fa, 0x039007fb, 0x03b007fd, 0x03d00ffd, 0x03e00ffe, 0x03f00fff, 0x00700037, 0x012000ef, 0x01e001ef, 0x028003ef, 0x035007f7}, // idx_hf6 {0x00700007, 0x10800008, 0x21800033, 0x32500074, 0x42d000f1, 0x041001f7, 0x544001fa, 0x04a003fb, 0x04c003fd, 0x04e007fd, 0x04f007fe, 0x050007ff, 0x0140002f, 0x0200006f, 0x02b000ef, 0x039001ef, 0x046003f7}, // idx_hf5 {0x00000000, 0x0040000b, 0x0080001b, 0x10c00073, 0x218000f3, 0x324001f3, 0x430003f3, 0x040007f7, 0x542007f9, 0x04a00ffb, 0x04c00ffd, 0x04e01ffd, 0x04f01ffe, 0x05001fff, 0x014000ef, 0x020001ef, 0x02c003ef, 0x038007ef, 0x04600ff7}, // idx_hf4 {0x00700007, 0x10900009, 0x20f00019, 0x31800070, 0x42d000f6, 0x535001f5, 0x041003f7, 0x643003f9, 0x04b007fb, 0x04d007fd, 0x04e007fe, 0x04f00ffe, 0x05000fff, 0x00d00017, 0x0170006f, 0x026000ef, 0x02f001ef, 0x039003ef, 0x047007f7}, // idx_hf3 {0x00000000, 0x0040000b, 0x10600019, 0x20c00039, 0x314000f2, 0x423001f4, 0x031003f7, 0x532003f8, 0x63a007f9, 0x04200ffb, 0x74300ffc, 0x84601ffc, 0x94903ffc, 0x04d07ffd, 0x04e07ffe, 0x04f0fffe, 0x0500ffff, 0x00a00037, 0x80f00076, 0x01e001ef, 0x029003ef, 0x038007f7, 0x03e00ff7, 0x04501ffb, 0x04803ffb, 0x04b07ffb, 0x011000ef}, // idx_hf2 {0x10000000, 0x01e0002f, 0x22000031, 0x32f00072, 0x041000f7, 0x442000f8, 0x04c001fb, 0x04e001fd, 0x04f001fe, 0x050001ff, 0x40100002, 0x02c0006f, 0x039000ef, 0x048001f7, 0x1080000c, 0x00e0001f}, // idx_hf1 {0x00000000, 0x00800017, 0x0180006f, 0x02000077, 0x030001ef, 0x038001f7, 0x040003f7, 0x048007f7, 0x04c007fb, 0x04e007fd, 0x04f007fe, 0x050007ff}, // inp_hf11 {0x000c, 0x0004, 0x0244, 0x2405, 0x0225, 0x0025, 0x0465, 0x0265, 0x0485, 0x0286, 0x0686, 0x06a6, 0x0446, 0x04a6, 0x0046, 0x06c6, 0x08a7, 0x02a7, 0x08c7, 0x04c7, 0x08e7, 0x06e7, 0x0667, 0x0067, 0x0ac7, 0x0ae7, 0x04e7, 0x0907, 0x02c7, 0x0b07, 0x0707, 0x0b27, 0x0928, 0x0d08, 0x0508, 0x0ce8, 0x0d28, 0x0728, 0x02e8, 0x0a88, 0x0868, 0x22a8, 0x2268, 0x2288, 0x0d48, 0x22c8, 0x0888, 0x0948, 0x0088, 0x0648, 0x0b48, 0x0ca8, 0x22e8, 0x2248, 0x2308, 0x0528, 0x0f28, 0x0748, 0x0d68, 0x0b68, 0x0ec8, 0x2348, 0x0f48, 0x0f08, 0x2328, 0x10e8, 0x0428, 0x0308, 0x0968, 0x2368, 0x0f68, 0x2388, 0x1308, 0x2228, 0x0d88, 0x1528, 0x0548, 0x0b88, 0x1748, 0x23a8, 0x1168, 0x1148, 0x0768, 0x0aa8, 0x23c8, 0x1968, 0x0f88, 0x0988, 0x0da8, 0x0fa8, 0x00a8, 0x1189, 0x23e9, 0x1b89, 0x0329, 0x1129, 0x1fc9, 0x0ba9, 0x1da9, 0x0789, 0x11a9, 0x0fc9, 0x0569, 0x11c9, 0x1369, 0x1389, 0x21e9, 0x09a9, 0x0dc9, 0x0cc9, 0x13a9, 0x0bc9, 0x11e9, 0x0fe9, 0x0349, 0x15a9, 0x00c9, 0x1589, 0x1349, 0x13c9, 0x09c9, 0x0589, 0x13e9, 0x07a9, 0x0de9, 0x15c9, 0x1209, 0x15e9, 0x1409, 0x17c9, 0x0369, 0x0ee9, 0x1609, 0x1009, 0x07c9, 0x0be9, 0x1569, 0x09e9, 0x17a9, 0x1be9, 0x0e09, 0x1c09, 0x05a9, 0x2209, 0x0c09, 0x1809, 0x17ea, 0x142a, 0x102a, 0x122a, 0x020a, 0x0a2a, 0x00ea, 0x080a, 0x182a, 0x1bca, 0x1c2a, 0x19ea, 0x05ea, 0x1c4a, 0x124a, 0x0e2a, 0x164a, 0x162a, 0x1e0a, 0x1a0a, 0x038a, 0x0a0a, 0x178a, 0x07ea, 0x03ca, 0x19ca, 0x104a, 0x082a, 0x0c2a, 0x0c4a, 0x1e4a, 0x0a4a, 0x184a, 0x1e2a, 0x1a2a, 0x1c6a, 0x1a4a, 0x110a, 0x186a, 0x05ca, 0x144a, 0x1e6a, 0x0e6a, 0x168a, 0x202a, 0x126a, 0x146a, 0x1e8a, 0x166a, 0x0c6a, 0x188a, 0x1dea, 0x060a, 0x0e4a, 0x03aa, 0x1caa, 0x010a, 0x1c8a, 0x106a, 0x1a6a, 0x108a, 0x204a, 0x19aa, 0x0e8a, 0x062a, 0x208a, 0x206a, 0x03ea, 0x148a, 0x0a6a, 0x1eaa, 0x12aa, 0x1cca, 0x128a, 0x0c8a, 0x084a, 0x16aa, 0x18aa, 0x1a8a, 0x20aa, 0x20ca, 0x12ca, 0x200a, 0x10aa, 0x132a, 0x012a, 0x14ca, 0x14aa, 0x1aaa, 0x1eca, 0x16ea, 0x1eea, 0x1aca, 0x0eaa, 0x10ca, 0x14eb, 0x20eb, 0x18cb, 0x192b, 0x040b, 0x16cb, 0x170b, 0x1d0b, 0x1ceb, 0x190b, 0x18eb, 0x12eb, 0x1f2b, 0x1d2b, 0x1b2b, 0x210b, 0x1f0b, 0x154b, 0x1aeb, 0x150b, 0x014b, 0x1b0b, 0x176b, 0x1b4b, 0x172b, 0x1d4b, 0x01ab, 0x1f4b, 0x212b, 0x214b, 0x194b, 0x1f6b, 0x1bab, 0x016b, 0x1d6b, 0x216b, 0x218b, 0x1b6b, 0x1dcb, 0x1f8b, 0x1d8b, 0x198b, 0x1fab, 0x01cc, 0x018c, 0x21ac, 0x1fec, 0x01ec, 0x21cc}, // inp_hf10 {0x000c, 0x01c4, 0x01e4, 0x0364, 0x0385, 0x01a5, 0x0025, 0x0205, 0x0525, 0x0505, 0x03a5, 0x0545, 0x0346, 0x0046, 0x03c6, 0x06c6, 0x0226, 0x06a6, 0x0006, 0x06e6, 0x0566, 0x04e6, 0x0066, 0x0706, 0x03e6, 0x0866, 0x0247, 0x0847, 0x0887, 0x0587, 0x08a7, 0x0727, 0x0a07, 0x0407, 0x0a27, 0x0687, 0x09e7, 0x0087, 0x0267, 0x05a7, 0x08c7, 0x0a47, 0x0747, 0x0a68, 0x0ba8, 0x05c8, 0x0428, 0x08e8, 0x0d48, 0x0bc8, 0x0828, 0x0b88, 0x00a8, 0x0d28, 0x0288, 0x0d68, 0x0be8, 0x0768, 0x0448, 0x0a88, 0x0c08, 0x02a8, 0x05e8, 0x0d88, 0x0788, 0x0908, 0x0da8, 0x0928, 0x0c29, 0x0aa9, 0x0ee9, 0x09c9, 0x0ac9, 0x0f09, 0x0609, 0x0ec9, 0x0469, 0x00c9, 0x0dc9, 0x0f29, 0x07a9, 0x1089, 0x02c9, 0x0c49, 0x0de9, 0x0f49, 0x0c69, 0x10a9, 0x0949, 0x10c9, 0x0489, 0x1069, 0x0629, 0x0f69, 0x0ae9, 0x0d09, 0x07c9, 0x0b69, 0x1229, 0x0c8a, 0x124a, 0x110a, 0x02ea, 0x120a, 0x0f8a, 0x00ea, 0x0e0a, 0x10ea, 0x064a, 0x096a, 0x0e2a, 0x128a, 0x010a, 0x126a, 0x04aa, 0x0caa, 0x0b0a, 0x112a, 0x07ea, 0x030a, 0x13ca, 0x0faa, 0x13ea, 0x12aa, 0x098a, 0x140a, 0x12ca, 0x142a, 0x066a, 0x0b2a, 0x0eaa, 0x114a, 0x104a, 0x13aa, 0x012a, 0x080a, 0x0fca, 0x144a, 0x04ca, 0x0e4a, 0x0feb, 0x032b, 0x12eb, 0x146b, 0x0ccb, 0x09ab, 0x0b4b, 0x116b, 0x0e6b, 0x148b, 0x014b, 0x0ceb, 0x11eb, 0x118b, 0x130b, 0x132b, 0x016b, 0x134b, 0x100b, 0x11ab, 0x138b, 0x0e8b, 0x14ac, 0x11cc, 0x102c, 0x136c, 0x14ec, 0x018c, 0x14cc, 0x150c}, // inp_hf9 {0x000f, 0x0001, 0x01a3, 0x0023, 0x01c4, 0x0366, 0x01e6, 0x0346, 0x0046, 0x0507, 0x0387, 0x0207, 0x04e8, 0x0068, 0x03a8, 0x0528, 0x0228, 0x06a8, 0x03c8, 0x0248, 0x06c9, 0x0549, 0x0089, 0x0689, 0x0849, 0x03e9, 0x0269, 0x0569, 0x0869, 0x09e9, 0x06e9, 0x00aa, 0x040a, 0x082a, 0x028a, 0x058a, 0x02aa, 0x0d2a, 0x070a, 0x088a, 0x0a0a, 0x0b8a, 0x00ca, 0x0d4a, 0x044a, 0x05aa, 0x042a, 0x072a, 0x0eca, 0x02ca, 0x0baa, 0x09cb, 0x08ab, 0x0a2b, 0x0d6b, 0x00eb, 0x0eeb, 0x05eb, 0x074b, 0x05cb, 0x010b, 0x106b, 0x0a4b, 0x046b, 0x08cb, 0x0d0b, 0x0b6b, 0x0bcb, 0x108b, 0x0f0b, 0x0d8b, 0x02eb, 0x0beb, 0x0a6b, 0x08eb, 0x078b, 0x076b, 0x060b, 0x120b, 0x092b, 0x0eab, 0x0dab, 0x10ac, 0x048c, 0x012c, 0x122c, 0x0f2c, 0x0a8c, 0x13ac, 0x07ac, 0x0dcc, 0x030c, 0x0f4c, 0x10cc, 0x090c, 0x0c0c, 0x04ac, 0x032c, 0x13cc, 0x124c, 0x062c, 0x094c, 0x0aac, 0x0dec, 0x126c, 0x014c, 0x0c2c, 0x13ec, 0x104c, 0x10ec, 0x07cc, 0x0acc, 0x04cc, 0x0f6c, 0x0f8c, 0x07ec, 0x11ec, 0x0aec, 0x064c, 0x096c, 0x0e0d, 0x0c6d, 0x142d, 0x066d, 0x128d, 0x0c4d, 0x140d, 0x12ad, 0x110d, 0x080d, 0x0c8d, 0x098d, 0x016d, 0x144d, 0x0b0d, 0x138d, 0x112d, 0x09ad, 0x0cad, 0x0fad, 0x018d, 0x12cd, 0x0e2d, 0x0fcd, 0x114d, 0x0ccd, 0x146d, 0x0b2d, 0x0e6d, 0x12ed, 0x0ced, 0x0b4d, 0x0e4e, 0x116e, 0x0e8e, 0x0fee, 0x100e, 0x102e, 0x11ae, 0x14ae, 0x118e, 0x130e, 0x148e, 0x132e, 0x14ce, 0x14ee, 0x11cf, 0x134f, 0x136f, 0x150f}, // inp_hf8 {0x000a, 0x0123, 0x0224, 0x0104, 0x0144, 0x0024, 0x0244, 0x0005, 0x0205, 0x0045, 0x0325, 0x0165, 0x0345, 0x0265, 0x0366, 0x0426, 0x0186, 0x0446, 0x0286, 0x0306, 0x0066, 0x0466, 0x0386, 0x0546, 0x0527, 0x02a7, 0x01a7, 0x0567, 0x03a7, 0x0487, 0x0587, 0x0087, 0x04a7, 0x0407, 0x02c7, 0x0647, 0x0627, 0x01c7, 0x03c8, 0x0668, 0x05a8, 0x0508, 0x0688, 0x00a8, 0x04c8, 0x0728, 0x0748, 0x02e8, 0x06a8, 0x0768, 0x01e8, 0x05c8, 0x03e8, 0x06c9, 0x0789, 0x0609, 0x04e9, 0x00c9, 0x07a9, 0x07c9, 0x06e9, 0x05ea, 0x070a, 0x00ea, 0x07ea}, // inp_hf7 {0x000c, 0x0001, 0x0103, 0x0023, 0x0124, 0x0226, 0x0146, 0x0206, 0x0046, 0x0327, 0x0167, 0x0247, 0x0307, 0x0067, 0x0268, 0x0348, 0x0188, 0x0428, 0x01a8, 0x0528, 0x0368, 0x0288, 0x0088, 0x0408, 0x0449, 0x02a9, 0x0549, 0x00a9, 0x0629, 0x0509, 0x01c9, 0x0469, 0x03a9, 0x0389, 0x0569, 0x02c9, 0x0649, 0x01e9, 0x03ca, 0x00ca, 0x060a, 0x048a, 0x072a, 0x04aa, 0x074a, 0x058a, 0x066a, 0x02ea, 0x076a, 0x068a, 0x05aa, 0x04ca, 0x03ea, 0x070b, 0x00eb, 0x06ab, 0x05cb, 0x078b, 0x04eb, 0x05eb, 0x07ab, 0x07cc, 0x06cc, 0x06ec, 0x07ec}, // inp_hf6 {0x000b, 0x0504, 0x0624, 0x04e4, 0x0524, 0x03e4, 0x0644, 0x0404, 0x0604, 0x03c4, 0x0726, 0x0766, 0x02e6, 0x02a6, 0x02c6, 0x0426, 0x0746, 0x05e6, 0x0666, 0x04c6, 0x03a6, 0x0546, 0x0706, 0x0306, 0x0286, 0x0786, 0x01c7, 0x0887, 0x0847, 0x0447, 0x0187, 0x0687, 0x05c7, 0x0387, 0x0867, 0x01a7, 0x04a7, 0x0567, 0x08a7, 0x0168, 0x0328, 0x07a8, 0x0828, 0x06e8, 0x0268, 0x01e8, 0x08c8, 0x0809, 0x0149, 0x0209, 0x05a9, 0x0369, 0x09a9, 0x00a9, 0x0069, 0x06a9, 0x0969, 0x0469, 0x0489, 0x00c9, 0x0049, 0x07c9, 0x0249, 0x0089, 0x09c9, 0x0949, 0x0349, 0x0989, 0x06c9, 0x0589, 0x012a, 0x022a, 0x07ea, 0x092a, 0x08ea, 0x09ea, 0x00ea, 0x002a, 0x0a0b, 0x010b, 0x000b, 0x090b}, // inp_hf5 {0x000d, 0x0501, 0x03e4, 0x0624, 0x0524, 0x04e4, 0x0605, 0x0405, 0x03c5, 0x0645, 0x02c7, 0x0547, 0x0747, 0x04c7, 0x02a8, 0x0768, 0x03a8, 0x0668, 0x02e8, 0x0728, 0x0428, 0x05e8, 0x01a8, 0x0868, 0x04a8, 0x0568, 0x0189, 0x0689, 0x0889, 0x0389, 0x01c9, 0x0849, 0x05c9, 0x0449, 0x0309, 0x0789, 0x0289, 0x0709, 0x016a, 0x082a, 0x032a, 0x06ea, 0x08aa, 0x07aa, 0x01ea, 0x026a, 0x048a, 0x008a, 0x09aa, 0x098a, 0x006b, 0x058b, 0x096b, 0x036b, 0x06ab, 0x046b, 0x00ab, 0x05ab, 0x080b, 0x014b, 0x020b, 0x034b, 0x004b, 0x09cb, 0x06cb, 0x07cb, 0x08cb, 0x00cb, 0x024c, 0x094c, 0x07ec, 0x002c, 0x00ec, 0x08ec, 0x022c, 0x09ec, 0x092c, 0x012c, 0x090d, 0x010d, 0x0a0d, 0x000d}, // inp_hf4 {0x000c, 0x0504, 0x01a4, 0x04a4, 0x04e4, 0x03e4, 0x0364, 0x0484, 0x0004, 0x0084, 0x03c4, 0x0385, 0x0185, 0x0025, 0x0145, 0x0065, 0x0125, 0x0867, 0x0567, 0x0627, 0x0527, 0x0847, 0x0807, 0x0607, 0x0747, 0x0207, 0x01c8, 0x0548, 0x02c8, 0x0408, 0x05c8, 0x04c8, 0x0448, 0x07e8, 0x0728, 0x05a8, 0x06e8, 0x0168, 0x02a8, 0x00a8, 0x01e8, 0x0268, 0x03a8, 0x00e8, 0x0428, 0x06c8, 0x0048, 0x0249, 0x00c9, 0x0689, 0x0989, 0x08c9, 0x0589, 0x0649, 0x0889, 0x066a, 0x096a, 0x08aa, 0x032a, 0x022a, 0x092a, 0x02ea, 0x07aa, 0x046a, 0x09ea, 0x05ea, 0x076a, 0x082a, 0x06aa, 0x08eb, 0x09ab, 0x030b, 0x090b, 0x010b, 0x078b, 0x028b, 0x070b, 0x0a0b, 0x034b, 0x09cb, 0x094c, 0x07cc}, // inp_hf3 {0x0010, 0x0001, 0x0364, 0x0024, 0x0124, 0x0064, 0x0485, 0x0085, 0x0186, 0x0146, 0x03c6, 0x01a6, 0x0386, 0x04e6, 0x0507, 0x03e7, 0x04a7, 0x06c8, 0x0048, 0x00a8, 0x07e8, 0x0608, 0x00e9, 0x0209, 0x05a9, 0x01c9, 0x0849, 0x00c9, 0x02a9, 0x01e9, 0x0249, 0x0169, 0x0729, 0x0629, 0x02c9, 0x0549, 0x0569, 0x05ca, 0x042a, 0x044a, 0x026a, 0x086a, 0x052a, 0x080a, 0x040a, 0x010a, 0x022a, 0x096a, 0x066a, 0x03aa, 0x06ea, 0x032a, 0x090b, 0x068b, 0x04cb, 0x074b, 0x058b, 0x098b, 0x030b, 0x02eb, 0x046c, 0x092c, 0x08ac, 0x09cc, 0x034c, 0x09ec, 0x08cc, 0x064c, 0x06ac, 0x028d, 0x078d, 0x05ed, 0x07ae, 0x088e, 0x082e, 0x0a0f, 0x09af, 0x08ef, 0x076f, 0x070f, 0x0950, 0x07d0}, // inp_hf2 {0x0009, 0x0503, 0x0864, 0x01a5, 0x0525, 0x04a5, 0x04e5, 0x03e5, 0x0565, 0x0625, 0x0446, 0x02c6, 0x05c6, 0x0546, 0x0606, 0x04c6, 0x0186, 0x0746, 0x0806, 0x0086, 0x0486, 0x08c6, 0x0886, 0x0406, 0x0206, 0x0646, 0x0386, 0x01c6, 0x03c6, 0x0146, 0x0986, 0x0686, 0x0586, 0x0846, 0x05e7, 0x0827, 0x0267, 0x0427, 0x07a7, 0x0967, 0x08e7, 0x0327, 0x03a7, 0x09e7, 0x01e7, 0x0027, 0x0167, 0x06e7, 0x0927, 0x0768, 0x02a8, 0x00e8, 0x0228, 0x00a8, 0x0068, 0x0368, 0x08a8, 0x07e8, 0x05a8, 0x06a8, 0x02e8, 0x0128, 0x0668, 0x0728, 0x0468, 0x09a8, 0x0788, 0x0288, 0x0709, 0x0009, 0x0309, 0x0349, 0x0a09, 0x00c9, 0x07c9, 0x0249, 0x0109, 0x0909, 0x06c9, 0x0049, 0x0949, 0x09c9}, // inp_hf1 {0x000b, 0x0501, 0x0865, 0x01a5, 0x04e5, 0x0625, 0x0525, 0x04a5, 0x0565, 0x03e5, 0x0747, 0x02c7, 0x04c7, 0x05c7, 0x0447, 0x0547, 0x0987, 0x0487, 0x0087, 0x0387, 0x0807, 0x0607, 0x0207, 0x0587, 0x08c7, 0x0407, 0x0687, 0x0647, 0x0147, 0x0887, 0x0187, 0x0847, 0x01c7, 0x03c7, 0x0929, 0x0269, 0x07a9, 0x0669, 0x05e9, 0x0469, 0x0429, 0x06e9, 0x0829, 0x05a9, 0x0329, 0x01e9, 0x00e9, 0x03a9, 0x0769, 0x0729, 0x02a9, 0x0029, 0x0369, 0x06a9, 0x08a9, 0x09a9, 0x02e9, 0x09e9, 0x00aa, 0x012a, 0x096a, 0x07ea, 0x016a, 0x006a, 0x022a, 0x08ea, 0x078b, 0x028b, 0x030b, 0x070b, 0x0a0b, 0x010b, 0x090b, 0x00cb, 0x000b, 0x094b, 0x07cb, 0x034b, 0x024b, 0x004b, 0x06cb, 0x09cb}, // UWORD16 huffman_code_book_scl[122]; {0x0013, 0x0781, 0x0763, 0x07a4, 0x0744, 0x07c4, 0x0725, 0x07e5, 0x0706, 0x0806, 0x06e6, 0x0826, 0x0847, 0x06c7, 0x0867, 0x06a8, 0x0888, 0x0688, 0x08a8, 0x0668, 0x08c9, 0x0649, 0x0629, 0x08e9, 0x090a, 0x060a, 0x092a, 0x05ea, 0x094a, 0x05ca, 0x098b, 0x096b, 0x09ab, 0x09cb, 0x05ab, 0x056b, 0x058c, 0x09ec, 0x054c, 0x052c, 0x0a0c, 0x050c, 0x0a2d, 0x04ed, 0x0a4d, 0x04cd, 0x0a6d, 0x04ae, 0x046e, 0x0aae, 0x042e, 0x048e, 0x044e, 0x0a8e, 0x040e, 0x0aef, 0x0b2f, 0x03cf, 0x03ef, 0x0ad0, 0x03b0, 0x0350, 0x0370, 0x0390, 0x0310, 0x0b10, 0x0331, 0x02d1, 0x02f1, 0x0b52, 0x02b2, 0x0272, 0x0072, 0x0032, 0x0052, 0x0012, 0x0c53, 0x0c73, 0x0c93, 0x0cb3, 0x0cd3, 0x0eb3, 0x0c33, 0x0b73, 0x0b93, 0x0bb3, 0x0bd3, 0x0bf3, 0x0c13, 0x0d13, 0x0df3, 0x0e13, 0x0e33, 0x0e53, 0x0e73, 0x0e93, 0x0dd3, 0x0d33, 0x0d53, 0x0d73, 0x0d93, 0x0db3, 0x0ed3, 0x00d3, 0x0113, 0x0133, 0x0153, 0x00b3, 0x0cf3, 0x0f13, 0x0ef3, 0x0093, 0x00f3, 0x01f3, 0x0213, 0x0253, 0x0293, 0x0233, 0x0173, 0x0193, 0x01d3, 0x01b3}, // UWORD32 huffman_code_book_scl_index[33]; {0x00000000, 0x10100004, 0x2040000c, 0x00a0003b, 0x30d0007a, 0x412000fa, 0x516001f9, 0x61c003f9, 0x722007f9, 0x82800ff9, 0x92d01ff8, 0xa3503ff9, 0xb400fff6, 0xc431fff0, 0x0687ffef, 0x0707fff7, 0x0747fffb, 0x0767fffd, 0x0777fffe, 0x0787ffff, 0x0030000b, 0x0060001b, 0x00f000f7, 0x014001f7, 0x01a003f7, 0x020007f7, 0x02600ff7, 0x02c01ff7, 0x03303ff7, 0x03907ff7, 0x0421ffef, 0x14a3ffe8, 0x0587ffdf}, // const WORD16 ixheaacd_sfb_48_512[37] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 12, 12, 12, 12, 16, 20, 24, 28, 32, 32, 32, 32, 32, 32, 32, 52, -1}, // const WORD16 ixheaacd_sfb_32_512[38] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 12, 12, 12, 12, 16, 16, 16, 20, 24, 24, 28, 32, 32, 32, 32, 32, 32, 32, -1}, // const WORD16 ixheaacd_sfb_24_512[32] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 12, 12, 12, 16, 20, 24, 28, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, -1}, // const WORD16 ixheaacd_sfb_48_480[36] = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 12, 12, 12, 12, 12, 16, 16, 24, 28, 32, 32, 32, 32, 32, 32, 48, -1, }, // const WORD16 ixheaacd_sfb_32_480[38] = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 12, 12, 12, 16, 16, 20, 24, 32, 32, 32, 32, 32, 32, 32, 32, -1, }, // const WORD16 ixheaacd_sfb_24_480[31] = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 12, 12, 12, 16, 20, 24, 28, 32, 32, 32, 32, 32, 32, 32, 32, 32, -1, }, }; // end of ia_aac_dec_huffman_tables_struct const ia_aac_dec_block_tables_struct ixheaacd_aac_block_tables = { // const WORD32 ixheaacd_pow_table_Q13[129] = {0 >> 4, 131072 >> 4, 330281 >> 4, 567116 >> 4, 832256 >> 4, 1120650 >> 4, 1429042 >> 4, 1755122 >> 4, 2097152 >> 4, 2453767 >> 4, 2823861 >> 4, 3206517 >> 4, 3600960 >> 4, 4006524 >> 4, 4422631 >> 4, 4848770 >> 4, 5284492 >> 4, 5729392 >> 4, 6183105 >> 4, 6645302 >> 4, 7115683 >> 4, 7593972 >> 4, 8079916 >> 4, 8573281 >> 4, 9073850 >> 4, 9581422 >> 4, 10095808 >> 4, 10616832 >> 4, 11144330 >> 4, 11678147 >> 4, 12218136 >> 4, 12764159 >> 4, 13316085 >> 4, 13873792 >> 4, 14437162 >> 4, 15006082 >> 4, 15580448 >> 4, 16160157 >> 4, 16745112 >> 4, 17335222 >> 4, 17930398 >> 4, 18530554 >> 4, 19135610 >> 4, 19745488 >> 4, 20360112 >> 4, 20979411 >> 4, 21603314 >> 4, 22231755 >> 4, 22864669 >> 4, 23501994 >> 4, 24143669 >> 4, 24789637 >> 4, 25439841 >> 4, 26094226 >> 4, 26752740 >> 4, 27415332 >> 4, 28081952 >> 4, 28752552 >> 4, 29427086 >> 4, 30105507 >> 4, 30787772 >> 4, 31473838 >> 4, 32163664 >> 4, 32857208 >> 4, 33554432 >> 4, 34255297 >> 4, 34959765 >> 4, 35667801 >> 4, 36379368 >> 4, 37094431 >> 4, 37812958 >> 4, 38534914 >> 4, 39260268 >> 4, 39988988 >> 4, 40721043 >> 4, 41456403 >> 4, 42195038 >> 4, 42936921 >> 4, 43682022 >> 4, 44430314 >> 4, 45181770 >> 4, 45936364 >> 4, 46694070 >> 4, 47454862 >> 4, 48218716 >> 4, 48985607 >> 4, 49755512 >> 4, 50528406 >> 4, 51304267 >> 4, 52083073 >> 4, 52864802 >> 4, 53649431 >> 4, 54436939 >> 4, 55227306 >> 4, 56020511 >> 4, 56816534 >> 4, 57615355 >> 4, 58416954 >> 4, 59221313 >> 4, 60028412 >> 4, 60838233 >> 4, 61650759 >> 4, 62465970 >> 4, 63283850 >> 4, 64104381 >> 4, 64927547 >> 4, 65753329 >> 4, 66581713 >> 4, 67412681 >> 4, 68246218 >> 4, 69082308 >> 4, 69920936 >> 4, 70762086 >> 4, 71605743 >> 4, 72451892 >> 4, 73300519 >> 4, 74151609 >> 4, 75005149 >> 4, 75861124 >> 4, 76719520 >> 4, 77580324 >> 4, 78443523 >> 4, 79309103 >> 4, 80177051 >> 4, 81047354 >> 4, 81920000 >> 4, 82794977 >> 4, 83672271 >> 4, 84551871 >> 4}, // const WORD16 scale_table[4] = { 16384, 19484, 23171, 27555}, // const WORD8 tns_max_bands_tbl[12][2] = { // Long //Short {31, 9}, // 96000 {31, 9}, // 88200 {34, 10}, // 64000 {40, 14}, // 48000 {42, 14}, // 44100 {51, 14}, // 32000 {46, 14}, // 24000 {46, 14}, // 22050 {42, 14}, // 16000 {42, 14}, // 12000 {42, 14}, // 11025 {39, 14} // 8000 }, // const WORD16 tns_coeff3_16[8] = {(WORD16)-0x7e0e, (WORD16)-0x6eda, (WORD16)-0x5247, (WORD16)-0x2bc7, (WORD16)0x0000, (WORD16)0x378a, (WORD16)0x6413, (WORD16)0x7cca}, // const WORD16 tns_coeff4_16[16] = {(WORD16)-0x7f74, (WORD16)-0x7b1d, (WORD16)-0x7295, (WORD16)-0x6625, (WORD16)-0x563c, (WORD16)-0x4362, (WORD16)-0x2e3d, (WORD16)-0x1785, (WORD16)0x0000, (WORD16)0x1a9d, (WORD16)0x3410, (WORD16)0x4b3d, (WORD16)0x5f1f, (WORD16)0x6eda, (WORD16)0x79bc, (WORD16)0x7f4c}, // const WORD32 scale_mant_tab[PNS_SCALE_MANT_TAB_SIZE] = {0x08000000, 0x09837f05, 0x0b504f33, 0x0d744fcc}, // const WORD32 tns_coeff3[8] = { -2114858540, -1859775364, -1380375817, -734482679, 0, 931758215, 1678970362, 2093641723, }, // const WORD32 tns_coeff4[16] = { -2138322869, -2065504899, -1922348549, -1713729017, -1446750457, -1130504584, -775760644, -394599111, 0, 446486976, 873460283, 1262259191, 1595891328, 1859775364, 2042378368, 2135719561, }, // const WORD32 tns_coeff3_32[8] = {(WORD32)-0x7e0e2e31, (WORD32)-0x6ed9eba0, (WORD32)-0x5246dd48, (WORD32)-0x2bc750e8, (WORD32)0x00000000, (WORD32)0x3789809a, (WORD32)0x64130dd3, (WORD32)0x7cca7014}, // const WORD32 tns_coeff4_32[16] = {(WORD32)-0x7f7437ac, (WORD32)-0x7b1d1a47, (WORD32)-0x7294b5f1, (WORD32)-0x66256db1, (WORD32)-0x563ba8a9, (WORD32)-0x4362210d, (WORD32)-0x2e3d2aba, (WORD32)-0x17851aac, (WORD32)0x00000000, (WORD32)0x1a9cd9ac, (WORD32)0x340ff241, (WORD32)0x4b3c8c11, (WORD32)0x5f1f5ea0, (WORD32)0x6ed9eba0, (WORD32)0x79bc384c, (WORD32)0x7f4c7e52}, // const WORD32 tns_max_bands_tbl_usac[(1<> 1] = {0, 160, 80, 96, 16, 176, 192, 112, 32, 48, 208, 128, 144, 64, 224, 225, 145, 65, 81, 1, 161, 177, 97, 17, 33, 193, 113, 129, 49, 209, 210, 130, 50, 66, 226, 146, 162, 82, 2, 18, 178, 98, 114, 34, 194, 195, 115, 35, 51, 211, 131, 147, 67, 227, 3, 163, 83, 99, 19, 179, 180, 100, 20, 36, 196, 116, 132, 52, 212, 228, 148, 68, 84, 4, 164, 165, 85, 5, 21, 181, 101, 117, 37, 197, 213, 133, 53, 69, 229, 149, 150, 70, 230, 6, 166, 86, 102, 22, 182, 198, 118, 38, 54, 214, 134, 135, 55, 215, 231, 151, 71, 87, 7, 167, 183, 103, 23, 39, 199, 119, 120, 40, 200, 216, 136, 56, 72, 232, 152, 168, 88, 8, 24, 184, 104, 105, 25, 185, 201, 121, 41, 57, 217, 137, 153, 73, 233, 9, 169, 89, 90, 10, 170, 186, 106, 26, 42, 202, 122, 138, 58, 218, 234, 154, 74, 75, 235, 155, 171, 91, 11, 27, 187, 107, 123, 43, 203, 219, 139, 59, 60, 220, 140, 156, 76, 236, 12, 172, 92, 108, 28, 188, 204, 124, 44, 45, 205, 125, 141, 61, 221, 237, 157, 77, 93, 13, 173, 189, 109, 29, 30, 190, 110, 126, 46, 206, 222, 142, 62, 78, 238, 158, 174, 94, 14, 15, 175, 95, 111, 31, 191, 207, 127, 47, 63, 223, 143, 159, 79, 239}, // WORD32 cosine_array_960[480] = { 2147482880, 2147425408, 1756906, 15812012, 2147275904, 2147034496, 29866440, 43919588, 2146701056, 2146275712, 57970856, 72019640, 2145758336, 2145149056, 86065336, 100107352, 2144447872, 2143654912, 114145072, 128177912, 2142770048, 2141793536, 142205248, 156226512, 2140725120, 2139565056, 170241056, 184248336, 2138313344, 2136969984, 198247712, 212238592, 2135535104, 2134008832, 226220384, 240192480, 2132391040, 2130681984, 254154288, 268105216, 2128881536, 2126990080, 282044640, 295972000, 2125007360, 2122933632, 309886688, 323788096, 2120769024, 2118513536, 337675616, 351548704, 2116167296, 2113730432, 365406720, 379249056, 2111202944, 2108585088, 393075168, 406884448, 2105876864, 2103078528, 420676288, 434450112, 2100189952, 2097211520, 448205344, 461941344, 2094143232, 2090985216, 475657568, 489353408, 2087737600, 2084400640, 503028320, 516681664, 2080974336, 2077458944, 530312864, 543921344, 2073854464, 2070161280, 557506560, 571067840, 2066379264, 2062508800, 584604672, 598116480, 2058550016, 2054503040, 611602688, 625062656, 2050368000, 2046145152, 638495872, 651901696, 2041834752, 2037436800, 665279680, 678629120, 2032951552, 2028379264, 691949440, 705240192, 2023720064, 2018974208, 718500672, 731730432, 2014141824, 2009223168, 744928832, 758095296, 2004218368, 1999127808, 771229312, 784330240, 1993951616, 1988690048, 797397632, 810430848, 1983343232, 1977911424, 823429312, 836392576, 1972394880, 1966793856, 849319936, 862210944, 1961108608, 1955339392, 875065024, 887881600, 1949486464, 1943549824, 900660160, 913400192, 1937530112, 1931427328, 926100992, 938762176, 1925241856, 1918973824, 951383168, 963963392, 1912623616, 1906191616, 976502272, 988999360, 1899677824, 1893082624, 1001454080, 1013865920, 1886406400, 1879649408, 1026234304, 1038558720, 1872811776, 1865894016, 1050838720, 1063073600, 1858896256, 1851819008, 1075262976, 1087406336, 1844662272, 1837426560, 1099503104, 1111552768, 1830112256, 1822719360, 1123554816, 1135508736, 1815248512, 1807699840, 1147414016, 1159270016, 1800073856, 1792370688, 1171076480, 1182832768, 1784590720, 1776734336, 1194538496, 1206192896, 1768801792, 1760793472, 1217795712, 1229346304, 1752709760, 1744551040, 1240844288, 1252289024, 1736317440, 1728009600, 1263680256, 1275017216, 1719627648, 1711172096, 1286299648, 1297526912, 1702643200, 1694041344, 1308698624, 1319814272, 1685367040, 1676620416, 1330873472, 1341875584, 1667801984, 1658912128, 1352820224, 1363706880, 1649951232, 1640919680, 1374535168, 1385304576, 1631817728, 1622646016, 1396014592, 1406664832, 1613404672, 1604094336, 1417254784, 1427784064, 1594715136, 1585267712, 1438252160, 1448658688, 1575752448, 1566169600, 1459003136, 1469285120, 1556519680, 1546803072, 1479504128, 1489659776, 1537020160, 1527171456, 1499751552, 1509779200, 1517257344, 1507278336, 1519742080, 1529639936, 1497234560, 1487126784, 1539472128, 1549238528, 1476955264, 1466720512, 1558938496, 1568571648, 1456422784, 1446062848, 1578137728, 1587636096, 1435640832, 1425157376, 1597066496, 1606428416, 1414612992, 1404007808, 1615721600, 1624945536, 1393342592, 1382617728, 1634099840, 1643184256, 1371833472, 1360990592, 1652198144, 1661141376, 1350089344, 1339130368, 1670013440, 1678813824, 1328113920, 1317040640, 1687542400, 1696198656, 1305910912, 1294725248, 1704782336, 1713292928, 1283484032, 1272188032, 1721730176, 1730093568, 1260837376, 1249432832, 1738382848, 1746597760, 1237974656, 1226463488, 1754737792, 1762802688, 1214899712, 1203283968, 1770792064, 1778705536, 1191616768, 1179898368, 1786542976, 1794303744, 1168129536, 1156310656, 1801987584, 1809594368, 1144442112, 1132524672, 1817123584, 1824574976, 1120558720, 1108544640, 1831948160, 1839243008, 1096483200, 1084374784, 1846458880, 1853595776, 1072219904, 1060019072, 1860653312, 1867630976, 1047772800, 1035481728, 1874528768, 1881346176, 1023146240, 1010766912, 1888083072, 1894739072, 998344320, 985878976, 1901313920, 1907807232, 973371392, 960822080, 1914219008, 1920548608, 948231616, 935600576, 1926796032, 1932960896, 922929408, 910218752, 1939042944, 1945041920, 897469056, 884680960, 1950957568, 1956789632, 871854912, 858991552, 1962537856, 1968202112, 846091392, 833155008, 1973782016, 1979277312, 820182912, 807175680, 1984687872, 1990013440, 794133888, 781058048, 1995253760, 2000408576, 767948800, 754806592, 2005477632, 2010460928, 741632064, 728425792, 2015357952, 2020168832, 715188352, 701920192, 2024893056, 2029530496, 688622016, 675294336, 2034081024, 2038544512, 661937728, 648552768, 2042920576, 2047209216, 635140032, 621700032, 2051410048, 2055523072, 608233472, 594740864, 2059548032, 2063484800, 581222720, 567679680, 2067333120, 2071092864, 554112384, 540521280, 2074763904, 2078346112, 526907072, 513270272, 2081839360, 2085243264, 499611488, 485931296, 2088557952, 2091783168, 472230304, 458509088, 2094918784, 2097964544, 444768224, 431008288, 2100920576, 2103786496, 417229920, 403433664, 2106562432, 2109248000, 389620128, 375789888, 2111843328, 2114348160, 361943552, 348081728, 2116762368, 2119085952, 334204992, 320313920, 2121318656, 2123460608, 306409152, 292491232, 2125511552, 2127471488, 278560800, 264618448, 2129340288, 2131117824, 250664736, 236700304, 2132804096, 2134398976, 222725728, 208741600, 2135902464, 2137314432, 194748544, 180747136, 2138634880, 2139863680, 166737984, 152721696, 2141000832, 2142046208, 138698864, 124670096, 2142999936, 2143861760, 110635984, 96597136, 2144631808, 2145309952, 82554144, 68507616, 2145896320, 2146390656, 54458156, 40406360, 2146793088, 2147103488, 26352836, 12298181, 2147321984, 2147448448, }, // WORD32 w_16[24] = { 0x00000000, 0x7fffffff, 0x00000000, 0x7fffffff, 0x00000000, 0x7fffffff, 0x30fbc54d, 0x7641af3d, 0x5a82799a, 0x5a82799a, 0x7641af3d, 0x30fbc54d, 0x5a82799a, 0x5a82799a, 0x7fffffff, 0x00000000, 0x5a82799a, 0xa57d8667, 0x7641af3d, 0x30fbc54d, 0x5a82799a, 0xa57d8667, 0xcf043ab3, 0x89be50c5, }, // WORD32 window_sine_480_eld[1920]; {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 72, 118, 176, 239, 307, 378, 451, 524, 597, 669, 741, 812, 883, 954, 1024, 1095, 1165, 1235, 1305, 1375, 1444, 1514, 1583, 1652, 1722, 1792, 1863, 1933, 2005, 2077, 2150, 2224, 2299, 2374, 2451, 2529, 2607, 2686, 2766, 2847, 2928, 3009, 3091, 3174, 3256, 3339, 3423, 3507, 3591, 3676, 3760, 3846, 3932, 4018, 4104, 4191, 4278, 4366, 4454, 4542, 4631, 4720, 4809, 4899, 4988, 5078, 5168, 5257, 5347, 5436, 5524, 5613, 5702, 5790, 5878, 5967, 6056, 6144, 6233, 6321, 6410, 6498, 6586, 6673, 6761, 6848, 6934, 7020, 7106, 7192, 7276, 7361, 7445, 7529, 7614, 7698, 7781, 7865, 7947, 8030, 8112, 8193, 8274, 8354, 8434, 8514, 8594, 8673, 8751, 8830, 8908, 8985, 9063, 9139, 9216, 9292, 9367, 9442, 9517, 9621, 9695, 9769, 9842, 9915, 9988, 10060, 10132, 10203, 10274, 10345, 10415, 10485, 10554, 10623, 10691, 10760, 10827, 10895, 10962, 11029, 11095, 11161, 11226, 11291, 11356, 11420, 11484, 11548, 11611, 11674, 11736, 11798, 11859, 11921, 11981, 12042, 12102, 12161, 12220, 12279, 12337, 12395, 12452, 12509, 12565, 12621, 12677, 12732, 12787, 12841, 12895, 12948, 13000, 13053, 13104, 13156, 13206, 13257, 13306, 13356, 13404, 13452, 13500, 13547, 13594, 13639, 13685, 13730, 13774, 13818, 13861, 13904, 13946, 13988, 14029, 14069, 14109, 14148, 14187, 14225, 14263, 14300, 14336, 14372, 14408, 14443, 14477, 14511, 14544, 14577, 14609, 14641, 14673, 14704, 14734, 14764, 14794, 14823, 14852, 14881, 14909, 14938, 14966, 14994, 15021, 15049, 15076, 15104, 15131, 15159, 15186, 15213, 15239, 15265, 15289, 15312, 15333, 15351, 15372, 15382, 15386, 15392, 15398, 15404, 15411, 15418, 15425, 15431, 15438, 15444, 15451, 15458, 15464, 15471, 15478, 15485, 15492, 15499, 15505, 15512, 15519, 15526, 15534, 15541, 15548, 15555, 15562, 15569, 15577, 15584, 15592, 15599, 15606, 15614, 15621, 15629, 15637, 15644, 15652, 15660, 15668, 15675, 15683, 15691, 15699, 15707, 15715, 15723, 15731, 15740, 15748, 15756, 15764, 15773, 15781, 15789, 15798, 15806, 15815, 15824, 15832, 15841, 15849, 15858, 15867, 15876, 15884, 15893, 15902, 15911, 15920, 15929, 15938, 15947, 15956, 15965, 15974, 15983, 15993, 16002, 16011, 16020, 16030, 16039, 16048, 16057, 16067, 16076, 16086, 16095, 16104, 16114, 16123, 16133, 16142, 16152, 16161, 16171, 16181, 16190, 16200, 16209, 16219, 16229, 16238, 16248, 16258, 16267, 16277, 16287, 16296, 16306, 16316, 16326, 16335, 16345, 16355, 16365, 16374, 16394, 16403, 16413, 16423, 16433, 16443, 16452, 16462, 16472, 16482, 16492, 16502, 16511, 16521, 16531, 16541, 16551, 16561, 16570, 16580, 16590, 16600, 16610, 16619, 16629, 16639, 16649, 16659, 16668, 16678, 16688, 16698, 16707, 16717, 16727, 16737, 16746, 16756, 16766, 16775, 16785, 16795, 16804, 16814, 16823, 16833, 16842, 16852, 16861, 16871, 16880, 16890, 16899, 16909, 16918, 16927, 16937, 16946, 16955, 16964, 16974, 16983, 16992, 17001, 17010, 17019, 17028, 17037, 17046, 17055, 17064, 17072, 17081, 17090, 17099, 17107, 17116, 17125, 17133, 17142, 17150, 17159, 17167, 17175, 17184, 17192, 17200, 17209, 17217, 17225, 17233, 17241, 17249, 17257, 17265, 17273, 17281, 17289, 17297, 17305, 17312, 17320, 17328, 17335, 17343, 17351, 17358, 17366, 17373, 17381, 17388, 17396, 17403, 17411, 17418, 17426, 17433, 17440, 17446, 17452, 17454, 17449, 17444, 17437, 17428, 17418, 17407, 17396, 17385, 17374, 17363, 17352, 17340, 17329, 17316, 17304, 17291, 17278, 17264, 17250, 17236, 17221, 17207, 17193, 17179, 17165, 17150, 17136, 17121, 17107, 17091, 17076, 17059, 17042, 17024, 17005, 16986, 16966, 16945, 16923, 16901, 16878, 16855, 16831, 16807, 16783, 16759, 16734, 16709, 16684, 16658, 16633, 16607, 16581, 16554, 16527, 16500, 16471, 16443, 16414, 16384, 16353, 16322, 16290, 16257, 16224, 16190, 16155, 16120, 16085, 16050, 16016, 15981, 15947, 15912, 15878, 15843, 15807, 15771, 15735, 15697, 15659, 15621, 15581, 15542, 15502, 15461, 15421, 15380, 15339, 15299, 15259, 15219, 15180, 15140, 15099, 15058, 15016, 14974, 14931, 14887, 14844, 14800, 14757, 14714, 14671, 14628, 14584, 14541, 14497, 14453, 14408, 14364, 14319, 14274, 14229, 14184, 14139, 14094, 14049, 14004, 13958, 13912, 13865, 13819, 13772, 13725, 13678, 13631, 13584, 13537, 13491, 13444, 13396, 13349, 13301, 13253, 13205, 13156, 13106, 13057, 13008, 12960, 12912, 12864, 12817, 12770, 12723, 12675, 12626, 12576, 12526, 12475, 12424, 12373, 12321, 12270, 12220, 12170, 12120, 12071, 12022, 11974, 11926, 11878, 11829, 11780, 11730, 11679, 11627, 11575, 11521, 11467, 11414, 11360, 11307, 11255, 11203, 11152, 11101, 11051, 11001, 10952, 10903, 10853, 10804, 10755, 10705, 10656, 10605, 10554, 10503, 10450, 10397, 10343, 10289, 10234, 10179, 10124, 10069, 10014, 9960, 9907, 9854, 9803, 9752, 9703, 9654, 9606, 9559, 9513, 9466, 9419, 9371, 9322, 9271, 9219, 9165, 9109, 9053, 8996, 8939, 8883, 8828, 8775, 8723, 8674, 8625, 8578, 8532, 8486, 8440, 8392, 8344, 8295, 8244, 8192, 8140, 8088, 8036, 7983, 7931, 7879, 7829, 7779, 7731, 7682, 7634, 7586, 7537, 7488, 7439, 7390, 7340, 7290, 7241, 7192, 7144, 7096, 7049, 7001, 6953, 6904, 6856, 6807, 6757, 6708, 6659, 6610, 6561, 6513, 6465, 6418, 6370, 6323, 6277, 6230, 6183, 6137, 6090, 6044, 5997, 5951, 5905, 5858, 5812, 5766, 5720, 5674, 5628, 5583, 5537, 5491, 5446, 5401, 5355, 5310, 5265, 5221, 5175, 5130, 5084, 5037, 4991, 4945, 4899, 4853, 4807, 4761, 4716, 4671, 4626, 4581, 4536, 4491, 4447, 4403, 4359, 4315, 4271, 4228, 4185, 4142, 4099, 4056, 4014, 3972, 3929, 3887, 3846, 3804, 3762, 3721, 3680, 3639, 3598, 3558, 3517, 3477, 3437, 3397, 3357, 3318, 3278, 3239, 3199, 3160, 3122, 3083, 3044, 3006, 2967, 2929, 2891, 2853, 2815, 2778, 2741, 2704, 2668, 2620, 2585, 2550, 2515, 2481, 2447, 2413, 2380, 2347, 2314, 2281, 2248, 2215, 2183, 2151, 2119, 2087, 2055, 2024, 1993, 1962, 1931, 1901, 1870, 1840, 1810, 1781, 1751, 1722, 1693, 1664, 1636, 1608, 1579, 1552, 1524, 1497, 1470, 1443, 1416, 1390, 1364, 1338, 1312, 1287, 1261, 1236, 1212, 1187, 1163, 1139, 1115, 1092, 1068, 1045, 1022, 1000, 977, 955, 934, 912, 891, 869, 848, 828, 807, 787, 767, 747, 728, 709, 690, 671, 652, 634, 616, 598, 581, 563, 546, 529, 513, 496, 480, 464, 448, 433, 417, 402, 387, 372, 358, 344, 329, 316, 302, 289, 276, 263, 251, 238, 226, 214, 203, 191, 180, 169, 158, 147, 137, 127, 117, 107, 97, 88, 78, 70, 61, 52, 44, 36, 28, 21, 13, 6, -2, -9, -16, -23, -30, -37, -43, -49, -55, -60, -65, -69, -73, -78, -81, -85, -89, -93, -97, -101, -105, -109, -113, -116, -120, -123, -126, -129, -131, -133, -135, -137, -138, -139, -140, -141, -142, -143, -143, -144, -144, -145, -145, -146, -146, -147, -147, -147, -147, -147, -147, -147, -146, -146, -145, -144, -143, -141, -140, -139, -137, -135, -134, -132, -130, -129, -127, -125, -123, -122, -120, -118, -116, -114, -111, -109, -107, -104, -102, -99, -96, -94, -91, -88, -86, -83, -81, -78, -75, -72, -70, -67, -64, -61, -58, -55, -52, -49, -46, -44, -41, -38, -35, -32, -29, -26, -23, -20, -17, -14, -11, -9, -6, -3, 0, 0, 3, 6, 8, 11, 14, 17, 19, 22, 24, 27, 29, 32, 34, 37, 39, 42, 44, 46, 48, 50, 53, 55, 57, 59, 61, 62, 64, 66, 67, 69, 71, 72, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 86, 87, 87, 88, 88, 88, 89, 89, 89, 90, 90, 90, 90, 90, 90, 90, 89, 89, 88, 88, 87, 86, 85, 85, 84, 83, 82, 81, 80, 78, 77, 76, 75, 74, 73, 72, 70, 69, 68, 66, 65, 63, 61, 59, 57, 55, 53, 51, 49, 47, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 23, 21, 19, 16, 14, 11, 8, 6, 3, 1, -2, -4, -7, -9, -12, -14, -17, -20, -22, -25, -27, -30, -32, -35, -38, -40, -43, -45, -48, -50, -53, -55, -58, -60, -63, -65, -68, -70, -73, -75, -78, -80, -82, -85, -87, -90, -92, -94, -97, -99, -102, -104, -106, -109, -111, -113, -116, -118, -121, -123, -125, -128, -130, -133, -135, -138, -140, -143, -145, -148, -151, -153, -156, -159, -162, -165, -168, -170, -173, -176, -178, -181, -183, -185, -188, -190, -192, -194, -196, -197, -199, -201, -202, -204, -205, -206, -208, -209, -210, -211, -212, -213, -214, -214, -215, -216, -216, -217, -218, -218, -218, -219, -219, -219, -219, -219, -219, -220, -219, -219, -219, -219, -219, -218, -218, -218, -217, -217, -216, -216, -215, -214, -214, -213, -212, -214, -214, -213, -212, -211, -211, -210, -209, -208, -207, -206, -204, -203, -202, -201, -199, -198, -196, -195, -193, -192, -190, -189, -187, -185, -184, -182, -180, -178, -176, -175, -173, -171, -169, -167, -165, -163, -162, -160, -158, -156, -154, -152, -150, -149, -147, -145, -143, -142, -140, -139, -137, -135, -134, -133, -131, -130, -129, -127, -126, -125, -123, -122, -120, -118, -117, -115, -113, -111, -109, -107, -105, -103, -100, -98, -96, -94, -91, -89, -87, -84, -82, -79, -77, -75, -72, -70, -67, -65, -63, -60, -58, -56, -53, -51, -49, -47, -44, -42, -40, -38, -36, -34, -32, -30, -28, -26, -25, -23, -21, -20, -18, -16, -15, -13, -12, -10, -9, -8, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 6, 7, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 12, 12, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 0, 0, 0, -1, -1, -1, -2, -2, -2, -3, -3, -4, -4, -5, -5, -5, -6, -6, -7, -7, -7, -8, -8, -9, -9, -10, -10, -10, -11, -11, -12, -12, -13, -13, -13, -14, -14, -15, -15, -15, -16, -16, -16, -17, -17, -17, -18, -18, -18, -19, -19, -19, -19, -20, -20, -20, -20, -21, -21, -21, -21, -21, -22, -22, -22, -22, -22, -22, -22, -22, -22, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -22, -22, -22, -22, -22, -22, -22, -22, -22, -21, -21, -21, -21, -21, -21, -20, -20, -20, -20, -20, -19, -19, -19, -19, -19, -18, -18, -18, -18, -17}, // WORD16 window_sine_512_eld[2048]; {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 93, 139, 192, 251, 314, 380, 447, 515, 583, 651, 718, 784, 849, 914, 979, 1044, 1109, 1174, 1239, 1304, 1368, 1433, 1498, 1563, 1628, 1693, 1758, 1824, 1890, 1956, 2022, 2090, 2157, 2226, 2295, 2365, 2436, 2508, 2580, 2653, 2727, 2802, 2877, 2952, 3029, 3105, 3182, 3260, 3338, 3416, 3494, 3573, 3652, 3731, 3811, 3891, 3971, 4052, 4133, 4214, 4296, 4378, 4460, 4542, 4625, 4708, 4791, 4874, 4957, 5041, 5125, 5209, 5293, 5377, 5460, 5544, 5627, 5710, 5794, 5877, 5960, 6042, 6125, 6208, 6291, 6373, 6456, 6538, 6620, 6702, 6784, 6865, 6947, 7028, 7108, 7189, 7269, 7349, 7428, 7507, 7586, 7665, 7743, 7821, 7899, 7976, 8054, 8131, 8207, 8283, 8359, 8434, 8510, 8584, 8659, 8733, 8807, 8880, 8953, 9026, 9099, 9171, 9243, 9314, 9385, 9456, 9526, 9583, 9653, 9723, 9792, 9860, 9929, 9997, 10064, 10132, 10199, 10265, 10331, 10397, 10463, 10528, 10593, 10657, 10721, 10785, 10849, 10912, 10974, 11037, 11099, 11161, 11222, 11283, 11344, 11404, 11464, 11524, 11583, 11642, 11701, 11759, 11817, 11875, 11932, 11989, 12045, 12102, 12157, 12213, 12268, 12322, 12377, 12431, 12484, 12537, 12590, 12642, 12694, 12746, 12797, 12848, 12898, 12948, 12997, 13046, 13095, 13143, 13191, 13238, 13285, 13331, 13377, 13422, 13467, 13512, 13556, 13599, 13642, 13685, 13727, 13769, 13810, 13850, 13891, 13930, 13969, 14008, 14046, 14084, 14121, 14158, 14194, 14230, 14265, 14300, 14334, 14368, 14401, 14434, 14466, 14498, 14530, 14561, 14591, 14621, 14651, 14680, 14709, 14738, 14766, 14794, 14821, 14849, 14876, 14902, 14929, 14955, 14981, 15007, 15033, 15059, 15085, 15111, 15137, 15162, 15188, 15213, 15238, 15262, 15285, 15307, 15327, 15345, 15361, 15384, 15388, 15394, 15400, 15406, 15412, 15418, 15425, 15431, 15437, 15443, 15449, 15456, 15462, 15468, 15475, 15481, 15487, 15494, 15500, 15507, 15513, 15520, 15526, 15533, 15540, 15546, 15553, 15560, 15567, 15574, 15580, 15587, 15594, 15601, 15608, 15615, 15622, 15630, 15637, 15644, 15651, 15658, 15666, 15673, 15680, 15688, 15695, 15703, 15710, 15718, 15725, 15733, 15741, 15748, 15756, 15764, 15772, 15780, 15787, 15795, 15803, 15811, 15819, 15827, 15835, 15843, 15852, 15860, 15868, 15876, 15884, 15893, 15901, 15909, 15918, 15926, 15935, 15943, 15952, 15960, 15969, 15977, 15986, 15994, 16003, 16012, 16020, 16029, 16038, 16046, 16055, 16064, 16073, 16081, 16090, 16099, 16108, 16117, 16126, 16135, 16144, 16152, 16161, 16170, 16179, 16188, 16197, 16206, 16215, 16224, 16233, 16242, 16251, 16261, 16270, 16279, 16288, 16297, 16306, 16315, 16324, 16334, 16343, 16352, 16361, 16370, 16379, 16389, 16398, 16407, 16416, 16425, 16435, 16444, 16453, 16462, 16472, 16481, 16490, 16499, 16508, 16518, 16527, 16536, 16545, 16554, 16564, 16573, 16582, 16591, 16600, 16610, 16619, 16628, 16637, 16646, 16656, 16665, 16674, 16683, 16692, 16701, 16710, 16720, 16729, 16738, 16747, 16756, 16765, 16774, 16783, 16792, 16801, 16810, 16819, 16828, 16837, 16846, 16855, 16864, 16873, 16882, 16890, 16899, 16908, 16917, 16926, 16934, 16943, 16952, 16960, 16969, 16978, 16986, 16995, 17003, 17012, 17020, 17029, 17037, 17045, 17054, 17062, 17070, 17078, 17087, 17095, 17103, 17111, 17119, 17127, 17135, 17143, 17151, 17159, 17167, 17175, 17183, 17191, 17198, 17206, 17214, 17221, 17229, 17237, 17244, 17252, 17259, 17267, 17274, 17282, 17289, 17296, 17304, 17311, 17318, 17325, 17333, 17340, 17347, 17354, 17361, 17368, 17375, 17382, 17389, 17396, 17403, 17410, 17417, 17424, 17431, 17438, 17444, 17449, 17446, 17444, 17440, 17434, 17426, 17417, 17408, 17398, 17388, 17377, 17367, 17357, 17347, 17336, 17326, 17315, 17303, 17292, 17280, 17267, 17254, 17241, 17228, 17215, 17202, 17188, 17175, 17162, 17149, 17135, 17122, 17108, 17094, 17080, 17065, 17049, 17033, 17016, 16999, 16980, 16962, 16942, 16922, 16901, 16880, 16858, 16836, 16814, 16792, 16769, 16746, 16723, 16699, 16676, 16652, 16628, 16604, 16579, 16555, 16529, 16504, 16478, 16451, 16424, 16397, 16368, 16340, 16310, 16280, 16249, 16218, 16186, 16154, 16121, 16088, 16055, 16023, 15990, 15958, 15926, 15894, 15861, 15828, 15795, 15761, 15727, 15692, 15656, 15620, 15583, 15546, 15508, 15471, 15433, 15395, 15357, 15319, 15281, 15244, 15207, 15169, 15132, 15094, 15055, 15016, 14976, 14936, 14895, 14855, 14814, 14773, 14733, 14692, 14652, 14611, 14570, 14530, 14488, 14447, 14406, 14364, 14322, 14280, 14238, 14195, 14153, 14111, 14068, 14025, 13983, 13940, 13897, 13854, 13810, 13767, 13723, 13680, 13636, 13593, 13549, 13505, 13462, 13418, 13374, 13330, 13286, 13241, 13195, 13150, 13104, 13058, 13013, 12968, 12923, 12879, 12835, 12792, 12748, 12703, 12658, 12612, 12565, 12518, 12471, 12423, 12376, 12328, 12281, 12233, 12187, 12140, 12095, 12049, 12004, 11959, 11915, 11870, 11825, 11779, 11732, 11684, 11635, 11586, 11536, 11486, 11435, 11385, 11336, 11287, 11239, 11191, 11143, 11096, 11050, 11003, 10957, 10911, 10865, 10819, 10773, 10727, 10680, 10633, 10585, 10537, 10488, 10439, 10389, 10338, 10287, 10236, 10184, 10133, 10081, 10030, 9979, 9929, 9880, 9832, 9784, 9737, 9691, 9646, 9602, 9558, 9514, 9470, 9426, 9381, 9334, 9286, 9237, 9186, 9134, 9081, 9028, 8974, 8921, 8869, 8818, 8769, 8721, 8675, 8630, 8586, 8542, 8499, 8455, 8410, 8365, 8318, 8270, 8222, 8173, 8124, 8074, 8026, 7976, 7926, 7878, 7831, 7784, 7738, 7693, 7647, 7602, 7556, 7509, 7463, 7416, 7369, 7322, 7275, 7228, 7182, 7137, 7091, 7046, 7001, 6955, 6909, 6863, 6817, 6770, 6723, 6676, 6629, 6583, 6537, 6491, 6446, 6401, 6356, 6311, 6267, 6222, 6178, 6133, 6089, 6045, 6000, 5956, 5912, 5868, 5824, 5780, 5736, 5692, 5648, 5604, 5560, 5516, 5473, 5429, 5386, 5343, 5300, 5257, 5214, 5171, 5128, 5085, 5043, 5000, 4958, 4915, 4873, 4831, 4789, 4747, 4705, 4664, 4622, 4581, 4539, 4498, 4457, 4416, 4375, 4334, 4293, 4253, 4212, 4172, 4132, 4092, 4052, 4012, 3972, 3933, 3893, 3854, 3815, 3776, 3737, 3699, 3660, 3622, 3583, 3545, 3507, 3469, 3432, 3394, 3357, 3319, 3282, 3245, 3208, 3171, 3135, 3098, 3062, 3025, 2989, 2953, 2917, 2881, 2846, 2810, 2775, 2740, 2706, 2671, 2638, 2604, 2572, 2539, 2507, 2475, 2443, 2411, 2380, 2349, 2318, 2287, 2256, 2226, 2195, 2165, 2135, 2105, 2075, 2046, 2016, 1987, 1958, 1929, 1901, 1872, 1844, 1816, 1788, 1760, 1733, 1706, 1679, 1652, 1625, 1599, 1572, 1546, 1521, 1495, 1470, 1444, 1419, 1395, 1370, 1346, 1322, 1298, 1274, 1250, 1227, 1204, 1181, 1158, 1136, 1114, 1092, 1070, 1048, 1027, 1005, 984, 964, 943, 923, 903, 883, 863, 843, 824, 805, 786, 767, 749, 730, 712, 694, 677, 659, 642, 625, 608, 592, 575, 559, 543, 527, 512, 496, 481, 466, 451, 436, 422, 408, 394, 380, 366, 352, 339, 326, 313, 301, 288, 276, 264, 252, 241, 229, 218, 207, 196, 185, 175, 165, 155, 145, 135, 125, 116, 107, 98, 89, 80, 72, 63, 55, 48, 40, 33, 25, 18, 11, 4, -3, -9, -16, -23, -29, -35, -41, -47, -53, -58, -62, -67, -71, -75, -79, -82, -86, -89, -93, -97, -101, -104, -108, -112, -115, -118, -122, -125, -127, -130, -132, -134, -136, -137, -138, -139, -140, -141, -142, -143, -143, -144, -144, -145, -145, -146, -146, -146, -147, -147, -147, -147, -147, -147, -147, -146, -146, -145, -144, -143, -142, -141, -140, -138, -137, -135, -134, -132, -130, -129, -127, -126, -124, -122, -121, -119, -117, -115, -113, -111, -109, -106, -104, -102, -99, -97, -94, -92, -89, -87, -85, -82, -80, -77, -74, -72, -69, -67, -64, -61, -59, -56, -53, -50, -48, -45, -42, -39, -37, -34, -31, -28, -26, -23, -20, -17, -15, -12, -9, -7, -4, -1, 1, 4, 7, 9, 12, 14, 17, 19, 22, 24, 27, 29, 31, 34, 36, 38, 40, 43, 45, 47, 49, 51, 53, 55, 57, 59, 60, 62, 64, 65, 67, 69, 70, 71, 73, 74, 76, 77, 78, 79, 81, 82, 83, 84, 84, 85, 86, 86, 87, 88, 88, 88, 89, 89, 89, 90, 90, 90, 90, 91, 91, 91, 91, 90, 90, 90, 89, 89, 88, 88, 87, 86, 85, 84, 83, 83, 82, 81, 80, 79, 78, 77, 75, 74, 73, 72, 71, 70, 68, 67, 66, 64, 62, 61, 59, 57, 55, 53, 51, 49, 47, 44, 42, 40, 38, 36, 34, 33, 31, 29, 27, 25, 23, 20, 18, 16, 13, 11, 8, 6, 3, 1, -1, -4, -6, -9, -11, -13, -16, -18, -21, -23, -25, -28, -30, -33, -35, -38, -40, -43, -45, -47, -50, -52, -55, -57, -59, -62, -64, -66, -69, -71, -73, -76, -78, -80, -83, -85, -87, -89, -92, -94, -96, -99, -101, -103, -105, -107, -110, -112, -114, -116, -119, -121, -123, -125, -128, -130, -132, -135, -137, -139, -142, -144, -146, -149, -151, -154, -156, -159, -162, -164, -167, -170, -172, -175, -178, -180, -182, -185, -187, -189, -191, -193, -195, -197, -199, -201, -202, -204, -205, -207, -208, -209, -210, -211, -213, -214, -214, -215, -216, -217, -218, -219, -219, -220, -220, -221, -221, -222, -222, -222, -222, -223, -223, -223, -223, -223, -223, -223, -223, -222, -222, -222, -222, -221, -221, -220, -220, -219, -219, -218, -217, -217, -216, -215, -215, -214, -213, -213, -212, -211, -210, -210, -209, -208, -207, -206, -205, -204, -202, -201, -200, -199, -197, -196, -195, -193, -192, -190, -189, -187, -185, -184, -182, -181, -179, -177, -176, -174, -172, -170, -169, -167, -165, -163, -162, -160, -158, -156, -154, -153, -151, -149, -148, -146, -144, -143, -141, -140, -138, -137, -135, -134, -133, -131, -130, -129, -128, -127, -125, -124, -123, -121, -120, -118, -116, -115, -113, -111, -109, -107, -105, -103, -101, -99, -97, -95, -93, -91, -88, -86, -84, -82, -79, -77, -75, -73, -70, -68, -66, -64, -61, -59, -57, -55, -53, -51, -49, -46, -44, -42, -40, -39, -37, -35, -33, -31, -29, -28, -26, -24, -22, -21, -19, -18, -16, -15, -13, -12, -11, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 12, 12, 12, 12, 12, 12, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 9, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 0, 0, 0, -1, -1, -1, -2, -2, -2, -3, -3, -3, -4, -4, -5, -5, -5, -6, -6, -7, -7, -7, -8, -8, -9, -9, -9, -10, -10, -11, -11, -11, -12, -12, -13, -13, -13, -14, -14, -14, -15, -15, -16, -16, -16, -17, -17, -17, -18, -18, -18, -18, -19, -19, -19, -19, -20, -20, -20, -20, -21, -21, -21, -21, -21, -22, -22, -22, -22, -22, -22, -22, -22, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -22, -22, -22, -22, -22, -22, -22, -22, -21, -21, -21, -21, -21, -21, -20, -20, -20, -20, -20, -20, -19, -19, -19, -19, -18, -18, -18, -18, -18} };