/*
* MetaSound decoder
* Copyright (c) 2013 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "config.h"
#include "config_components.h"
#include "metasound_data.h"
#if CONFIG_METASOUND_DECODER
static const int16_t cb0806sl0[] = {
-417, -225, -84, 16, -106, -34, -246, -164,
112, 48, -47, 36, -65, -68, -172, -1655,
-36, 140, -3, -2, -2, 2, 0, 0,
178, 7, -181, -177, 120, -64, -129, 80,
-6826, -38, -25, 147, 148, -13, -25, 110,
21, 21, -1, 0, 0, 0, 0, 0,
3319, 632, -734, -187, 40, -249, -155, -1,
-173, 95, 28, -2, 20, -44, 35, 120,
-47, -221, -5, 2, -7, 1, 0, 0,
63, 268, -260, -419, 187, -75, -228, 296,
-470, 177, -515, 318, 124, 308, 92, 371,
3046, 362, -1, -1, -10, 1, 0, 0,
-356, -16, -199, 117, -75, 46, -108, -14,
-124, -173, 4914, -75, -474, 105, 87, 190,
-183, -208, 0, 0, 1, 1, 0, -1,
162, 89, 49, -314, -2788, 265, -263, -3,
-3156, 316, 112, 128, -333, -138, -114, -141,
-287, -234, -1, 0, 0, 0, 0, 1,
733, 126, -424, -389, 642, 432, 134, -251,
407, -51, -151, -491, -308, 91, 50, 3836,
87, 100, -5, -6, 0, 1, 0, 0,
304, 1727, 83, -8, 216, -81, -189, 152,
-67, 15, 310, -93, 6, -37, 54, -110,
-15, 78, 0, 0, 1, 12, 0, -1,
129, -198, 1, -48, -66, -147, 30, 264,
-84, 102, 42, 126, 1, -6451, 225, -51,
8, 123, 0, -1, 0, -1, 0, 0,
-374, 66, -256, -80, -1139, 303, 2002, -199,
-98, -98, -39, -76, 180, 15, -456, 148,
-183, 118, -2, 1, 0, 0, 0, 0,
151, 13, -114, 65, 6156, 76, -82, -30,
-26, 163, 81, 167, -83, -101, 55, -40,
161, -793, -8, 0, 0, -1, -1, 0,
-102, -33, 55, -131, 434, 108, 70, 68,
62, 1913, -109, 235, 110, 124, -25, -58,
-76, 18, -1, -1, 0, 0, 0, 0,
-105, -7322, -9, 82, 53, -43, -5, 18,
90, 91, 20, -34, 26, -93, -50, -46,
-77, 105, 0, 6, -12, -6, 1, 0,
-1334, 980, -163, -351, -514, 537, 62, -300,
80, -318, 14, -3570, -52, -116, -280, 540,
250, -775, -7, 0, 0, 0, 0, 0,
507, 317, -417, -236, -2438, -72, -346, 2507,
302, -185, 30, 1539, 205, 87, -112, -482,
-296, 132, -1, 0, -1, 1, 0, 0,
-64, -208, -159, 1, 336, -62, -14, 13,
81, 101, 382, 32, 116, -5, -41, 25,
-175, -7829, 1, 0, 1, 0, 0, 0,
7551, -7, 86, -165, -57, -17, 183, -207,
69, 54, -99, -25, 167, -58, 107, -81,
165, 172, 2, -2, 0, 1, 0, -9,
26, 28, 86, -183, -320, -32, 116, -53,
-49, -15, 133, -283, -152, 576, 6630, 185,
44, 25, 20, 1, -12, 1, -1, 0,
-145, -51, -114, -29, -228, 78, -409, 235,
147, 45, -192, 177, -91, 68, -2572, -52,
81, 181, -5, 13, -1, -1, -17, 0,
-65, -23, -28, 9, 242, 14, -35, 88,
77, -20, 37, -7097, -58, 51, 137, 126,
-90, 136, 0, 4, -1, 0, 0, 0,
-266, -82, -205, 816, -309, 3267, 1053, 369,
-216, -302, 18, 168, 395, 273, 343, 243,
-98, -53, 1, 0, 0, 1, 0, 0,
-65, -76, 1850, -991, -454, -535, 2927, -145,
101, 23, 20, 234, -74, 77, 114, 4,
-106, 527, -11, 4, 0, 1, -1, 0,
573, -46, 207, 2640, -956, 47, 26, -10,
317, -217, -5, -867, -3, 213, 52, 53,
-428, -175, 0, 0, -1, -1, 0, -1,
-223, -55, 135, 184, 313, 0, 2868, 245,
-3187, -721, -291, 9, -265, -120, -105, -36,
454, 55, -1, 49, 0, 1, -1, 0,
-291, 41, 84, 557, -201, -2300, 429, 283,
21, -2, 132, 286, -124, 149, -14, 146,
320, -298, 0, -1, 1, -2, 0, 0,
-86, -3493, 131, -3581, 185, 26, -197, -65,
-96, 147, -53, -150, -35, -35, 179, 68,
-157, 0, 0, 2, 0, 1, 2, -1,
-22, -218, 13, -1447, -400, 288, -1295, 0,
-119, 69, -56, -139, 157, -26, -122, -61,
-38, -108, -1, 1, 0, 0, 0, 0,
-229, 3335, 103, -108, 10, 3008, -712, 50,
27, 152, -307, -106, 148, -77, -178, -46,
7, -114, 0, -9, 0, 0, 1, 0,
932, -443, 311, -75, 62, -80, -179, 459,
-232, -160, 2, 169, 134, -260, 41, -149,
23, 92, -2, 0, 11, 1, 0, 0,
16, -90, -574, -171, 163, 261, -299, 2994,
74, -3818, -396, -171, 13, -29, -45, -168,
-287, -390, 1, 0, 0, -4, 0, -1,
89, -702, 2223, 101, -249, 2983, 36, -333,
-382, 410, -262, 185, -146, 98, -8, -317,
-279, -879, 0, 0, 0, 0, 4, 0,
-98, -325, 75, -229, -13, 112, -5743, -34,
-89, 263, -155, 80, 140, -50, 33, 143,
-60, -77, 1, -2, 0, -1, 1, 0,
52, -576, -543, -1142, -947, -184, 449, -71,
-75, -156, -3412, -50, -487, 307, 663, -1000,
-415, -2348, -7, -1, -1, 0, 0, 0,
64, 3, -35, 11, 14, -198, -2, -8042,
140, -11, -93, 29, -65, 330, 34, 110,
-19, -137, 2, 0, 0, 0, 0, 0,
1236, 303, 2681, 234, -217, -406, -395, -380,
247, 349,