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 **
|
|
25 ** $Id: hcb_7.h,v 1.2 2003/07/29 08:20:14 menno Exp $
|
|
26 **/
|
|
27
|
|
28 /* Binary search huffman table HCB_7 */
|
|
29
|
|
30
|
|
31 static hcb_bin_pair hcb7[] = {
|
|
32 { /* 0 */ 0, { 1, 2 } },
|
|
33 { /* 1 */ 1, { 0, 0 } },
|
|
34 { /* 2 */ 0, { 1, 2 } },
|
|
35 { /* 3 */ 0, { 2, 3 } },
|
|
36 { /* 4 */ 0, { 3, 4 } },
|
|
37 { /* 5 */ 1, { 1, 0 } },
|
|
38 { /* 6 */ 1, { 0, 1 } },
|
|
39 { /* 7 */ 0, { 2, 3 } },
|
|
40 { /* 8 */ 0, { 3, 4 } },
|
|
41 { /* 9 */ 1, { 1, 1 } },
|
|
42 { /* 10 */ 0, { 3, 4 } },
|
|
43 { /* 11 */ 0, { 4, 5 } },
|
|
44 { /* 12 */ 0, { 5, 6 } },
|
|
45 { /* 13 */ 0, { 6, 7 } },
|
|
46 { /* 14 */ 0, { 7, 8 } },
|
|
47 { /* 15 */ 0, { 8, 9 } },
|
|
48 { /* 16 */ 0, { 9, 10 } },
|
|
49 { /* 17 */ 0, { 10, 11 } },
|
|
50 { /* 18 */ 0, { 11, 12 } },
|
|
51 { /* 19 */ 1, { 2, 1 } },
|
|
52 { /* 20 */ 1, { 1, 2 } },
|
|
53 { /* 21 */ 1, { 2, 0 } },
|
|
54 { /* 22 */ 1, { 0, 2 } },
|
|
55 { /* 23 */ 0, { 8, 9 } },
|
|
56 { /* 24 */ 0, { 9, 10 } },
|
|
57 { /* 25 */ 0, { 10, 11 } },
|
|
58 { /* 26 */ 0, { 11, 12 } },
|
|
59 { /* 27 */ 0, { 12, 13 } },
|
|
60 { /* 28 */ 0, { 13, 14 } },
|
|
61 { /* 29 */ 0, { 14, 15 } },
|
|
62 { /* 30 */ 0, { 15, 16 } },
|
|
63 { /* 31 */ 1, { 3, 1 } },
|
|
64 { /* 32 */ 1, { 1, 3 } },
|
|
65 { /* 33 */ 1, { 2, 2 } },
|
|
66 { /* 34 */ 1, { 3, 0 } },
|
|
67 { /* 35 */ 1, { 0, 3 } },
|
|
68 { /* 36 */ 0, { 11, 12 } },
|
|
69 { /* 37 */ 0, { 12, 13 } },
|
|
70 { /* 38 */ 0, { 13, 14 } },
|
|
71 { /* 39 */ 0, { 14, 15 } },
|
|
72 { /* 40 */ 0, { 15, 16 } },
|
|
73 { /* 41 */ 0, { 16, 17 } },
|
|
74 { /* 42 */ 0, { 17, 18 } },
|
|
75 { /* 43 */ 0, { 18, 19 } },
|
|
76 { /* 44 */ 0, { 19, 20 } },
|
|
77 { /* 45 */ 0, { 20, 21 } },
|
|
78 { /* 46 */ 0, { 21, 22 } },
|
|
79 { /* 47 */ 1, { 2, 3 } },
|
|
80 { /* 48 */ 1, { 3, 2 } },
|
|
81 { /* 49 */ 1, { 1, 4 } },
|
|
82 { /* 50 */ 1, { 4, 1 } },
|
|
83 { /* 51 */ 1, { 1, 5 } },
|
|
84 { /* 52 */ 1, { 5, 1 } },
|
|
85 { /* 53 */ 1, { 3, 3 } },
|
|
86 { /* 54 */ 1, { 2, 4 } },
|
|
87 { /* 55 */ 1, { 0, 4 } },
|
|
88 { /* 56 */ 1, { 4, 0 } },
|
|
89 { /* 57 */ 0, { 12, 13 } },
|
|
90 { /* 58 */ 0, { 13, 14 } },
|
|
91 { /* 59 */ 0, { 14, 15 } },
|
|
92 { /* 60 */ 0, { 15, 16 } },
|
|
93 { /* 61 */ 0, { 16, 17 } },
|
|
94 { /* 62 */ 0, { 17, 18 } },
|
|
95 { /* 63 */ 0, { 18, 19 } },
|
|
96 { /* 64 */ 0, { 19, 20 } },
|
|
97 { /* 65 */ 0, { 20, 21 } },
|
|
98 { /* 66 */ 0, { 21, 22 } },
|
|
99 { /* 67 */ 0, { 22, 23 } },
|
|
100 { /* 68 */ 0, { 23, 24 } },
|
|
101 { /* 69 */ 1, { 4, 2 } },
|
|
102 { /* 70 */ 1, { 2, 5 } },
|
|
103 { /* 71 */ 1, { 5, 2 } },
|
|
104 { /* 72 */ 1, { 0, 5 } },
|
|
105 { /* 73 */ 1, { 6, 1 } },
|
|
106 { /* 74 */ 1, { 5, 0 } },
|
|
107 { /* 75 */ 1, { 1, 6 } },
|
|
108 { /* 76 */ 1, { 4, 3 } },
|
|
109 { /* 77 */ 1, { 3, 5 } },
|
|
110 { /* 78 */ 1, { 3, 4 } },
|
|
111 { /* 79 */ 1, { 5, 3 } },
|
|
112 { /* 80 */ 1, { 2, 6 } },
|
|
113 { /* 81 */ 1, { 6, 2 } },
|
|
114 { /* 82 */ 1, { 1, 7 } },
|
|
115 { /* 83 */ 0, { 10, 11 } },
|
|
116 { /* 84 */ 0, { 11, 12 } },
|
|
117 { /* 85 */ 0, { 12, 13 } },
|
|
118 { /* 86 */ 0, { 13, 14 } },
|
|
119 { /* 87 */ 0, { 14, 15 } },
|
|
120 { /* 88 */ 0, { 15, 16 } },
|
|
121 { /* 89 */ 0, { 16, 17 } },
|
|
122 { /* 90 */ 0, { 17, 18 } },
|
|
123 { /* 91 */ 0, { 18, 19 } },
|
|
124 { /* 92 */ 0, { 19, 20 } },
|
|
125 { /* 93 */ 1, { 3, 6 } },
|
|
126 { /* 94 */ 1, { 0, 6 } },
|
|
127 { /* 95 */ 1, { 6, 0 } },
|
|
128 { /* 96 */ 1, { 4, 4 } },
|
|
129 { /* 97 */ 1, { 7, 1 } },
|
|
130 { /* 98 */ 1, { 4, 5 } },
|
|
131 { /* 99 */ 1, { 7, 2 } },
|
|
132 { /* 00 */ 1, { 5, 4 } },
|
|
133 { /* 01 */ 1, { 6, 3 } },
|
|
134 { /* 02 */ 1, { 2, 7 } },
|
|
135 { /* 03 */ 1, { 7, 3 } },
|
|
136 { /* 04 */ 1, { 6, 4 } },
|
|
137 { /* 05 */ 1, { 5, 5 } },
|
|
138 { /* 06 */ 1, { 4, 6 } },
|
|
139 { /* 07 */ 1, { 3, 7 } },
|
|
140 { /* 08 */ 0, { 5, 6 } },
|
|
141 { /* 09 */ 0, { 6, 7 } },
|
|
142 { /* 10 */ 0, { 7, 8 } },
|
|
143 { /* 11 */ 0, { 8, 9 } },
|
|
144 { /* 12 */ 0, { 9, 10 } },
|
|
145 { /* 13 */ 1, { 7, 0 } },
|
|
146 { /* 14 */ 1, { 0, 7 } },
|
|
147 { /* 15 */ 1, { 6, 5 } },
|
|
148 { /* 16 */ 1, { 5, 6 } },
|
|
149 { /* 17 */ 1, { 7, 4 } },
|
|
150 { /* 18 */ 1, { 4, 7 } },
|
|
151 { /* 19 */ 1, { 5, 7 } },
|
|
152 { /* 20 */ 1, { 7, 5 } },
|
|
153 { /* 21 */ 0, { 2, 3 } },
|
|
154 { /* 22 */ 0, { 3, 4 } },
|
|
155 { /* 23 */ 1, { 7, 6 } },
|
|
156 { /* 24 */ 1, { 6, 6 } },
|
|
157 { /* 25 */ 1, { 6, 7 } },
|
|
158 { /* 26 */ 1, { 7, 7 } }
|
|
159 };
|