~bratsche/vlc/vlc-notify-add-actions-with-server-support

« back to all changes in this revision

Viewing changes to extras/faad2/libfaad/codebook/hcb_7.h

  • Committer: Bazaar Package Importer
  • Date: 2008-11-28 09:29:51 UTC
  • Revision ID: jamesw@ubuntu.com-20081128092951-0y5ojboptscru17f
Tags: upstream-ubuntu-0.8.6.release.e+x264svn20071224+faad2.6.1
ImportĀ upstreamĀ versionĀ 0.8.6.release.e+x264svn20071224+faad2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
3
 
** Copyright (C) 2003-2005 M. Bakker, Nero 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
 
** Software using this code must display the following message visibly in or
23
 
** on each copy of the software:
24
 
** "FAAD2 AAC/HE-AAC/HE-AACv2/DRM decoder (c) Nero AG, www.nero.com"
25
 
** in, for example, the about-box or help/startup screen.
26
 
**
27
 
** Commercial non-GPL licensing of this software is possible.
28
 
** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
29
 
**
30
 
** $Id: hcb_7.h,v 1.4 2006/05/07 18:09:41 menno Exp $
31
 
**/
32
 
 
33
 
/* Binary search huffman table HCB_7 */
34
 
 
35
 
 
36
 
static hcb_bin_pair hcb7[] = {
37
 
    { /*  0 */ 0, { 1, 2 } },
38
 
    { /*  1 */ 1, { 0, 0 } },
39
 
    { /*  2 */ 0, { 1, 2 } },
40
 
    { /*  3 */ 0, { 2, 3 } },
41
 
    { /*  4 */ 0, { 3, 4 } },
42
 
    { /*  5 */ 1, { 1, 0 } },
43
 
    { /*  6 */ 1, { 0, 1 } },
44
 
    { /*  7 */ 0, { 2, 3 } },
45
 
    { /*  8 */ 0, { 3, 4 } },
46
 
    { /*  9 */ 1, { 1,  1 } },
47
 
    { /* 10 */ 0, { 3, 4 } },
48
 
    { /* 11 */ 0, { 4, 5 } },
49
 
    { /* 12 */ 0, { 5, 6 } },
50
 
    { /* 13 */ 0, { 6, 7 } },
51
 
    { /* 14 */ 0, { 7, 8 } },
52
 
    { /* 15 */ 0, { 8, 9 } },
53
 
    { /* 16 */ 0, { 9, 10 } },
54
 
    { /* 17 */ 0, { 10, 11 } },
55
 
    { /* 18 */ 0, { 11, 12 } },
56
 
    { /* 19 */ 1, { 2,  1 } },
57
 
    { /* 20 */ 1, { 1,  2 } },
58
 
    { /* 21 */ 1, { 2,  0 } },
59
 
    { /* 22 */ 1, { 0,  2 } },
60
 
    { /* 23 */ 0, { 8, 9 } },
61
 
    { /* 24 */ 0, { 9, 10 } },
62
 
    { /* 25 */ 0, { 10, 11 } },
63
 
    { /* 26 */ 0, { 11, 12 } },
64
 
    { /* 27 */ 0, { 12, 13 } },
65
 
    { /* 28 */ 0, { 13, 14 } },
66
 
    { /* 29 */ 0, { 14, 15 } },
67
 
    { /* 30 */ 0, { 15, 16 } },
68
 
    { /* 31 */ 1, { 3,  1 } },
69
 
    { /* 32 */ 1, { 1,  3 } },
70
 
    { /* 33 */ 1, { 2,  2 } },
71
 
    { /* 34 */ 1, { 3,  0 } },
72
 
    { /* 35 */ 1, { 0,  3 } },
73
 
    { /* 36 */ 0, { 11, 12 } },
74
 
    { /* 37 */ 0, { 12, 13 } },
75
 
    { /* 38 */ 0, { 13, 14 } },
76
 
    { /* 39 */ 0, { 14, 15 } },
77
 
    { /* 40 */ 0, { 15, 16 } },
78
 
    { /* 41 */ 0, { 16, 17 } },
79
 
    { /* 42 */ 0, { 17, 18 } },
80
 
    { /* 43 */ 0, { 18, 19 } },
81
 
    { /* 44 */ 0, { 19, 20 } },
82
 
    { /* 45 */ 0, { 20, 21 } },
83
 
    { /* 46 */ 0, { 21, 22 } },
84
 
    { /* 47 */ 1, { 2,  3 } },
85
 
    { /* 48 */ 1, { 3,  2 } },
86
 
    { /* 49 */ 1, { 1,  4 } },
87
 
    { /* 50 */ 1, { 4,  1 } },
88
 
    { /* 51 */ 1, { 1,  5 } },
89
 
    { /* 52 */ 1, { 5,  1 } },
90
 
    { /* 53 */ 1, { 3,  3 } },
91
 
    { /* 54 */ 1, { 2,  4 } },
92
 
    { /* 55 */ 1, { 0,  4 } },
93
 
    { /* 56 */ 1, { 4,  0 } },
94
 
    { /* 57 */ 0, { 12, 13 } },
95
 
    { /* 58 */ 0, { 13, 14 } },
96
 
    { /* 59 */ 0, { 14, 15 } },
97
 
    { /* 60 */ 0, { 15, 16 } },
98
 
    { /* 61 */ 0, { 16, 17 } },
99
 
    { /* 62 */ 0, { 17, 18 } },
100
 
    { /* 63 */ 0, { 18, 19 } },
101
 
    { /* 64 */ 0, { 19, 20 } },
102
 
    { /* 65 */ 0, { 20, 21 } },
103
 
    { /* 66 */ 0, { 21, 22 } },
104
 
    { /* 67 */ 0, { 22, 23 } },
105
 
    { /* 68 */ 0, { 23, 24 } },
106
 
    { /* 69 */ 1, { 4,  2 } },
107
 
    { /* 70 */ 1, { 2,  5 } },
108
 
    { /* 71 */ 1, { 5,  2 } },
109
 
    { /* 72 */ 1, { 0,  5 } },
110
 
    { /* 73 */ 1, { 6,  1 } },
111
 
    { /* 74 */ 1, { 5,  0 } },
112
 
    { /* 75 */ 1, { 1,  6 } },
113
 
    { /* 76 */ 1, { 4,  3 } },
114
 
    { /* 77 */ 1, { 3,  5 } },
115
 
    { /* 78 */ 1, { 3,  4 } },
116
 
    { /* 79 */ 1, { 5,  3 } },
117
 
    { /* 80 */ 1, { 2,  6 } },
118
 
    { /* 81 */ 1, { 6,  2 } },
119
 
    { /* 82 */ 1, { 1,  7 } },
120
 
    { /* 83 */ 0, { 10, 11 } },
121
 
    { /* 84 */ 0, { 11, 12 } },
122
 
    { /* 85 */ 0, { 12, 13 } },
123
 
    { /* 86 */ 0, { 13, 14 } },
124
 
    { /* 87 */ 0, { 14, 15 } },
125
 
    { /* 88 */ 0, { 15, 16 } },
126
 
    { /* 89 */ 0, { 16, 17 } },
127
 
    { /* 90 */ 0, { 17, 18 } },
128
 
    { /* 91 */ 0, { 18, 19 } },
129
 
    { /* 92 */ 0, { 19, 20 } },
130
 
    { /* 93 */ 1, { 3,  6 } },
131
 
    { /* 94 */ 1, { 0,  6 } },
132
 
    { /* 95 */ 1, { 6,  0 } },
133
 
    { /* 96 */ 1, { 4,  4 } },
134
 
    { /* 97 */ 1, { 7,  1 } },
135
 
    { /* 98 */ 1, { 4,  5 } },
136
 
    { /* 99 */ 1, { 7,  2 } },
137
 
    { /* 00 */ 1, { 5,  4 } },
138
 
    { /* 01 */ 1, { 6,  3 } },
139
 
    { /* 02 */ 1, { 2,  7 } },
140
 
    { /* 03 */ 1, { 7,  3 } },
141
 
    { /* 04 */ 1, { 6,  4 } },
142
 
    { /* 05 */ 1, { 5,  5 } },
143
 
    { /* 06 */ 1, { 4,  6 } },
144
 
    { /* 07 */ 1, { 3,  7 } },
145
 
    { /* 08 */ 0, { 5, 6 } },
146
 
    { /* 09 */ 0, { 6, 7 } },
147
 
    { /* 10 */ 0, { 7, 8 } },
148
 
    { /* 11 */ 0, { 8, 9 } },
149
 
    { /* 12 */ 0, { 9, 10 } },
150
 
    { /* 13 */ 1, { 7,  0 } },
151
 
    { /* 14 */ 1, { 0,  7 } },
152
 
    { /* 15 */ 1, { 6,  5 } },
153
 
    { /* 16 */ 1, { 5,  6 } },
154
 
    { /* 17 */ 1, { 7,  4 } },
155
 
    { /* 18 */ 1, { 4,  7 } },
156
 
    { /* 19 */ 1, { 5,  7 } },
157
 
    { /* 20 */ 1, { 7,  5 } },
158
 
    { /* 21 */ 0, { 2, 3 } },
159
 
    { /* 22 */ 0, { 3, 4 } },
160
 
    { /* 23 */ 1, { 7,  6 } },
161
 
    { /* 24 */ 1, { 6,  6 } },
162
 
    { /* 25 */ 1, { 6,  7 } },
163
 
    { /* 26 */ 1, { 7,  7 } }
164
 
};
 
1
/*
 
2
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
 
3
** Copyright (C) 2003-2005 M. Bakker, Nero 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
** The "appropriate copyright message" mentioned in section 2c of the GPLv2
 
23
** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com"
 
24
**
 
25
** Commercial non-GPL licensing of this software is possible.
 
26
** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
 
27
**
 
28
** $Id: hcb_7.h,v 1.5 2007/11/01 12:34:11 menno Exp $
 
29
**/
 
30
 
 
31
/* Binary search huffman table HCB_7 */
 
32
 
 
33
 
 
34
static hcb_bin_pair hcb7[] = {
 
35
    { /*  0 */ 0, { 1, 2 } },
 
36
    { /*  1 */ 1, { 0, 0 } },
 
37
    { /*  2 */ 0, { 1, 2 } },
 
38
    { /*  3 */ 0, { 2, 3 } },
 
39
    { /*  4 */ 0, { 3, 4 } },
 
40
    { /*  5 */ 1, { 1, 0 } },
 
41
    { /*  6 */ 1, { 0, 1 } },
 
42
    { /*  7 */ 0, { 2, 3 } },
 
43
    { /*  8 */ 0, { 3, 4 } },
 
44
    { /*  9 */ 1, { 1,  1 } },
 
45
    { /* 10 */ 0, { 3, 4 } },
 
46
    { /* 11 */ 0, { 4, 5 } },
 
47
    { /* 12 */ 0, { 5, 6 } },
 
48
    { /* 13 */ 0, { 6, 7 } },
 
49
    { /* 14 */ 0, { 7, 8 } },
 
50
    { /* 15 */ 0, { 8, 9 } },
 
51
    { /* 16 */ 0, { 9, 10 } },
 
52
    { /* 17 */ 0, { 10, 11 } },
 
53
    { /* 18 */ 0, { 11, 12 } },
 
54
    { /* 19 */ 1, { 2,  1 } },
 
55
    { /* 20 */ 1, { 1,  2 } },
 
56
    { /* 21 */ 1, { 2,  0 } },
 
57
    { /* 22 */ 1, { 0,  2 } },
 
58
    { /* 23 */ 0, { 8, 9 } },
 
59
    { /* 24 */ 0, { 9, 10 } },
 
60
    { /* 25 */ 0, { 10, 11 } },
 
61
    { /* 26 */ 0, { 11, 12 } },
 
62
    { /* 27 */ 0, { 12, 13 } },
 
63
    { /* 28 */ 0, { 13, 14 } },
 
64
    { /* 29 */ 0, { 14, 15 } },
 
65
    { /* 30 */ 0, { 15, 16 } },
 
66
    { /* 31 */ 1, { 3,  1 } },
 
67
    { /* 32 */ 1, { 1,  3 } },
 
68
    { /* 33 */ 1, { 2,  2 } },
 
69
    { /* 34 */ 1, { 3,  0 } },
 
70
    { /* 35 */ 1, { 0,  3 } },
 
71
    { /* 36 */ 0, { 11, 12 } },
 
72
    { /* 37 */ 0, { 12, 13 } },
 
73
    { /* 38 */ 0, { 13, 14 } },
 
74
    { /* 39 */ 0, { 14, 15 } },
 
75
    { /* 40 */ 0, { 15, 16 } },
 
76
    { /* 41 */ 0, { 16, 17 } },
 
77
    { /* 42 */ 0, { 17, 18 } },
 
78
    { /* 43 */ 0, { 18, 19 } },
 
79
    { /* 44 */ 0, { 19, 20 } },
 
80
    { /* 45 */ 0, { 20, 21 } },
 
81
    { /* 46 */ 0, { 21, 22 } },
 
82
    { /* 47 */ 1, { 2,  3 } },
 
83
    { /* 48 */ 1, { 3,  2 } },
 
84
    { /* 49 */ 1, { 1,  4 } },
 
85
    { /* 50 */ 1, { 4,  1 } },
 
86
    { /* 51 */ 1, { 1,  5 } },
 
87
    { /* 52 */ 1, { 5,  1 } },
 
88
    { /* 53 */ 1, { 3,  3 } },
 
89
    { /* 54 */ 1, { 2,  4 } },
 
90
    { /* 55 */ 1, { 0,  4 } },
 
91
    { /* 56 */ 1, { 4,  0 } },
 
92
    { /* 57 */ 0, { 12, 13 } },
 
93
    { /* 58 */ 0, { 13, 14 } },
 
94
    { /* 59 */ 0, { 14, 15 } },
 
95
    { /* 60 */ 0, { 15, 16 } },
 
96
    { /* 61 */ 0, { 16, 17 } },
 
97
    { /* 62 */ 0, { 17, 18 } },
 
98
    { /* 63 */ 0, { 18, 19 } },
 
99
    { /* 64 */ 0, { 19, 20 } },
 
100
    { /* 65 */ 0, { 20, 21 } },
 
101
    { /* 66 */ 0, { 21, 22 } },
 
102
    { /* 67 */ 0, { 22, 23 } },
 
103
    { /* 68 */ 0, { 23, 24 } },
 
104
    { /* 69 */ 1, { 4,  2 } },
 
105
    { /* 70 */ 1, { 2,  5 } },
 
106
    { /* 71 */ 1, { 5,  2 } },
 
107
    { /* 72 */ 1, { 0,  5 } },
 
108
    { /* 73 */ 1, { 6,  1 } },
 
109
    { /* 74 */ 1, { 5,  0 } },
 
110
    { /* 75 */ 1, { 1,  6 } },
 
111
    { /* 76 */ 1, { 4,  3 } },
 
112
    { /* 77 */ 1, { 3,  5 } },
 
113
    { /* 78 */ 1, { 3,  4 } },
 
114
    { /* 79 */ 1, { 5,  3 } },
 
115
    { /* 80 */ 1, { 2,  6 } },
 
116
    { /* 81 */ 1, { 6,  2 } },
 
117
    { /* 82 */ 1, { 1,  7 } },
 
118
    { /* 83 */ 0, { 10, 11 } },
 
119
    { /* 84 */ 0, { 11, 12 } },
 
120
    { /* 85 */ 0, { 12, 13 } },
 
121
    { /* 86 */ 0, { 13, 14 } },
 
122
    { /* 87 */ 0, { 14, 15 } },
 
123
    { /* 88 */ 0, { 15, 16 } },
 
124
    { /* 89 */ 0, { 16, 17 } },
 
125
    { /* 90 */ 0, { 17, 18 } },
 
126
    { /* 91 */ 0, { 18, 19 } },
 
127
    { /* 92 */ 0, { 19, 20 } },
 
128
    { /* 93 */ 1, { 3,  6 } },
 
129
    { /* 94 */ 1, { 0,  6 } },
 
130
    { /* 95 */ 1, { 6,  0 } },
 
131
    { /* 96 */ 1, { 4,  4 } },
 
132
    { /* 97 */ 1, { 7,  1 } },
 
133
    { /* 98 */ 1, { 4,  5 } },
 
134
    { /* 99 */ 1, { 7,  2 } },
 
135
    { /* 00 */ 1, { 5,  4 } },
 
136
    { /* 01 */ 1, { 6,  3 } },
 
137
    { /* 02 */ 1, { 2,  7 } },
 
138
    { /* 03 */ 1, { 7,  3 } },
 
139
    { /* 04 */ 1, { 6,  4 } },
 
140
    { /* 05 */ 1, { 5,  5 } },
 
141
    { /* 06 */ 1, { 4,  6 } },
 
142
    { /* 07 */ 1, { 3,  7 } },
 
143
    { /* 08 */ 0, { 5, 6 } },
 
144
    { /* 09 */ 0, { 6, 7 } },
 
145
    { /* 10 */ 0, { 7, 8 } },
 
146
    { /* 11 */ 0, { 8, 9 } },
 
147
    { /* 12 */ 0, { 9, 10 } },
 
148
    { /* 13 */ 1, { 7,  0 } },
 
149
    { /* 14 */ 1, { 0,  7 } },
 
150
    { /* 15 */ 1, { 6,  5 } },
 
151
    { /* 16 */ 1, { 5,  6 } },
 
152
    { /* 17 */ 1, { 7,  4 } },
 
153
    { /* 18 */ 1, { 4,  7 } },
 
154
    { /* 19 */ 1, { 5,  7 } },
 
155
    { /* 20 */ 1, { 7,  5 } },
 
156
    { /* 21 */ 0, { 2, 3 } },
 
157
    { /* 22 */ 0, { 3, 4 } },
 
158
    { /* 23 */ 1, { 7,  6 } },
 
159
    { /* 24 */ 1, { 6,  6 } },
 
160
    { /* 25 */ 1, { 6,  7 } },
 
161
    { /* 26 */ 1, { 7,  7 } }
 
162
};