SILK update
[opus.git] / src_common / SKP_Silk_tables_NLSF_CB0_16.c
1 /***********************************************************************\r
2 Copyright (c) 2006-2010, Skype Limited. All rights reserved. \r
3 Redistribution and use in source and binary forms, with or without \r
4 modification, (subject to the limitations in the disclaimer below) \r
5 are permitted provided that the following conditions are met:\r
6 - Redistributions of source code must retain the above copyright notice,\r
7 this list of conditions and the following disclaimer.\r
8 - Redistributions in binary form must reproduce the above copyright \r
9 notice, this list of conditions and the following disclaimer in the \r
10 documentation and/or other materials provided with the distribution.\r
11 - Neither the name of Skype Limited, nor the names of specific \r
12 contributors, may be used to endorse or promote products derived from \r
13 this software without specific prior written permission.\r
14 NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED \r
15 BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND \r
16 CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\r
17 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND \r
18 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE \r
19 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, \r
20 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r
21 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF \r
22 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON \r
23 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT \r
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE \r
25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
26 ***********************************************************************/\r
27 \r
28 /**********************************************/\r
29 /* This file has been automatically generated */\r
30 /*                                            */\r
31 /* ROM usage:  0.38 + 2.62 kB                 */\r
32 /**********************************************/\r
33 \r
34 #include "SKP_Silk_structs.h"\r
35 #include "SKP_Silk_tables.h"\r
36 #include "SKP_Silk_tables_NLSF_CB0_16.h"\r
37 \r
38 const SKP_uint16 SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ NLSF_MSVQ_CB0_16_VECTORS + NLSF_MSVQ_CB0_16_STAGES ] =\r
39 {\r
40             0,\r
41          2661,\r
42          5102,\r
43          7439,\r
44          9404,\r
45         11130,\r
46         12855,\r
47         14508,\r
48         15959,\r
49         17349,\r
50         18738,\r
51         20128,\r
52         21458,\r
53         22679,\r
54         23847,\r
55         25016,\r
56         26184,\r
57         27303,\r
58         28422,\r
59         29541,\r
60         30660,\r
61         31731,\r
62         32803,\r
63         33874,\r
64         34901,\r
65         35927,\r
66         36953,\r
67         37979,\r
68         38961,\r
69         39944,\r
70         40885,\r
71         41826,\r
72         42767,\r
73         43708,\r
74         44609,\r
75         45510,\r
76         46411,\r
77         47274,\r
78         48136,\r
79         48999,\r
80         49862,\r
81         50725,\r
82         51551,\r
83         52377,\r
84         53204,\r
85         53995,\r
86         54786,\r
87         55544,\r
88         56269,\r
89         56995,\r
90         57690,\r
91         58355,\r
92         58992,\r
93         59629,\r
94         60266,\r
95         60904,\r
96         61514,\r
97         62124,\r
98         62708,\r
99         63292,\r
100         63828,\r
101         64364,\r
102         64834,\r
103         65230,\r
104         65535,\r
105             0,\r
106          5542,\r
107         10849,\r
108         16156,\r
109         21023,\r
110         25683,\r
111         29957,\r
112         33876,\r
113         37795,\r
114         41547,\r
115         45300,\r
116         48894,\r
117         52487,\r
118         55928,\r
119         59224,\r
120         62379,\r
121         65535,\r
122             0,\r
123         10647,\r
124         19220,\r
125         27793,\r
126         36003,\r
127         44213,\r
128         51422,\r
129         58631,\r
130         65535,\r
131             0,\r
132          8897,\r
133         17795,\r
134         26315,\r
135         34835,\r
136         42993,\r
137         51152,\r
138         58965,\r
139         65535,\r
140             0,\r
141          9726,\r
142         19453,\r
143         27632,\r
144         35811,\r
145         43643,\r
146         51475,\r
147         58657,\r
148         65535,\r
149             0,\r
150          9306,\r
151         18611,\r
152         27522,\r
153         36433,\r
154         44258,\r
155         52084,\r
156         58955,\r
157         65535,\r
158             0,\r
159          9344,\r
160         17912,\r
161         26481,\r
162         35049,\r
163         43254,\r
164         51111,\r
165         58635,\r
166         65535,\r
167             0,\r
168          8946,\r
169         17891,\r
170         26837,\r
171         35403,\r
172         43606,\r
173         51128,\r
174         58332,\r
175         65535,\r
176             0,\r
177          8919,\r
178         17460,\r
179         25638,\r
180         33817,\r
181         41996,\r
182         50174,\r
183         58353,\r
184         65535,\r
185             0,\r
186          4876,\r
187          9752,\r
188         14421,\r
189         18893,\r
190         23175,\r
191         27456,\r
192         31738,\r
193         35839,\r
194         39939,\r
195         43865,\r
196         47792,\r
197         51552,\r
198         55312,\r
199         59072,\r
200         62373,\r
201         65535\r
202 };\r
203 \r
204 const SKP_uint16 * const SKP_Silk_NLSF_MSVQ_CB0_16_CDF_start_ptr[ NLSF_MSVQ_CB0_16_STAGES ] =\r
205 {\r
206      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[   0 ],\r
207      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  65 ],\r
208      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  82 ],\r
209      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  91 ],\r
210      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 100 ],\r
211      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 109 ],\r
212      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 118 ],\r
213      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 127 ],\r
214      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 136 ],\r
215      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 145 ]\r
216 };\r
217 \r
218 const SKP_int SKP_Silk_NLSF_MSVQ_CB0_16_CDF_middle_idx[ NLSF_MSVQ_CB0_16_STAGES ] =\r
219 {\r
220       23,\r
221        8,\r
222        5,\r
223        5,\r
224        5,\r
225        5,\r
226        5,\r
227        5,\r
228        5,\r
229        8\r
230 };\r
231 \r
232 const SKP_uint8 SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ NLSF_MSVQ_CB0_16_VECTORS ] =\r
233 {\r
234                74,               76,\r
235                77,               81,\r
236                84,               84,\r
237                85,               88,\r
238                89,               89,\r
239                89,               90,\r
240                92,               93,\r
241                93,               93,\r
242                94,               94,\r
243                94,               94,\r
244                95,               95,\r
245                95,               96,\r
246                96,               96,\r
247                96,               97,\r
248                97,               98,\r
249                98,               98,\r
250                98,               99,\r
251                99,               99,\r
252               100,              100,\r
253               100,              100,\r
254               100,              101,\r
255               101,              101,\r
256               102,              102,\r
257               103,              104,\r
258               104,              105,\r
259               106,              107,\r
260               107,              107,\r
261               107,              108,\r
262               108,              109,\r
263               109,              111,\r
264               111,              114,\r
265               118,              124,\r
266                57,               58,\r
267                58,               60,\r
268                61,               63,\r
269                65,               65,\r
270                66,               66,\r
271                67,               67,\r
272                68,               69,\r
273                70,               70,\r
274                42,               47,\r
275                47,               48,\r
276                48,               51,\r
277                51,               52,\r
278                46,               46,\r
279                47,               47,\r
280                48,               48,\r
281                49,               53,\r
282                44,               44,\r
283                48,               48,\r
284                49,               49,\r
285                51,               52,\r
286                45,               45,\r
287                46,               46,\r
288                49,               49,\r
289                52,               53,\r
290                45,               47,\r
291                47,               47,\r
292                48,               49,\r
293                50,               52,\r
294                46,               46,\r
295                46,               47,\r
296                48,               50,\r
297                51,               51,\r
298                46,               47,\r
299                48,               48,\r
300                48,               48,\r
301                48,               51,\r
302                60,               60,\r
303                61,               62,\r
304                63,               63,\r
305                63,               64,\r
306                64,               65,\r
307                65,               66,\r
308                66,               66,\r
309                69,               70\r
310 };\r
311 \r
312 const SKP_int SKP_Silk_NLSF_MSVQ_CB0_16_ndelta_min_Q15[ 16 + 1 ] =\r
313 {\r
314               236,\r
315                 4,\r
316                75,\r
317                 3,\r
318                 3,\r
319                 5,\r
320               115,\r
321                95,\r
322               113,\r
323               138,\r
324               176,\r
325               169,\r
326               249,\r
327               256,\r
328               271,\r
329               263,\r
330               630\r
331 };\r
332 \r
333 const SKP_int8 SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * NLSF_MSVQ_CB0_16_VECTORS ] =\r
334 {\r
335              -117,             -106,              -94,              -81,\r
336               -65,              -52,              -37,              -22,\r
337                -5,               11,               27,               42,\r
338                59,               75,               91,              106,\r
339              -120,             -116,             -100,              -84,\r
340               -67,              -49,              -32,              -16,\r
341                 0,               15,               30,               46,\r
342                62,               77,               94,              109,\r
343              -121,             -116,             -102,              -85,\r
344               -71,              -58,              -39,              -24,\r
345                -5,               10,               29,               45,\r
346                61,               77,               92,              107,\r
347              -120,             -116,              -94,              -83,\r
348               -69,              -57,              -46,              -25,\r
349                -7,               10,               27,               42,\r
350                58,               75,               91,              107,\r
351              -114,             -109,              -94,              -79,\r
352               -66,              -52,              -35,              -18,\r
353                -4,                9,               26,               40,\r
354                53,               65,               81,               92,\r
355              -114,             -108,              -96,              -74,\r
356               -62,              -50,              -34,              -18,\r
357                 0,               18,               33,               47,\r
358                61,               77,               94,              107,\r
359              -116,             -109,              -99,              -84,\r
360               -71,              -60,              -44,              -30,\r
361                -9,                5,               18,               33,\r
362                52,               70,               88,              106,\r
363              -119,             -114,              -99,              -89,\r
364               -71,              -60,              -50,              -37,\r
365                -4,               12,               28,               46,\r
366                60,               77,               91,              106,\r
367              -113,             -109,              -87,              -78,\r
368               -67,              -52,              -40,              -19,\r
369                -8,               12,               29,               43,\r
370                58,               75,               94,              113,\r
371              -119,             -114,              -88,              -77,\r
372               -63,              -49,              -36,              -23,\r
373                 1,               17,               33,               51,\r
374                68,               81,               97,              109,\r
375              -119,             -114,             -101,              -88,\r
376               -71,              -57,              -42,              -16,\r
377                -1,               11,               24,               38,\r
378                54,               69,               90,              110,\r
379              -116,             -103,              -86,              -73,\r
380               -57,              -43,              -27,              -13,\r
381                 2,               16,               31,               45,\r
382                61,               76,               92,              108,\r
383              -116,             -112,             -100,              -77,\r
384               -68,              -51,              -41,              -22,\r
385               -11,                0,               16,               37,\r
386                56,               72,               88,              104,\r
387              -118,             -113,              -96,              -84,\r
388               -69,              -55,              -42,              -30,\r
389               -12,               17,               33,               51,\r
390                70,               83,               98,              110,\r
391              -109,             -104,              -92,              -80,\r
392               -67,              -56,              -41,              -28,\r
393               -13,                0,               14,               28,\r
394                43,               60,               85,              104,\r
395              -112,             -107,              -95,              -82,\r
396               -71,              -57,              -45,              -26,\r
397               -11,                1,               27,               41,\r
398                53,               66,               84,              104,\r
399              -115,             -111,              -99,              -92,\r
400               -63,              -52,              -39,              -24,\r
401               -13,                5,               27,               42,\r
402                60,               78,               93,              109,\r
403              -112,             -108,              -96,              -89,\r
404               -77,              -51,              -41,              -22,\r
405               -11,               13,               31,               44,\r
406                57,               72,               87,              105,\r
407              -111,             -107,              -95,              -87,\r
408               -77,              -49,              -38,              -24,\r
409               -10,                0,               15,               30,\r
410                54,               75,               93,              107,\r
411              -107,             -103,              -93,              -74,\r
412               -52,              -44,              -31,              -16,\r
413                -3,               10,               33,               45,\r
414                58,               71,               85,               98,\r
415              -115,             -111,              -98,              -72,\r
416               -60,              -49,              -35,              -24,\r
417                 1,               11,               25,               38,\r
418                56,               81,               98,              112,\r
419              -116,             -112,             -102,              -70,\r
420               -59,              -49,              -36,              -25,\r
421                -7,                5,               17,               30,\r
422                48,               66,               87,              103,\r
423              -113,             -109,              -94,              -86,\r
424               -75,              -64,              -52,              -24,\r
425               -14,                6,               23,               43,\r
426                61,               77,               92,              108,\r
427              -118,             -112,             -100,              -90,\r
428               -65,              -53,              -39,              -22,\r
429                 6,               18,               32,               49,\r
430                67,               81,               97,              109,\r
431              -116,             -109,              -99,              -80,\r
432               -69,              -55,              -41,              -27,\r
433               -11,                3,               23,               40,\r
434                61,               80,              101,              113,\r
435              -110,             -106,              -92,              -84,\r
436               -73,              -42,              -31,              -17,\r
437                -1,               10,               26,               37,\r
438                51,               76,               99,              113,\r
439              -116,             -110,              -93,              -75,\r
440               -57,              -41,              -21,               -6,\r
441                10,               25,               40,               54,\r
442                68,               82,               96,              110,\r
443              -116,             -111,             -100,              -92,\r
444               -81,              -46,              -32,              -19,\r
445                -5,                7,               25,               42,\r
446                58,               74,               92,              107,\r
447              -112,             -109,              -86,              -78,\r
448               -68,              -56,              -45,              -22,\r
449               -13,               -1,               13,               32,\r
450                58,               78,               91,              107,\r
451              -108,             -104,              -89,              -76,\r
452               -66,              -52,              -38,              -26,\r
453                -7,                4,               18,               30,\r
454                43,               74,               98,              112,\r
455              -114,             -110,              -82,              -72,\r
456               -61,              -50,              -37,              -20,\r
457               -11,                1,               17,               46,\r
458                62,               78,               93,              112,\r
459              -112,             -108,              -99,              -77,\r
460               -66,              -58,              -33,              -22,\r
461               -11,               13,               25,               35,\r
462                47,               64,               87,              108,\r
463              -113,             -109,              -96,              -70,\r
464               -59,              -49,              -35,              -24,\r
465                -6,                7,               19,               34,\r
466                65,               79,               94,              106,\r
467              -115,             -111,              -96,              -85,\r
468               -72,              -59,              -47,              -33,\r
469               -20,               -8,                8,               35,\r
470                56,               74,               92,              110,\r
471              -111,             -108,              -92,              -65,\r
472               -54,              -45,              -31,              -20,\r
473                -2,               11,               23,               34,\r
474                47,               63,               96,              114,\r
475              -113,             -108,              -98,              -87,\r
476               -79,              -68,              -32,              -19,\r
477                -5,               12,               25,               41,\r
478                60,               77,               96,              109,\r
479              -115,             -109,              -96,              -82,\r
480               -58,              -48,              -34,              -17,\r
481                -4,                9,               36,               50,\r
482                65,               79,               97,              109,\r
483              -115,             -110,             -100,              -88,\r
484               -56,              -45,              -34,              -21,\r
485                -7,                7,               24,               37,\r
486                50,               64,               86,              107,\r
487              -104,              -98,              -88,              -77,\r
488               -60,              -51,              -37,              -18,\r
489                -3,                8,               25,               40,\r
490                53,               68,               91,              107,\r
491              -118,             -113,              -97,              -85,\r
492               -74,              -62,              -51,              -40,\r
493               -25,                4,               24,               40,\r
494                57,               75,               92,              109,\r
495              -107,             -103,              -92,              -83,\r
496               -74,              -62,              -28,              -18,\r
497                -4,                9,               22,               34,\r
498                50,               67,               87,              107,\r
499              -116,             -112,              -75,              -67,\r
500               -56,              -45,              -31,              -16,\r
501                -5,               10,               30,               45,\r
502                63,               79,               96,              111,\r
503              -106,             -102,              -88,              -77,\r
504               -68,              -52,              -38,              -25,\r
505                -4,                7,               23,               36,\r
506                66,               84,               98,              111,\r
507              -103,              -99,              -87,              -76,\r
508               -66,              -56,              -29,              -13,\r
509                 0,               14,               31,               42,\r
510                57,               71,               85,               96,\r
511              -114,             -111,              -91,              -58,\r
512               -47,              -38,              -26,              -14,\r
513                 3,               13,               26,               40,\r
514                62,               80,               96,              110,\r
515              -114,             -110,              -90,              -83,\r
516               -72,              -64,              -36,              -24,\r
517               -13,                6,               28,               49,\r
518                66,               81,               97,              112,\r
519              -109,             -105,              -91,              -82,\r
520               -71,              -51,              -38,              -24,\r
521               -10,                1,               20,               49,\r
522                64,               78,               91,              106,\r
523              -111,             -107,              -90,              -82,\r
524               -70,              -60,              -49,              -12,\r
525                 0,               11,               25,               37,\r
526                60,               82,              101,              114,\r
527              -111,             -107,              -93,              -72,\r
528               -42,              -30,              -20,               -8,\r
529                 4,               16,               34,               46,\r
530                58,               70,               85,               98,\r
531              -112,             -109,              -80,              -65,\r
532               -56,              -44,              -33,              -17,\r
533                -3,                8,               20,               31,\r
534                49,               79,               98,              112,\r
535              -104,              -98,              -84,              -72,\r
536               -59,              -45,              -31,              -18,\r
537                -1,               12,               31,               47,\r
538                64,               81,               98,              110,\r
539              -110,             -106,              -92,              -79,\r
540               -70,              -59,              -49,              -39,\r
541                -1,               11,               22,               35,\r
542                52,               69,               89,              109,\r
543              -113,             -109,             -101,              -95,\r
544               -56,              -44,              -29,              -16,\r
545                -2,               18,               33,               48,\r
546                63,               78,               95,              110,\r
547              -109,             -106,              -94,              -87,\r
548               -74,              -41,              -29,              -14,\r
549                 1,               13,               28,               47,\r
550                69,               84,               99,              111,\r
551              -115,             -110,             -101,              -84,\r
552               -50,              -32,              -22,              -11,\r
553                 1,               13,               30,               45,\r
554                58,               72,               89,              107,\r
555              -106,             -102,              -89,              -75,\r
556               -64,              -55,              -44,              -34,\r
557               -13,               16,               32,               43,\r
558                59,               73,               86,              100,\r
559              -111,             -107,              -94,              -70,\r
560               -55,              -46,              -33,              -21,\r
561                -7,                5,               19,               31,\r
562                43,               55,               70,              103,\r
563              -102,              -97,              -80,              -71,\r
564               -60,              -49,              -36,              -24,\r
565                -8,                4,               19,               32,\r
566                48,               63,               79,              100,\r
567              -113,             -109,              -90,              -76,\r
568               -66,              -53,              -41,              -29,\r
569               -16,               -7,                5,               15,\r
570                42,               69,               89,              108,\r
571              -108,             -105,              -93,              -85,\r
572               -76,              -62,              -23,               -8,\r
573                 4,               18,               33,               45,\r
574                60,               74,               90,              105,\r
575              -114,             -110,              -89,              -61,\r
576               -52,              -42,              -30,              -18,\r
577                -4,               13,               26,               39,\r
578                53,               67,               81,               96,\r
579               -99,              -95,              -86,              -77,\r
580               -69,              -60,              -32,              -15,\r
581                -2,               15,               35,               47,\r
582                64,               80,               96,              110,\r
583              -115,             -105,              -80,              -61,\r
584               -43,              -27,              -14,               -1,\r
585                13,               26,               40,               53,\r
586                67,               80,               95,              110,\r
587              -100,              -91,              -72,              -59,\r
588               -48,              -38,              -25,              -13,\r
589                 1,               15,               28,               39,\r
590                58,               75,               91,              105,\r
591                 0,                0,                0,               -1,\r
592                -2,               -2,               -2,               -4,\r
593                -5,               -5,               -7,               -8,\r
594                -5,               -2,                0,                1,\r
595                -1,               -1,               -3,               -6,\r
596                -8,               -2,               -1,               -2,\r
597                 1,                2,                3,                4,\r
598                 3,                3,                2,                1,\r
599                -3,               -3,               -6,                4,\r
600                 2,                1,               -1,               -2,\r
601                 0,                0,               -1,                1,\r
602                 0,                1,                0,                0,\r
603                -2,               -2,                9,                7,\r
604                 4,                3,                1,                1,\r
605                 0,                0,               -2,               -1,\r
606                -2,               -2,                0,               -1,\r
607                -2,               -2,               -1,               -2,\r
608                -2,                1,                0,                0,\r
609                -1,               -2,               -3,               -1,\r
610                -3,               -2,               -5,               -6,\r
611                -1,               -1,               -4,               -8,\r
612                 3,                2,                1,                3,\r
613                 1,                1,               -1,                1,\r
614                 2,                3,                3,                1,\r
615                 0,                0,               -2,               -4,\r
616                -5,               -7,               -9,                4,\r
617                 2,                0,                1,                0,\r
618                -2,               -1,                0,                0,\r
619                -3,               -3,               -1,                9,\r
620                 7,                6,                5,                4,\r
621                 3,                3,                4,                4,\r
622                 3,                3,                2,                1,\r
623                 8,                8,                6,                3,\r
624                 2,                0,                2,               -1,\r
625                 0,                1,                1,                0,\r
626                -1,                0,                1,                0,\r
627                 2,                2,                3,                1,\r
628                 1,                1,                0,                6,\r
629                 6,                6,                7,                6,\r
630                 4,                3,                2,                0,\r
631                 1,                1,                0,               -1,\r
632                -3,               -4,               -7,              -10,\r
633                 0,                0,               -1,                2,\r
634                 3,                2,                3,                2,\r
635                -1,                0,               -1,               -2,\r
636                -4,               -5,                8,                5,\r
637                 3,                3,                1,               -1,\r
638                -3,               -3,               -1,                0,\r
639                 2,                2,                2,                2,\r
640                 1,                1,                0,                0,\r
641                 0,                0,               -2,               -3,\r
642                -6,              -10,              -10,               -1,\r
643                 1,                1,                1,               -1,\r
644                -1,               -2,               -3,               -5,\r
645                -8,               -9,                4,                3,\r
646                 1,                1,                0,                1,\r
647                 0,                0,               -2,               -3,\r
648                10,                9,                7,                4,\r
649                 2,                2,                1,                0,\r
650                -1,               -3,               -3,               -2,\r
651                 2,                2,                2,                1,\r
652                 0,                1,                1,                0,\r
653                -1,                0,               -2,               -4,\r
654                 9,                7,                4,                1,\r
655                -1,               -1,               -2,               -2,\r
656                -3,               -3,               -3,               -1,\r
657                -2,               -4,               -3,               -2,\r
658                 0,               -1,                0,                1,\r
659                 0,                0,                3,                4,\r
660                 3,                2,                1,                1,\r
661                 0,               -2,               -3,               -5,\r
662                -6,               -2,               -1,                0,\r
663                -2,               -2,               -4,               -4,\r
664                 4,                2,                1,                1,\r
665                 0,                0,                0,                0,\r
666                 0,                1,                0,                0,\r
667                 1,                1,                0,               -2,\r
668                -4,                5,                4,                3,\r
669                 4,                1,                0,                0,\r
670                 0,               -1,                0,                0,\r
671                 3,                3,                2,                1,\r
672                 0,               -1,               -1,                0,\r
673                -1,               -3,                0,                3,\r
674                 3,                3,                3,                3,\r
675                 0,                0,                1,                0,\r
676                 0,               -3,               -3,               -5,\r
677                -7,                5,                3,                1,\r
678                 0,                0,                0,                0,\r
679                 1,                1,                1,                2,\r
680                 1,                0,                1,                2,\r
681                 1,                0,                3,                3,\r
682                 1,               -2,               -6,               -7,\r
683                -1,               -1,                1,                1,\r
684                 0,               -1,               -1,               -1,\r
685                 7,                5,                3,                2,\r
686                 3,                2,                3,                2,\r
687                -2,               -2,               -2,                0,\r
688                -1,                0,               -2,                5,\r
689                 2,                2,                2,                0,\r
690                 0,                0,               -1,               -1,\r
691                 0,                0,               -1,               -2,\r
692                -3,               -5,                4,                1,\r
693                 1,                1,               -2,               -1,\r
694                 0,                2,                1,                0,\r
695                 2,                2,                0,               -3,\r
696                 3,                2,                1,                1,\r
697                -1,               -1,               -1,               -2,\r
698                -1,                0,               -2,               -2,\r
699                -1,               -1,                1,                3,\r
700                 2,                2,                0,               -1,\r
701                -2,               -2,               -4,               -2,\r
702                 2,                2,                2,                1,\r
703                -1,               -1,               -1,               -2,\r
704                -2,               -1,               -2,               -2,\r
705                -3,               -4,                4,                3,\r
706                 2,                2,               -1,                0,\r
707                 1,                1,                1,                0,\r
708                -1,               -1,               -3,               -6,\r
709                 4,                2,                0,               -1,\r
710                -1,               -1,               -1,               -1,\r
711                 0,                0,                3,                3,\r
712                 2,                2,                3,                1,\r
713                -1,                4,                3,                3,\r
714                 1,                0,               -1,                1,\r
715                 1,                1,                1,                1,\r
716                 0,                0,               -1,                0,\r
717                -1,               -2,               -1,               -1,\r
718                -4,               -6,                4,                2,\r
719                 0,               -1,               -4,                3,\r
720                 2,                0,                1,               -1,\r
721                 0,                1,                0,               -2,\r
722                -2,               -1,               -1,               -1,\r
723                -1,               -1,               -1,               -2,\r
724                -3,                3,                0,                0,\r
725                -1,               -1,               -1,               -2,\r
726                -1,               -1,                0,                1,\r
727                 1,                0,                1,                0,\r
728                -1,               -2,               -4,                4,\r
729                 2,                0,                0,               -1,\r
730                 1,                1,                1,                1,\r
731                 1,                1,                0,               -2,\r
732                -2,               -3,                2,                0,\r
733                 0,                2,                2,                1,\r
734                 0,               -3,               -2,                1,\r
735                 0,                0,               -1,                0,\r
736                 1,                2,                1,                0,\r
737                 2,                1,                3,                4,\r
738                 3,                1,                1,               -1,\r
739                -2,               -2,                4,                1,\r
740                 1,                0,                1,               -1,\r
741                -2,               -1,                0,               -1,\r
742                 0,               -1,                0,                0,\r
743                 1,                1,                1,                0,\r
744                 1,                1,                0,                0,\r
745                 0,                0,                1,               -2,\r
746                -4,                5,                4,                2,\r
747                 1,                2,                0,                0,\r
748                 1,                0,                0,               -3,\r
749                -1,               -2,               -5,                3,\r
750                 3,                0,               -1,               -2,\r
751                -1,               -1,                0,               -1,\r
752                -1,                0,                0,               -1,\r
753                 2,                2,                0,               -1,\r
754                -3,               -2,               -1,               -2,\r
755                 0,                0,                1,                2,\r
756                 0,               -1,               -3,                1,\r
757                -1,               -2,                2,                1,\r
758                -1,               -2,               -1,               -1,\r
759                 0,                0,                1,                0,\r
760                -1,                1,               -1,                2,\r
761                 1,                0,               -3,                3,\r
762                 1,                2,                2,                0,\r
763                 0,                0,               -2,                1,\r
764                 0,               -1,                0,                0,\r
765                -2,                4,                2,                1,\r
766                 3,                1,                1,                0,\r
767                 0,                0,               -1,               -2,\r
768                 2,                1,                0,               -2,\r
769                -1,                1,                0,                0,\r
770                -1,               -1,                2,                2,\r
771                 1,                1,                1,                1,\r
772                 1,                1,                1,                1,\r
773                 2,                0,               -2,               -2,\r
774                 1,               -1,               -4,                2,\r
775                -1,               -1,               -1,               -1,\r
776                -1,               -1,                4,                1,\r
777                -1,               -3,                1,                2,\r
778                 0,                0,                1,                1,\r
779                 1,                1,                0,                0,\r
780                 0,                0,               -1,               -2,\r
781                -1,               -2,                0,               -4,\r
782                 2,                4,                0,               -2,\r
783                 1,                0,                0,               -1,\r
784                -1,               -2,               -2,                1,\r
785                -2,                1,                1,               -1,\r
786                -2,               -1,               -1,                0,\r
787                 1,                1,                0,                1,\r
788                 0,                2,                1,                0,\r
789                 0,               -2,                1,                0,\r
790                -2,                0,                1,               -2,\r
791                 0,               -1,                0,                1,\r
792                 0,                0,                1,               -1,\r
793                -1,                0,               -3,                2,\r
794                -1,               -2,                1,                1,\r
795                 0,               -1,                1,                0,\r
796                 1,                1,                0,                0,\r
797                 1,               -1,                2,                1,\r
798                 1,               -1,               -2,                3,\r
799                 0,               -1,                1,                0,\r
800                 0,               -1,                3,                1,\r
801                 1,                1,                0,                1,\r
802                 2,                2,               -1,               -3,\r
803                 0,               -1,               -3,                0,\r
804                 0,               -1,               -1,               -1,\r
805                 2,               -1,                0,                1,\r
806                 0,                2,                1,                1,\r
807                 0,                0,                0,               -1,\r
808                 1,                0,                0,                1,\r
809                 0,                0,               -1,               -3,\r
810                 3,                0,                2,                1,\r
811                -3,                4,                1,                0,\r
812                 0,                0,                0,                0,\r
813                 0,                0,                0,                0,\r
814                 1,                0,                0,                0,\r
815                 0,                0,                0,               -1,\r
816                 0,               -1,               -1,                0,\r
817                 0,               -2,               -1,                1,\r
818                 0,               -1,               -2,               -1,\r
819                 0,                2,                0,                0,\r
820                 1,               -1,                0,                2,\r
821                 1,                0,               -1,                0,\r
822                -2,                0,                0,                0,\r
823                -1,               -1,                0,               -1,\r
824                 0,               -1,                0,                0,\r
825                -1,                1,               -1,               -2,\r
826                 0,                2,               -2,                0,\r
827                 1,                0,                0,               -1,\r
828                -2,                2,                0,                0,\r
829                 1,                2,                1,                1,\r
830                 0,                0,               -1,                0,\r
831                 0,                0,                2,                0,\r
832                 0,               -2,                0,               -2,\r
833                 1,                1,                0,                1,\r
834                 0,                1,                1,                1,\r
835                 0,                0,               -2,                1,\r
836                -1,                1,                1,               -1,\r
837                 1,               -1,                0,               -2,\r
838                 0,               -1,                2,                2,\r
839                -1,               -1,                1,                1,\r
840                 1,                1,                0,                1,\r
841                 0,                1,                0,                0,\r
842                 0,               -1,                2,               -3,\r
843                 1,                0,                0,                1,\r
844                 2,                0,                0,               -1,\r
845                -2,               -2,                2,                0,\r
846                 0,                0,                0,                1,\r
847                 0,               -1,                0,                2,\r
848                 0,                1,               -1,               -1,\r
849                 1,                0,               -1,                0,\r
850                -1,                1,               -1,                0,\r
851                -1,                0,               -3,                0,\r
852                 0,                0,                0,                1,\r
853                -1,                0,                0,                0,\r
854                 1,               -1,                0,                0,\r
855                 1,                0,                0,                0,\r
856                 0,               -1,                2,                2,\r
857                 1,                1,                1,                0,\r
858                -1,                0,                1,                1,\r
859                 0,               -1,                0,                0,\r
860                -2,                0,               -1,                0,\r
861                -1,                0,                1,                0,\r
862                 0,                1,                2,                1,\r
863                 1,                0,                1,                0,\r
864                -1,                1,                1,                0,\r
865                -2,                0,               -1,               -1,\r
866                 1,               -1,               -1,               -1,\r
867                 0,                0,                0,               -2,\r
868                 2,                0,               -1,                0,\r
869                -1,                1,                0,                1,\r
870                 0,                1,                0,               -1,\r
871                 1,                1,                0,                0,\r
872                -1,               -1,               -1,               -1,\r
873                 1,                0,                0,                0,\r
874                 1,               -1,                0,                0,\r
875                -2,                1,                1,                0,\r
876                 1,                0,                1,               -1,\r
877                 0,               -1,                0,                0,\r
878                 0,                0,                0,                0,\r
879                -1,                0,                1,                2,\r
880                -1,                0,                1,                1,\r
881                 0,               -1,                0,                0,\r
882                 1,                0,                0,               -1,\r
883                 1,                1,               -1,                0,\r
884                -1,                0,                0,                0,\r
885                 0,               -1,                0,                1,\r
886                -1,                1,               -1,                1,\r
887                 1,                1,                1,                1,\r
888                 0,                1,                0,                0,\r
889                 0,                2,                0,               -1,\r
890                 0,                0,                1,                1,\r
891                -2,                1,                0,                1,\r
892                 0,                1,               -2,               -1,\r
893                -1,                0,               -1,                0,\r
894                 0,                0,                0,                0,\r
895                -2,               -1,                0,               -1,\r
896                 0,               -1,                0,                1,\r
897                 1,                1,               -1,                0,\r
898                 1,               -1,                0,                1,\r
899                 0,               -1,               -1,                0,\r
900                 0,                0,                0,               -1,\r
901                 0,                1,                1,                2,\r
902                -2,                0,                0,                0,\r
903                 0,                0,                0,                0,\r
904                 0,                0,                0,                0,\r
905                 1,               -1,                2,               -2,\r
906                 0,                0,               -1,               -1,\r
907                 0,                0,                2,               -1,\r
908                 0,                1,               -1,                0,\r
909                 1,               -1,               -1,               -1,\r
910                -1,                0,                0,                0,\r
911                 0,               -1,                0,                0,\r
912                 1,                2,                1,                1,\r
913                -1,               -1,                0,                0,\r
914                -1,                1,                0,                1,\r
915                 1,                0,                0,                0,\r
916                 0,                0,               -2,                1,\r
917                 0,                0,                1,                1,\r
918                 1,                1,                1,                1,\r
919                 1,                0,               -1,                0,\r
920                 2,                0,                0,                0,\r
921                 2,                0,               -1,                0,\r
922                 0,               -1,                0,               -1,\r
923                 1,                0,               -1,                0,\r
924                -1,               -1,                0,                0,\r
925                 0,                1,               -2,                0,\r
926                 0,                0,                1,               -1,\r
927                 0,               -1,                0,                1,\r
928                 1,               -2,                0,                0,\r
929                -1,               -1,               -1,               -1,\r
930                 0,                0,                0,                0,\r
931                 0,                0,               -1,               -1,\r
932                 0,                1,                2,               -2,\r
933                 0,                0,                0,                0,\r
934                 1,                1,                0,                0,\r
935                 0,               -1,                0,                0,\r
936                 0,                0,                0,               -2,\r
937                -1,                0,                0,               -1,\r
938                 1,               -2,               -1,                0,\r
939                 0,                1,                0,               -1,\r
940                 0,                0,                1,                0,\r
941                -1,                0,                1,                0,\r
942                 1,               -1,                1,                0\r
943 };\r
944 \r
945 const SKP_Silk_NLSF_CBS SKP_Silk_NLSF_CB0_16_Stage_info[ NLSF_MSVQ_CB0_16_STAGES ] =\r
946 {\r
947         {  64, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *   0 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[   0 ] },\r
948         {  16, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  64 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  64 ] },\r
949         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  80 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  80 ] },\r
950         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  88 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  88 ] },\r
951         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  96 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  96 ] },\r
952         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 104 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 104 ] },\r
953         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 112 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 112 ] },\r
954         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 120 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 120 ] },\r
955         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 128 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 128 ] },\r
956         {  16, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 136 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 136 ] }\r
957 };\r
958 \r
959 const SKP_Silk_NLSF_CB_struct SKP_Silk_NLSF_CB0_16 =\r
960 {\r
961         NLSF_MSVQ_CB0_16_STAGES,\r
962         SKP_Silk_NLSF_CB0_16_Stage_info,\r
963         SKP_Silk_NLSF_MSVQ_CB0_16_ndelta_min_Q15,\r
964         SKP_Silk_NLSF_MSVQ_CB0_16_CDF,\r
965         SKP_Silk_NLSF_MSVQ_CB0_16_CDF_start_ptr,\r
966         SKP_Silk_NLSF_MSVQ_CB0_16_CDF_middle_idx\r
967 };\r
968 \r