Mercurial > mplayer.hg
annotate libfaad2/codebook/hcb_3.h @ 24582:6d5999a6b4e2
warning fix:
sub.c: In function 'vo_update_osd':
sub.c:1104: warning: suggest explicit braces to avoid ambiguous 'else'
author | diego |
---|---|
date | Mon, 24 Sep 2007 15:39:12 +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_3.h,v 1.3 2003/09/09 18:12:01 menno Exp $ |
10725 | 26 **/ |
27 | |
28 /* Binary search huffman table HCB_3 */ | |
29 | |
30 | |
31 static hcb_bin_quad hcb3[] = { | |
32 { /* 0 */ 0, { 1, 2, 0, 0 } }, | |
33 { /* 1 */ 1, { 0, 0, 0, 0 } }, /* 0 */ | |
34 { /* 2 */ 0, { 1, 2, 0, 0 } }, | |
35 { /* 3 */ 0, { 2, 3, 0, 0 } }, | |
36 { /* 4 */ 0, { 3, 4, 0, 0 } }, | |
37 { /* 5 */ 0, { 4, 5, 0, 0 } }, | |
38 { /* 6 */ 0, { 5, 6, 0, 0 } }, | |
39 { /* 7 */ 0, { 6, 7, 0, 0 } }, | |
40 { /* 8 */ 0, { 7, 8, 0, 0 } }, | |
41 { /* 9 */ 1, { 1, 0, 0, 0 } }, /* 1000 */ | |
42 { /* 10 */ 1, { 0, 0, 0, 1 } }, /* 1001 */ | |
43 { /* 11 */ 1, { 0, 1, 0, 0 } }, /* 1010 */ | |
44 { /* 12 */ 1, { 0, 0, 1, 0 } }, /* 1011 */ | |
45 { /* 13 */ 0, { 4, 5, 0, 0 } }, | |
46 { /* 14 */ 0, { 5, 6, 0, 0 } }, | |
47 { /* 15 */ 0, { 6, 7, 0, 0 } }, | |
48 { /* 16 */ 0, { 7, 8, 0, 0 } }, | |
49 { /* 17 */ 1, { 1, 1, 0, 0 } }, | |
50 { /* 18 */ 1, { 0, 0, 1, 1 } }, | |
51 { /* 19 */ 0, { 6, 7, 0, 0 } }, | |
52 { /* 20 */ 0, { 7, 8, 0, 0 } }, | |
53 { /* 21 */ 0, { 8, 9, 0, 0 } }, | |
54 { /* 22 */ 0, { 9, 10, 0, 0 } }, | |
55 { /* 23 */ 0, { 10, 11, 0, 0 } }, | |
56 { /* 24 */ 0, { 11, 12, 0, 0 } }, | |
57 { /* 25 */ 1, { 0, 1, 1, 0 } }, /* 110100 */ | |
58 { /* 26 */ 1, { 0, 1, 0, 1 } }, /* 110101 */ | |
59 { /* 27 */ 1, { 1, 0, 1, 0 } }, /* 110110 */ | |
60 { /* 28 */ 1, { 0, 1, 1, 1 } }, /* 110111 */ | |
61 { /* 29 */ 1, { 1, 0, 0, 1 } }, /* 111000 */ | |
62 { /* 30 */ 1, { 1, 1, 1, 0 } }, /* 111001 */ | |
63 { /* 31 */ 0, { 6, 7, 0, 0 } }, | |
64 { /* 32 */ 0, { 7, 8, 0, 0 } }, | |
65 { /* 33 */ 0, { 8, 9, 0, 0 } }, | |
66 { /* 34 */ 0, { 9, 10, 0, 0 } }, | |
67 { /* 35 */ 0, { 10, 11, 0, 0 } }, | |
68 { /* 36 */ 0, { 11, 12, 0, 0 } }, | |
69 { /* 37 */ 1, { 1, 1, 1, 1 } }, /* 1110100 */ | |
70 { /* 38 */ 1, { 1, 0, 1, 1 } }, /* 1110101 */ | |
71 { /* 39 */ 1, { 1, 1, 0, 1 } }, /* 1110110 */ | |
72 { /* 40 */ 0, { 9, 10, 0, 0 } }, | |
73 { /* 41 */ 0, { 10, 11, 0, 0 } }, | |
74 { /* 42 */ 0, { 11, 12, 0, 0 } }, | |
75 { /* 43 */ 0, { 12, 13, 0, 0 } }, | |
76 { /* 44 */ 0, { 13, 14, 0, 0 } }, | |
77 { /* 45 */ 0, { 14, 15, 0, 0 } }, | |
78 { /* 46 */ 0, { 15, 16, 0, 0 } }, | |
79 { /* 47 */ 0, { 16, 17, 0, 0 } }, | |
80 { /* 48 */ 0, { 17, 18, 0, 0 } }, | |
81 { /* 49 */ 1, { 2, 0, 0, 0 } }, /* 11101110 */ | |
82 { /* 50 */ 1, { 0, 0, 0, 2 } }, /* 11101111 */ | |
83 { /* 51 */ 1, { 0, 0, 1, 2 } }, /* 11110000 */ | |
84 { /* 52 */ 1, { 2, 1, 0, 0 } }, /* 11110001 */ | |
85 { /* 53 */ 1, { 1, 2, 1, 0 } }, /* 11110010 */ | |
86 { /* 54 */ 0, { 13, 14, 0, 0 } }, | |
87 { /* 55 */ 0, { 14, 15, 0, 0 } }, | |
88 { /* 56 */ 0, { 15, 16, 0, 0 } }, | |
89 { /* 57 */ 0, { 16, 17, 0, 0 } }, | |
90 { /* 58 */ 0, { 17, 18, 0, 0 } }, | |
91 { /* 59 */ 0, { 18, 19, 0, 0 } }, | |
92 { /* 60 */ 0, { 19, 20, 0, 0 } }, | |
93 { /* 61 */ 0, { 20, 21, 0, 0 } }, | |
94 { /* 62 */ 0, { 21, 22, 0, 0 } }, | |
95 { /* 63 */ 0, { 22, 23, 0, 0 } }, | |
96 { /* 64 */ 0, { 23, 24, 0, 0 } }, | |
97 { /* 65 */ 0, { 24, 25, 0, 0 } }, | |
98 { /* 66 */ 0, { 25, 26, 0, 0 } }, | |
99 { /* 67 */ 1, { 0, 0, 2, 1 } }, | |
100 { /* 68 */ 1, { 0, 1, 2, 1 } }, | |
101 { /* 69 */ 1, { 1, 2, 0, 0 } }, | |
102 { /* 70 */ 1, { 0, 1, 1, 2 } }, | |
103 { /* 71 */ 1, { 2, 1, 1, 0 } }, | |
104 { /* 72 */ 1, { 0, 0, 2, 0 } }, | |
105 { /* 73 */ 1, { 0, 2, 1, 0 } }, | |
106 { /* 74 */ 1, { 0, 1, 2, 0 } }, | |
107 { /* 75 */ 1, { 0, 2, 0, 0 } }, | |
108 { /* 76 */ 1, { 0, 1, 0, 2 } }, | |
109 { /* 77 */ 1, { 2, 0, 1, 0 } }, | |
110 { /* 78 */ 1, { 1, 2, 1, 1 } }, | |
111 { /* 79 */ 1, { 0, 2, 1, 1 } }, | |
112 { /* 80 */ 1, { 1, 1, 2, 0 } }, | |
113 { /* 81 */ 1, { 1, 1, 2, 1 } }, | |
114 { /* 82 */ 0, { 11, 12, 0, 0 } }, | |
115 { /* 83 */ 0, { 12, 13, 0, 0 } }, | |
116 { /* 84 */ 0, { 13, 14, 0, 0 } }, | |
117 { /* 85 */ 0, { 14, 15, 0, 0 } }, | |
118 { /* 86 */ 0, { 15, 16, 0, 0 } }, | |
119 { /* 87 */ 0, { 16, 17, 0, 0 } }, | |
120 { /* 88 */ 0, { 17, 18, 0, 0 } }, | |
121 { /* 89 */ 0, { 18, 19, 0, 0 } }, | |
122 { /* 90 */ 0, { 19, 20, 0, 0 } }, | |
123 { /* 91 */ 0, { 20, 21, 0, 0 } }, | |
124 { /* 92 */ 0, { 21, 22, 0, 0 } }, | |
125 { /* 93 */ 1, { 1, 2, 0, 1 } }, /* 1111101010 */ | |
126 { /* 94 */ 1, { 1, 0, 2, 0 } }, /* 1111101011 */ | |
127 { /* 95 */ 1, { 1, 0, 2, 1 } }, /* 1111101100 */ | |
128 { /* 96 */ 1, { 0, 2, 0, 1 } }, /* 1111101101 */ | |
129 { /* 97 */ 1, { 2, 1, 1, 1 } }, /* 1111101110 */ | |
130 { /* 98 */ 1, { 1, 1, 1, 2 } }, /* 1111101111 */ | |
131 { /* 99 */ 1, { 2, 1, 0, 1 } }, /* 1111110000 */ | |
132 { /* 00 */ 1, { 1, 0, 1, 2 } }, /* 1111110001 */ | |
133 { /* 01 */ 1, { 0, 0, 2, 2 } }, /* 1111110010 */ | |
134 { /* 02 */ 1, { 0, 1, 2, 2 } }, /* 1111110011 */ | |
135 { /* 03 */ 1, { 2, 2, 1, 0 } }, /* 1111110100 */ | |
136 { /* 04 */ 1, { 1, 2, 2, 0 } }, /* 1111110101 */ | |
137 { /* 05 */ 1, { 1, 0, 0, 2 } }, /* 1111110110 */ | |
138 { /* 06 */ 1, { 2, 0, 0, 1 } }, /* 1111110111 */ | |
139 { /* 07 */ 1, { 0, 2, 2, 1 } }, /* 1111111000 */ | |
140 { /* 08 */ 0, { 7, 8, 0, 0 } }, | |
141 { /* 09 */ 0, { 8, 9, 0, 0 } }, | |
142 { /* 10 */ 0, { 9, 10, 0, 0 } }, | |
143 { /* 11 */ 0, { 10, 11, 0, 0 } }, | |
144 { /* 12 */ 0, { 11, 12, 0, 0 } }, | |
145 { /* 13 */ 0, { 12, 13, 0, 0 } }, | |
146 { /* 14 */ 0, { 13, 14, 0, 0 } }, | |
147 { /* 15 */ 1, { 2, 2, 0, 0 } }, /* 11111110010 */ | |
148 { /* 16 */ 1, { 1, 2, 2, 1 } }, /* 11111110011 */ | |
149 { /* 17 */ 1, { 1, 1, 0, 2 } }, /* 11111110100 */ | |
150 { /* 18 */ 1, { 2, 0, 1, 1 } }, /* 11111110101 */ | |
151 { /* 19 */ 1, { 1, 1, 2, 2 } }, /* 11111110110 */ | |
152 { /* 20 */ 1, { 2, 2, 1, 1 } }, /* 11111110111 */ | |
153 { /* 21 */ 1, { 0, 2, 2, 0 } }, /* 11111111000 */ | |
154 { /* 22 */ 1, { 0, 2, 1, 2 } }, /* 11111111001 */ | |
155 { /* 23 */ 0, { 6, 7, 0, 0 } }, | |
156 { /* 24 */ 0, { 7, 8, 0, 0 } }, | |
157 { /* 25 */ 0, { 8, 9, 0, 0 } }, | |
158 { /* 26 */ 0, { 9, 10, 0, 0 } }, | |
159 { /* 27 */ 0, { 10, 11, 0, 0 } }, | |
160 { /* 28 */ 0, { 11, 12, 0, 0 } }, | |
161 { /* 29 */ 1, { 1, 0, 2, 2 } }, /* 111111110100 */ | |
162 { /* 30 */ 1, { 2, 2, 0, 1 } }, /* 111111110101 */ | |
163 { /* 31 */ 1, { 2, 1, 2, 0 } }, /* 111111110110 */ | |
164 { /* 32 */ 1, { 2, 2, 2, 0 } }, /* 111111110111 */ | |
165 { /* 33 */ 1, { 0, 2, 2, 2 } }, /* 111111111000 */ | |
166 { /* 34 */ 1, { 2, 2, 2, 1 } }, /* 111111111001 */ | |
167 { /* 35 */ 1, { 2, 1, 2, 1 } }, /* 111111111010 */ | |
168 { /* 36 */ 1, { 1, 2, 1, 2 } }, /* 111111111011 */ | |
169 { /* 37 */ 1, { 1, 2, 2, 2 } }, /* 111111111100 */ | |
170 { /* 38 */ 0, { 3, 4, 0, 0 } }, | |
171 { /* 39 */ 0, { 4, 5, 0, 0 } }, | |
172 { /* 40 */ 0, { 5, 6, 0, 0 } }, | |
173 { /* 41 */ 1, { 0, 2, 0, 2 } }, /* 1111111111010 */ | |
174 { /* 42 */ 1, { 2, 0, 2, 0 } }, /* 1111111111011 */ | |
175 { /* 43 */ 1, { 1, 2, 0, 2 } }, /* 1111111111100 */ | |
176 { /* 44 */ 0, { 3, 4, 0, 0 } }, | |
177 { /* 45 */ 0, { 4, 5, 0, 0 } }, | |
178 { /* 46 */ 0, { 5, 6, 0, 0 } }, | |
179 { /* 47 */ 1, { 2, 0, 2, 1 } }, /* 11111111111010 */ | |
180 { /* 48 */ 1, { 2, 1, 1, 2 } }, /* 11111111111011 */ | |
181 { /* 49 */ 1, { 2, 1, 0, 2 } }, /* 11111111111100 */ | |
182 { /* 50 */ 0, { 3, 4, 0, 0 } }, | |
183 { /* 51 */ 0, { 4, 5, 0, 0 } }, | |
184 { /* 52 */ 0, { 5, 6, 0, 0 } }, | |
185 { /* 53 */ 1, { 2, 2, 2, 2 } }, /* 111111111111010 */ | |
186 { /* 54 */ 1, { 2, 2, 1, 2 } }, /* 111111111111011 */ | |
187 { /* 55 */ 1, { 2, 1, 2, 2 } }, /* 111111111111100 */ | |
188 { /* 56 */ 1, { 2, 0, 1, 2 } }, /* 111111111111101 */ | |
189 { /* 57 */ 1, { 2, 0, 0, 2 } }, /* 111111111111110 */ | |
190 { /* 58 */ 0, { 1, 2, 0, 0 } }, | |
191 { /* 59 */ 1, { 2, 2, 0, 2 } }, /* 1111111111111110 */ | |
192 { /* 60 */ 1, { 2, 0, 2, 2 } } /* 1111111111111111 */ | |
193 }; |