Home | History | Annotate | Download | only in libspeex
      1 /* Copyright (C) 2002 Jean-Marc Valin
      2    File: exc_5_64_table.c
      3    Codebook for excitation in narrowband CELP mode (9600 bps)
      4 
      5    Redistribution and use in source and binary forms, with or without
      6    modification, are permitted provided that the following conditions
      7    are met:
      8 
      9    - Redistributions of source code must retain the above copyright
     10    notice, this list of conditions and the following disclaimer.
     11 
     12    - Redistributions in binary form must reproduce the above copyright
     13    notice, this list of conditions and the following disclaimer in the
     14    documentation and/or other materials provided with the distribution.
     15 
     16    - Neither the name of the Xiph.org Foundation nor the names of its
     17    contributors may be used to endorse or promote products derived from
     18    this software without specific prior written permission.
     19 
     20    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     21    ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     22    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     23    A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR
     24    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     25    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     26    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     27    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
     28    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
     29    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
     30    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     31 */
     32 
     33 
     34 const signed char exc_5_64_table[320]={
     35 1,5,-15,49,-66,
     36 -48,-4,50,-44,7,
     37 37,16,-18,25,-26,
     38 -26,-15,19,19,-27,
     39 -47,28,57,5,-17,
     40 -32,-41,68,21,-2,
     41 64,56,8,-16,-13,
     42 -26,-9,-16,11,6,
     43 -39,25,-19,22,-31,
     44 20,-45,55,-43,10,
     45 -16,47,-40,40,-20,
     46 -51,3,-17,-14,-15,
     47 -24,53,-20,-46,46,
     48 27,-68,32,3,-18,
     49 -5,9,-31,16,-9,
     50 -10,-1,-23,48,95,
     51 47,25,-41,-32,-3,
     52 15,-25,-55,36,41,
     53 -27,20,5,13,14,
     54 -22,5,2,-23,18,
     55 46,-15,17,-18,-34,
     56 -5,-8,27,-55,73,
     57 16,2,-1,-17,40,
     58 -78,33,0,2,19,
     59 4,53,-16,-15,-16,
     60 -28,-3,-13,49,8,
     61 -7,-29,27,-13,32,
     62 20,32,-61,16,14,
     63 41,44,40,24,20,
     64 7,4,48,-60,-77,
     65 17,-6,-48,65,-15,
     66 32,-30,-71,-10,-3,
     67 -6,10,-2,-7,-29,
     68 -56,67,-30,7,-5,
     69 86,-6,-10,0,5,
     70 -31,60,34,-38,-3,
     71 24,10,-2,30,23,
     72 24,-41,12,70,-43,
     73 15,-17,6,13,16,
     74 -13,8,30,-15,-8,
     75 5,23,-34,-98,-4,
     76 -13,13,-48,-31,70,
     77 12,31,25,24,-24,
     78 26,-7,33,-16,8,
     79 5,-11,-14,-8,-65,
     80 13,10,-2,-9,0,
     81 -3,-68,5,35,7,
     82 0,-31,-1,-17,-9,
     83 -9,16,-37,-18,-1,
     84 69,-48,-28,22,-21,
     85 -11,5,49,55,23,
     86 -86,-36,16,2,13,
     87 63,-51,30,-11,13,
     88 24,-18,-6,14,-19,
     89 1,41,9,-5,27,
     90 -36,-44,-34,-37,-21,
     91 -26,31,-39,15,43,
     92 5,-8,29,20,-8,
     93 -20,-52,-28,-1,13,
     94 26,-34,-10,-9,27,
     95 -8,8,27,-66,4,
     96 12,-22,49,10,-77,
     97 32,-18,3,-38,12,
     98 -3,-1,2,2,0};
     99