]> 4ch.mooo.com Git - 16.git/blob - src/lib/doslib/ext/faad/codebook/hcb_7.h
wwww
[16.git] / src / lib / doslib / ext / faad / codebook / hcb_7.h
1 /*
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
3 ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com
4 **  
5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version.
9 ** 
10 ** This program is distributed in the hope that it will be useful,
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ** GNU General Public License for more details.
14 ** 
15 ** You should have received a copy of the GNU General Public License
16 ** along with this program; if not, write to the Free Software 
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 **
19 ** Any non-GPL usage of this software or parts of this software is strictly
20 ** forbidden.
21 **
22 ** The "appropriate copyright message" mentioned in section 2c of the GPLv2
23 ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com"
24 **
25 ** Commercial non-GPL licensing of this software is possible.
26 ** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
27 **
28 ** $Id: hcb_7.h,v 1.5 2007/11/01 12:34:11 menno Exp $
29 **/
30
31 /* Binary search huffman table HCB_7 */
32
33
34 static hcb_bin_pair hcb7[] = {
35     { /*  0 */ 0, { 1, 2 } },
36     { /*  1 */ 1, { 0, 0 } },
37     { /*  2 */ 0, { 1, 2 } },
38     { /*  3 */ 0, { 2, 3 } },
39     { /*  4 */ 0, { 3, 4 } },
40     { /*  5 */ 1, { 1, 0 } },
41     { /*  6 */ 1, { 0, 1 } },
42     { /*  7 */ 0, { 2, 3 } },
43     { /*  8 */ 0, { 3, 4 } },
44     { /*  9 */ 1, { 1,  1 } },
45     { /* 10 */ 0, { 3, 4 } },
46     { /* 11 */ 0, { 4, 5 } },
47     { /* 12 */ 0, { 5, 6 } },
48     { /* 13 */ 0, { 6, 7 } },
49     { /* 14 */ 0, { 7, 8 } },
50     { /* 15 */ 0, { 8, 9 } },
51     { /* 16 */ 0, { 9, 10 } },
52     { /* 17 */ 0, { 10, 11 } },
53     { /* 18 */ 0, { 11, 12 } },
54     { /* 19 */ 1, { 2,  1 } },
55     { /* 20 */ 1, { 1,  2 } },
56     { /* 21 */ 1, { 2,  0 } },
57     { /* 22 */ 1, { 0,  2 } },
58     { /* 23 */ 0, { 8, 9 } },
59     { /* 24 */ 0, { 9, 10 } },
60     { /* 25 */ 0, { 10, 11 } },
61     { /* 26 */ 0, { 11, 12 } },
62     { /* 27 */ 0, { 12, 13 } },
63     { /* 28 */ 0, { 13, 14 } },
64     { /* 29 */ 0, { 14, 15 } },
65     { /* 30 */ 0, { 15, 16 } },
66     { /* 31 */ 1, { 3,  1 } },
67     { /* 32 */ 1, { 1,  3 } },
68     { /* 33 */ 1, { 2,  2 } },
69     { /* 34 */ 1, { 3,  0 } },
70     { /* 35 */ 1, { 0,  3 } },
71     { /* 36 */ 0, { 11, 12 } },
72     { /* 37 */ 0, { 12, 13 } },
73     { /* 38 */ 0, { 13, 14 } },
74     { /* 39 */ 0, { 14, 15 } },
75     { /* 40 */ 0, { 15, 16 } },
76     { /* 41 */ 0, { 16, 17 } },
77     { /* 42 */ 0, { 17, 18 } },
78     { /* 43 */ 0, { 18, 19 } },
79     { /* 44 */ 0, { 19, 20 } },
80     { /* 45 */ 0, { 20, 21 } },
81     { /* 46 */ 0, { 21, 22 } },
82     { /* 47 */ 1, { 2,  3 } },
83     { /* 48 */ 1, { 3,  2 } },
84     { /* 49 */ 1, { 1,  4 } },
85     { /* 50 */ 1, { 4,  1 } },
86     { /* 51 */ 1, { 1,  5 } },
87     { /* 52 */ 1, { 5,  1 } },
88     { /* 53 */ 1, { 3,  3 } },
89     { /* 54 */ 1, { 2,  4 } },
90     { /* 55 */ 1, { 0,  4 } },
91     { /* 56 */ 1, { 4,  0 } },
92     { /* 57 */ 0, { 12, 13 } },
93     { /* 58 */ 0, { 13, 14 } },
94     { /* 59 */ 0, { 14, 15 } },
95     { /* 60 */ 0, { 15, 16 } },
96     { /* 61 */ 0, { 16, 17 } },
97     { /* 62 */ 0, { 17, 18 } },
98     { /* 63 */ 0, { 18, 19 } },
99     { /* 64 */ 0, { 19, 20 } },
100     { /* 65 */ 0, { 20, 21 } },
101     { /* 66 */ 0, { 21, 22 } },
102     { /* 67 */ 0, { 22, 23 } },
103     { /* 68 */ 0, { 23, 24 } },
104     { /* 69 */ 1, { 4,  2 } },
105     { /* 70 */ 1, { 2,  5 } },
106     { /* 71 */ 1, { 5,  2 } },
107     { /* 72 */ 1, { 0,  5 } },
108     { /* 73 */ 1, { 6,  1 } },
109     { /* 74 */ 1, { 5,  0 } },
110     { /* 75 */ 1, { 1,  6 } },
111     { /* 76 */ 1, { 4,  3 } },
112     { /* 77 */ 1, { 3,  5 } },
113     { /* 78 */ 1, { 3,  4 } },
114     { /* 79 */ 1, { 5,  3 } },
115     { /* 80 */ 1, { 2,  6 } },
116     { /* 81 */ 1, { 6,  2 } },
117     { /* 82 */ 1, { 1,  7 } },
118     { /* 83 */ 0, { 10, 11 } },
119     { /* 84 */ 0, { 11, 12 } },
120     { /* 85 */ 0, { 12, 13 } },
121     { /* 86 */ 0, { 13, 14 } },
122     { /* 87 */ 0, { 14, 15 } },
123     { /* 88 */ 0, { 15, 16 } },
124     { /* 89 */ 0, { 16, 17 } },
125     { /* 90 */ 0, { 17, 18 } },
126     { /* 91 */ 0, { 18, 19 } },
127     { /* 92 */ 0, { 19, 20 } },
128     { /* 93 */ 1, { 3,  6 } },
129     { /* 94 */ 1, { 0,  6 } },
130     { /* 95 */ 1, { 6,  0 } },
131     { /* 96 */ 1, { 4,  4 } },
132     { /* 97 */ 1, { 7,  1 } },
133     { /* 98 */ 1, { 4,  5 } },
134     { /* 99 */ 1, { 7,  2 } },
135     { /* 00 */ 1, { 5,  4 } },
136     { /* 01 */ 1, { 6,  3 } },
137     { /* 02 */ 1, { 2,  7 } },
138     { /* 03 */ 1, { 7,  3 } },
139     { /* 04 */ 1, { 6,  4 } },
140     { /* 05 */ 1, { 5,  5 } },
141     { /* 06 */ 1, { 4,  6 } },
142     { /* 07 */ 1, { 3,  7 } },
143     { /* 08 */ 0, { 5, 6 } },
144     { /* 09 */ 0, { 6, 7 } },
145     { /* 10 */ 0, { 7, 8 } },
146     { /* 11 */ 0, { 8, 9 } },
147     { /* 12 */ 0, { 9, 10 } },
148     { /* 13 */ 1, { 7,  0 } },
149     { /* 14 */ 1, { 0,  7 } },
150     { /* 15 */ 1, { 6,  5 } },
151     { /* 16 */ 1, { 5,  6 } },
152     { /* 17 */ 1, { 7,  4 } },
153     { /* 18 */ 1, { 4,  7 } },
154     { /* 19 */ 1, { 5,  7 } },
155     { /* 20 */ 1, { 7,  5 } },
156     { /* 21 */ 0, { 2, 3 } },
157     { /* 22 */ 0, { 3, 4 } },
158     { /* 23 */ 1, { 7,  6 } },
159     { /* 24 */ 1, { 6,  6 } },
160     { /* 25 */ 1, { 6,  7 } },
161     { /* 26 */ 1, { 7,  7 } }
162 };