OLD | NEW |
(Empty) | |
| 1 /* Copyright (C) 2002 Jean-Marc Valin |
| 2 File: hexc_10_32_table.c |
| 3 Codebook for high-band excitation in SB-CELP mode (4000 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 const signed char hexc_10_32_table[320] = { |
| 34 -3, -2, -1, 0, -4, 5, 35, -40, -9, 13, |
| 35 -44, 5, -27, -1, -7, 6, -11, 7, -8, 7, |
| 36 19, -14, 15, -4, 9, -10, 10, -8, 10, -9, |
| 37 -1, 1, 0, 0, 2, 5, -18, 22, -53, 50, |
| 38 1, -23, 50, -36, 15, 3, -13, 14, -10, 6, |
| 39 1, 5, -3, 4, -2, 5, -32, 25, 5, -2, |
| 40 -1, -4, 1, 11, -29, 26, -6, -15, 30, -18, |
| 41 0, 15, -17, 40, -41, 3, 9, -2, -2, 3, |
| 42 -3, -1, -5, 2, 21, -6, -16, -21, 23, 2, |
| 43 60, 15, 16, -16, -9, 14, 9, -1, 7, -9, |
| 44 0, 1, 1, 0, -1, -6, 17, -28, 54, -45, |
| 45 -1, 1, -1, -6, -6, 2, 11, 26, -29, -2, |
| 46 46, -21, 34, 12, -23, 32, -23, 16, -10, 3, |
| 47 66, 19, -20, 24, 7, 11, -3, 0, -3, -1, |
| 48 -50, -46, 2, -18, -3, 4, -1, -2, 3, -3, |
| 49 -19, 41, -36, 9, 11, -24, 21, -16, 9, -3, |
| 50 -25, -3, 10, 18, -9, -2, -5, -1, -5, 6, |
| 51 -4, -3, 2, -26, 21, -19, 35, -15, 7, -13, |
| 52 17, -19, 39, -43, 48, -31, 16, -9, 7, -2, |
| 53 -5, 3, -4, 9, -19, 27, -55, 63, -35, 10, |
| 54 26, -44, -2, 9, 4, 1, -6, 8, -9, 5, |
| 55 -8, -1, -3, -16, 45, -42, 5, 15, -16, 10, |
| 56 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 57 -16, 24, -55, 47, -38, 27, -19, 7, -3, 1, |
| 58 16, 27, 20, -19, 18, 5, -7, 1, -5, 2, |
| 59 -6, 8, -22, 0, -3, -3, 8, -1, 7, -8, |
| 60 1, -3, 5, 0, 17, -48, 58, -52, 29, -7, |
| 61 -2, 3, -10, 6, -26, 58, -31, 1, -6, 3, |
| 62 93, -29, 39, 3, 17, 5, 6, -1, -1, -1, |
| 63 27, 13, 10, 19, -7, -34, 12, 10, -4, 9, |
| 64 -76, 9, 8, -28, -2, -11, 2, -1, 3, 1, |
| 65 -83, 38, -39, 4, -16, -6, -2, -5, 5, -2, |
| 66 }; |
OLD | NEW |