]> git.jsancho.org Git - lugaru.git/blob - libvorbis-1.0.1/lib/books/floor/floor_books.h
First shot at an OpenAL renderer. Sound effects work, no music.
[lugaru.git] / libvorbis-1.0.1 / lib / books / floor / floor_books.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *
9  * by the Xiph.Org Foundation http://www.xiph.org/                  *
10  *                                                                  *
11  ********************************************************************
12
13  function: static codebooks autogenerated by huff/huffbuld
14  last modified: $Id: floor_books.h,v 1.3 2002/07/11 06:41:01 xiphmont Exp $
15
16  ********************************************************************/
17
18 #include "codebook.h"
19 static long _huff_lengthlist_line_1024x27_0sub0[] = {
20          5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5,
21          6, 5, 6, 5, 6, 5, 7, 5, 7, 5, 7, 5, 8, 5, 8, 6,
22          8, 6, 9, 6, 9, 6, 9, 6,10, 6,10, 6,11, 6,11, 6,
23         11, 6,12, 6,12, 7,12, 7,12, 7,12, 7,12, 7,12, 7,
24         12, 7,12, 7,12, 7,12, 7,12, 8,12, 8,11, 8,11, 8,
25         12, 9,11, 9, 9,10,11, 9,12, 9,12,12,14,13,13,14,
26         13,13,13,12,14,16,20,20,21,14,14,15,21,21,21,20,
27         21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,
28 };
29
30 static static_codebook _huff_book_line_1024x27_0sub0 = {
31         1, 128,
32         _huff_lengthlist_line_1024x27_0sub0,
33         0, 0, 0, 0, 0,
34         NULL,
35         NULL,
36         NULL,
37         NULL,
38         0
39 };
40
41 static long _huff_lengthlist_line_1024x27_1sub0[] = {
42          2, 5, 5, 4, 5, 4, 5, 4, 5, 4, 6, 4, 6, 5, 6, 5,
43          7, 5, 7, 6, 8, 6, 8, 6, 8, 6, 9, 6,10, 6,10, 6,
44 };
45
46 static static_codebook _huff_book_line_1024x27_1sub0 = {
47         1, 32,
48         _huff_lengthlist_line_1024x27_1sub0,
49         0, 0, 0, 0, 0,
50         NULL,
51         NULL,
52         NULL,
53         NULL,
54         0
55 };
56
57 static long _huff_lengthlist_line_1024x27_1sub1[] = {
58          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
59          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
60          9, 5,10, 4,10, 4, 9, 4, 9, 3, 9, 4, 9, 4, 9, 4,
61          9, 4, 9, 4, 9, 4, 8, 4, 8, 4, 8, 5, 9, 5, 9, 6,
62          8, 6, 9, 7,10, 8,10, 9,10,10,10,12,11,13,12,13,
63         13,15,13,14,13,14,12,15,13,15,14,15,13,16,14,16,
64         14,15,14,14,14,16,15,18,15,18,16,18,18,18,18,18,
65         18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,17,
66 };
67
68 static static_codebook _huff_book_line_1024x27_1sub1 = {
69         1, 128,
70         _huff_lengthlist_line_1024x27_1sub1,
71         0, 0, 0, 0, 0,
72         NULL,
73         NULL,
74         NULL,
75         NULL,
76         0
77 };
78
79 static long _huff_lengthlist_line_1024x27_2sub0[] = {
80          1, 5, 5, 5, 5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 5,
81          6, 6, 7, 6, 7, 7, 8, 8, 9, 8, 9, 9, 9, 9,10,10,
82 };
83
84 static static_codebook _huff_book_line_1024x27_2sub0 = {
85         1, 32,
86         _huff_lengthlist_line_1024x27_2sub0,
87         0, 0, 0, 0, 0,
88         NULL,
89         NULL,
90         NULL,
91         NULL,
92         0
93 };
94
95 static long _huff_lengthlist_line_1024x27_2sub1[] = {
96          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
97          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
98          3, 3, 4, 3, 4, 4, 5, 4, 5, 5, 5, 5, 6, 5, 6, 6,
99          7, 6, 7, 7, 7, 7, 7, 7, 8, 9, 8, 9, 8,10, 8,11,
100          8,12, 9,13, 9,14, 9,14, 8,12, 8,14, 9,14, 8,12,
101          8,11, 8,11, 8,11, 9,11,10,11,10,12,10,12,11,12,
102         12,12,12,12,11,12,11,13,11,13,12,14,14,14,14,14,
103         14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,
104 };
105
106 static static_codebook _huff_book_line_1024x27_2sub1 = {
107         1, 128,
108         _huff_lengthlist_line_1024x27_2sub1,
109         0, 0, 0, 0, 0,
110         NULL,
111         NULL,
112         NULL,
113         NULL,
114         0
115 };
116
117 static long _huff_lengthlist_line_1024x27_3sub1[] = {
118          0, 4, 5, 4, 5, 3, 5, 3, 5, 3, 5, 4, 4, 4, 5, 4,
119          5, 5,
120 };
121
122 static static_codebook _huff_book_line_1024x27_3sub1 = {
123         1, 18,
124         _huff_lengthlist_line_1024x27_3sub1,
125         0, 0, 0, 0, 0,
126         NULL,
127         NULL,
128         NULL,
129         NULL,
130         0
131 };
132
133 static long _huff_lengthlist_line_1024x27_3sub2[] = {
134          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
135          0, 0, 3, 3, 3, 3, 4, 4, 4, 5, 4, 6, 5, 6, 5, 7,
136          5, 9, 5,10, 6,11, 6,12, 7,13, 8,15, 8,15, 9,15,
137          9,15,
138 };
139
140 static static_codebook _huff_book_line_1024x27_3sub2 = {
141         1, 50,
142         _huff_lengthlist_line_1024x27_3sub2,
143         0, 0, 0, 0, 0,
144         NULL,
145         NULL,
146         NULL,
147         NULL,
148         0
149 };
150
151 static long _huff_lengthlist_line_1024x27_3sub3[] = {
152          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
153          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
154          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
155          0, 0, 2, 9, 2, 9, 2, 9, 4, 9, 6, 9, 7, 9, 9, 9,
156          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
157          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
158          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
159          9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
160 };
161
162 static static_codebook _huff_book_line_1024x27_3sub3 = {
163         1, 128,
164         _huff_lengthlist_line_1024x27_3sub3,
165         0, 0, 0, 0, 0,
166         NULL,
167         NULL,
168         NULL,
169         NULL,
170         0
171 };
172
173 static long _huff_lengthlist_line_1024x27_4sub1[] = {
174          0, 4, 5, 4, 5, 4, 6, 3, 6, 3, 5, 3, 5, 3, 6, 4,
175          6, 4,
176 };
177
178 static static_codebook _huff_book_line_1024x27_4sub1 = {
179         1, 18,
180         _huff_lengthlist_line_1024x27_4sub1,
181         0, 0, 0, 0, 0,
182         NULL,
183         NULL,
184         NULL,
185         NULL,
186         0
187 };
188
189 static long _huff_lengthlist_line_1024x27_4sub2[] = {
190          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
191          0, 0, 4, 2, 4, 2, 5, 3, 5, 4, 6, 6, 6, 6, 7, 7,
192          7, 8, 8, 8, 8, 8, 9, 8, 9, 9, 9, 9, 9,10,10,11,
193         10,11,
194 };
195
196 static static_codebook _huff_book_line_1024x27_4sub2 = {
197         1, 50,
198         _huff_lengthlist_line_1024x27_4sub2,
199         0, 0, 0, 0, 0,
200         NULL,
201         NULL,
202         NULL,
203         NULL,
204         0
205 };
206
207 static long _huff_lengthlist_line_1024x27_4sub3[] = {
208          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
209          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
210          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
211          0, 0, 3, 3, 3, 6, 4, 6, 4, 5, 5, 7, 4, 8, 5, 9,
212          4, 9, 5, 9, 5, 9, 6, 9, 5, 9, 7, 9, 7, 9, 9, 9,
213          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
214          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
215          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
216 };
217
218 static static_codebook _huff_book_line_1024x27_4sub3 = {
219         1, 128,
220         _huff_lengthlist_line_1024x27_4sub3,
221         0, 0, 0, 0, 0,
222         NULL,
223         NULL,
224         NULL,
225         NULL,
226         0
227 };
228
229 static long _huff_lengthlist_line_1024x27_class1[] = {
230          2, 9, 8,14, 7,13,11,14, 1, 5, 3, 7, 4,10, 7,12,
231 };
232
233 static static_codebook _huff_book_line_1024x27_class1 = {
234         1, 16,
235         _huff_lengthlist_line_1024x27_class1,
236         0, 0, 0, 0, 0,
237         NULL,
238         NULL,
239         NULL,
240         NULL,
241         0
242 };
243
244 static long _huff_lengthlist_line_1024x27_class2[] = {
245          1, 3, 2, 5, 4, 7, 6, 7,
246 };
247
248 static static_codebook _huff_book_line_1024x27_class2 = {
249         1, 8,
250         _huff_lengthlist_line_1024x27_class2,
251         0, 0, 0, 0, 0,
252         NULL,
253         NULL,
254         NULL,
255         NULL,
256         0
257 };
258
259 static long _huff_lengthlist_line_1024x27_class3[] = {
260          1, 5, 6,19, 5, 8,10,19, 9,10,15,19,19,19,19,19,
261          4, 7, 9,19, 6, 7,10,19,11,11,15,19,19,19,19,19,
262          8,11,13,19, 8,11,14,19,13,13,17,19,19,19,19,19,
263         19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
264          3, 7, 9,19, 6, 8,11,19,11,11,15,19,19,19,19,19,
265          5, 7,11,19, 6, 7,11,19,11,10,14,19,19,19,19,19,
266          8,11,15,19, 8,10,14,19,13,13,16,19,19,19,19,19,
267         19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
268          6, 9,11,19, 8,10,12,19,15,14,17,19,19,19,19,19,
269          5, 8,11,19, 7, 9,12,19,14,11,16,19,19,19,19,19,
270          9,10,18,19, 9,10,15,19,14,16,19,19,19,19,19,19,
271         19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
272         16,17,19,19,16,17,17,19,19,19,19,19,19,19,19,19,
273         12,14,16,19,12,12,16,19,19,19,19,19,19,19,19,19,
274         18,18,19,19,17,16,19,19,19,19,19,19,19,19,19,19,
275         19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,18,
276 };
277
278 static static_codebook _huff_book_line_1024x27_class3 = {
279         1, 256,
280         _huff_lengthlist_line_1024x27_class3,
281         0, 0, 0, 0, 0,
282         NULL,
283         NULL,
284         NULL,
285         NULL,
286         0
287 };
288
289 static long _huff_lengthlist_line_1024x27_class4[] = {
290          1, 4, 8,12, 4, 6, 8,21, 9, 8,10,21,20,16,18,20,
291          2, 6, 8,20, 7, 6, 9,19,11, 9,10,20,17,15,16,20,
292          5, 8,11,19, 8, 8,10,15,12,10,12,15,20,20,15,20,
293         17,20,20,20,15,20,20,19,20,20,16,19,20,20,20,20,
294 };
295
296 static static_codebook _huff_book_line_1024x27_class4 = {
297         1, 64,
298         _huff_lengthlist_line_1024x27_class4,
299         0, 0, 0, 0, 0,
300         NULL,
301         NULL,
302         NULL,
303         NULL,
304         0
305 };
306
307 static long _huff_lengthlist_line_128x11_0sub0[] = {
308          5, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5,
309          6, 5, 6, 5, 6, 5, 6, 5, 6, 6, 6, 6, 6, 6, 6, 6,
310          7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6,
311          8, 7, 8, 7, 8, 7, 8, 7, 9, 7, 9, 7, 9, 8,10, 8,
312         10, 8,10, 8,10, 8,10, 9,11, 9,11, 9,10, 9,10,10,
313         11,10,11,11,11,11,12,12,13,14,13,14,16,16,16,16,
314         16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,
315         16,16,16,16,16,16,16,16,16,16,16,16,16,15,15,15,
316 };
317
318 static static_codebook _huff_book_line_128x11_0sub0 = {
319         1, 128,
320         _huff_lengthlist_line_128x11_0sub0,
321         0, 0, 0, 0, 0,
322         NULL,
323         NULL,
324         NULL,
325         NULL,
326         0
327 };
328
329 static long _huff_lengthlist_line_128x11_1sub0[] = {
330          2, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
331          6, 5, 6, 5, 6, 5, 7, 6, 7, 6, 7, 6, 8, 6, 8, 6,
332 };
333
334 static static_codebook _huff_book_line_128x11_1sub0 = {
335         1, 32,
336         _huff_lengthlist_line_128x11_1sub0,
337         0, 0, 0, 0, 0,
338         NULL,
339         NULL,
340         NULL,
341         NULL,
342         0
343 };
344
345 static long _huff_lengthlist_line_128x11_1sub1[] = {
346          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
347          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
348          6, 3, 6, 3, 7, 3, 7, 4, 8, 4, 8, 4, 8, 4, 9, 4,
349         10, 5, 9, 5,10, 5,10, 5,10, 5,12, 6,12, 6,10, 6,
350         10, 7,10, 8,10, 8,10, 9,11, 9,12,11,10,11,11,13,
351         12,12,12,13,10,13,10,13,10,13,10,13,11,13,10,13,
352         10,13,10,13,10,13,10,13,11,12,13,13,13,13,13,13,
353         13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
354 };
355
356 static static_codebook _huff_book_line_128x11_1sub1 = {
357         1, 128,
358         _huff_lengthlist_line_128x11_1sub1,
359         0, 0, 0, 0, 0,
360         NULL,
361         NULL,
362         NULL,
363         NULL,
364         0
365 };
366
367 static long _huff_lengthlist_line_128x11_2sub1[] = {
368          0, 4, 5, 4, 5, 4, 5, 3, 4, 3, 4, 4, 4, 4, 4, 5,
369          5, 5,
370 };
371
372 static static_codebook _huff_book_line_128x11_2sub1 = {
373         1, 18,
374         _huff_lengthlist_line_128x11_2sub1,
375         0, 0, 0, 0, 0,
376         NULL,
377         NULL,
378         NULL,
379         NULL,
380         0
381 };
382
383 static long _huff_lengthlist_line_128x11_2sub2[] = {
384          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
385          0, 0, 2, 3, 3, 4, 3, 5, 4, 5, 5, 6, 5, 6, 6, 6,
386          6, 8, 6,10, 7,10, 8,10, 8,10,10,10,10,10,10,10,
387         10,10,
388 };
389
390 static static_codebook _huff_book_line_128x11_2sub2 = {
391         1, 50,
392         _huff_lengthlist_line_128x11_2sub2,
393         0, 0, 0, 0, 0,
394         NULL,
395         NULL,
396         NULL,
397         NULL,
398         0
399 };
400
401 static long _huff_lengthlist_line_128x11_2sub3[] = {
402          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
403          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
404          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
405          0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
406          7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6,
407          6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
408          6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
409          6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
410 };
411
412 static static_codebook _huff_book_line_128x11_2sub3 = {
413         1, 128,
414         _huff_lengthlist_line_128x11_2sub3,
415         0, 0, 0, 0, 0,
416         NULL,
417         NULL,
418         NULL,
419         NULL,
420         0
421 };
422
423 static long _huff_lengthlist_line_128x11_3sub1[] = {
424          0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 4,
425          5, 4,
426 };
427
428 static static_codebook _huff_book_line_128x11_3sub1 = {
429         1, 18,
430         _huff_lengthlist_line_128x11_3sub1,
431         0, 0, 0, 0, 0,
432         NULL,
433         NULL,
434         NULL,
435         NULL,
436         0
437 };
438
439 static long _huff_lengthlist_line_128x11_3sub2[] = {
440          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
441          0, 0, 5, 3, 5, 3, 6, 4, 7, 4, 7, 4, 7, 4, 8, 4,
442          8, 4, 9, 4, 9, 4, 9, 5,10, 5,11, 5,12, 6,13, 6,
443         13, 7,
444 };
445
446 static static_codebook _huff_book_line_128x11_3sub2 = {
447         1, 50,
448         _huff_lengthlist_line_128x11_3sub2,
449         0, 0, 0, 0, 0,
450         NULL,
451         NULL,
452         NULL,
453         NULL,
454         0
455 };
456
457 static long _huff_lengthlist_line_128x11_3sub3[] = {
458          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
459          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
460          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
461          0, 0, 7, 2, 6, 2, 7, 3, 8, 4, 7, 6, 9, 7, 9, 7,
462          9, 9, 9, 8, 9, 8, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8,
463          8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
464          8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
465          8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
466 };
467
468 static static_codebook _huff_book_line_128x11_3sub3 = {
469         1, 128,
470         _huff_lengthlist_line_128x11_3sub3,
471         0, 0, 0, 0, 0,
472         NULL,
473         NULL,
474         NULL,
475         NULL,
476         0
477 };
478
479 static long _huff_lengthlist_line_128x11_class1[] = {
480          1, 6, 3, 7, 2, 5, 4, 7,
481 };
482
483 static static_codebook _huff_book_line_128x11_class1 = {
484         1, 8,
485         _huff_lengthlist_line_128x11_class1,
486         0, 0, 0, 0, 0,
487         NULL,
488         NULL,
489         NULL,
490         NULL,
491         0
492 };
493
494 static long _huff_lengthlist_line_128x11_class2[] = {
495          1, 5,11,14, 4,11,13,14,10,14,13,14,14,14,13,13,
496          2, 6,11,13, 5,11,12,13,11,12,13,13,13,13,13,13,
497          4, 8,12,13, 5, 9,11,13,12,13,13,13,13,13,13,13,
498         13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
499 };
500
501 static static_codebook _huff_book_line_128x11_class2 = {
502         1, 64,
503         _huff_lengthlist_line_128x11_class2,
504         0, 0, 0, 0, 0,
505         NULL,
506         NULL,
507         NULL,
508         NULL,
509         0
510 };
511
512 static long _huff_lengthlist_line_128x11_class3[] = {
513          6, 7,11,16, 6, 7,10,16,11, 9,13,15,15,15,15,15,
514          4, 4, 7,14, 4, 4, 6,14, 8, 6, 8,15,15,15,15,15,
515          4, 4, 6,15, 3, 2, 4,13, 6, 5, 6,14,15,12,11,14,
516         11,11,13,15, 9, 8,10,15,11,10,11,15,15,15,15,15,
517 };
518
519 static static_codebook _huff_book_line_128x11_class3 = {
520         1, 64,
521         _huff_lengthlist_line_128x11_class3,
522         0, 0, 0, 0, 0,
523         NULL,
524         NULL,
525         NULL,
526         NULL,
527         0
528 };
529
530 static long _huff_lengthlist_line_128x17_0sub0[] = {
531          5, 5, 5, 5, 5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 5,
532          6, 5, 6, 5, 6, 5, 6, 5, 7, 5, 7, 5, 7, 6, 7, 6,
533          7, 6, 8, 6, 8, 6, 8, 6, 8, 6, 8, 6, 8, 7, 9, 7,
534          9, 7, 9, 7, 9, 7, 9, 7, 9, 7,10, 7,10, 8,10, 8,
535         11, 8,11, 8,11, 8,12, 8,12, 8,12, 8,12, 9,12, 9,
536         12, 9,12, 9,13, 9,13,10,13,10,13,11,14,12,14,13,
537         14,14,16,15,17,17,19,18,19,19,19,19,19,19,19,19,
538         19,19,19,19,19,19,19,19,19,19,19,18,18,18,18,18,
539 };
540
541 static static_codebook _huff_book_line_128x17_0sub0 = {
542         1, 128,
543         _huff_lengthlist_line_128x17_0sub0,
544         0, 0, 0, 0, 0,
545         NULL,
546         NULL,
547         NULL,
548         NULL,
549         0
550 };
551
552 static long _huff_lengthlist_line_128x17_1sub0[] = {
553          2, 5, 5, 4, 5, 4, 5, 4, 5, 4, 5, 5, 5, 5, 6, 5,
554          6, 5, 6, 6, 7, 6, 7, 6, 8, 6, 8, 7, 9, 7, 9, 8,
555 };
556
557 static static_codebook _huff_book_line_128x17_1sub0 = {
558         1, 32,
559         _huff_lengthlist_line_128x17_1sub0,
560         0, 0, 0, 0, 0,
561         NULL,
562         NULL,
563         NULL,
564         NULL,
565         0
566 };
567
568 static long _huff_lengthlist_line_128x17_1sub1[] = {
569          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
570          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
571          4, 2, 5, 3, 5, 3, 6, 4, 6, 4, 7, 4, 8, 5, 8, 5,
572          8, 6, 9, 6, 9, 7, 9, 8,10, 8,10, 9,10,10,10,10,
573         10,12,10,14,11,15,12,15,11,15,11,15,11,14,11,15,
574         11,14,11,13,10,12,10,14,10,14,11,13,10,12,11,15,
575         12,15,13,15,12,13,14,15,15,15,15,15,15,15,15,15,
576         15,15,15,15,15,15,15,15,15,15,15,15,15,14,14,14,
577 };
578
579 static static_codebook _huff_book_line_128x17_1sub1 = {
580         1, 128,
581         _huff_lengthlist_line_128x17_1sub1,
582         0, 0, 0, 0, 0,
583         NULL,
584         NULL,
585         NULL,
586         NULL,
587         0
588 };
589
590 static long _huff_lengthlist_line_128x17_2sub1[] = {
591          0, 4, 5, 4, 7, 3, 8, 3, 9, 3,10, 2,12, 3,12, 4,
592         11, 6,
593 };
594
595 static static_codebook _huff_book_line_128x17_2sub1 = {
596         1, 18,
597         _huff_lengthlist_line_128x17_2sub1,
598         0, 0, 0, 0, 0,
599         NULL,
600         NULL,
601         NULL,
602         NULL,
603         0
604 };
605
606 static long _huff_lengthlist_line_128x17_2sub2[] = {
607          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
608          0, 0, 7, 1, 8, 2, 9, 3, 9, 7, 9, 7, 9, 7, 8, 7,
609          8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
610          8, 8,
611 };
612
613 static static_codebook _huff_book_line_128x17_2sub2 = {
614         1, 50,
615         _huff_lengthlist_line_128x17_2sub2,
616         0, 0, 0, 0, 0,
617         NULL,
618         NULL,
619         NULL,
620         NULL,
621         0
622 };
623
624 static long _huff_lengthlist_line_128x17_2sub3[] = {
625          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
626          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
627          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
628          0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
629          7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6,
630          6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
631          6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
632          6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
633 };
634
635 static static_codebook _huff_book_line_128x17_2sub3 = {
636         1, 128,
637         _huff_lengthlist_line_128x17_2sub3,
638         0, 0, 0, 0, 0,
639         NULL,
640         NULL,
641         NULL,
642         NULL,
643         0
644 };
645
646 static long _huff_lengthlist_line_128x17_3sub1[] = {
647          0, 4, 4, 4, 5, 4, 5, 3, 5, 3, 5, 3, 5, 4, 6, 4,
648          6, 4,
649 };
650
651 static static_codebook _huff_book_line_128x17_3sub1 = {
652         1, 18,
653         _huff_lengthlist_line_128x17_3sub1,
654         0, 0, 0, 0, 0,
655         NULL,
656         NULL,
657         NULL,
658         NULL,
659         0
660 };
661
662 static long _huff_lengthlist_line_128x17_3sub2[] = {
663          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
664          0, 0, 5, 3, 6, 3, 6, 3, 7, 4, 8, 4, 8, 4, 9, 4,
665          9, 4,10, 4,10, 5,11, 5,11, 5,12, 5,12, 6,12, 6,
666         12, 7,
667 };
668
669 static static_codebook _huff_book_line_128x17_3sub2 = {
670         1, 50,
671         _huff_lengthlist_line_128x17_3sub2,
672         0, 0, 0, 0, 0,
673         NULL,
674         NULL,
675         NULL,
676         NULL,
677         0
678 };
679
680 static long _huff_lengthlist_line_128x17_3sub3[] = {
681          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
682          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
683          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
684          0, 0, 7, 1, 7, 3, 6, 3, 6, 4, 6, 5, 6, 8, 7,10,
685          7,11, 7,11, 8,11, 9,11, 7,11, 8,11, 8,11,10,11,
686         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
687         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
688         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
689 };
690
691 static static_codebook _huff_book_line_128x17_3sub3 = {
692         1, 128,
693         _huff_lengthlist_line_128x17_3sub3,
694         0, 0, 0, 0, 0,
695         NULL,
696         NULL,
697         NULL,
698         NULL,
699         0
700 };
701
702 static long _huff_lengthlist_line_128x17_class1[] = {
703          1, 3, 4, 7, 2, 6, 5, 7,
704 };
705
706 static static_codebook _huff_book_line_128x17_class1 = {
707         1, 8,
708         _huff_lengthlist_line_128x17_class1,
709         0, 0, 0, 0, 0,
710         NULL,
711         NULL,
712         NULL,
713         NULL,
714         0
715 };
716
717 static long _huff_lengthlist_line_128x17_class2[] = {
718          1, 2, 7,14, 4, 9,13,14, 8,14,14,14,14,14,14,14,
719          3, 5,10,14, 8,14,14,14,11,14,14,14,14,14,14,14,
720          7,10,14,14,12,14,14,14,14,14,14,14,14,14,14,14,
721         14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,
722 };
723
724 static static_codebook _huff_book_line_128x17_class2 = {
725         1, 64,
726         _huff_lengthlist_line_128x17_class2,
727         0, 0, 0, 0, 0,
728         NULL,
729         NULL,
730         NULL,
731         NULL,
732         0
733 };
734
735 static long _huff_lengthlist_line_128x17_class3[] = {
736          2, 6,11,19, 5, 9,12,19,10,11,13,19,19,19,19,19,
737          2, 5, 8,19, 4, 6, 8,19, 8, 8, 9,19,19,16,19,19,
738          3, 6, 8,19, 3, 5, 7,18, 8, 8, 9,16,16,11,16,19,
739         14,14,14,19,10,10,11,19,16,12,14,19,19,19,19,19,
740 };
741
742 static static_codebook _huff_book_line_128x17_class3 = {
743         1, 64,
744         _huff_lengthlist_line_128x17_class3,
745         0, 0, 0, 0, 0,
746         NULL,
747         NULL,
748         NULL,
749         NULL,
750         0
751 };
752
753 static long _huff_lengthlist_line_128x4_0sub0[] = {
754          2, 2, 2, 2,
755 };
756
757 static static_codebook _huff_book_line_128x4_0sub0 = {
758         1, 4,
759         _huff_lengthlist_line_128x4_0sub0,
760         0, 0, 0, 0, 0,
761         NULL,
762         NULL,
763         NULL,
764         NULL,
765         0
766 };
767
768 static long _huff_lengthlist_line_128x4_0sub1[] = {
769          0, 0, 0, 0, 3, 2, 3, 2, 3, 3,
770 };
771
772 static static_codebook _huff_book_line_128x4_0sub1 = {
773         1, 10,
774         _huff_lengthlist_line_128x4_0sub1,
775         0, 0, 0, 0, 0,
776         NULL,
777         NULL,
778         NULL,
779         NULL,
780         0
781 };
782
783 static long _huff_lengthlist_line_128x4_0sub2[] = {
784          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 3, 4, 4, 4, 4,
785          4, 3, 4, 4, 5, 3, 6, 4, 6,
786 };
787
788 static static_codebook _huff_book_line_128x4_0sub2 = {
789         1, 25,
790         _huff_lengthlist_line_128x4_0sub2,
791         0, 0, 0, 0, 0,
792         NULL,
793         NULL,
794         NULL,
795         NULL,
796         0
797 };
798
799 static long _huff_lengthlist_line_128x4_0sub3[] = {
800          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
801          0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 2, 6, 3, 6, 3,
802          7, 4, 7, 5, 7, 5, 7, 6, 8, 8, 9,10,10,16,10,16,
803         10,14,10,14,11,15,15,15,15,15,15,15,15,15,15,15,
804 };
805
806 static static_codebook _huff_book_line_128x4_0sub3 = {
807         1, 64,
808         _huff_lengthlist_line_128x4_0sub3,
809         0, 0, 0, 0, 0,
810         NULL,
811         NULL,
812         NULL,
813         NULL,
814         0
815 };
816
817 static long _huff_lengthlist_line_128x4_class0[] = {
818          8, 8, 8,14, 7, 7, 8,13, 7, 6, 7,11,11,11,10,13,
819          9, 9,10,16, 8, 8, 9,12, 7, 7, 7,11,11,11,10,12,
820         11,11,11,14,10,10,10,14, 9, 8, 9,12,13,14,12,14,
821         16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
822          8, 7, 8,11, 7, 7, 7,11, 6, 6, 6,10,10,10,10,14,
823          8, 8, 8,12, 7, 7, 8,11, 6, 7, 7,10,10,10,10,13,
824         10,10,10,12,10, 9, 9,12, 9, 9, 9,12,12,13,12,14,
825         16,16,16,16,16,14,16,16,14,14,16,16,16,16,16,16,
826          7, 6, 5, 7, 6, 6, 5, 6, 6, 5, 5, 5, 9,10, 9,10,
827          8, 7, 6, 7, 7, 6, 5, 6, 6, 6, 5, 6,10,10, 9, 9,
828         10, 9, 7, 8, 9, 8, 7, 7, 8, 7, 6, 7,11,11,10, 9,
829         16,13,14,16,14,14,13,15,16,14,12,13,16,16,14,16,
830          9, 8, 7, 8, 8, 8, 7, 8, 8, 7, 6, 7,10,10, 9,12,
831          9, 9, 8, 8, 9, 8, 7, 8, 8, 8, 6, 7,10,10, 9,12,
832         11,10, 9,10,10, 9, 7, 9, 9, 8, 6, 9,12,11,10,13,
833         12,16,16,16,12,13,12,16,15,12,11,14,16,16,16,16,
834 };
835
836 static static_codebook _huff_book_line_128x4_class0 = {
837         1, 256,
838         _huff_lengthlist_line_128x4_class0,
839         0, 0, 0, 0, 0,
840         NULL,
841         NULL,
842         NULL,
843         NULL,
844         0
845 };
846
847 static long _huff_lengthlist_line_128x7_0sub1[] = {
848          0, 3, 3, 3, 3, 3, 3, 3, 3,
849 };
850
851 static static_codebook _huff_book_line_128x7_0sub1 = {
852         1, 9,
853         _huff_lengthlist_line_128x7_0sub1,
854         0, 0, 0, 0, 0,
855         NULL,
856         NULL,
857         NULL,
858         NULL,
859         0
860 };
861
862 static long _huff_lengthlist_line_128x7_0sub2[] = {
863          0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 4, 3, 4, 4, 4,
864          5, 4, 5, 4, 5, 4, 6, 4, 6,
865 };
866
867 static static_codebook _huff_book_line_128x7_0sub2 = {
868         1, 25,
869         _huff_lengthlist_line_128x7_0sub2,
870         0, 0, 0, 0, 0,
871         NULL,
872         NULL,
873         NULL,
874         NULL,
875         0
876 };
877
878 static long _huff_lengthlist_line_128x7_0sub3[] = {
879          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
880          0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 3, 5, 3, 6, 4,
881          6, 4, 6, 4, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 5, 5,
882          6, 7, 8,10,12,12,12,12,12,12,12,12,12,12,12,12,
883 };
884
885 static static_codebook _huff_book_line_128x7_0sub3 = {
886         1, 64,
887         _huff_lengthlist_line_128x7_0sub3,
888         0, 0, 0, 0, 0,
889         NULL,
890         NULL,
891         NULL,
892         NULL,
893         0
894 };
895
896 static long _huff_lengthlist_line_128x7_1sub1[] = {
897          0, 3, 3, 3, 3, 2, 4, 3, 4,
898 };
899
900 static static_codebook _huff_book_line_128x7_1sub1 = {
901         1, 9,
902         _huff_lengthlist_line_128x7_1sub1,
903         0, 0, 0, 0, 0,
904         NULL,
905         NULL,
906         NULL,
907         NULL,
908         0
909 };
910
911 static long _huff_lengthlist_line_128x7_1sub2[] = {
912          0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 3, 6, 3, 7, 3,
913          8, 3, 9, 3,10, 3,11, 4,11,
914 };
915
916 static static_codebook _huff_book_line_128x7_1sub2 = {
917         1, 25,
918         _huff_lengthlist_line_128x7_1sub2,
919         0, 0, 0, 0, 0,
920         NULL,
921         NULL,
922         NULL,
923         NULL,
924         0
925 };
926
927 static long _huff_lengthlist_line_128x7_1sub3[] = {
928          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
929          0, 0, 0, 0, 0, 0, 0, 0, 0, 1,12, 2, 9, 3,10, 4,
930         12, 5,12, 6,12,10,12,11,12,12,12,12,12,12,12,11,
931         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
932 };
933
934 static static_codebook _huff_book_line_128x7_1sub3 = {
935         1, 64,
936         _huff_lengthlist_line_128x7_1sub3,
937         0, 0, 0, 0, 0,
938         NULL,
939         NULL,
940         NULL,
941         NULL,
942         0
943 };
944
945 static long _huff_lengthlist_line_128x7_class0[] = {
946         10, 7, 8,14,10, 7, 7,12,11, 8, 8,13,16,16,16,16,
947          8, 5, 5,10, 7, 4, 4, 8, 8, 5, 5, 9,16,16,16,16,
948          7, 4, 5, 7, 6, 3, 3, 6, 8, 5, 5, 7,16,14,13,16,
949          9, 7, 7,10, 7, 4, 4, 7, 9, 6, 5, 6,15,13,11,14,
950 };
951
952 static static_codebook _huff_book_line_128x7_class0 = {
953         1, 64,
954         _huff_lengthlist_line_128x7_class0,
955         0, 0, 0, 0, 0,
956         NULL,
957         NULL,
958         NULL,
959         NULL,
960         0
961 };
962
963 static long _huff_lengthlist_line_128x7_class1[] = {
964          8,12,16,16,10,14,16,16,12,15,16,16,16,16,16,16,
965          7,11,15,16, 7,11,16,16,10,12,16,16,16,16,16,16,
966          9,15,16,16, 9,12,16,16,11,15,16,16,16,16,16,16,
967         16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
968          6,10,13,16, 7,10,15,16, 9,11,16,16,16,16,16,16,
969          4, 8,13,16, 5, 8,15,16, 7, 9,15,16,16,16,16,16,
970          6,12,16,16, 6,10,15,16, 9,10,14,16,16,16,16,16,
971         14,16,16,16,12,14,16,16,15,16,16,16,16,16,16,16,
972          4, 9,11,16, 5, 9,13,16, 7, 9,15,16,16,16,16,16,
973          2, 7,11,16, 3, 6,11,16, 5, 7,12,16,16,16,16,16,
974          4, 9,14,16, 4, 7,13,16, 6, 8,13,16,16,16,16,16,
975         11,14,16,16,10,16,14,16,11,16,16,16,16,16,16,16,
976          7,13,16,16, 9,13,15,16,11,13,16,16,16,16,16,16,
977          5,10,14,16, 6,10,15,16, 9,10,16,16,16,16,16,16,
978          7,13,16,16, 6,10,16,16, 9,12,16,16,16,16,16,16,
979         11,16,16,16,10,16,16,16,13,16,16,16,16,16,16,16,
980 };
981
982 static static_codebook _huff_book_line_128x7_class1 = {
983         1, 256,
984         _huff_lengthlist_line_128x7_class1,
985         0, 0, 0, 0, 0,
986         NULL,
987         NULL,
988         NULL,
989         NULL,
990         0
991 };
992
993 static long _huff_lengthlist_line_256x4_0sub0[] = {
994          1, 3, 2, 3,
995 };
996
997 static static_codebook _huff_book_line_256x4_0sub0 = {
998         1, 4,
999         _huff_lengthlist_line_256x4_0sub0,
1000         0, 0, 0, 0, 0,
1001         NULL,
1002         NULL,
1003         NULL,
1004         NULL,
1005         0
1006 };
1007
1008 static long _huff_lengthlist_line_256x4_0sub1[] = {
1009          0, 0, 0, 0, 2, 2, 3, 3, 3, 3,
1010 };
1011
1012 static static_codebook _huff_book_line_256x4_0sub1 = {
1013         1, 10,
1014         _huff_lengthlist_line_256x4_0sub1,
1015         0, 0, 0, 0, 0,
1016         NULL,
1017         NULL,
1018         NULL,
1019         NULL,
1020         0
1021 };
1022
1023 static long _huff_lengthlist_line_256x4_0sub2[] = {
1024          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 4, 3, 4,
1025          4, 4, 5, 4, 5, 5, 6, 4, 6,
1026 };
1027
1028 static static_codebook _huff_book_line_256x4_0sub2 = {
1029         1, 25,
1030         _huff_lengthlist_line_256x4_0sub2,
1031         0, 0, 0, 0, 0,
1032         NULL,
1033         NULL,
1034         NULL,
1035         NULL,
1036         0
1037 };
1038
1039 static long _huff_lengthlist_line_256x4_0sub3[] = {
1040          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1041          0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 3, 4, 3, 4, 4,
1042          5, 4, 5, 5, 6, 5, 7, 6, 8, 7, 9, 8, 9, 9,10,12,
1043         15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,14,
1044 };
1045
1046 static static_codebook _huff_book_line_256x4_0sub3 = {
1047         1, 64,
1048         _huff_lengthlist_line_256x4_0sub3,
1049         0, 0, 0, 0, 0,
1050         NULL,
1051         NULL,
1052         NULL,
1053         NULL,
1054         0
1055 };
1056
1057 static long _huff_lengthlist_line_256x4_class0[] = {
1058          4, 5, 6,11, 5, 5, 6,10, 7, 6, 5, 6,14,13,10,10,
1059          6, 6, 6,10, 6, 6, 6,10, 7, 7, 7, 9, 9,10, 9,12,
1060          9, 8, 8,11, 8, 8, 8,10, 8, 8, 9,11, 8, 9, 9,13,
1061         18,18,18,18,16,17,18,18,12,13,14,18,14,14,10,12,
1062          5, 5, 6,12, 6, 5, 6,10, 7, 7, 6, 7,13,12, 9,12,
1063          6, 6, 6,11, 6, 6, 6, 9, 7, 7, 7,10,10,10, 9,12,
1064          9, 8, 8,12, 8, 8, 7,11, 8, 8, 8,11, 9, 9, 8,10,
1065         18,18,17,18,18,18,15,18,16,14,12,18,14,12,10,11,
1066          8, 7, 7,12, 8, 7, 7,10, 8, 7, 6, 6,11,10, 9,10,
1067          8, 8, 7,11, 8, 7, 7, 9, 8, 8, 7, 9,10,10, 9, 9,
1068         10, 9, 8,12, 9, 9, 8,11,10, 9, 8, 9, 8, 8, 7, 9,
1069         18,18,18,18,18,18,18,18,17,16,14,18,13,12,11,13,
1070         12,12,13,16,11,10,10,16,12,12, 9, 7,15,12,11,11,
1071         14,14,14,14,12,11,11,18,14,12,10,11,18,13,11,13,
1072         18,18,18,17,17,16,15,17,18,15,16,18,16,12,11,11,
1073         18,18,18,18,18,18,18,18,18,18,17,18,18,13,12,15,
1074 };
1075
1076 static static_codebook _huff_book_line_256x4_class0 = {
1077         1, 256,
1078         _huff_lengthlist_line_256x4_class0,
1079         0, 0, 0, 0, 0,
1080         NULL,
1081         NULL,
1082         NULL,
1083         NULL,
1084         0
1085 };
1086
1087 static long _huff_lengthlist_line_256x7_0sub1[] = {
1088          0, 2, 3, 3, 3, 3, 4, 3, 4,
1089 };
1090
1091 static static_codebook _huff_book_line_256x7_0sub1 = {
1092         1, 9,
1093         _huff_lengthlist_line_256x7_0sub1,
1094         0, 0, 0, 0, 0,
1095         NULL,
1096         NULL,
1097         NULL,
1098         NULL,
1099         0
1100 };
1101
1102 static long _huff_lengthlist_line_256x7_0sub2[] = {
1103          0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 3, 4, 3, 5, 3,
1104          6, 3, 6, 4, 6, 4, 7, 5, 7,
1105 };
1106
1107 static static_codebook _huff_book_line_256x7_0sub2 = {
1108         1, 25,
1109         _huff_lengthlist_line_256x7_0sub2,
1110         0, 0, 0, 0, 0,
1111         NULL,
1112         NULL,
1113         NULL,
1114         NULL,
1115         0
1116 };
1117
1118 static long _huff_lengthlist_line_256x7_0sub3[] = {
1119          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1120          0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 2, 5, 3, 5, 3,
1121          6, 3, 6, 4, 7, 6, 7, 8, 7, 9, 8, 9, 9, 9,10, 9,
1122         11,13,11,13,10,10,13,13,13,13,13,13,12,12,12,12,
1123 };
1124
1125 static static_codebook _huff_book_line_256x7_0sub3 = {
1126         1, 64,
1127         _huff_lengthlist_line_256x7_0sub3,
1128         0, 0, 0, 0, 0,
1129         NULL,
1130         NULL,
1131         NULL,
1132         NULL,
1133         0
1134 };
1135
1136 static long _huff_lengthlist_line_256x7_1sub1[] = {
1137          0, 3, 3, 3, 3, 2, 4, 3, 4,
1138 };
1139
1140 static static_codebook _huff_book_line_256x7_1sub1 = {
1141         1, 9,
1142         _huff_lengthlist_line_256x7_1sub1,
1143         0, 0, 0, 0, 0,
1144         NULL,
1145         NULL,
1146         NULL,
1147         NULL,
1148         0
1149 };
1150
1151 static long _huff_lengthlist_line_256x7_1sub2[] = {
1152          0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 4, 3, 4, 4,
1153          5, 4, 6, 5, 6, 7, 6, 8, 8,
1154 };
1155
1156 static static_codebook _huff_book_line_256x7_1sub2 = {
1157         1, 25,
1158         _huff_lengthlist_line_256x7_1sub2,
1159         0, 0, 0, 0, 0,
1160         NULL,
1161         NULL,
1162         NULL,
1163         NULL,
1164         0
1165 };
1166
1167 static long _huff_lengthlist_line_256x7_1sub3[] = {
1168          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1169          0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 4, 3, 6, 3, 7,
1170          3, 8, 5, 8, 6, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
1171          8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7,
1172 };
1173
1174 static static_codebook _huff_book_line_256x7_1sub3 = {
1175         1, 64,
1176         _huff_lengthlist_line_256x7_1sub3,
1177         0, 0, 0, 0, 0,
1178         NULL,
1179         NULL,
1180         NULL,
1181         NULL,
1182         0
1183 };
1184
1185 static long _huff_lengthlist_line_256x7_class0[] = {
1186          7, 5, 5, 9, 9, 6, 6, 9,12, 8, 7, 8,11, 8, 9,15,
1187          6, 3, 3, 7, 7, 4, 3, 6, 9, 6, 5, 6, 8, 6, 8,15,
1188          8, 5, 5, 9, 8, 5, 4, 6,10, 7, 5, 5,11, 8, 7,15,
1189         14,15,13,13,13,13, 8,11,15,10, 7, 6,11, 9,10,15,
1190 };
1191
1192 static static_codebook _huff_book_line_256x7_class0 = {
1193         1, 64,
1194         _huff_lengthlist_line_256x7_class0,
1195         0, 0, 0, 0, 0,
1196         NULL,
1197         NULL,
1198         NULL,
1199         NULL,
1200         0
1201 };
1202
1203 static long _huff_lengthlist_line_256x7_class1[] = {
1204          5, 6, 8,15, 6, 9,10,15,10,11,12,15,15,15,15,15,
1205          4, 6, 7,15, 6, 7, 8,15, 9, 8, 9,15,15,15,15,15,
1206          6, 8, 9,15, 7, 7, 8,15,10, 9,10,15,15,15,15,15,
1207         15,13,15,15,15,10,11,15,15,13,13,15,15,15,15,15,
1208          4, 6, 7,15, 6, 8, 9,15,10,10,12,15,15,15,15,15,
1209          2, 5, 6,15, 5, 6, 7,15, 8, 6, 7,15,15,15,15,15,
1210          5, 6, 8,15, 5, 6, 7,15, 9, 6, 7,15,15,15,15,15,
1211         14,12,13,15,12,10,11,15,15,15,15,15,15,15,15,15,
1212          7, 8, 9,15, 9,10,10,15,15,14,14,15,15,15,15,15,
1213          5, 6, 7,15, 7, 8, 9,15,12, 9,10,15,15,15,15,15,
1214          7, 7, 9,15, 7, 7, 8,15,12, 8, 9,15,15,15,15,15,
1215         13,13,14,15,12,11,12,15,15,15,15,15,15,15,15,15,
1216         15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
1217         13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,
1218         15,12,13,15,15,12,13,15,15,14,15,15,15,15,15,15,
1219         15,15,15,15,15,15,13,15,15,15,15,15,15,15,15,15,
1220 };
1221
1222 static static_codebook _huff_book_line_256x7_class1 = {
1223         1, 256,
1224         _huff_lengthlist_line_256x7_class1,
1225         0, 0, 0, 0, 0,
1226         NULL,
1227         NULL,
1228         NULL,
1229         NULL,
1230         0
1231 };
1232
1233 static long _huff_lengthlist_line_512x17_0sub0[] = {
1234          4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1235          5, 6, 5, 6, 6, 6, 6, 5, 6, 6, 7, 6, 7, 6, 7, 6,
1236          7, 6, 8, 7, 8, 7, 8, 7, 8, 7, 8, 7, 9, 7, 9, 7,
1237          9, 7, 9, 8, 9, 8,10, 8,10, 8,10, 7,10, 6,10, 8,
1238         10, 8,11, 7,10, 7,11, 8,11,11,12,12,11,11,12,11,
1239         13,11,13,11,13,12,15,12,13,13,14,14,14,14,14,15,
1240         15,15,16,14,17,19,19,18,18,18,18,18,18,18,18,18,
1241         18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,
1242 };
1243
1244 static static_codebook _huff_book_line_512x17_0sub0 = {
1245         1, 128,
1246         _huff_lengthlist_line_512x17_0sub0,
1247         0, 0, 0, 0, 0,
1248         NULL,
1249         NULL,
1250         NULL,
1251         NULL,
1252         0
1253 };
1254
1255 static long _huff_lengthlist_line_512x17_1sub0[] = {
1256          2, 4, 5, 4, 5, 4, 5, 4, 5, 5, 5, 5, 5, 5, 6, 5,
1257          6, 5, 6, 6, 7, 6, 7, 6, 8, 7, 8, 7, 8, 7, 8, 7,
1258 };
1259
1260 static static_codebook _huff_book_line_512x17_1sub0 = {
1261         1, 32,
1262         _huff_lengthlist_line_512x17_1sub0,
1263         0, 0, 0, 0, 0,
1264         NULL,
1265         NULL,
1266         NULL,
1267         NULL,
1268         0
1269 };
1270
1271 static long _huff_lengthlist_line_512x17_1sub1[] = {
1272          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1273          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1274          4, 3, 5, 3, 5, 4, 5, 4, 5, 4, 5, 5, 5, 5, 6, 5,
1275          6, 5, 7, 5, 8, 6, 8, 6, 8, 6, 8, 6, 8, 7, 9, 7,
1276          9, 7,11, 9,11,11,12,11,14,12,14,16,14,16,13,16,
1277         14,16,12,15,13,16,14,16,13,14,12,15,13,15,13,13,
1278         13,15,12,14,14,15,13,15,12,15,15,15,15,15,15,15,
1279         15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
1280 };
1281
1282 static static_codebook _huff_book_line_512x17_1sub1 = {
1283         1, 128,
1284         _huff_lengthlist_line_512x17_1sub1,
1285         0, 0, 0, 0, 0,
1286         NULL,
1287         NULL,
1288         NULL,
1289         NULL,
1290         0
1291 };
1292
1293 static long _huff_lengthlist_line_512x17_2sub1[] = {
1294          0, 4, 5, 4, 4, 4, 5, 4, 4, 4, 5, 4, 5, 4, 5, 3,
1295          5, 3,
1296 };
1297
1298 static static_codebook _huff_book_line_512x17_2sub1 = {
1299         1, 18,
1300         _huff_lengthlist_line_512x17_2sub1,
1301         0, 0, 0, 0, 0,
1302         NULL,
1303         NULL,
1304         NULL,
1305         NULL,
1306         0
1307 };
1308
1309 static long _huff_lengthlist_line_512x17_2sub2[] = {
1310          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1311          0, 0, 4, 3, 4, 3, 4, 4, 5, 4, 5, 4, 6, 4, 6, 5,
1312          6, 5, 7, 5, 7, 6, 8, 6, 8, 6, 8, 7, 8, 7, 9, 7,
1313          9, 8,
1314 };
1315
1316 static static_codebook _huff_book_line_512x17_2sub2 = {
1317         1, 50,
1318         _huff_lengthlist_line_512x17_2sub2,
1319         0, 0, 0, 0, 0,
1320         NULL,
1321         NULL,
1322         NULL,
1323         NULL,
1324         0
1325 };
1326
1327 static long _huff_lengthlist_line_512x17_2sub3[] = {
1328          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1329          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1330          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1331          0, 0, 3, 3, 3, 3, 4, 3, 4, 4, 5, 5, 6, 6, 7, 7,
1332          7, 8, 8,11, 8, 9, 9, 9,10,11,11,11, 9,10,10,11,
1333         11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,
1334         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
1335         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
1336 };
1337
1338 static static_codebook _huff_book_line_512x17_2sub3 = {
1339         1, 128,
1340         _huff_lengthlist_line_512x17_2sub3,
1341         0, 0, 0, 0, 0,
1342         NULL,
1343         NULL,
1344         NULL,
1345         NULL,
1346         0
1347 };
1348
1349 static long _huff_lengthlist_line_512x17_3sub1[] = {
1350          0, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 5, 4, 5,
1351          5, 5,
1352 };
1353
1354 static static_codebook _huff_book_line_512x17_3sub1 = {
1355         1, 18,
1356         _huff_lengthlist_line_512x17_3sub1,
1357         0, 0, 0, 0, 0,
1358         NULL,
1359         NULL,
1360         NULL,
1361         NULL,
1362         0
1363 };
1364
1365 static long _huff_lengthlist_line_512x17_3sub2[] = {
1366          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1367          0, 0, 2, 3, 3, 4, 3, 5, 4, 6, 4, 6, 5, 7, 6, 7,
1368          6, 8, 6, 8, 7, 9, 8,10, 8,12, 9,13,10,15,10,15,
1369         11,14,
1370 };
1371
1372 static static_codebook _huff_book_line_512x17_3sub2 = {
1373         1, 50,
1374         _huff_lengthlist_line_512x17_3sub2,
1375         0, 0, 0, 0, 0,
1376         NULL,
1377         NULL,
1378         NULL,
1379         NULL,
1380         0
1381 };
1382
1383 static long _huff_lengthlist_line_512x17_3sub3[] = {
1384          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1385          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1386          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1387          0, 0, 4, 8, 4, 8, 4, 8, 4, 8, 5, 8, 5, 8, 6, 8,
1388          4, 8, 4, 8, 5, 8, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1389          7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1390          7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1391          7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1392 };
1393
1394 static static_codebook _huff_book_line_512x17_3sub3 = {
1395         1, 128,
1396         _huff_lengthlist_line_512x17_3sub3,
1397         0, 0, 0, 0, 0,
1398         NULL,
1399         NULL,
1400         NULL,
1401         NULL,
1402         0
1403 };
1404
1405 static long _huff_lengthlist_line_512x17_class1[] = {
1406          1, 2, 3, 6, 5, 4, 7, 7,
1407 };
1408
1409 static static_codebook _huff_book_line_512x17_class1 = {
1410         1, 8,
1411         _huff_lengthlist_line_512x17_class1,
1412         0, 0, 0, 0, 0,
1413         NULL,
1414         NULL,
1415         NULL,
1416         NULL,
1417         0
1418 };
1419
1420 static long _huff_lengthlist_line_512x17_class2[] = {
1421          3, 3, 3,14, 5, 4, 4,11, 8, 6, 6,10,17,12,11,17,
1422          6, 5, 5,15, 5, 3, 4,11, 8, 5, 5, 8,16, 9,10,14,
1423         10, 8, 9,17, 8, 6, 6,13,10, 7, 7,10,16,11,13,14,
1424         17,17,17,17,17,16,16,16,16,15,16,16,16,16,16,16,
1425 };
1426
1427 static static_codebook _huff_book_line_512x17_class2 = {
1428         1, 64,
1429         _huff_lengthlist_line_512x17_class2,
1430         0, 0, 0, 0, 0,
1431         NULL,
1432         NULL,
1433         NULL,
1434         NULL,
1435         0
1436 };
1437
1438 static long _huff_lengthlist_line_512x17_class3[] = {
1439          2, 4, 6,17, 4, 5, 7,17, 8, 7,10,17,17,17,17,17,
1440          3, 4, 6,15, 3, 3, 6,15, 7, 6, 9,17,17,17,17,17,
1441          6, 8,10,17, 6, 6, 8,16, 9, 8,10,17,17,15,16,17,
1442         17,17,17,17,12,15,15,16,12,15,15,16,16,16,16,16,
1443 };
1444
1445 static static_codebook _huff_book_line_512x17_class3 = {
1446         1, 64,
1447         _huff_lengthlist_line_512x17_class3,
1448         0, 0, 0, 0, 0,
1449         NULL,
1450         NULL,
1451         NULL,
1452         NULL,
1453         0
1454 };
1455