SILK update with LBRR and some bugfixes
[opus.git] / src_common / SKP_Silk_tables_NLSF_CB0_16.c
1 /***********************************************************************\r
2 Copyright (c) 2006-2011, 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.19 + 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_CB.h"\r
37 \r
38 const SKP_uint8 SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ NLSF_MSVQ_CB0_16_VECTORS ] =\r
39 {\r
40           247,\r
41           238,\r
42           230,\r
43           223,\r
44           215,\r
45           209,\r
46           203,\r
47           197,\r
48           191,\r
49           186,\r
50           180,\r
51           174,\r
52           169,\r
53           164,\r
54           158,\r
55           153,\r
56           148,\r
57           143,\r
58           138,\r
59           134,\r
60           129,\r
61           124,\r
62           119,\r
63           115,\r
64           111,\r
65           107,\r
66           102,\r
67            98,\r
68            94,\r
69            90,\r
70            86,\r
71            83,\r
72            79,\r
73            76,\r
74            72,\r
75            69,\r
76            65,\r
77            62,\r
78            59,\r
79            56,\r
80            53,\r
81            50,\r
82            47,\r
83            44,\r
84            41,\r
85            38,\r
86            35,\r
87            32,\r
88            30,\r
89            27,\r
90            24,\r
91            22,\r
92            19,\r
93            17,\r
94            14,\r
95            12,\r
96            10,\r
97             8,\r
98             7,\r
99             5,\r
100             3,\r
101             2,\r
102             1,\r
103             0,\r
104           234,\r
105           214,\r
106           196,\r
107           178,\r
108           161,\r
109           144,\r
110           128,\r
111           112,\r
112            96,\r
113            79,\r
114            65,\r
115            51,\r
116            37,\r
117            24,\r
118            11,\r
119             0,\r
120           216,\r
121           178,\r
122           145,\r
123           113,\r
124            83,\r
125            54,\r
126            27,\r
127             0,\r
128           216,\r
129           181,\r
130           148,\r
131           116,\r
132            84,\r
133            53,\r
134            25,\r
135             0,\r
136           220,\r
137           185,\r
138           150,\r
139           116,\r
140            84,\r
141            54,\r
142            26,\r
143             0,\r
144           218,\r
145           183,\r
146           150,\r
147           118,\r
148            87,\r
149            56,\r
150            26,\r
151             0,\r
152           211,\r
153           171,\r
154           134,\r
155           106,\r
156            78,\r
157            50,\r
158            25,\r
159             0,\r
160           215,\r
161           175,\r
162           140,\r
163           108,\r
164            79,\r
165            51,\r
166            24,\r
167             0,\r
168           219,\r
169           184,\r
170           150,\r
171           120,\r
172            89,\r
173            58,\r
174            28,\r
175             0,\r
176           235,\r
177           215,\r
178           197,\r
179           179,\r
180           161,\r
181           144,\r
182           127,\r
183           111,\r
184            95,\r
185            80,\r
186            65,\r
187            51,\r
188            36,\r
189            23,\r
190            11,\r
191             0\r
192 };\r
193 \r
194 const SKP_uint8 * const SKP_Silk_NLSF_MSVQ_CB0_16_CDF_start_ptr[ NLSF_MSVQ_CB0_16_STAGES ] =\r
195 {\r
196      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[   0 ],\r
197      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  64 ],\r
198      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  80 ],\r
199      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  88 ],\r
200      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  96 ],\r
201      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 104 ],\r
202      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 112 ],\r
203      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 120 ],\r
204      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 128 ],\r
205      &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 136 ]\r
206 };\r
207 \r
208 const SKP_uint8 SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ NLSF_MSVQ_CB0_16_VECTORS ] =\r
209 {\r
210                77,               78,\r
211                80,               81,\r
212                81,               86,\r
213                87,               87,\r
214                88,               88,\r
215                88,               89,\r
216                89,               89,\r
217                90,               90,\r
218                90,               91,\r
219                92,               92,\r
220                92,               92,\r
221                92,               94,\r
222                95,               95,\r
223                95,               95,\r
224                96,               96,\r
225                97,               98,\r
226                98,               99,\r
227                99,              100,\r
228               100,              101,\r
229               102,              102,\r
230               102,              102,\r
231               103,              103,\r
232               103,              103,\r
233               104,              104,\r
234               104,              105,\r
235               106,              106,\r
236               107,              107,\r
237               108,              111,\r
238               111,              113,\r
239               116,              117,\r
240               118,              121,\r
241               128,              128,\r
242                57,               59,\r
243                61,               61,\r
244                63,               63,\r
245                63,               64,\r
246                64,               64,\r
247                66,               67,\r
248                67,               69,\r
249                70,               72,\r
250                43,               44,\r
251                47,               48,\r
252                50,               50,\r
253                52,               52,\r
254                43,               46,\r
255                47,               48,\r
256                48,               49,\r
257                51,               54,\r
258                45,               46,\r
259                46,               47,\r
260                48,               49,\r
261                51,               53,\r
262                44,               46,\r
263                47,               48,\r
264                49,               49,\r
265                49,               53,\r
266                40,               43,\r
267                45,               51,\r
268                51,               51,\r
269                54,               54,\r
270                42,               43,\r
271                46,               48,\r
272                50,               51,\r
273                52,               55,\r
274                45,               46,\r
275                47,               49,\r
276                49,               49,\r
277                50,               51,\r
278                58,               59,\r
279                61,               61,\r
280                61,               63,\r
281                63,               64,\r
282                64,               65,\r
283                66,               66,\r
284                66,               68,\r
285                71,               73\r
286 };\r
287 \r
288 const SKP_int SKP_Silk_NLSF_MSVQ_CB0_16_ndelta_min_Q15[ 16 + 1 ] =\r
289 {\r
290               290,\r
291                 3,\r
292                54,\r
293                 3,\r
294                 3,\r
295                 3,\r
296               113,\r
297                90,\r
298               103,\r
299               132,\r
300               172,\r
301               154,\r
302               245,\r
303               248,\r
304               262,\r
305               253,\r
306               618\r
307 };\r
308 \r
309 const SKP_int8 SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * NLSF_MSVQ_CB0_16_VECTORS ] =\r
310 {\r
311              -117,             -105,              -93,              -79,\r
312               -66,              -52,              -37,              -22,\r
313                -6,               10,               27,               41,\r
314                58,               75,               92,              107,\r
315              -114,             -109,              -95,              -80,\r
316               -68,              -53,              -38,              -19,\r
317                -6,                7,               26,               40,\r
318                53,               66,               81,               94,\r
319              -120,             -116,             -102,              -84,\r
320               -65,              -51,              -36,              -21,\r
321                -4,               11,               29,               46,\r
322                61,               77,               93,              107,\r
323              -117,             -110,              -99,              -86,\r
324               -74,              -60,              -42,              -29,\r
325                -9,                6,               26,               41,\r
326                58,               75,               91,              107,\r
327              -117,             -110,              -96,              -85,\r
328               -67,              -50,              -34,              -16,\r
329                 0,               17,               34,               49,\r
330                64,               79,               94,              109,\r
331              -115,             -110,             -100,              -79,\r
332               -69,              -57,              -43,              -30,\r
333               -10,                3,               16,               33,\r
334                52,               67,               86,              105,\r
335              -113,             -110,              -87,              -78,\r
336               -68,              -54,              -39,              -23,\r
337               -13,               12,               29,               43,\r
338                59,               75,               93,              112,\r
339              -114,             -103,              -85,              -73,\r
340               -56,              -43,              -28,              -14,\r
341                 2,               17,               32,               47,\r
342                63,               78,               94,              109,\r
343              -115,             -110,              -99,              -76,\r
344               -66,              -52,              -37,              -26,\r
345                 1,               12,               26,               41,\r
346                59,               78,               98,              112,\r
347              -115,             -111,              -96,              -72,\r
348               -61,              -48,              -30,              -14,\r
349                 1,               16,               34,               48,\r
350                61,               75,               91,              104,\r
351              -117,             -110,              -94,              -80,\r
352               -60,              -48,              -36,              -25,\r
353                -3,               12,               28,               47,\r
354                65,               80,               97,              111,\r
355              -108,             -104,              -94,              -76,\r
356               -50,              -42,              -30,              -14,\r
357                -2,               10,               32,               45,\r
358                58,               71,               85,               98,\r
359              -112,             -109,              -95,              -67,\r
360               -57,              -47,              -34,              -23,\r
361                -5,                8,               19,               35,\r
362                65,               81,               96,              108,\r
363              -113,             -109,              -94,              -85,\r
364               -75,              -64,              -51,              -26,\r
365               -16,                5,               22,               42,\r
366                60,               76,               92,              108,\r
367              -113,             -109,              -97,              -88,\r
368               -78,              -53,              -43,              -21,\r
369                -9,               11,               30,               44,\r
370                57,               71,               86,              104,\r
371              -115,             -111,             -100,              -69,\r
372               -60,              -48,              -36,              -22,\r
373                -8,                5,               18,               34,\r
374                51,               68,               87,              102,\r
375              -111,             -108,              -94,              -66,\r
376               -56,              -46,              -32,              -21,\r
377                -4,                9,               22,               33,\r
378                46,               62,               91,              112,\r
379              -116,             -111,             -102,              -82,\r
380               -60,              -49,              -35,              -21,\r
381                -8,               10,               24,               35,\r
382                49,               65,               88,              107,\r
383              -113,             -109,              -96,              -78,\r
384               -69,              -55,              -44,              -27,\r
385               -14,               -1,               19,               31,\r
386                58,               76,               94,              109,\r
387              -116,             -112,             -101,              -92,\r
388               -82,              -51,              -37,              -21,\r
389                -7,                6,               23,               41,\r
390                59,               75,               92,              108,\r
391              -111,             -107,              -96,              -87,\r
392               -79,              -49,              -36,              -24,\r
393                -8,                3,               19,               33,\r
394                49,               71,               92,              107,\r
395              -113,             -110,              -92,              -81,\r
396               -72,              -52,              -43,              -22,\r
397               -11,               -1,               13,               41,\r
398                58,               75,               88,              103,\r
399              -110,             -105,              -92,              -80,\r
400               -69,              -56,              -39,              -27,\r
401               -11,                2,               15,               30,\r
402                42,               58,               87,              104,\r
403              -109,             -105,              -91,              -74,\r
404               -66,              -52,              -38,              -25,\r
405                -6,                6,               19,               31,\r
406                45,               78,               98,              111,\r
407              -114,             -111,              -80,              -73,\r
408               -66,              -53,              -39,              -22,\r
409               -13,                0,               16,               42,\r
410                60,               77,               93,              111,\r
411              -112,             -108,              -94,              -83,\r
412               -72,              -58,              -44,              -31,\r
413               -18,               -6,                8,               26,\r
414                52,               72,               91,              109,\r
415              -108,              -99,              -89,              -78,\r
416               -60,              -49,              -38,              -18,\r
417                -1,                9,               25,               41,\r
418                54,               67,               88,              103,\r
419              -108,             -104,              -96,              -90,\r
420               -58,              -46,              -35,              -19,\r
421                -8,                7,               21,               36,\r
422                53,               74,               91,              108,\r
423              -114,             -110,              -86,              -73,\r
424               -63,              -48,              -38,              -11,\r
425                 1,               14,               28,               42,\r
426                61,               81,               96,              112,\r
427              -115,             -111,              -74,              -66,\r
428               -56,              -44,              -30,              -16,\r
429                -5,                9,               27,               43,\r
430                61,               78,               95,              111,\r
431              -107,             -104,              -86,              -79,\r
432               -69,              -45,              -33,              -18,\r
433                -2,               10,               25,               37,\r
434                50,               76,               99,              113,\r
435              -111,             -107,              -97,              -90,\r
436               -67,              -52,              -36,              -22,\r
437               -12,                2,               26,               47,\r
438                63,               77,               93,              109,\r
439              -103,              -98,              -84,              -72,\r
440               -61,              -48,              -33,              -21,\r
441                -4,                8,               27,               42,\r
442                65,               81,               98,              111,\r
443              -111,             -108,              -95,              -87,\r
444               -76,              -44,              -32,              -17,\r
445                -3,                9,               25,               39,\r
446                65,               82,               99,              112,\r
447              -114,             -110,             -100,              -82,\r
448               -48,              -37,              -27,              -15,\r
449                -2,               11,               26,               39,\r
450                52,               65,               82,              105,\r
451              -110,             -107,              -89,              -82,\r
452               -71,              -61,              -49,              -13,\r
453                -1,               11,               26,               38,\r
454                59,               82,              100,              114,\r
455              -112,             -109,              -88,              -61,\r
456               -52,              -41,              -29,              -17,\r
457                 0,               11,               24,               34,\r
458                48,               80,               99,              112,\r
459              -115,             -111,              -92,              -58,\r
460               -47,              -39,              -25,              -14,\r
461                 2,               14,               27,               43,\r
462                63,               79,               95,              109,\r
463              -113,             -109,              -96,              -79,\r
464               -45,              -32,              -21,              -10,\r
465                 3,               16,               33,               46,\r
466                60,               76,               93,              107,\r
467              -105,             -102,              -90,              -76,\r
468               -68,              -56,              -41,              -32,\r
469               -13,               15,               32,               43,\r
470                59,               74,               86,              101,\r
471              -110,             -106,              -94,              -85,\r
472               -77,              -65,              -31,              -22,\r
473                -5,                8,               20,               34,\r
474                59,               77,               96,              109,\r
475              -112,             -109,              -89,              -61,\r
476               -52,              -43,              -29,              -18,\r
477                -3,               14,               27,               39,\r
478                52,               66,               79,               98,\r
479              -114,             -110,             -104,              -96,\r
480               -56,              -44,              -30,              -17,\r
481                -4,               17,               32,               46,\r
482                61,               77,               94,              109,\r
483              -109,             -105,              -94,              -81,\r
484               -74,              -63,              -29,              -19,\r
485                -8,               11,               23,               33,\r
486                46,               62,               85,              107,\r
487              -111,             -108,              -91,              -83,\r
488               -72,              -63,              -35,              -24,\r
489               -13,                5,               29,               49,\r
490                66,               80,               97,              111,\r
491              -117,             -111,              -94,              -76,\r
492               -58,              -43,              -23,               -7,\r
493                10,               27,               43,               55,\r
494                69,               83,               97,              110,\r
495              -111,             -107,              -97,              -91,\r
496               -74,              -38,              -25,              -13,\r
497                 0,               13,               27,               40,\r
498                54,               73,               93,              109,\r
499              -107,             -103,              -91,              -78,\r
500               -69,              -57,              -46,              -35,\r
501                -2,               11,               24,               37,\r
502                51,               64,               84,              107,\r
503              -109,             -104,              -94,              -82,\r
504               -72,              -62,              -39,               -9,\r
505                 5,               15,               33,               43,\r
506                56,               71,               87,              102,\r
507              -103,              -99,              -88,              -73,\r
508               -68,              -55,              -28,              -15,\r
509                -3,               14,               30,               41,\r
510                56,               69,               82,               96,\r
511              -109,             -106,              -90,              -69,\r
512               -39,              -29,              -19,               -7,\r
513                 4,               16,               35,               46,\r
514                57,               68,               82,               96,\r
515              -109,             -105,              -93,              -86,\r
516               -63,              -47,              -36,               -9,\r
517                 3,               14,               30,               46,\r
518                66,               82,               99,              112,\r
519              -114,             -109,              -99,              -89,\r
520               -81,              -69,              -39,              -16,\r
521                -3,               12,               28,               41,\r
522                56,               72,               93,              108,\r
523              -107,             -104,              -91,              -79,\r
524               -72,              -61,              -51,              -40,\r
525                -6,                5,               20,               38,\r
526                61,               78,               97,              111,\r
527              -102,              -98,              -81,              -72,\r
528               -66,              -53,              -37,              -24,\r
529                -9,                3,               17,               31,\r
530                47,               62,               81,              102,\r
531              -111,             -108,              -87,              -75,\r
532               -66,              -53,              -40,              -29,\r
533               -17,               -7,                6,               16,\r
534                38,               68,               88,              108,\r
535              -108,             -105,              -92,              -70,\r
536               -56,              -47,              -33,              -21,\r
537                -7,                5,               19,               30,\r
538                42,               53,               65,              102,\r
539              -102,              -99,              -88,              -78,\r
540               -73,              -59,              -32,              -22,\r
541                -4,               10,               23,               46,\r
542                66,               80,               95,              107,\r
543              -106,             -103,              -92,              -85,\r
544               -82,              -62,              -22,              -11,\r
545                 2,               18,               33,               46,\r
546                63,               77,               93,              106,\r
547              -113,             -104,              -81,              -64,\r
548               -47,              -30,              -13,                0,\r
549                15,               28,               41,               54,\r
550                68,               82,               97,              111,\r
551               -99,              -91,              -71,              -58,\r
552               -48,              -38,              -24,              -14,\r
553                 0,               13,               28,               40,\r
554                58,               74,               92,              105,\r
555               -98,              -94,              -83,              -74,\r
556               -71,              -60,              -28,               -9,\r
557                 3,               15,               35,               47,\r
558                61,               78,               96,              108,\r
559               -98,              -96,              -89,              -82,\r
560               -68,              -63,              -42,              -16,\r
561                 1,               14,               31,               46,\r
562                64,               81,               96,              110,\r
563               -98,              -94,              -88,              -81,\r
564               -77,              -51,              -30,              -16,\r
565                 1,               19,               34,               49,\r
566                64,               79,               96,              112,\r
567                -2,               -2,               -4,               -9,\r
568                 3,                3,                2,                2,\r
569                 1,                0,                0,                1,\r
570                 1,                1,                1,                1,\r
571                 1,                0,                0,                6,\r
572                 4,                4,                2,                2,\r
573                 1,                1,                3,                4,\r
574                 4,                4,                3,                2,\r
575                -4,               -4,               -7,                2,\r
576                 1,                0,               -1,               -1,\r
577                -2,               -2,               -1,               -1,\r
578                 0,                0,                1,                1,\r
579                 2,                2,                2,                1,\r
580                 0,               -1,               -2,               -3,\r
581                -4,               -5,               -5,               -6,\r
582                -8,               -9,               -6,               -1,\r
583                -1,                0,                0,                0,\r
584                 1,                1,                2,                0,\r
585                -1,               -1,               -2,               -1,\r
586                -2,               -3,               -8,              -10,\r
587                 0,                0,                0,               -1,\r
588                -3,               -6,               -9,                4,\r
589                 1,               -1,                0,               -1,\r
590                -2,               -1,                0,                0,\r
591                 0,                0,                5,                3,\r
592                 1,                1,                0,               -1,\r
593                -2,               -4,               -7,              -10,\r
594                -4,                2,                1,                1,\r
595                -3,               -3,                0,                3,\r
596                 2,                6,                7,                6,\r
597                 6,                5,                3,                2,\r
598                 0,               -2,               -2,               -3,\r
599                 0,                0,                0,               -2,\r
600                -3,               -3,               -3,               -4,\r
601                -6,               -8,               -6,                4,\r
602                 4,                3,                2,                2,\r
603                -1,               -1,               -2,               -2,\r
604                -4,               -6,                6,                3,\r
605                 2,                3,                1,                0,\r
606                 1,                3,                3,                2,\r
607                 7,                7,                3,               -1,\r
608                 3,               -2,                0,                3,\r
609                 0,               -1,                4,                3,\r
610                 2,                0,               -1,               -1,\r
611                -1,                0,               -1,               -2,\r
612                -3,               -5,               -5,               -7,\r
613               -10,                5,                4,                2,\r
614                 2,                2,                1,                1,\r
615                 0,               -1,                0,                1,\r
616                -1,               -2,               -5,               -8,\r
617                 5,                4,                0,               -2,\r
618                -3,               -2,               -3,               -1,\r
619                 1,                1,                3,                1,\r
620                -1,                0,                1,               -1,\r
621                 7,                7,                7,                7,\r
622                 6,                4,                2,                1,\r
623                 1,                1,                3,                2,\r
624                 1,                2,                0,                1,\r
625                 1,               -1,                0,               -1,\r
626                -4,               -6,                7,                6,\r
627                 5,                4,                2,               -2,\r
628                -4,                7,                4,                2,\r
629                 4,                2,                2,                1,\r
630                 4,                3,                1,                1,\r
631                 0,                0,               -2,               -3,\r
632                 6,                3,                2,                0,\r
633                -1,                1,                0,               -1,\r
634                -1,               -1,               -1,                0,\r
635                -1,               -1,               -1,               -1,\r
636                -1,               -2,               -3,               -2,\r
637                -3,               -4,               -5,               -5,\r
638                -4,               -1,               -1,                0,\r
639                -1,               -1,                6,                7,\r
640                 4,                3,                1,                2,\r
641                 2,                1,               -1,               -1,\r
642                -1,               -1,                0,                0,\r
643                 4,                4,                2,                1,\r
644                -1,               -2,               -1,               -2,\r
645                -1,                0,                1,                0,\r
646                 2,                4,                4,                2,\r
647                 1,                1,                0,               -1,\r
648                -3,               -5,                3,                1,\r
649                 1,                3,                1,               -1,\r
650                -2,               -4,               -3,               -1,\r
651                -3,               -2,               -4,               -1,\r
652                -2,               -2,               -2,                0,\r
653                 3,                2,                1,                2,\r
654                 3,                4,                4,                2,\r
655                 0,                0,               -1,               -2,\r
656                -4,                6,                4,                3,\r
657                 2,                1,                0,                2,\r
658                 2,                1,                0,               -1,\r
659                 0,               -1,                1,                0,\r
660                -2,               -2,               -4,               -1,\r
661                -2,               -3,                6,                5,\r
662                 3,                0,               -2,               -1,\r
663                -1,               -1,               -4,                3,\r
664                 3,                1,                1,                0,\r
665                 0,                1,               -1,               -2,\r
666                -3,                0,                0,                0,\r
667                -1,               -1,                0,               -1,\r
668                 0,               -1,                0,                3,\r
669                 0,                5,                4,                3,\r
670                 2,                1,                0,               -1,\r
671                 0,                1,               -1,               -1,\r
672                -2,               -3,               -4,               -5,\r
673                 3,                0,                0,                0,\r
674                -1,               -1,                0,                1,\r
675                -1,               -1,                0,               -1,\r
676                -2,                3,                2,                3,\r
677                 2,                1,                0,               -1,\r
678                -3,               -4,               -2,                1,\r
679                -2,               -3,                3,                1,\r
680                 0,               -1,               -1,                0,\r
681                -2,               -2,               -3,                1,\r
682                 0,                0,                0,                1,\r
683                 1,                1,                1,                0,\r
684                 1,                1,                0,               -1,\r
685                -4,               -5,                5,                3,\r
686                 1,                1,                1,                0,\r
687                 3,                5,                2,                0,\r
688                 0,                1,                2,                1,\r
689                 1,                0,               -2,                0,\r
690                -1,                0,                0,               -1,\r
691                 0,                0,                0,               -1,\r
692                -2,               -1,                0,                0,\r
693                -1,               -1,               -4,               -5,\r
694                 6,                5,                2,                0,\r
695                -1,                0,               -2,               -4,\r
696                -3,                0,               -1,               -1,\r
697                -2,                1,                0,               -1,\r
698                -1,                0,                0,                0,\r
699                -1,                0,                1,                1,\r
700                 1,                2,                0,                0,\r
701                 0,                0,                2,                1,\r
702                 1,                0,               -3,               -6,\r
703                 1,                1,                1,                0,\r
704                 0,               -1,               -4,                4,\r
705                 2,                1,                1,                2,\r
706                 2,                1,                2,                1,\r
707                -1,               -1,               -3,                1,\r
708                 1,                0,               -1,               -3,\r
709                 0,               -1,               -3,                4,\r
710                 3,               -1,                0,               -1,\r
711                 0,               -1,                0,                0,\r
712                 0,               -3,                5,                2,\r
713                 1,                0,                0,                1,\r
714                 2,                0,                0,                0,\r
715                 1,                1,                1,                1,\r
716                 1,                1,                2,                0,\r
717                 2,                2,                0,               -2,\r
718                -4,               -2,                4,                3,\r
719                 1,                1,                1,                1,\r
720                 0,                0,                0,               -1,\r
721                -1,               -1,               -1,               -2,\r
722                 0,               -3,               -6,                2,\r
723                -1,               -1,                2,                1,\r
724                 1,                1,                0,               -1,\r
725                -2,               -2,                0,               -2,\r
726                -3,                5,                2,                1,\r
727                 0,                1,                1,                0,\r
728                 0,                1,                1,                0,\r
729                -1,               -3,               -2,                0,\r
730                -2,               -3,                1,               -1,\r
731                 1,                0,                1,                0,\r
732                 0,                2,                0,               -1,\r
733                 3,                0,                0,               -2,\r
734                 2,                3,                2,                2,\r
735                 1,                1,                1,                0,\r
736                 0,                0,                0,               -1,\r
737                -3,                4,                3,                1,\r
738                -2,               -1,               -1,                1,\r
739                 1,                1,                0,                0,\r
740                -1,               -1,                0,               -1,\r
741                 0,               -2,               -2,                4,\r
742                 2,                1,               -2,               -1,\r
743                -1,               -1,               -2,                0,\r
744                 0,               -1,                0,                1,\r
745                 0,               -3,                2,                1,\r
746                -1,               -1,                2,                3,\r
747                 0,                0,                0,                0,\r
748                -1,                0,               -3,                4,\r
749                 3,                1,               -1,               -2,\r
750                 0,               -1,               -2,               -1,\r
751                -1,                0,               -1,                1,\r
752                 1,                0,                0,               -2,\r
753                -4,                2,                0,               -2,\r
754                 3,                1,                1,                0,\r
755                -2,               -1,                0,                0,\r
756                 0,               -2,                2,               -1,\r
757                 2,                0,                0,               -1,\r
758                -3,                1,               -2,               -2,\r
759                 0,                0,               -1,               -3,\r
760                 3,                1,                0,                0,\r
761                -1,               -1,               -1,               -1,\r
762                 0,                1,               -1,               -1,\r
763                 0,               -1,                0,                0,\r
764                 2,                0,                1,                0,\r
765                 1,                1,                2,                1,\r
766                 0,               -4,                0,                0,\r
767                 0,                0,                1,                0,\r
768                -1,                0,               -1,               -3,\r
769                 3,                2,               -1,                0,\r
770                 0,                1,                0,               -1,\r
771                 0,                0,                0,                2,\r
772                 1,                1,                1,                1,\r
773                 0,                0,               -1,                2,\r
774                 2,                1,               -2,                3,\r
775                 0,                1,                0,                0,\r
776                -1,                0,               -1,                1,\r
777                 0,               -2,                2,                0,\r
778                -3,                2,                1,               -2,\r
779                 0,               -1,                0,                0,\r
780                -3,                3,                1,                0,\r
781                -1,               -1,               -1,               -1,\r
782                 1,               -1,                1,                0,\r
783                 1,                2,                0,                0,\r
784                -1,               -3,                2,                0,\r
785                -2,                1,                0,               -1,\r
786                 1,                0,                0,               -1,\r
787                -1,               -1,                0,                0,\r
788                -1,               -3,               -3,                2,\r
789                 0,               -1,                0,               -1,\r
790                 1,                0,                0,                2,\r
791                 1,                0,                1,                0,\r
792                 0,               -1,               -2,               -1,\r
793                -2,                1,                0,               -1,\r
794                -2,               -1,                1,               -1,\r
795                 1,                0,                0,                0,\r
796                 1,                1,                1,                0,\r
797                 1,                1,                1,                0,\r
798                 1,                2,                0,               -1,\r
799                 0,               -1,                0,                0,\r
800                 0,                1,                0,                1,\r
801                 0,                0,               -2,                2,\r
802                -1,                2,                1,                0,\r
803                 0,               -1,               -3,                0,\r
804                 0,                0,                1,                1,\r
805                 0,               -1,               -1,               -2,\r
806                 0,                0,               -1,               -1,\r
807                 1,                1,                0,                0,\r
808                -1,                0,                1,               -1,\r
809                 1,                0,               -1,                1,\r
810                -1,               -2,                0,                2,\r
811                 0,               -1,                2,                0,\r
812                 0,                0,                0,                0,\r
813                -1,               -1,                1,               -1,\r
814                 2,               -1,                2,                1,\r
815                 0,               -1,                0,                0,\r
816                -1,                0,               -1,                0,\r
817                 0,               -1,                2,                1,\r
818                 0,                0,               -3,                0,\r
819                -3,                3,                0,                0,\r
820                 0,                0,                0,                0,\r
821                 0,                0,                0,                0,\r
822                 0,                0,                0,                0,\r
823                 0,                0,               -1,                3,\r
824                 1,               -1,                0,                0,\r
825                 0,                0,                1,                0,\r
826                 0,               -1,                0,               -1,\r
827                -1,                0,                0,               -2,\r
828                 1,               -2,                0,                0,\r
829                 0,                0,               -1,                0,\r
830                -1,                0,                2,                1,\r
831                 0,                0,               -2,                0,\r
832                 0,                2,                0,                0,\r
833                 0,                1,                1,                0,\r
834                -1,                1,                0,                1,\r
835                -1,               -1,                0,                0,\r
836                 0,                0,               -1,                0,\r
837                 2,                0,               -1,                1,\r
838                 1,               -1,               -2,                0,\r
839                 1,                2,                0,                0,\r
840                 0,                0,               -1,                0,\r
841                -1,               -1,               -1,                0,\r
842                 2,                0,                0,               -1,\r
843                 0,                0,                0,                0,\r
844                -2,                0,                1,                0,\r
845                 1,                1,                1,                0,\r
846                 1,                1,                2,               -1,\r
847                 0,               -1,                0,                0,\r
848                 0,                0,                1,               -2,\r
849                -2,               -1,                1,                0,\r
850                -1,                0,               -1,                0,\r
851                 0,                0,                2,                0,\r
852                 0,               -1,                1,                2,\r
853                 0,               -1,                0,               -1,\r
854                -1,                1,               -1,                1,\r
855                 0,                0,                1,                0,\r
856                 0,                0,                1,                0,\r
857                 0,                2,               -2,               -1,\r
858                 1,               -1,               -1,                0,\r
859                 1,                0,               -3,                0,\r
860                 0,                0,                0,               -1,\r
861                 0,                1,                0,                1,\r
862                 1,                0,                0,                0,\r
863                -1,               -1,                0,                0,\r
864                 1,                0,               -1,                1,\r
865                 0,               -1,                0,                0,\r
866                 0,                0,                1,               -2,\r
867                 0,               -1,                0,                0,\r
868                 1,                0,               -1,               -1,\r
869                 1,               -2,               -1,                0,\r
870                -1,                0,                0,                1,\r
871                 1,               -1,                1,               -2,\r
872                 0,                1,                0,                1,\r
873                 0,                0,                0,                0,\r
874                 0,               -1,                0,                0,\r
875                 1,                2,                0,                0,\r
876                 0,                0,                0,                1,\r
877                 1,                0,                0,                1,\r
878                 0,                0,                0,               -1,\r
879                 1,                0,                0,                0,\r
880                 0,                0,                1,                0,\r
881                -1,                0,                0,                0,\r
882                 0,                1,                3,                1,\r
883                 1,                0,                1,                1,\r
884                 0,                2,               -1,                0,\r
885                 0,                0,                1,                0,\r
886                 0,                0,                0,                0,\r
887                 0,                1,                0,                0,\r
888                 0,               -1,                0,               -1,\r
889                 1,               -1,                2,               -2,\r
890                 1,               -1,                0,                0,\r
891                 0,                0,                0,                0,\r
892                 0,                0,                0,                2,\r
893                -2,                0,                0,                1,\r
894                 1,                0,               -1,                0,\r
895                -2,                1,                1,                0,\r
896                 0,                0,               -1,               -1,\r
897                 0,                0,                0,                1,\r
898                 0,                0,                0,                1,\r
899                 1,                0,                0,                0,\r
900                -2,                0,               -1,                0,\r
901                 0,                0,               -1,               -1,\r
902                 0,                2,               -1,                0,\r
903                -1,                1,                0,                0,\r
904                 0,                1,                2,               -1,\r
905                 0,               -1,                0,                1,\r
906                 0,                0,                0,                0,\r
907                 0,               -1,                1,                0,\r
908                 0,               -3,                0,                0,\r
909                 0,                0,                1,                1,\r
910                -1,                0,                0,                0,\r
911                -1,               -1,                0,                0,\r
912                 0,                0,                1,                0,\r
913                 0,                1,                1,               -1,\r
914                -1,                0,                0,                1,\r
915                -1,                0,               -1,                1,\r
916                -2,               -1,               -1,                0,\r
917                 0,                1,                0,                0,\r
918                 0,               -1,                0,                0\r
919 };\r
920 \r
921 const SKP_Silk_NLSF_CBS SKP_Silk_NLSF_CB0_16_Stage_info[ NLSF_MSVQ_CB0_16_STAGES ] =\r
922 {\r
923         {  64, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *   0 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[   0 ] },\r
924         {  16, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  64 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  64 ] },\r
925         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  80 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  80 ] },\r
926         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  88 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  88 ] },\r
927         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  96 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  96 ] },\r
928         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 104 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 104 ] },\r
929         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 112 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 112 ] },\r
930         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 120 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 120 ] },\r
931         {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 128 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 128 ] },\r
932         {  16, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 136 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 136 ] }\r
933 };\r
934 \r
935 const SKP_Silk_NLSF_CB_struct SKP_Silk_NLSF_CB0_16 =\r
936 {\r
937         NLSF_MSVQ_CB0_16_STAGES,\r
938         SKP_Silk_NLSF_CB0_16_Stage_info,\r
939         SKP_Silk_NLSF_MSVQ_CB0_16_ndelta_min_Q15,\r
940         SKP_Silk_NLSF_MSVQ_CB0_16_CDF_start_ptr\r
941 };\r
942 \r