Mercurial > mplayer.hg
annotate libfaad2/codebook/hcb_sf.h @ 22799:d07cc034ed66
Fix double close() in ve_vfw.c
trivial patch by Gianluigi Tiesi <mplayer netfarm it>
author | iive |
---|---|
date | Sat, 24 Mar 2007 22:01:20 +0000 |
parents | 1d5a49e6d9db |
children | e83eef58b30a |
rev | line source |
---|---|
10725 | 1 /* |
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding | |
3 ** Copyright (C) 2003 M. Bakker, Ahead Software 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 ** Commercial non-GPL licensing of this software is possible. | |
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. | |
24 ** | |
14726
1d5a49e6d9db
Remove modification notice from files that have not been locally modified.
diego
parents:
12625
diff
changeset
|
25 ** $Id: hcb_sf.h,v 1.5 2004/02/04 19:55:02 menno Exp $ |
10725 | 26 **/ |
27 | |
28 /* Binary search huffman table HCB_SF */ | |
29 | |
30 | |
31 static uint8_t hcb_sf[][2] = { | |
32 { /* 0 */ 1, 2 }, | |
33 { /* 1 */ 60, 0 }, | |
34 { /* 2 */ 1, 2 }, | |
35 { /* 3 */ 2, 3 }, | |
36 { /* 4 */ 3, 4 }, | |
37 { /* 5 */ 59, 0 }, | |
38 { /* 6 */ 3, 4 }, | |
39 { /* 7 */ 4, 5 }, | |
40 { /* 8 */ 5, 6 }, | |
41 { /* 9 */ 61, 0 }, | |
42 { /* 10 */ 58, 0 }, | |
43 { /* 11 */ 62, 0 }, | |
44 { /* 12 */ 3, 4 }, | |
45 { /* 13 */ 4, 5 }, | |
46 { /* 14 */ 5, 6 }, | |
47 { /* 15 */ 57, 0 }, | |
48 { /* 16 */ 63, 0 }, | |
49 { /* 17 */ 4, 5 }, | |
50 { /* 18 */ 5, 6 }, | |
51 { /* 19 */ 6, 7 }, | |
52 { /* 20 */ 7, 8 }, | |
53 { /* 21 */ 56, 0 }, | |
54 { /* 22 */ 64, 0 }, | |
55 { /* 23 */ 55, 0 }, | |
56 { /* 24 */ 65, 0 }, | |
57 { /* 25 */ 4, 5 }, | |
58 { /* 26 */ 5, 6 }, | |
59 { /* 27 */ 6, 7 }, | |
60 { /* 28 */ 7, 8 }, | |
61 { /* 29 */ 66, 0 }, | |
62 { /* 30 */ 54, 0 }, | |
63 { /* 31 */ 67, 0 }, | |
64 { /* 32 */ 5, 6 }, | |
65 { /* 33 */ 6, 7 }, | |
66 { /* 34 */ 7, 8 }, | |
67 { /* 35 */ 8, 9 }, | |
68 { /* 36 */ 9, 10 }, | |
69 { /* 37 */ 53, 0 }, | |
70 { /* 38 */ 68, 0 }, | |
71 { /* 39 */ 52, 0 }, | |
72 { /* 40 */ 69, 0 }, | |
73 { /* 41 */ 51, 0 }, | |
74 { /* 42 */ 5, 6 }, | |
75 { /* 43 */ 6, 7 }, | |
76 { /* 44 */ 7, 8 }, | |
77 { /* 45 */ 8, 9 }, | |
78 { /* 46 */ 9, 10 }, | |
79 { /* 47 */ 70, 0 }, | |
80 { /* 48 */ 50, 0 }, | |
81 { /* 49 */ 49, 0 }, | |
82 { /* 50 */ 71, 0 }, | |
83 { /* 51 */ 6, 7 }, | |
84 { /* 52 */ 7, 8 }, | |
85 { /* 53 */ 8, 9 }, | |
86 { /* 54 */ 9, 10 }, | |
87 { /* 55 */ 10, 11 }, | |
88 { /* 56 */ 11, 12 }, | |
89 { /* 57 */ 72, 0 }, | |
90 { /* 58 */ 48, 0 }, | |
91 { /* 59 */ 73, 0 }, | |
92 { /* 60 */ 47, 0 }, | |
93 { /* 61 */ 74, 0 }, | |
94 { /* 62 */ 46, 0 }, | |
95 { /* 63 */ 6, 7 }, | |
96 { /* 64 */ 7, 8 }, | |
97 { /* 65 */ 8, 9 }, | |
98 { /* 66 */ 9, 10 }, | |
99 { /* 67 */ 10, 11 }, | |
100 { /* 68 */ 11, 12 }, | |
101 { /* 69 */ 76, 0 }, | |
102 { /* 70 */ 75, 0 }, | |
103 { /* 71 */ 77, 0 }, | |
104 { /* 72 */ 78, 0 }, | |
105 { /* 73 */ 45, 0 }, | |
106 { /* 74 */ 43, 0 }, | |
107 { /* 75 */ 6, 7 }, | |
108 { /* 76 */ 7, 8 }, | |
109 { /* 77 */ 8, 9 }, | |
110 { /* 78 */ 9, 10 }, | |
111 { /* 79 */ 10, 11 }, | |
112 { /* 80 */ 11, 12 }, | |
113 { /* 81 */ 44, 0 }, | |
114 { /* 82 */ 79, 0 }, | |
115 { /* 83 */ 42, 0 }, | |
116 { /* 84 */ 41, 0 }, | |
117 { /* 85 */ 80, 0 }, | |
118 { /* 86 */ 40, 0 }, | |
119 { /* 87 */ 6, 7 }, | |
120 { /* 88 */ 7, 8 }, | |
121 { /* 89 */ 8, 9 }, | |
122 { /* 90 */ 9, 10 }, | |
123 { /* 91 */ 10, 11 }, | |
124 { /* 92 */ 11, 12 }, | |
125 { /* 93 */ 81, 0 }, | |
126 { /* 94 */ 39, 0 }, | |
127 { /* 95 */ 82, 0 }, | |
128 { /* 96 */ 38, 0 }, | |
129 { /* 97 */ 83, 0 }, | |
130 { /* 98 */ 7, 8 }, | |
131 { /* 99 */ 8, 9 }, | |
132 { /* 00 */ 9, 10 }, | |
133 { /* 01 */ 10, 11 }, | |
134 { /* 02 */ 11, 12 }, | |
135 { /* 03 */ 12, 13 }, | |
136 { /* 04 */ 13, 14 }, | |
137 { /* 05 */ 37, 0 }, | |
138 { /* 06 */ 35, 0 }, | |
139 { /* 07 */ 85, 0 }, | |
140 { /* 08 */ 33, 0 }, | |
141 { /* 09 */ 36, 0 }, | |
142 { /* 10 */ 34, 0 }, | |
143 { /* 11 */ 84, 0 }, | |
144 { /* 12 */ 32, 0 }, | |
145 { /* 13 */ 6, 7 }, | |
146 { /* 14 */ 7, 8 }, | |
147 { /* 15 */ 8, 9 }, | |
148 { /* 16 */ 9, 10 }, | |
149 { /* 17 */ 10, 11 }, | |
150 { /* 18 */ 11, 12 }, | |
151 { /* 19 */ 87, 0 }, | |
152 { /* 20 */ 89, 0 }, | |
153 { /* 21 */ 30, 0 }, | |
154 { /* 22 */ 31, 0 }, | |
155 { /* 23 */ 8, 9 }, | |
156 { /* 24 */ 9, 10 }, | |
157 { /* 25 */ 10, 11 }, | |
158 { /* 26 */ 11, 12 }, | |
159 { /* 27 */ 12, 13 }, | |
160 { /* 28 */ 13, 14 }, | |
161 { /* 29 */ 14, 15 }, | |
162 { /* 30 */ 15, 16 }, | |
163 { /* 31 */ 86, 0 }, | |
164 { /* 32 */ 29, 0 }, | |
165 { /* 33 */ 26, 0 }, | |
166 { /* 34 */ 27, 0 }, | |
167 { /* 35 */ 28, 0 }, | |
168 { /* 36 */ 24, 0 }, | |
169 { /* 37 */ 88, 0 }, | |
170 { /* 38 */ 9, 10 }, | |
171 { /* 39 */ 10, 11 }, | |
172 { /* 40 */ 11, 12 }, | |
173 { /* 41 */ 12, 13 }, | |
174 { /* 42 */ 13, 14 }, | |
175 { /* 43 */ 14, 15 }, | |
176 { /* 44 */ 15, 16 }, | |
177 { /* 45 */ 16, 17 }, | |
178 { /* 46 */ 17, 18 }, | |
179 { /* 47 */ 25, 0 }, | |
180 { /* 48 */ 22, 0 }, | |
181 { /* 49 */ 23, 0 }, | |
182 { /* 50 */ 15, 16 }, | |
183 { /* 51 */ 16, 17 }, | |
184 { /* 52 */ 17, 18 }, | |
185 { /* 53 */ 18, 19 }, | |
186 { /* 54 */ 19, 20 }, | |
187 { /* 55 */ 20, 21 }, | |
188 { /* 56 */ 21, 22 }, | |
189 { /* 57 */ 22, 23 }, | |
190 { /* 58 */ 23, 24 }, | |
191 { /* 59 */ 24, 25 }, | |
192 { /* 60 */ 25, 26 }, | |
193 { /* 61 */ 26, 27 }, | |
194 { /* 62 */ 27, 28 }, | |
195 { /* 63 */ 28, 29 }, | |
196 { /* 64 */ 29, 30 }, | |
197 { /* 65 */ 90, 0 }, | |
198 { /* 66 */ 21, 0 }, | |
199 { /* 67 */ 19, 0 }, | |
200 { /* 68 */ 3, 0 }, | |
201 { /* 69 */ 1, 0 }, | |
202 { /* 70 */ 2, 0 }, | |
203 { /* 71 */ 0, 0 }, | |
204 { /* 72 */ 23, 24 }, | |
205 { /* 73 */ 24, 25 }, | |
206 { /* 74 */ 25, 26 }, | |
207 { /* 75 */ 26, 27 }, | |
208 { /* 76 */ 27, 28 }, | |
209 { /* 77 */ 28, 29 }, | |
210 { /* 78 */ 29, 30 }, | |
211 { /* 79 */ 30, 31 }, | |
212 { /* 80 */ 31, 32 }, | |
213 { /* 81 */ 32, 33 }, | |
214 { /* 82 */ 33, 34 }, | |
215 { /* 83 */ 34, 35 }, | |
216 { /* 84 */ 35, 36 }, | |
217 { /* 85 */ 36, 37 }, | |
218 { /* 86 */ 37, 38 }, | |
219 { /* 87 */ 38, 39 }, | |
220 { /* 88 */ 39, 40 }, | |
221 { /* 89 */ 40, 41 }, | |
222 { /* 90 */ 41, 42 }, | |
223 { /* 91 */ 42, 43 }, | |
224 { /* 92 */ 43, 44 }, | |
225 { /* 93 */ 44, 45 }, | |
226 { /* 94 */ 45, 46 }, | |
227 { /* 95 */ 98, 0 }, | |
228 { /* 96 */ 99, 0 }, | |
229 { /* 97 */ 100, 0 }, | |
230 { /* 98 */ 101, 0 }, | |
231 { /* 99 */ 102, 0 }, | |
232 { /* 00 */ 117, 0 }, | |
233 { /* 01 */ 97, 0 }, | |
234 { /* 02 */ 91, 0 }, | |
235 { /* 03 */ 92, 0 }, | |
236 { /* 04 */ 93, 0 }, | |
237 { /* 05 */ 94, 0 }, | |
238 { /* 06 */ 95, 0 }, | |
239 { /* 07 */ 96, 0 }, | |
240 { /* 08 */ 104, 0 }, | |
241 { /* 09 */ 111, 0 }, | |
242 { /* 10 */ 112, 0 }, | |
243 { /* 11 */ 113, 0 }, | |
244 { /* 12 */ 114, 0 }, | |
245 { /* 13 */ 115, 0 }, | |
246 { /* 14 */ 116, 0 }, | |
247 { /* 15 */ 110, 0 }, | |
248 { /* 16 */ 105, 0 }, | |
249 { /* 17 */ 106, 0 }, | |
250 { /* 18 */ 107, 0 }, | |
251 { /* 19 */ 108, 0 }, | |
252 { /* 20 */ 109, 0 }, | |
253 { /* 21 */ 118, 0 }, | |
254 { /* 22 */ 6, 0 }, | |
255 { /* 23 */ 8, 0 }, | |
256 { /* 24 */ 9, 0 }, | |
257 { /* 25 */ 10, 0 }, | |
258 { /* 26 */ 5, 0 }, | |
259 { /* 27 */ 103, 0 }, | |
260 { /* 28 */ 120, 0 }, | |
261 { /* 29 */ 119, 0 }, | |
262 { /* 30 */ 4, 0 }, | |
263 { /* 31 */ 7, 0 }, | |
264 { /* 32 */ 15, 0 }, | |
265 { /* 33 */ 16, 0 }, | |
266 { /* 34 */ 18, 0 }, | |
267 { /* 35 */ 20, 0 }, | |
268 { /* 36 */ 17, 0 }, | |
269 { /* 37 */ 11, 0 }, | |
270 { /* 38 */ 12, 0 }, | |
271 { /* 39 */ 14, 0 }, | |
272 { /* 40 */ 13, 0 } | |
273 }; |