shithub: opus

ref: d513d743fb5d9802e2d39d74a13f5628c1553059
dir: /src_common/SKP_Silk_tables_NLSF_CB0_16.c/

View raw version
/***********************************************************************
Copyright (c) 2006-2010, Skype Limited. All rights reserved. 
Redistribution and use in source and binary forms, with or without 
modification, (subject to the limitations in the disclaimer below) 
are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright 
notice, this list of conditions and the following disclaimer in the 
documentation and/or other materials provided with the distribution.
- Neither the name of Skype Limited, nor the names of specific 
contributors, may be used to endorse or promote products derived from 
this software without specific prior written permission.
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED 
BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
***********************************************************************/

/**********************************************/
/* This file has been automatically generated */
/*                                            */
/* ROM usage:  0.38 + 2.62 kB                 */
/**********************************************/

#include "SKP_Silk_structs.h"
#include "SKP_Silk_tables.h"
#include "SKP_Silk_tables_NLSF_CB0_16.h"

const SKP_uint16 SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ NLSF_MSVQ_CB0_16_VECTORS + NLSF_MSVQ_CB0_16_STAGES ] =
{
            0,
         2661,
         5102,
         7439,
         9404,
        11130,
        12855,
        14508,
        15959,
        17349,
        18738,
        20128,
        21458,
        22679,
        23847,
        25016,
        26184,
        27303,
        28422,
        29541,
        30660,
        31731,
        32803,
        33874,
        34901,
        35927,
        36953,
        37979,
        38961,
        39944,
        40885,
        41826,
        42767,
        43708,
        44609,
        45510,
        46411,
        47274,
        48136,
        48999,
        49862,
        50725,
        51551,
        52377,
        53204,
        53995,
        54786,
        55544,
        56269,
        56995,
        57690,
        58355,
        58992,
        59629,
        60266,
        60904,
        61514,
        62124,
        62708,
        63292,
        63828,
        64364,
        64834,
        65230,
        65535,
            0,
         5542,
        10849,
        16156,
        21023,
        25683,
        29957,
        33876,
        37795,
        41547,
        45300,
        48894,
        52487,
        55928,
        59224,
        62379,
        65535,
            0,
        10647,
        19220,
        27793,
        36003,
        44213,
        51422,
        58631,
        65535,
            0,
         8897,
        17795,
        26315,
        34835,
        42993,
        51152,
        58965,
        65535,
            0,
         9726,
        19453,
        27632,
        35811,
        43643,
        51475,
        58657,
        65535,
            0,
         9306,
        18611,
        27522,
        36433,
        44258,
        52084,
        58955,
        65535,
            0,
         9344,
        17912,
        26481,
        35049,
        43254,
        51111,
        58635,
        65535,
            0,
         8946,
        17891,
        26837,
        35403,
        43606,
        51128,
        58332,
        65535,
            0,
         8919,
        17460,
        25638,
        33817,
        41996,
        50174,
        58353,
        65535,
            0,
         4876,
         9752,
        14421,
        18893,
        23175,
        27456,
        31738,
        35839,
        39939,
        43865,
        47792,
        51552,
        55312,
        59072,
        62373,
        65535
};

const SKP_uint16 * const SKP_Silk_NLSF_MSVQ_CB0_16_CDF_start_ptr[ NLSF_MSVQ_CB0_16_STAGES ] =
{
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[   0 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  65 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  82 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[  91 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 100 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 109 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 118 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 127 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 136 ],
     &SKP_Silk_NLSF_MSVQ_CB0_16_CDF[ 145 ]
};

const SKP_int SKP_Silk_NLSF_MSVQ_CB0_16_CDF_middle_idx[ NLSF_MSVQ_CB0_16_STAGES ] =
{
      23,
       8,
       5,
       5,
       5,
       5,
       5,
       5,
       5,
       8
};

const SKP_uint8 SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ NLSF_MSVQ_CB0_16_VECTORS ] =
{
               74,               76,
               77,               81,
               84,               84,
               85,               88,
               89,               89,
               89,               90,
               92,               93,
               93,               93,
               94,               94,
               94,               94,
               95,               95,
               95,               96,
               96,               96,
               96,               97,
               97,               98,
               98,               98,
               98,               99,
               99,               99,
              100,              100,
              100,              100,
              100,              101,
              101,              101,
              102,              102,
              103,              104,
              104,              105,
              106,              107,
              107,              107,
              107,              108,
              108,              109,
              109,              111,
              111,              114,
              118,              124,
               57,               58,
               58,               60,
               61,               63,
               65,               65,
               66,               66,
               67,               67,
               68,               69,
               70,               70,
               42,               47,
               47,               48,
               48,               51,
               51,               52,
               46,               46,
               47,               47,
               48,               48,
               49,               53,
               44,               44,
               48,               48,
               49,               49,
               51,               52,
               45,               45,
               46,               46,
               49,               49,
               52,               53,
               45,               47,
               47,               47,
               48,               49,
               50,               52,
               46,               46,
               46,               47,
               48,               50,
               51,               51,
               46,               47,
               48,               48,
               48,               48,
               48,               51,
               60,               60,
               61,               62,
               63,               63,
               63,               64,
               64,               65,
               65,               66,
               66,               66,
               69,               70
};

const SKP_int SKP_Silk_NLSF_MSVQ_CB0_16_ndelta_min_Q15[ 16 + 1 ] =
{
              236,
                4,
               75,
                3,
                3,
                5,
              115,
               95,
              113,
              138,
              176,
              169,
              249,
              256,
              271,
              263,
              630
};

const SKP_int8 SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * NLSF_MSVQ_CB0_16_VECTORS ] =
{
             -117,             -106,              -94,              -81,
              -65,              -52,              -37,              -22,
               -5,               11,               27,               42,
               59,               75,               91,              106,
             -120,             -116,             -100,              -84,
              -67,              -49,              -32,              -16,
                0,               15,               30,               46,
               62,               77,               94,              109,
             -121,             -116,             -102,              -85,
              -71,              -58,              -39,              -24,
               -5,               10,               29,               45,
               61,               77,               92,              107,
             -120,             -116,              -94,              -83,
              -69,              -57,              -46,              -25,
               -7,               10,               27,               42,
               58,               75,               91,              107,
             -114,             -109,              -94,              -79,
              -66,              -52,              -35,              -18,
               -4,                9,               26,               40,
               53,               65,               81,               92,
             -114,             -108,              -96,              -74,
              -62,              -50,              -34,              -18,
                0,               18,               33,               47,
               61,               77,               94,              107,
             -116,             -109,              -99,              -84,
              -71,              -60,              -44,              -30,
               -9,                5,               18,               33,
               52,               70,               88,              106,
             -119,             -114,              -99,              -89,
              -71,              -60,              -50,              -37,
               -4,               12,               28,               46,
               60,               77,               91,              106,
             -113,             -109,              -87,              -78,
              -67,              -52,              -40,              -19,
               -8,               12,               29,               43,
               58,               75,               94,              113,
             -119,             -114,              -88,              -77,
              -63,              -49,              -36,              -23,
                1,               17,               33,               51,
               68,               81,               97,              109,
             -119,             -114,             -101,              -88,
              -71,              -57,              -42,              -16,
               -1,               11,               24,               38,
               54,               69,               90,              110,
             -116,             -103,              -86,              -73,
              -57,              -43,              -27,              -13,
                2,               16,               31,               45,
               61,               76,               92,              108,
             -116,             -112,             -100,              -77,
              -68,              -51,              -41,              -22,
              -11,                0,               16,               37,
               56,               72,               88,              104,
             -118,             -113,              -96,              -84,
              -69,              -55,              -42,              -30,
              -12,               17,               33,               51,
               70,               83,               98,              110,
             -109,             -104,              -92,              -80,
              -67,              -56,              -41,              -28,
              -13,                0,               14,               28,
               43,               60,               85,              104,
             -112,             -107,              -95,              -82,
              -71,              -57,              -45,              -26,
              -11,                1,               27,               41,
               53,               66,               84,              104,
             -115,             -111,              -99,              -92,
              -63,              -52,              -39,              -24,
              -13,                5,               27,               42,
               60,               78,               93,              109,
             -112,             -108,              -96,              -89,
              -77,              -51,              -41,              -22,
              -11,               13,               31,               44,
               57,               72,               87,              105,
             -111,             -107,              -95,              -87,
              -77,              -49,              -38,              -24,
              -10,                0,               15,               30,
               54,               75,               93,              107,
             -107,             -103,              -93,              -74,
              -52,              -44,              -31,              -16,
               -3,               10,               33,               45,
               58,               71,               85,               98,
             -115,             -111,              -98,              -72,
              -60,              -49,              -35,              -24,
                1,               11,               25,               38,
               56,               81,               98,              112,
             -116,             -112,             -102,              -70,
              -59,              -49,              -36,              -25,
               -7,                5,               17,               30,
               48,               66,               87,              103,
             -113,             -109,              -94,              -86,
              -75,              -64,              -52,              -24,
              -14,                6,               23,               43,
               61,               77,               92,              108,
             -118,             -112,             -100,              -90,
              -65,              -53,              -39,              -22,
                6,               18,               32,               49,
               67,               81,               97,              109,
             -116,             -109,              -99,              -80,
              -69,              -55,              -41,              -27,
              -11,                3,               23,               40,
               61,               80,              101,              113,
             -110,             -106,              -92,              -84,
              -73,              -42,              -31,              -17,
               -1,               10,               26,               37,
               51,               76,               99,              113,
             -116,             -110,              -93,              -75,
              -57,              -41,              -21,               -6,
               10,               25,               40,               54,
               68,               82,               96,              110,
             -116,             -111,             -100,              -92,
              -81,              -46,              -32,              -19,
               -5,                7,               25,               42,
               58,               74,               92,              107,
             -112,             -109,              -86,              -78,
              -68,              -56,              -45,              -22,
              -13,               -1,               13,               32,
               58,               78,               91,              107,
             -108,             -104,              -89,              -76,
              -66,              -52,              -38,              -26,
               -7,                4,               18,               30,
               43,               74,               98,              112,
             -114,             -110,              -82,              -72,
              -61,              -50,              -37,              -20,
              -11,                1,               17,               46,
               62,               78,               93,              112,
             -112,             -108,              -99,              -77,
              -66,              -58,              -33,              -22,
              -11,               13,               25,               35,
               47,               64,               87,              108,
             -113,             -109,              -96,              -70,
              -59,              -49,              -35,              -24,
               -6,                7,               19,               34,
               65,               79,               94,              106,
             -115,             -111,              -96,              -85,
              -72,              -59,              -47,              -33,
              -20,               -8,                8,               35,
               56,               74,               92,              110,
             -111,             -108,              -92,              -65,
              -54,              -45,              -31,              -20,
               -2,               11,               23,               34,
               47,               63,               96,              114,
             -113,             -108,              -98,              -87,
              -79,              -68,              -32,              -19,
               -5,               12,               25,               41,
               60,               77,               96,              109,
             -115,             -109,              -96,              -82,
              -58,              -48,              -34,              -17,
               -4,                9,               36,               50,
               65,               79,               97,              109,
             -115,             -110,             -100,              -88,
              -56,              -45,              -34,              -21,
               -7,                7,               24,               37,
               50,               64,               86,              107,
             -104,              -98,              -88,              -77,
              -60,              -51,              -37,              -18,
               -3,                8,               25,               40,
               53,               68,               91,              107,
             -118,             -113,              -97,              -85,
              -74,              -62,              -51,              -40,
              -25,                4,               24,               40,
               57,               75,               92,              109,
             -107,             -103,              -92,              -83,
              -74,              -62,              -28,              -18,
               -4,                9,               22,               34,
               50,               67,               87,              107,
             -116,             -112,              -75,              -67,
              -56,              -45,              -31,              -16,
               -5,               10,               30,               45,
               63,               79,               96,              111,
             -106,             -102,              -88,              -77,
              -68,              -52,              -38,              -25,
               -4,                7,               23,               36,
               66,               84,               98,              111,
             -103,              -99,              -87,              -76,
              -66,              -56,              -29,              -13,
                0,               14,               31,               42,
               57,               71,               85,               96,
             -114,             -111,              -91,              -58,
              -47,              -38,              -26,              -14,
                3,               13,               26,               40,
               62,               80,               96,              110,
             -114,             -110,              -90,              -83,
              -72,              -64,              -36,              -24,
              -13,                6,               28,               49,
               66,               81,               97,              112,
             -109,             -105,              -91,              -82,
              -71,              -51,              -38,              -24,
              -10,                1,               20,               49,
               64,               78,               91,              106,
             -111,             -107,              -90,              -82,
              -70,              -60,              -49,              -12,
                0,               11,               25,               37,
               60,               82,              101,              114,
             -111,             -107,              -93,              -72,
              -42,              -30,              -20,               -8,
                4,               16,               34,               46,
               58,               70,               85,               98,
             -112,             -109,              -80,              -65,
              -56,              -44,              -33,              -17,
               -3,                8,               20,               31,
               49,               79,               98,              112,
             -104,              -98,              -84,              -72,
              -59,              -45,              -31,              -18,
               -1,               12,               31,               47,
               64,               81,               98,              110,
             -110,             -106,              -92,              -79,
              -70,              -59,              -49,              -39,
               -1,               11,               22,               35,
               52,               69,               89,              109,
             -113,             -109,             -101,              -95,
              -56,              -44,              -29,              -16,
               -2,               18,               33,               48,
               63,               78,               95,              110,
             -109,             -106,              -94,              -87,
              -74,              -41,              -29,              -14,
                1,               13,               28,               47,
               69,               84,               99,              111,
             -115,             -110,             -101,              -84,
              -50,              -32,              -22,              -11,
                1,               13,               30,               45,
               58,               72,               89,              107,
             -106,             -102,              -89,              -75,
              -64,              -55,              -44,              -34,
              -13,               16,               32,               43,
               59,               73,               86,              100,
             -111,             -107,              -94,              -70,
              -55,              -46,              -33,              -21,
               -7,                5,               19,               31,
               43,               55,               70,              103,
             -102,              -97,              -80,              -71,
              -60,              -49,              -36,              -24,
               -8,                4,               19,               32,
               48,               63,               79,              100,
             -113,             -109,              -90,              -76,
              -66,              -53,              -41,              -29,
              -16,               -7,                5,               15,
               42,               69,               89,              108,
             -108,             -105,              -93,              -85,
              -76,              -62,              -23,               -8,
                4,               18,               33,               45,
               60,               74,               90,              105,
             -114,             -110,              -89,              -61,
              -52,              -42,              -30,              -18,
               -4,               13,               26,               39,
               53,               67,               81,               96,
              -99,              -95,              -86,              -77,
              -69,              -60,              -32,              -15,
               -2,               15,               35,               47,
               64,               80,               96,              110,
             -115,             -105,              -80,              -61,
              -43,              -27,              -14,               -1,
               13,               26,               40,               53,
               67,               80,               95,              110,
             -100,              -91,              -72,              -59,
              -48,              -38,              -25,              -13,
                1,               15,               28,               39,
               58,               75,               91,              105,
                0,                0,                0,               -1,
               -2,               -2,               -2,               -4,
               -5,               -5,               -7,               -8,
               -5,               -2,                0,                1,
               -1,               -1,               -3,               -6,
               -8,               -2,               -1,               -2,
                1,                2,                3,                4,
                3,                3,                2,                1,
               -3,               -3,               -6,                4,
                2,                1,               -1,               -2,
                0,                0,               -1,                1,
                0,                1,                0,                0,
               -2,               -2,                9,                7,
                4,                3,                1,                1,
                0,                0,               -2,               -1,
               -2,               -2,                0,               -1,
               -2,               -2,               -1,               -2,
               -2,                1,                0,                0,
               -1,               -2,               -3,               -1,
               -3,               -2,               -5,               -6,
               -1,               -1,               -4,               -8,
                3,                2,                1,                3,
                1,                1,               -1,                1,
                2,                3,                3,                1,
                0,                0,               -2,               -4,
               -5,               -7,               -9,                4,
                2,                0,                1,                0,
               -2,               -1,                0,                0,
               -3,               -3,               -1,                9,
                7,                6,                5,                4,
                3,                3,                4,                4,
                3,                3,                2,                1,
                8,                8,                6,                3,
                2,                0,                2,               -1,
                0,                1,                1,                0,
               -1,                0,                1,                0,
                2,                2,                3,                1,
                1,                1,                0,                6,
                6,                6,                7,                6,
                4,                3,                2,                0,
                1,                1,                0,               -1,
               -3,               -4,               -7,              -10,
                0,                0,               -1,                2,
                3,                2,                3,                2,
               -1,                0,               -1,               -2,
               -4,               -5,                8,                5,
                3,                3,                1,               -1,
               -3,               -3,               -1,                0,
                2,                2,                2,                2,
                1,                1,                0,                0,
                0,                0,               -2,               -3,
               -6,              -10,              -10,               -1,
                1,                1,                1,               -1,
               -1,               -2,               -3,               -5,
               -8,               -9,                4,                3,
                1,                1,                0,                1,
                0,                0,               -2,               -3,
               10,                9,                7,                4,
                2,                2,                1,                0,
               -1,               -3,               -3,               -2,
                2,                2,                2,                1,
                0,                1,                1,                0,
               -1,                0,               -2,               -4,
                9,                7,                4,                1,
               -1,               -1,               -2,               -2,
               -3,               -3,               -3,               -1,
               -2,               -4,               -3,               -2,
                0,               -1,                0,                1,
                0,                0,                3,                4,
                3,                2,                1,                1,
                0,               -2,               -3,               -5,
               -6,               -2,               -1,                0,
               -2,               -2,               -4,               -4,
                4,                2,                1,                1,
                0,                0,                0,                0,
                0,                1,                0,                0,
                1,                1,                0,               -2,
               -4,                5,                4,                3,
                4,                1,                0,                0,
                0,               -1,                0,                0,
                3,                3,                2,                1,
                0,               -1,               -1,                0,
               -1,               -3,                0,                3,
                3,                3,                3,                3,
                0,                0,                1,                0,
                0,               -3,               -3,               -5,
               -7,                5,                3,                1,
                0,                0,                0,                0,
                1,                1,                1,                2,
                1,                0,                1,                2,
                1,                0,                3,                3,
                1,               -2,               -6,               -7,
               -1,               -1,                1,                1,
                0,               -1,               -1,               -1,
                7,                5,                3,                2,
                3,                2,                3,                2,
               -2,               -2,               -2,                0,
               -1,                0,               -2,                5,
                2,                2,                2,                0,
                0,                0,               -1,               -1,
                0,                0,               -1,               -2,
               -3,               -5,                4,                1,
                1,                1,               -2,               -1,
                0,                2,                1,                0,
                2,                2,                0,               -3,
                3,                2,                1,                1,
               -1,               -1,               -1,               -2,
               -1,                0,               -2,               -2,
               -1,               -1,                1,                3,
                2,                2,                0,               -1,
               -2,               -2,               -4,               -2,
                2,                2,                2,                1,
               -1,               -1,               -1,               -2,
               -2,               -1,               -2,               -2,
               -3,               -4,                4,                3,
                2,                2,               -1,                0,
                1,                1,                1,                0,
               -1,               -1,               -3,               -6,
                4,                2,                0,               -1,
               -1,               -1,               -1,               -1,
                0,                0,                3,                3,
                2,                2,                3,                1,
               -1,                4,                3,                3,
                1,                0,               -1,                1,
                1,                1,                1,                1,
                0,                0,               -1,                0,
               -1,               -2,               -1,               -1,
               -4,               -6,                4,                2,
                0,               -1,               -4,                3,
                2,                0,                1,               -1,
                0,                1,                0,               -2,
               -2,               -1,               -1,               -1,
               -1,               -1,               -1,               -2,
               -3,                3,                0,                0,
               -1,               -1,               -1,               -2,
               -1,               -1,                0,                1,
                1,                0,                1,                0,
               -1,               -2,               -4,                4,
                2,                0,                0,               -1,
                1,                1,                1,                1,
                1,                1,                0,               -2,
               -2,               -3,                2,                0,
                0,                2,                2,                1,
                0,               -3,               -2,                1,
                0,                0,               -1,                0,
                1,                2,                1,                0,
                2,                1,                3,                4,
                3,                1,                1,               -1,
               -2,               -2,                4,                1,
                1,                0,                1,               -1,
               -2,               -1,                0,               -1,
                0,               -1,                0,                0,
                1,                1,                1,                0,
                1,                1,                0,                0,
                0,                0,                1,               -2,
               -4,                5,                4,                2,
                1,                2,                0,                0,
                1,                0,                0,               -3,
               -1,               -2,               -5,                3,
                3,                0,               -1,               -2,
               -1,               -1,                0,               -1,
               -1,                0,                0,               -1,
                2,                2,                0,               -1,
               -3,               -2,               -1,               -2,
                0,                0,                1,                2,
                0,               -1,               -3,                1,
               -1,               -2,                2,                1,
               -1,               -2,               -1,               -1,
                0,                0,                1,                0,
               -1,                1,               -1,                2,
                1,                0,               -3,                3,
                1,                2,                2,                0,
                0,                0,               -2,                1,
                0,               -1,                0,                0,
               -2,                4,                2,                1,
                3,                1,                1,                0,
                0,                0,               -1,               -2,
                2,                1,                0,               -2,
               -1,                1,                0,                0,
               -1,               -1,                2,                2,
                1,                1,                1,                1,
                1,                1,                1,                1,
                2,                0,               -2,               -2,
                1,               -1,               -4,                2,
               -1,               -1,               -1,               -1,
               -1,               -1,                4,                1,
               -1,               -3,                1,                2,
                0,                0,                1,                1,
                1,                1,                0,                0,
                0,                0,               -1,               -2,
               -1,               -2,                0,               -4,
                2,                4,                0,               -2,
                1,                0,                0,               -1,
               -1,               -2,               -2,                1,
               -2,                1,                1,               -1,
               -2,               -1,               -1,                0,
                1,                1,                0,                1,
                0,                2,                1,                0,
                0,               -2,                1,                0,
               -2,                0,                1,               -2,
                0,               -1,                0,                1,
                0,                0,                1,               -1,
               -1,                0,               -3,                2,
               -1,               -2,                1,                1,
                0,               -1,                1,                0,
                1,                1,                0,                0,
                1,               -1,                2,                1,
                1,               -1,               -2,                3,
                0,               -1,                1,                0,
                0,               -1,                3,                1,
                1,                1,                0,                1,
                2,                2,               -1,               -3,
                0,               -1,               -3,                0,
                0,               -1,               -1,               -1,
                2,               -1,                0,                1,
                0,                2,                1,                1,
                0,                0,                0,               -1,
                1,                0,                0,                1,
                0,                0,               -1,               -3,
                3,                0,                2,                1,
               -3,                4,                1,                0,
                0,                0,                0,                0,
                0,                0,                0,                0,
                1,                0,                0,                0,
                0,                0,                0,               -1,
                0,               -1,               -1,                0,
                0,               -2,               -1,                1,
                0,               -1,               -2,               -1,
                0,                2,                0,                0,
                1,               -1,                0,                2,
                1,                0,               -1,                0,
               -2,                0,                0,                0,
               -1,               -1,                0,               -1,
                0,               -1,                0,                0,
               -1,                1,               -1,               -2,
                0,                2,               -2,                0,
                1,                0,                0,               -1,
               -2,                2,                0,                0,
                1,                2,                1,                1,
                0,                0,               -1,                0,
                0,                0,                2,                0,
                0,               -2,                0,               -2,
                1,                1,                0,                1,
                0,                1,                1,                1,
                0,                0,               -2,                1,
               -1,                1,                1,               -1,
                1,               -1,                0,               -2,
                0,               -1,                2,                2,
               -1,               -1,                1,                1,
                1,                1,                0,                1,
                0,                1,                0,                0,
                0,               -1,                2,               -3,
                1,                0,                0,                1,
                2,                0,                0,               -1,
               -2,               -2,                2,                0,
                0,                0,                0,                1,
                0,               -1,                0,                2,
                0,                1,               -1,               -1,
                1,                0,               -1,                0,
               -1,                1,               -1,                0,
               -1,                0,               -3,                0,
                0,                0,                0,                1,
               -1,                0,                0,                0,
                1,               -1,                0,                0,
                1,                0,                0,                0,
                0,               -1,                2,                2,
                1,                1,                1,                0,
               -1,                0,                1,                1,
                0,               -1,                0,                0,
               -2,                0,               -1,                0,
               -1,                0,                1,                0,
                0,                1,                2,                1,
                1,                0,                1,                0,
               -1,                1,                1,                0,
               -2,                0,               -1,               -1,
                1,               -1,               -1,               -1,
                0,                0,                0,               -2,
                2,                0,               -1,                0,
               -1,                1,                0,                1,
                0,                1,                0,               -1,
                1,                1,                0,                0,
               -1,               -1,               -1,               -1,
                1,                0,                0,                0,
                1,               -1,                0,                0,
               -2,                1,                1,                0,
                1,                0,                1,               -1,
                0,               -1,                0,                0,
                0,                0,                0,                0,
               -1,                0,                1,                2,
               -1,                0,                1,                1,
                0,               -1,                0,                0,
                1,                0,                0,               -1,
                1,                1,               -1,                0,
               -1,                0,                0,                0,
                0,               -1,                0,                1,
               -1,                1,               -1,                1,
                1,                1,                1,                1,
                0,                1,                0,                0,
                0,                2,                0,               -1,
                0,                0,                1,                1,
               -2,                1,                0,                1,
                0,                1,               -2,               -1,
               -1,                0,               -1,                0,
                0,                0,                0,                0,
               -2,               -1,                0,               -1,
                0,               -1,                0,                1,
                1,                1,               -1,                0,
                1,               -1,                0,                1,
                0,               -1,               -1,                0,
                0,                0,                0,               -1,
                0,                1,                1,                2,
               -2,                0,                0,                0,
                0,                0,                0,                0,
                0,                0,                0,                0,
                1,               -1,                2,               -2,
                0,                0,               -1,               -1,
                0,                0,                2,               -1,
                0,                1,               -1,                0,
                1,               -1,               -1,               -1,
               -1,                0,                0,                0,
                0,               -1,                0,                0,
                1,                2,                1,                1,
               -1,               -1,                0,                0,
               -1,                1,                0,                1,
                1,                0,                0,                0,
                0,                0,               -2,                1,
                0,                0,                1,                1,
                1,                1,                1,                1,
                1,                0,               -1,                0,
                2,                0,                0,                0,
                2,                0,               -1,                0,
                0,               -1,                0,               -1,
                1,                0,               -1,                0,
               -1,               -1,                0,                0,
                0,                1,               -2,                0,
                0,                0,                1,               -1,
                0,               -1,                0,                1,
                1,               -2,                0,                0,
               -1,               -1,               -1,               -1,
                0,                0,                0,                0,
                0,                0,               -1,               -1,
                0,                1,                2,               -2,
                0,                0,                0,                0,
                1,                1,                0,                0,
                0,               -1,                0,                0,
                0,                0,                0,               -2,
               -1,                0,                0,               -1,
                1,               -2,               -1,                0,
                0,                1,                0,               -1,
                0,                0,                1,                0,
               -1,                0,                1,                0,
                1,               -1,                1,                0
};

const SKP_Silk_NLSF_CBS SKP_Silk_NLSF_CB0_16_Stage_info[ NLSF_MSVQ_CB0_16_STAGES ] =
{
        {  64, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *   0 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[   0 ] },
        {  16, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  64 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  64 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  80 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  80 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  88 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  88 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 *  96 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[  96 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 104 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 104 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 112 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 112 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 120 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 120 ] },
        {   8, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 128 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 128 ] },
        {  16, &SKP_Silk_NLSF_MSVQ_CB0_16_Q8[ 16 * 136 ], &SKP_Silk_NLSF_MSVQ_CB0_16_rates_Q4[ 136 ] }
};

const SKP_Silk_NLSF_CB_struct SKP_Silk_NLSF_CB0_16 =
{
        NLSF_MSVQ_CB0_16_STAGES,
        SKP_Silk_NLSF_CB0_16_Stage_info,
        SKP_Silk_NLSF_MSVQ_CB0_16_ndelta_min_Q15,
        SKP_Silk_NLSF_MSVQ_CB0_16_CDF,
        SKP_Silk_NLSF_MSVQ_CB0_16_CDF_start_ptr,
        SKP_Silk_NLSF_MSVQ_CB0_16_CDF_middle_idx
};