summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/splay/huffmantable.cpp
blob: 223e60699598720bddcec6167539a537fcef9660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
/* MPEG/WAVE Sound library

   (C) 1997 by Jung woo-jae */

// Huffmantable.cc
// It contains initialized huffman table for MPEG layer 3

 
#include "mpegsound.h"

static const unsigned int
htd01[  7][2]={{  2,  1},{  0,  0},{  2,  1},{  0, 16},{  2,  1},{  0,  1},
	       {  0, 17}},

htd02[ 17][2]={{  2,  1},{  0,  0},{  4,  1},{  2,  1},{  0, 16},{  0,  1},
	       {  2,  1},{  0, 17},{  4,  1},{  2,  1},{  0, 32},{  0, 33},
	       {  2,  1},{  0, 18},{  2,  1},{  0,  2},{  0, 34}},

htd03[ 17][2]={{  4,  1},{  2,  1},{  0,  0},{  0,  1},{  2,  1},{  0, 17},
	       {  2,  1},{  0, 16},{  4,  1},{  2,  1},{  0, 32},{  0, 33},
	       {  2,  1},{  0, 18},{  2,  1},{  0,  2},{  0, 34}},

htd05[ 31][2]={{  2,  1},{  0,  0},{  4,  1},{  2,  1},{  0, 16},{  0,  1},
	       {  2,  1},{  0, 17},{  8,  1},{  4,  1},{  2,  1},{  0, 32},
	       {  0,  2},{  2,  1},{  0, 33},{  0, 18},{  8,  1},{  4,  1},
	       {  2,  1},{  0, 34},{  0, 48},{  2,  1},{  0,  3},{  0, 19},
	       {  2,  1},{  0, 49},{  2,  1},{  0, 50},{  2,  1},{  0, 35},
	       {  0, 51}},

htd06[ 31][2]={{  6,  1},{  4,  1},{  2,  1},{  0,  0},{  0, 16},{  0, 17},
	       {  6,  1},{  2,  1},{  0,  1},{  2,  1},{  0, 32},{  0, 33},
	       {  6,  1},{  2,  1},{  0, 18},{  2,  1},{  0,  2},{  0, 34},
	       {  4,  1},{  2,  1},{  0, 49},{  0, 19},{  4,  1},{  2,  1},
	       {  0, 48},{  0, 50},{  2,  1},{  0, 35},{  2,  1},{  0,  3},
	       {  0, 51}},

htd07[ 71][2]={{  2,  1},{  0,  0},{  4,  1},{  2,  1},{  0, 16},{  0,  1},
	       {  8,  1},{  2,  1},{  0, 17},{  4,  1},{  2,  1},{  0, 32},
	       {  0,  2},{  0, 33},{ 18,  1},{  6,  1},{  2,  1},{  0, 18},
	       {  2,  1},{  0, 34},{  0, 48},{  4,  1},{  2,  1},{  0, 49},
	       {  0, 19},{  4,  1},{  2,  1},{  0,  3},{  0, 50},{  2,  1},
	       {  0, 35},{  0,  4},{ 10,  1},{  4,  1},{  2,  1},{  0, 64},
	       {  0, 65},{  2,  1},{  0, 20},{  2,  1},{  0, 66},{  0, 36},
	       { 12,  1},{  6,  1},{  4,  1},{  2,  1},{  0, 51},{  0, 67},
	       {  0, 80},{  4,  1},{  2,  1},{  0, 52},{  0,  5},{  0, 81},
	       {  6,  1},{  2,  1},{  0, 21},{  2,  1},{  0, 82},{  0, 37},

	       {  4,  1},{  2,  1},{  0, 68},{  0, 53},{  4,  1},{  2,  1},
	       {  0, 83},{  0, 84},{  2,  1},{  0, 69},{  0, 85}},

htd08[ 71][2]={{  6,  1},{  2,  1},{  0,  0},{  2,  1},{  0, 16},{  0,  1},
	       {  2,  1},{  0, 17},{  4,  1},{  2,  1},{  0, 33},{  0, 18},
	       { 14,  1},{  4,  1},{  2,  1},{  0, 32},{  0,  2},{  2,  1},
	       {  0, 34},{  4,  1},{  2,  1},{  0, 48},{  0,  3},{  2,  1},
	       {  0, 49},{  0, 19},{ 14,  1},{  8,  1},{  4,  1},{  2,  1},
	       {  0, 50},{  0, 35},{  2,  1},{  0, 64},{  0,  4},{  2,  1},
	       {  0, 65},{  2,  1},{  0, 20},{  0, 66},{ 12,  1},{  6,  1},
	       {  2,  1},{  0, 36},{  2,  1},{  0, 51},{  0, 80},{  4,  1},
	       {  2,  1},{  0, 67},{  0, 52},{  0, 81},{  6,  1},{  2,  1},
	       {  0, 21},{  2,  1},{  0,  5},{  0, 82},{  6,  1},{  2,  1},

	       {  0, 37},{  2,  1},{  0, 68},{  0, 53},{  2,  1},{  0, 83},
	       {  2,  1},{  0, 69},{  2,  1},{  0, 84},{  0, 85}},

htd09[ 71][2]={{  8,  1},{  4,  1},{  2,  1},{  0,  0},{  0, 16},{  2,  1},
	       {  0,  1},{  0, 17},{ 10,  1},{  4,  1},{  2,  1},{  0, 32},
	       {  0, 33},{  2,  1},{  0, 18},{  2,  1},{  0,  2},{  0, 34},
	       { 12,  1},{  6,  1},{  4,  1},{  2,  1},{  0, 48},{  0,  3},
	       {  0, 49},{  2,  1},{  0, 19},{  2,  1},{  0, 50},{  0, 35},
	       { 12,  1},{  4,  1},{  2,  1},{  0, 65},{  0, 20},{  4,  1},
	       {  2,  1},{  0, 64},{  0, 51},{  2,  1},{  0, 66},{  0, 36},
	       { 10,  1},{  6,  1},{  4,  1},{  2,  1},{  0,  4},{  0, 80},
	       {  0, 67},{  2,  1},{  0, 52},{  0, 81},{  8,  1},{  4,  1},
	       {  2,  1},{  0, 21},{  0, 82},{  2,  1},{  0, 37},{  0, 68},

	       {  6,  1},{  4,  1},{  2,  1},{  0,  5},{  0, 84},{  0, 83},
	       {  2,  1},{  0, 53},{  2,  1},{  0, 69},{  0, 85}},

htd10[127][2]={{  2,  1},{  0,  0},{  4,  1},{  2,  1},{  0, 16},{  0,  1},
	       { 10,  1},{  2,  1},{  0, 17},{  4,  1},{  2,  1},{  0, 32},
	       {  0,  2},{  2,  1},{  0, 33},{  0, 18},{ 28,  1},{  8,  1},
	       {  4,  1},{  2,  1},{  0, 34},{  0, 48},{  2,  1},{  0, 49},
	       {  0, 19},{  8,  1},{  4,  1},{  2,  1},{  0,  3},{  0, 50},
	       {  2,  1},{  0, 35},{  0, 64},{  4,  1},{  2,  1},{  0, 65},
	       {  0, 20},{  4,  1},{  2,  1},{  0,  4},{  0, 51},{  2,  1},
	       {  0, 66},{  0, 36},{ 28,  1},{ 10,  1},{  6,  1},{  4,  1},
	       {  2,  1},{  0, 80},{  0,  5},{  0, 96},{  2,  1},{  0, 97},
	       {  0, 22},{ 12,  1},{  6,  1},{  4,  1},{  2,  1},{  0, 67},

	       {  0, 52},{  0, 81},{  2,  1},{  0, 21},{  2,  1},{  0, 82},
	       {  0, 37},{  4,  1},{  2,  1},{  0, 38},{  0, 54},{  0,113},
	       { 20,  1},{  8,  1},{  2,  1},{  0, 23},{  4,  1},{  2,  1},
	       {  0, 68},{  0, 83},{  0,  6},{  6,  1},{  4,  1},{  2,  1},
	       {  0, 53},{  0, 69},{  0, 98},{  2,  1},{  0,112},{  2,  1},
	       {  0,  7},{  0,100},{ 14,  1},{  4,  1},{  2,  1},{  0,114},
	       {  0, 39},{  6,  1},{  2,  1},{  0, 99},{  2,  1},{  0, 84},
	       {  0, 85},{  2,  1},{  0, 70},{  0,115},{  8,  1},{  4,  1},
	       {  2,  1},{  0, 55},{  0,101},{  2,  1},{  0, 86},{  0,116},
	       {  6,  1},{  2,  1},{  0, 71},{  2,  1},{  0,102},{  0,117},

	       {  4,  1},{  2,  1},{  0, 87},{  0,118},{  2,  1},{  0,103},
	       {  0,119}},

htd11[127][2]={{  6,  1},{  2,  1},{  0,  0},{  2,  1},{  0, 16},{  0,  1},
	       {  8,  1},{  2,  1},{  0, 17},{  4,  1},{  2,  1},{  0, 32},
	       {  0,  2},{  0, 18},{ 24,  1},{  8,  1},{  2,  1},{  0, 33},
	       {  2,  1},{  0, 34},{  2,  1},{  0, 48},{  0,  3},{  4,  1},
	       {  2,  1},{  0, 49},{  0, 19},{  4,  1},{  2,  1},{  0, 50},
	       {  0, 35},{  4,  1},{  2,  1},{  0, 64},{  0,  4},{  2,  1},
	       {  0, 65},{  0, 20},{ 30,  1},{ 16,  1},{ 10,  1},{  4,  1},
	       {  2,  1},{  0, 66},{  0, 36},{  4,  1},{  2,  1},{  0, 51},
	       {  0, 67},{  0, 80},{  4,  1},{  2,  1},{  0, 52},{  0, 81},
	       {  0, 97},{  6,  1},{  2,  1},{  0, 22},{  2,  1},{  0,  6},

	       {  0, 38},{  2,  1},{  0, 98},{  2,  1},{  0, 21},{  2,  1},
	       {  0,  5},{  0, 82},{ 16,  1},{ 10,  1},{  6,  1},{  4,  1},
	       {  2,  1},{  0, 37},{  0, 68},{  0, 96},{  2,  1},{  0, 99},
	       {  0, 54},{  4,  1},{  2,  1},{  0,112},{  0, 23},{  0,113},
	       { 16,  1},{  6,  1},{  4,  1},{  2,  1},{  0,  7},{  0,100},
	       {  0,114},{  2,  1},{  0, 39},{  4,  1},{  2,  1},{  0, 83},
	       {  0, 53},{  2,  1},{  0, 84},{  0, 69},{ 10,  1},{  4,  1},
	       {  2,  1},{  0, 70},{  0,115},{  2,  1},{  0, 55},{  2,  1},
	       {  0,101},{  0, 86},{ 10,  1},{  6,  1},{  4,  1},{  2,  1},
	       {  0, 85},{  0, 87},{  0,116},{  2,  1},{  0, 71},{  0,102},

	       {  4,  1},{  2,  1},{  0,117},{  0,118},{  2,  1},{  0,103},
	       {  0,119}},

htd12[127][2]={{ 12,  1},{  4,  1},{  2,  1},{  0, 16},{  0,  1},{  2,  1},
	       {  0, 17},{  2,  1},{  0,  0},{  2,  1},{  0, 32},{  0,  2},
	       { 16,  1},{  4,  1},{  2,  1},{  0, 33},{  0, 18},{  4,  1},
	       {  2,  1},{  0, 34},{  0, 49},{  2,  1},{  0, 19},{  2,  1},
	       {  0, 48},{  2,  1},{  0,  3},{  0, 64},{ 26,  1},{  8,  1},
	       {  4,  1},{  2,  1},{  0, 50},{  0, 35},{  2,  1},{  0, 65},
	       {  0, 51},{ 10,  1},{  4,  1},{  2,  1},{  0, 20},{  0, 66},
	       {  2,  1},{  0, 36},{  2,  1},{  0,  4},{  0, 80},{  4,  1},
	       {  2,  1},{  0, 67},{  0, 52},{  2,  1},{  0, 81},{  0, 21},
	       { 28,  1},{ 14,  1},{  8,  1},{  4,  1},{  2,  1},{  0, 82},

	       {  0, 37},{  2,  1},{  0, 83},{  0, 53},{  4,  1},{  2,  1},
	       {  0, 96},{  0, 22},{  0, 97},{  4,  1},{  2,  1},{  0, 98},
	       {  0, 38},{  6,  1},{  4,  1},{  2,  1},{  0,  5},{  0,  6},
	       {  0, 68},{  2,  1},{  0, 84},{  0, 69},{ 18,  1},{ 10,  1},
	       {  4,  1},{  2,  1},{  0, 99},{  0, 54},{  4,  1},{  2,  1},
	       {  0,112},{  0,  7},{  0,113},{  4,  1},{  2,  1},{  0, 23},
	       {  0,100},{  2,  1},{  0, 70},{  0,114},{ 10,  1},{  6,  1},
	       {  2,  1},{  0, 39},{  2,  1},{  0, 85},{  0,115},{  2,  1},
	       {  0, 55},{  0, 86},{  8,  1},{  4,  1},{  2,  1},{  0,101},
	       {  0,116},{  2,  1},{  0, 71},{  0,102},{  4,  1},{  2,  1},

	       {  0,117},{  0, 87},{  2,  1},{  0,118},{  2,  1},{  0,103},
	       {  0,119}},
		 
htd13[511][2]={{  2,  1},{  0,  0},{  6,  1},{  2,  1},{  0, 16},{  2,  1},
	       {  0,  1},{  0, 17},{ 28,  1},{  8,  1},{  4,  1},{  2,  1},
	       {  0, 32},{  0,  2},{  2,  1},{  0, 33},{  0, 18},{  8,  1},
	       {  4,  1},{  2,  1},{  0, 34},{  0, 48},{  2,  1},{  0,  3},
	       {  0, 49},{  6,  1},{  2,  1},{  0, 19},{  2,  1},{  0, 50},
	       {  0, 35},{  4,  1},{  2,  1},{  0, 64},{  0,  4},{  0, 65},
	       { 70,  1},{ 28,  1},{ 14,  1},{  6,  1},{  2,  1},{  0, 20},
	       {  2,  1},{  0, 51},{  0, 66},{  4,  1},{  2,  1},{  0, 36},
	       {  0, 80},{  2,  1},{  0, 67},{  0, 52},{  4,  1},{  2,  1},
	       {  0, 81},{  0, 21},{  4,  1},{  2,  1},{  0,  5},{  0, 82}, // 60

	       {  2,  1},{  0, 37},{  2,  1},{  0, 68},{  0, 83},{ 14,  1},
	       {  8,  1},{  4,  1},{  2,  1},{  0, 96},{  0,  6},{  2,  1},
	       {  0, 97},{  0, 22},{  4,  1},{  2,  1},{  0,128},{  0,  8},
	       {  0,129},{ 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0, 53},
	       {  0, 98},{  2,  1},{  0, 38},{  0, 84},{  4,  1},{  2,  1},
	       {  0, 69},{  0, 99},{  2,  1},{  0, 54},{  0,112},{  6,  1},
	       {  4,  1},{  2,  1},{  0,  7},{  0, 85},{  0,113},{  2,  1},
	       {  0, 23},{  2,  1},{  0, 39},{  0, 55},{ 72,  1},{ 24,  1},
	       { 12,  1},{  4,  1},{  2,  1},{  0, 24},{  0,130},{  2,  1},
	       {  0, 40},{  4,  1},{  2,  1},{  0,100},{  0, 70},{  0,114}, // 120

	       {  8,  1},{  4,  1},{  2,  1},{  0,132},{  0, 72},{  2,  1},
	       {  0,144},{  0,  9},{  2,  1},{  0,145},{  0, 25},{ 24,  1},
	       { 14,  1},{  8,  1},{  4,  1},{  2,  1},{  0,115},{  0,101},
	       {  2,  1},{  0, 86},{  0,116},{  4,  1},{  2,  1},{  0, 71},
	       {  0,102},{  0,131},{  6,  1},{  2,  1},{  0, 56},{  2,  1},
	       {  0,117},{  0, 87},{  2,  1},{  0,146},{  0, 41},{ 14,  1},
	       {  8,  1},{  4,  1},{  2,  1},{  0,103},{  0,133},{  2,  1},
	       {  0, 88},{  0, 57},{  2,  1},{  0,147},{  2,  1},{  0, 73},
	       {  0,134},{  6,  1},{  2,  1},{  0,160},{  2,  1},{  0,104},
	       {  0, 10},{  2,  1},{  0,161},{  0, 26},{ 68,  1},{ 24,  1}, // 180

	       { 12,  1},{  4,  1},{  2,  1},{  0,162},{  0, 42},{  4,  1},
	       {  2,  1},{  0,149},{  0, 89},{  2,  1},{  0,163},{  0, 58},
	       {  8,  1},{  4,  1},{  2,  1},{  0, 74},{  0,150},{  2,  1},
	       {  0,176},{  0, 11},{  2,  1},{  0,177},{  0, 27},{ 20,  1},
	       {  8,  1},{  2,  1},{  0,178},{  4,  1},{  2,  1},{  0,118},
	       {  0,119},{  0,148},{  6,  1},{  4,  1},{  2,  1},{  0,135},
	       {  0,120},{  0,164},{  4,  1},{  2,  1},{  0,105},{  0,165},
	       {  0, 43},{ 12,  1},{  6,  1},{  4,  1},{  2,  1},{  0, 90},
	       {  0,136},{  0,179},{  2,  1},{  0, 59},{  2,  1},{  0,121},
	       {  0,166},{  6,  1},{  4,  1},{  2,  1},{  0,106},{  0,180}, // 240

	       {  0,192},{  4,  1},{  2,  1},{  0, 12},{  0,152},{  0,193},
	       { 60,  1},{ 22,  1},{ 10,  1},{  6,  1},{  2,  1},{  0, 28},
	       {  2,  1},{  0,137},{  0,181},{  2,  1},{  0, 91},{  0,194},
	       {  4,  1},{  2,  1},{  0, 44},{  0, 60},{  4,  1},{  2,  1},
	       {  0,182},{  0,107},{  2,  1},{  0,196},{  0, 76},{ 16,  1},
	       {  8,  1},{  4,  1},{  2,  1},{  0,168},{  0,138},{  2,  1},
	       {  0,208},{  0, 13},{  2,  1},{  0,209},{  2,  1},{  0, 75},
	       {  2,  1},{  0,151},{  0,167},{ 12,  1},{  6,  1},{  2,  1},
	       {  0,195},{  2,  1},{  0,122},{  0,153},{  4,  1},{  2,  1},
	       {  0,197},{  0, 92},{  0,183},{  4,  1},{  2,  1},{  0, 29}, // 300

	       {  0,210},{  2,  1},{  0, 45},{  2,  1},{  0,123},{  0,211},
	       { 52,  1},{ 28,  1},{ 12,  1},{  4,  1},{  2,  1},{  0, 61},
	       {  0,198},{  4,  1},{  2,  1},{  0,108},{  0,169},{  2,  1},
	       {  0,154},{  0,212},{  8,  1},{  4,  1},{  2,  1},{  0,184},
	       {  0,139},{  2,  1},{  0, 77},{  0,199},{  4,  1},{  2,  1},
	       {  0,124},{  0,213},{  2,  1},{  0, 93},{  0,224},{ 10,  1},
	       {  4,  1},{  2,  1},{  0,225},{  0, 30},{  4,  1},{  2,  1},
	       {  0, 14},{  0, 46},{  0,226},{  8,  1},{  4,  1},{  2,  1},
	       {  0,227},{  0,109},{  2,  1},{  0,140},{  0,228},{  4,  1},
	       {  2,  1},{  0,229},{  0,186},{  0,240},{ 38,  1},{ 16,  1}, // 360

	       {  4,  1},{  2,  1},{  0,241},{  0, 31},{  6,  1},{  4,  1},
	       {  2,  1},{  0,170},{  0,155},{  0,185},{  2,  1},{  0, 62},
	       {  2,  1},{  0,214},{  0,200},{ 12,  1},{  6,  1},{  2,  1},
	       {  0, 78},{  2,  1},{  0,215},{  0,125},{  2,  1},{  0,171},
	       {  2,  1},{  0, 94},{  0,201},{  6,  1},{  2,  1},{  0, 15},
	       {  2,  1},{  0,156},{  0,110},{  2,  1},{  0,242},{  0, 47},
	       { 32,  1},{ 16,  1},{  6,  1},{  4,  1},{  2,  1},{  0,216},
	       {  0,141},{  0, 63},{  6,  1},{  2,  1},{  0,243},{  2,  1},
	       {  0,230},{  0,202},{  2,  1},{  0,244},{  0, 79},{  8,  1},
	       {  4,  1},{  2,  1},{  0,187},{  0,172},{  2,  1},{  0,231}, // 420

	       {  0,245},{  4,  1},{  2,  1},{  0,217},{  0,157},{  2,  1},
	       {  0, 95},{  0,232},{ 30,  1},{ 12,  1},{  6,  1},{  2,  1},
	       {  0,111},{  2,  1},{  0,246},{  0,203},{  4,  1},{  2,  1},
	       {  0,188},{  0,173},{  0,218},{  8,  1},{  2,  1},{  0,247},
	       {  4,  1},{  2,  1},{  0,126},{  0,127},{  0,142},{  6,  1},
	       {  4,  1},{  2,  1},{  0,158},{  0,174},{  0,204},{  2,  1},
	       {  0,248},{  0,143},{ 18,  1},{  8,  1},{  4,  1},{  2,  1},
	       {  0,219},{  0,189},{  2,  1},{  0,234},{  0,249},{  4,  1},
	       {  2,  1},{  0,159},{  0,235},{  2,  1},{  0,190},{  2,  1},
	       {  0,205},{  0,250},{ 14,  1},{  4,  1},{  2,  1},{  0,221}, // 480

	       {  0,236},{  6,  1},{  4,  1},{  2,  1},{  0,233},{  0,175},
	       {  0,220},{  2,  1},{  0,206},{  0,251},{  8,  1},{  4,  1},
	       {  2,  1},{  0,191},{  0,222},{  2,  1},{  0,207},{  0,238},
	       {  4,  1},{  2,  1},{  0,223},{  0,239},{  2,  1},{  0,255},
	       {  2,  1},{  0,237},{  2,  1},{  0,253},{  2,  1},{  0,252},
	       {  0,254}},

htd15[511][2]={{ 16,  1},{  6,  1},{  2,  1},{  0,  0},{  2,  1},{  0, 16},
	       {  0,  1},{  2,  1},{  0, 17},{  4,  1},{  2,  1},{  0, 32},
	       {  0,  2},{  2,  1},{  0, 33},{  0, 18},{ 50,  1},{ 16,  1},
	       {  6,  1},{  2,  1},{  0, 34},{  2,  1},{  0, 48},{  0, 49},
	       {  6,  1},{  2,  1},{  0, 19},{  2,  1},{  0,  3},{  0, 64},
	       {  2,  1},{  0, 50},{  0, 35},{ 14,  1},{  6,  1},{  4,  1},
	       {  2,  1},{  0,  4},{  0, 20},{  0, 65},{  4,  1},{  2,  1},
	       {  0, 51},{  0, 66},{  2,  1},{  0, 36},{  0, 67},{ 10,  1},
	       {  6,  1},{  2,  1},{  0, 52},{  2,  1},{  0, 80},{  0,  5},
	       {  2,  1},{  0, 81},{  0, 21},{  4,  1},{  2,  1},{  0, 82}, // 60

	       {  0, 37},{  4,  1},{  2,  1},{  0, 68},{  0, 83},{  0, 97},
	       { 90,  1},{ 36,  1},{ 18,  1},{ 10,  1},{  6,  1},{  2,  1},
	       {  0, 53},{  2,  1},{  0, 96},{  0,  6},{  2,  1},{  0, 22},
	       {  0, 98},{  4,  1},{  2,  1},{  0, 38},{  0, 84},{  2,  1},
	       {  0, 69},{  0, 99},{ 10,  1},{  6,  1},{  2,  1},{  0, 54},
	       {  2,  1},{  0,112},{  0,  7},{  2,  1},{  0,113},{  0, 85},
	       {  4,  1},{  2,  1},{  0, 23},{  0,100},{  2,  1},{  0,114},
	       {  0, 39},{ 24,  1},{ 16,  1},{  8,  1},{  4,  1},{  2,  1},
	       {  0, 70},{  0,115},{  2,  1},{  0, 55},{  0,101},{  4,  1},
	       {  2,  1},{  0, 86},{  0,128},{  2,  1},{  0,  8},{  0,116}, // 120

	       {  4,  1},{  2,  1},{  0,129},{  0, 24},{  2,  1},{  0,130},
	       {  0, 40},{ 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0, 71},
	       {  0,102},{  2,  1},{  0,131},{  0, 56},{  4,  1},{  2,  1},
	       {  0,117},{  0, 87},{  2,  1},{  0,132},{  0, 72},{  6,  1},
	       {  4,  1},{  2,  1},{  0,144},{  0, 25},{  0,145},{  4,  1},
	       {  2,  1},{  0,146},{  0,118},{  2,  1},{  0,103},{  0, 41},
	       { 92,  1},{ 36,  1},{ 18,  1},{ 10,  1},{  4,  1},{  2,  1},
	       {  0,133},{  0, 88},{  4,  1},{  2,  1},{  0,  9},{  0,119},
	       {  0,147},{  4,  1},{  2,  1},{  0, 57},{  0,148},{  2,  1},
	       {  0, 73},{  0,134},{ 10,  1},{  6,  1},{  2,  1},{  0,104}, // 180

	       {  2,  1},{  0,160},{  0, 10},{  2,  1},{  0,161},{  0, 26},
	       {  4,  1},{  2,  1},{  0,162},{  0, 42},{  2,  1},{  0,149},
	       {  0, 89},{ 26,  1},{ 14,  1},{  6,  1},{  2,  1},{  0,163},
	       {  2,  1},{  0, 58},{  0,135},{  4,  1},{  2,  1},{  0,120},
	       {  0,164},{  2,  1},{  0, 74},{  0,150},{  6,  1},{  4,  1},
	       {  2,  1},{  0,105},{  0,176},{  0,177},{  4,  1},{  2,  1},
	       {  0, 27},{  0,165},{  0,178},{ 14,  1},{  8,  1},{  4,  1},
	       {  2,  1},{  0, 90},{  0, 43},{  2,  1},{  0,136},{  0,151},
	       {  2,  1},{  0,179},{  2,  1},{  0,121},{  0, 59},{  8,  1},
	       {  4,  1},{  2,  1},{  0,106},{  0,180},{  2,  1},{  0, 75}, // 240

	       {  0,193},{  4,  1},{  2,  1},{  0,152},{  0,137},{  2,  1},
	       {  0, 28},{  0,181},{ 80,  1},{ 34,  1},{ 16,  1},{  6,  1},
	       {  4,  1},{  2,  1},{  0, 91},{  0, 44},{  0,194},{  6,  1},
	       {  4,  1},{  2,  1},{  0, 11},{  0,192},{  0,166},{  2,  1},
	       {  0,167},{  0,122},{ 10,  1},{  4,  1},{  2,  1},{  0,195},
	       {  0, 60},{  4,  1},{  2,  1},{  0, 12},{  0,153},{  0,182},
	       {  4,  1},{  2,  1},{  0,107},{  0,196},{  2,  1},{  0, 76},
	       {  0,168},{ 20,  1},{ 10,  1},{  4,  1},{  2,  1},{  0,138},
	       {  0,197},{  4,  1},{  2,  1},{  0,208},{  0, 92},{  0,209},
	       {  4,  1},{  2,  1},{  0,183},{  0,123},{  2,  1},{  0, 29}, // 300

	       {  2,  1},{  0, 13},{  0, 45},{ 12,  1},{  4,  1},{  2,  1},
	       {  0,210},{  0,211},{  4,  1},{  2,  1},{  0, 61},{  0,198},
	       {  2,  1},{  0,108},{  0,169},{  6,  1},{  4,  1},{  2,  1},
	       {  0,154},{  0,184},{  0,212},{  4,  1},{  2,  1},{  0,139},
	       {  0, 77},{  2,  1},{  0,199},{  0,124},{ 68,  1},{ 34,  1},
	       { 18,  1},{ 10,  1},{  4,  1},{  2,  1},{  0,213},{  0, 93},
	       {  4,  1},{  2,  1},{  0,224},{  0, 14},{  0,225},{  4,  1},
	       {  2,  1},{  0, 30},{  0,226},{  2,  1},{  0,170},{  0, 46},
	       {  8,  1},{  4,  1},{  2,  1},{  0,185},{  0,155},{  2,  1},
	       {  0,227},{  0,214},{  4,  1},{  2,  1},{  0,109},{  0, 62}, // 360

	       {  2,  1},{  0,200},{  0,140},{ 16,  1},{  8,  1},{  4,  1},
	       {  2,  1},{  0,228},{  0, 78},{  2,  1},{  0,215},{  0,125},
	       {  4,  1},{  2,  1},{  0,229},{  0,186},{  2,  1},{  0,171},
	       {  0, 94},{  8,  1},{  4,  1},{  2,  1},{  0,201},{  0,156},
	       {  2,  1},{  0,241},{  0, 31},{  6,  1},{  4,  1},{  2,  1},
	       {  0,240},{  0,110},{  0,242},{  2,  1},{  0, 47},{  0,230},
	       { 38,  1},{ 18,  1},{  8,  1},{  4,  1},{  2,  1},{  0,216},
	       {  0,243},{  2,  1},{  0, 63},{  0,244},{  6,  1},{  2,  1},
	       {  0, 79},{  2,  1},{  0,141},{  0,217},{  2,  1},{  0,187},
	       {  0,202},{  8,  1},{  4,  1},{  2,  1},{  0,172},{  0,231}, // 420

	       {  2,  1},{  0,126},{  0,245},{  8,  1},{  4,  1},{  2,  1},
	       {  0,157},{  0, 95},{  2,  1},{  0,232},{  0,142},{  2,  1},
	       {  0,246},{  0,203},{ 34,  1},{ 18,  1},{ 10,  1},{  6,  1},
	       {  4,  1},{  2,  1},{  0, 15},{  0,174},{  0,111},{  2,  1},
	       {  0,188},{  0,218},{  4,  1},{  2,  1},{  0,173},{  0,247},
	       {  2,  1},{  0,127},{  0,233},{  8,  1},{  4,  1},{  2,  1},
	       {  0,158},{  0,204},{  2,  1},{  0,248},{  0,143},{  4,  1},
	       {  2,  1},{  0,219},{  0,189},{  2,  1},{  0,234},{  0,249},
	       { 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0,159},{  0,220},
	       {  2,  1},{  0,205},{  0,235},{  4,  1},{  2,  1},{  0,190}, // 480
	       
	       {  0,250},{  2,  1},{  0,175},{  0,221},{ 14,  1},{  6,  1},
	       {  4,  1},{  2,  1},{  0,236},{  0,206},{  0,251},{  4,  1},
	       {  2,  1},{  0,191},{  0,237},{  2,  1},{  0,222},{  0,252},
	       {  6,  1},{  4,  1},{  2,  1},{  0,207},{  0,253},{  0,238},
	       {  4,  1},{  2,  1},{  0,223},{  0,254},{  2,  1},{  0,239},
	       {  0,255}},

htd16[511][2]={{  2,  1},{  0,  0},{  6,  1},{  2,  1},{  0, 16},{  2,  1},
	       {  0,  1},{  0, 17},{ 42,  1},{  8,  1},{  4,  1},{  2,  1},
	       {  0, 32},{  0,  2},{  2,  1},{  0, 33},{  0, 18},{ 10,  1},
	       {  6,  1},{  2,  1},{  0, 34},{  2,  1},{  0, 48},{  0,  3},
	       {  2,  1},{  0, 49},{  0, 19},{ 10,  1},{  4,  1},{  2,  1},
	       {  0, 50},{  0, 35},{  4,  1},{  2,  1},{  0, 64},{  0,  4},
	       {  0, 65},{  6,  1},{  2,  1},{  0, 20},{  2,  1},{  0, 51},
	       {  0, 66},{  4,  1},{  2,  1},{  0, 36},{  0, 80},{  2,  1},
	       {  0, 67},{  0, 52},{138,  1},{ 40,  1},{ 16,  1},{  6,  1},
	       {  4,  1},{  2,  1},{  0,  5},{  0, 21},{  0, 81},{  4,  1}, // 60

	       {  2,  1},{  0, 82},{  0, 37},{  4,  1},{  2,  1},{  0, 68},
	       {  0, 53},{  0, 83},{ 10,  1},{  6,  1},{  4,  1},{  2,  1},
	       {  0, 96},{  0,  6},{  0, 97},{  2,  1},{  0, 22},{  0, 98},
	       {  8,  1},{  4,  1},{  2,  1},{  0, 38},{  0, 84},{  2,  1},
	       {  0, 69},{  0, 99},{  4,  1},{  2,  1},{  0, 54},{  0,112},
	       {  0,113},{ 40,  1},{ 18,  1},{  8,  1},{  2,  1},{  0, 23},
	       {  2,  1},{  0,  7},{  2,  1},{  0, 85},{  0,100},{  4,  1},
	       {  2,  1},{  0,114},{  0, 39},{  4,  1},{  2,  1},{  0, 70},
	       {  0,101},{  0,115},{ 10,  1},{  6,  1},{  2,  1},{  0, 55},
	       {  2,  1},{  0, 86},{  0,  8},{  2,  1},{  0,128},{  0,129}, // 120

	       {  6,  1},{  2,  1},{  0, 24},{  2,  1},{  0,116},{  0, 71},
	       {  2,  1},{  0,130},{  2,  1},{  0, 40},{  0,102},{ 24,  1},
	       { 14,  1},{  8,  1},{  4,  1},{  2,  1},{  0,131},{  0, 56},
	       {  2,  1},{  0,117},{  0,132},{  4,  1},{  2,  1},{  0, 72},
	       {  0,144},{  0,145},{  6,  1},{  2,  1},{  0, 25},{  2,  1},
	       {  0,  9},{  0,118},{  2,  1},{  0,146},{  0, 41},{ 14,  1},
	       {  8,  1},{  4,  1},{  2,  1},{  0,133},{  0, 88},{  2,  1},
	       {  0,147},{  0, 57},{  4,  1},{  2,  1},{  0,160},{  0, 10},
	       {  0, 26},{  8,  1},{  2,  1},{  0,162},{  2,  1},{  0,103},
	       {  2,  1},{  0, 87},{  0, 73},{  6,  1},{  2,  1},{  0,148}, // 180

	       {  2,  1},{  0,119},{  0,134},{  2,  1},{  0,161},{  2,  1},
	       {  0,104},{  0,149},{220,  1},{126,  1},{ 50,  1},{ 26,  1},
	       { 12,  1},{  6,  1},{  2,  1},{  0, 42},{  2,  1},{  0, 89},
	       {  0, 58},{  2,  1},{  0,163},{  2,  1},{  0,135},{  0,120},
	       {  8,  1},{  4,  1},{  2,  1},{  0,164},{  0, 74},{  2,  1},
	       {  0,150},{  0,105},{  4,  1},{  2,  1},{  0,176},{  0, 11},
	       {  0,177},{ 10,  1},{  4,  1},{  2,  1},{  0, 27},{  0,178},
	       {  2,  1},{  0, 43},{  2,  1},{  0,165},{  0, 90},{  6,  1},
	       {  2,  1},{  0,179},{  2,  1},{  0,166},{  0,106},{  4,  1},
	       {  2,  1},{  0,180},{  0, 75},{  2,  1},{  0, 12},{  0,193}, // 240

	       { 30,  1},{ 14,  1},{  6,  1},{  4,  1},{  2,  1},{  0,181},
	       {  0,194},{  0, 44},{  4,  1},{  2,  1},{  0,167},{  0,195},
	       {  2,  1},{  0,107},{  0,196},{  8,  1},{  2,  1},{  0, 29},
	       {  4,  1},{  2,  1},{  0,136},{  0,151},{  0, 59},{  4,  1},
	       {  2,  1},{  0,209},{  0,210},{  2,  1},{  0, 45},{  0,211},
	       { 18,  1},{  6,  1},{  4,  1},{  2,  1},{  0, 30},{  0, 46},
	       {  0,226},{  6,  1},{  4,  1},{  2,  1},{  0,121},{  0,152},
	       {  0,192},{  2,  1},{  0, 28},{  2,  1},{  0,137},{  0, 91},
	       { 14,  1},{  6,  1},{  2,  1},{  0, 60},{  2,  1},{  0,122},
	       {  0,182},{  4,  1},{  2,  1},{  0, 76},{  0,153},{  2,  1}, // 300

	       {  0,168},{  0,138},{  6,  1},{  2,  1},{  0, 13},{  2,  1},
	       {  0,197},{  0, 92},{  4,  1},{  2,  1},{  0, 61},{  0,198},
	       {  2,  1},{  0,108},{  0,154},{ 88,  1},{ 86,  1},{ 36,  1},
	       { 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0,139},{  0, 77},
	       {  2,  1},{  0,199},{  0,124},{  4,  1},{  2,  1},{  0,213},
	       {  0, 93},{  2,  1},{  0,224},{  0, 14},{  8,  1},{  2,  1},
	       {  0,227},{  4,  1},{  2,  1},{  0,208},{  0,183},{  0,123},
	       {  6,  1},{  4,  1},{  2,  1},{  0,169},{  0,184},{  0,212},
	       {  2,  1},{  0,225},{  2,  1},{  0,170},{  0,185},{ 24,  1},
	       { 10,  1},{  6,  1},{  4,  1},{  2,  1},{  0,155},{  0,214}, // 360

	       {  0,109},{  2,  1},{  0, 62},{  0,200},{  6,  1},{  4,  1},
	       {  2,  1},{  0,140},{  0,228},{  0, 78},{  4,  1},{  2,  1},
	       {  0,215},{  0,229},{  2,  1},{  0,186},{  0,171},{ 12,  1},
	       {  4,  1},{  2,  1},{  0,156},{  0,230},{  4,  1},{  2,  1},
	       {  0,110},{  0,216},{  2,  1},{  0,141},{  0,187},{  8,  1},
	       {  4,  1},{  2,  1},{  0,231},{  0,157},{  2,  1},{  0,232},
	       {  0,142},{  4,  1},{  2,  1},{  0,203},{  0,188},{  0,158},
	       {  0,241},{  2,  1},{  0, 31},{  2,  1},{  0, 15},{  0, 47},
	       { 66,  1},{ 56,  1},{  2,  1},{  0,242},{ 52,  1},{ 50,  1},
	       { 20,  1},{  8,  1},{  2,  1},{  0,189},{  2,  1},{  0, 94}, // 420

	       {  2,  1},{  0,125},{  0,201},{  6,  1},{  2,  1},{  0,202},
	       {  2,  1},{  0,172},{  0,126},{  4,  1},{  2,  1},{  0,218},
	       {  0,173},{  0,204},{ 10,  1},{  6,  1},{  2,  1},{  0,174},
	       {  2,  1},{  0,219},{  0,220},{  2,  1},{  0,205},{  0,190},
	       {  6,  1},{  4,  1},{  2,  1},{  0,235},{  0,237},{  0,238},
	       {  6,  1},{  4,  1},{  2,  1},{  0,217},{  0,234},{  0,233},
	       {  2,  1},{  0,222},{  4,  1},{  2,  1},{  0,221},{  0,236},
	       {  0,206},{  0, 63},{  0,240},{  4,  1},{  2,  1},{  0,243},
	       {  0,244},{  2,  1},{  0, 79},{  2,  1},{  0,245},{  0, 95},
	       { 10,  1},{  2,  1},{  0,255},{  4,  1},{  2,  1},{  0,246}, // 480

	       {  0,111},{  2,  1},{  0,247},{  0,127},{ 12,  1},{  6,  1},
	       {  2,  1},{  0,143},{  2,  1},{  0,248},{  0,249},{  4,  1},
	       {  2,  1},{  0,159},{  0,250},{  0,175},{  8,  1},{  4,  1},
	       {  2,  1},{  0,251},{  0,191},{  2,  1},{  0,252},{  0,207},
	       {  4,  1},{  2,  1},{  0,253},{  0,223},{  2,  1},{  0,254},
	       {  0,239}},

htd24[512][2]={{ 60,  1},{  8,  1},{  4,  1},{  2,  1},{  0,  0},{  0, 16},
	       {  2,  1},{  0,  1},{  0, 17},{ 14,  1},{  6,  1},{  4,  1},
	       {  2,  1},{  0, 32},{  0,  2},{  0, 33},{  2,  1},{  0, 18},
	       {  2,  1},{  0, 34},{  2,  1},{  0, 48},{  0,  3},{ 14,  1},
	       {  4,  1},{  2,  1},{  0, 49},{  0, 19},{  4,  1},{  2,  1},
	       {  0, 50},{  0, 35},{  4,  1},{  2,  1},{  0, 64},{  0,  4},
	       {  0, 65},{  8,  1},{  4,  1},{  2,  1},{  0, 20},{  0, 51},
	       {  2,  1},{  0, 66},{  0, 36},{  6,  1},{  4,  1},{  2,  1},
	       {  0, 67},{  0, 52},{  0, 81},{  6,  1},{  4,  1},{  2,  1},
	       {  0, 80},{  0,  5},{  0, 21},{  2,  1},{  0, 82},{  0, 37}, // 60

	       {250+85,  1},{ 98,  1},{ 34,  1},{ 18,  1},{ 10,  1},{  4,  1},
	       {  2,  1},{  0, 68},{  0, 83},{  2,  1},{  0, 53},{  2,  1},
	       {  0, 96},{  0,  6},{  4,  1},{  2,  1},{  0, 97},{  0, 22},
	       {  2,  1},{  0, 98},{  0, 38},{  8,  1},{  4,  1},{  2,  1},
	       {  0, 84},{  0, 69},{  2,  1},{  0, 99},{  0, 54},{  4,  1},
	       {  2,  1},{  0,113},{  0, 85},{  2,  1},{  0,100},{  0, 70},
	       { 32,  1},{ 14,  1},{  6,  1},{  2,  1},{  0,114},{  2,  1},
	       {  0, 39},{  0, 55},{  2,  1},{  0,115},{  4,  1},{  2,  1},
	       {  0,112},{  0,  7},{  0, 23},{ 10,  1},{  4,  1},{  2,  1},
	       {  0,101},{  0, 86},{  4,  1},{  2,  1},{  0,128},{  0,  8}, // 120

	       {  0,129},{  4,  1},{  2,  1},{  0,116},{  0, 71},{  2,  1},
	       {  0, 24},{  0,130},{ 16,  1},{  8,  1},{  4,  1},{  2,  1},
	       {  0, 40},{  0,102},{  2,  1},{  0,131},{  0, 56},{  4,  1},
	       {  2,  1},{  0,117},{  0, 87},{  2,  1},{  0,132},{  0, 72},
	       {  8,  1},{  4,  1},{  2,  1},{  0,145},{  0, 25},{  2,  1},
	       {  0,146},{  0,118},{  4,  1},{  2,  1},{  0,103},{  0, 41},
	       {  2,  1},{  0,133},{  0, 88},{ 92,  1},{ 34,  1},{ 16,  1},
	       {  8,  1},{  4,  1},{  2,  1},{  0,147},{  0, 57},{  2,  1},
	       {  0,148},{  0, 73},{  4,  1},{  2,  1},{  0,119},{  0,134},
	       {  2,  1},{  0,104},{  0,161},{  8,  1},{  4,  1},{  2,  1}, // 180

	       {  0,162},{  0, 42},{  2,  1},{  0,149},{  0, 89},{  4,  1},
	       {  2,  1},{  0,163},{  0, 58},{  2,  1},{  0,135},{  2,  1},
	       {  0,120},{  0, 74},{ 22,  1},{ 12,  1},{  4,  1},{  2,  1},
	       {  0,164},{  0,150},{  4,  1},{  2,  1},{  0,105},{  0,177},
	       {  2,  1},{  0, 27},{  0,165},{  6,  1},{  2,  1},{  0,178},
	       {  2,  1},{  0, 90},{  0, 43},{  2,  1},{  0,136},{  0,179},
	       { 16,  1},{ 10,  1},{  6,  1},{  2,  1},{  0,144},{  2,  1},
	       {  0,  9},{  0,160},{  2,  1},{  0,151},{  0,121},{  4,  1},
	       {  2,  1},{  0,166},{  0,106},{  0,180},{ 12,  1},{  6,  1},
	       {  2,  1},{  0, 26},{  2,  1},{  0, 10},{  0,176},{  2,  1}, // 240

	       {  0, 59},{  2,  1},{  0, 11},{  0,192},{  4,  1},{  2,  1},
	       {  0, 75},{  0,193},{  2,  1},{  0,152},{  0,137},{ 67,  1},
	       { 34,  1},{ 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0, 28},
	       {  0,181},{  2,  1},{  0, 91},{  0,194},{  4,  1},{  2,  1},
	       {  0, 44},{  0,167},{  2,  1},{  0,122},{  0,195},{ 10,  1},
	       {  6,  1},{  2,  1},{  0, 60},{  2,  1},{  0, 12},{  0,208},
	       {  2,  1},{  0,182},{  0,107},{  4,  1},{  2,  1},{  0,196},
	       {  0, 76},{  2,  1},{  0,153},{  0,168},{ 16,  1},{  8,  1},
	       {  4,  1},{  2,  1},{  0,138},{  0,197},{  2,  1},{  0, 92},
	       {  0,209},{  4,  1},{  2,  1},{  0,183},{  0,123},{  2,  1}, // 300

	       {  0, 29},{  0,210},{  9,  1},{  4,  1},{  2,  1},{  0, 45},
	       {  0,211},{  2,  1},{  0, 61},{  0,198},{ 85,250},{  4,  1}, // 306 -
	       {  2,  1},{  0,108},{  0,169},{  2,  1},{  0,154},{  0,212},
	       { 32,  1},{ 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0,184},
	       {  0,139},{  2,  1},{  0, 77},{  0,199},{  4,  1},{  2,  1},
	       {  0,124},{  0,213},{  2,  1},{  0, 93},{  0,225},{  8,  1},
	       {  4,  1},{  2,  1},{  0, 30},{  0,226},{  2,  1},{  0,170},
	       {  0,185},{  4,  1},{  2,  1},{  0,155},{  0,227},{  2,  1},
	       {  0,214},{  0,109},{ 20,  1},{ 10,  1},{  6,  1},{  2,  1},
	       {  0, 62},{  2,  1},{  0, 46},{  0, 78},{  2,  1},{  0,200}, // 360

	       {  0,140},{  4,  1},{  2,  1},{  0,228},{  0,215},{  4,  1},
	       {  2,  1},{  0,125},{  0,171},{  0,229},{ 10,  1},{  4,  1},
	       {  2,  1},{  0,186},{  0, 94},{  2,  1},{  0,201},{  2,  1},
	       {  0,156},{  0,110},{  8,  1},{  2,  1},{  0,230},{  2,  1},
	       {  0, 13},{  2,  1},{  0,224},{  0, 14},{  4,  1},{  2,  1},
	       {  0,216},{  0,141},{  2,  1},{  0,187},{  0,202},{ 74,  1},
	       {  2,  1},{  0,255},{ 64,  1},{ 58,  1},{ 32,  1},{ 16,  1},
	       {  8,  1},{  4,  1},{  2,  1},{  0,172},{  0,231},{  2,  1},
	       {  0,126},{  0,217},{  4,  1},{  2,  1},{  0,157},{  0,232},
	       {  2,  1},{  0,142},{  0,203},{  8,  1},{  4,  1},{  2,  1}, // 420

	       {  0,188},{  0,218},{  2,  1},{  0,173},{  0,233},{  4,  1},
	       {  2,  1},{  0,158},{  0,204},{  2,  1},{  0,219},{  0,189},
	       { 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0,234},{  0,174},
	       {  2,  1},{  0,220},{  0,205},{  4,  1},{  2,  1},{  0,235},
	       {  0,190},{  2,  1},{  0,221},{  0,236},{  8,  1},{  4,  1},
	       {  2,  1},{  0,206},{  0,237},{  2,  1},{  0,222},{  0,238},
	       {  0, 15},{  4,  1},{  2,  1},{  0,240},{  0, 31},{  0,241},
	       {  4,  1},{  2,  1},{  0,242},{  0, 47},{  2,  1},{  0,243},
	       {  0, 63},{ 18,  1},{  8,  1},{  4,  1},{  2,  1},{  0,244},
	       {  0, 79},{  2,  1},{  0,245},{  0, 95},{  4,  1},{  2,  1}, // 480

	       {  0,246},{  0,111},{  2,  1},{  0,247},{  2,  1},{  0,127},
	       {  0,143},{ 10,  1},{  4,  1},{  2,  1},{  0,248},{  0,249},
	       {  4,  1},{  2,  1},{  0,159},{  0,175},{  0,250},{  8,  1},
	       {  4,  1},{  2,  1},{  0,251},{  0,191},{  2,  1},{  0,252},
	       {  0,207},{  4,  1},{  2,  1},{  0,253},{  0,223},{  2,  1},
	       {  0,254},{  0,239}},

htd32[ 31][2]={{  2,  1},{  0,  0},{  8,  1},{  4,  1},{  2,  1},{  0,  8},
	       {  0,  4},{  2,  1},{  0,  1},{  0,  2},{  8,  1},{  4,  1},
	       {  2,  1},{  0, 12},{  0, 10},{  2,  1},{  0,  3},{  0,  6},
	       {  6,  1},{  2,  1},{  0,  9},{  2,  1},{  0,  5},{  0,  7},
	       {  4,  1},{  2,  1},{  0, 14},{  0, 13},{  2,  1},{  0, 15},
	       {  0, 11}},

htd33[ 31][2]={{ 16,  1},{  8,  1},{  4,  1},{  2,  1},{  0,  0},{  0,  1},
	       {  2,  1},{  0,  2},{  0,  3},{  4,  1},{  2,  1},{  0,  4},
	       {  0,  5},{  2,  1},{  0,  6},{  0,  7},{  8,  1},{  4,  1},
	       {  2,  1},{  0,  8},{  0,  9},{  2,  1},{  0, 10},{  0, 11},
	       {  4,  1},{  2,  1},{  0, 12},{  0, 13},{  2,  1},{  0, 14},
	       {  0, 15}};

const ATTR_ALIGN(64) HUFFMANCODETABLE Mpegtoraw::ht[HTN]=
{
  { 0, (unsigned)(0-1), (unsigned)(0-1), 0,  0, htd33},
  { 1, 2-1, 2-1, 0,  7,htd01},
  { 2, 3-1, 3-1, 0, 17,htd02},
  { 3, 3-1, 3-1, 0, 17,htd03},
  { 4, (unsigned)(0-1), (unsigned)(0-1), 0,  0, htd33},
  { 5, 4-1, 4-1, 0, 31,htd05},
  { 6, 4-1, 4-1, 0, 31,htd06},
  { 7, 6-1, 6-1, 0, 71,htd07},
  { 8, 6-1, 6-1, 0, 71,htd08},
  { 9, 6-1, 6-1, 0, 71,htd09},
  {10, 8-1, 8-1, 0,127,htd10},
  {11, 8-1, 8-1, 0,127,htd11},
  {12, 8-1, 8-1, 0,127,htd12},
  {13,16-1,16-1, 0,511,htd13},
  {14, (unsigned)(0-1), (unsigned)(0-1), 0,  0, htd33},
  {15,16-1,16-1, 0,511,htd15},
  {16,16-1,16-1, 1,511,htd16},
  {17,16-1,16-1, 2,511,htd16},
  {18,16-1,16-1, 3,511,htd16},
  {19,16-1,16-1, 4,511,htd16},
  {20,16-1,16-1, 6,511,htd16},
  {21,16-1,16-1, 8,511,htd16},
  {22,16-1,16-1,10,511,htd16},
  {23,16-1,16-1,13,511,htd16},
  {24,16-1,16-1, 4,512,htd24},
  {25,16-1,16-1, 5,512,htd24},
  {26,16-1,16-1, 6,512,htd24},
  {27,16-1,16-1, 7,512,htd24},
  {28,16-1,16-1, 8,512,htd24},
  {29,16-1,16-1, 9,512,htd24},
  {30,16-1,16-1,11,512,htd24},
  {31,16-1,16-1,13,512,htd24},
  {32, 1-1,16-1, 0, 31,htd32},
  {33, 1-1,16-1, 0, 31,htd33}
};