gosu 0.7.45 → 0.7.46
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +6 -11
- data/Gosu/{ButtonsWin.hpp → Buttons.hpp} +91 -4
- data/Gosu/ButtonsMac.hpp +91 -4
- data/Gosu/Graphics.hpp +10 -0
- data/Gosu/ImageData.hpp +1 -0
- data/Gosu/Input.hpp +2 -3
- data/Gosu/Version.hpp +2 -2
- data/Gosu/Window.hpp +1 -1
- data/GosuImpl/Audio/AudioToolboxFile.hpp +4 -0
- data/GosuImpl/Graphics/BitmapApple.mm +5 -11
- data/GosuImpl/Graphics/ClipRectStack.hpp +2 -2
- data/GosuImpl/Graphics/Common.hpp +1 -1
- data/GosuImpl/Graphics/DrawOpQueue.hpp +30 -29
- data/GosuImpl/Graphics/Graphics.cpp +2 -3
- data/GosuImpl/Graphics/TextMac.cpp +9 -5
- data/GosuImpl/Graphics/TextTouch.mm +8 -4
- data/GosuImpl/Graphics/Texture.cpp +4 -1
- data/GosuImpl/InputMac.mm +24 -45
- data/GosuImpl/InputX.cpp +25 -39
- data/GosuImpl/RubyGosu.swg +11 -0
- data/GosuImpl/RubyGosu_wrap.cxx +109 -40
- data/GosuImpl/RubyGosu_wrap.h +1 -1
- data/GosuImpl/TextInputWin.cpp +1 -1
- data/GosuImpl/TextInputX.cpp +3 -1
- data/GosuImpl/WinMain.cpp +3 -4
- data/GosuImpl/WindowMac.mm +83 -73
- data/GosuImpl/WindowWin.cpp +65 -58
- data/dependencies/libogg/AUTHORS +4 -0
- data/dependencies/libogg/CHANGES +70 -0
- data/dependencies/libogg/COPYING +28 -0
- data/dependencies/libogg/include/ogg/ogg.h +209 -0
- data/dependencies/libogg/include/ogg/os_types.h +147 -0
- data/dependencies/libogg/src/bitwise.c +857 -0
- data/dependencies/libogg/src/framing.c +2089 -0
- data/dependencies/libvorbis/AUTHORS +3 -0
- data/dependencies/libvorbis/CHANGES +126 -0
- data/dependencies/libvorbis/COPYING +28 -0
- data/dependencies/libvorbis/include/vorbis/codec.h +243 -0
- data/dependencies/libvorbis/include/vorbis/vorbisenc.h +436 -0
- data/dependencies/libvorbis/include/vorbis/vorbisfile.h +206 -0
- data/dependencies/libvorbis/lib/analysis.c +120 -0
- data/dependencies/libvorbis/lib/backends.h +144 -0
- data/dependencies/libvorbis/lib/barkmel.c +64 -0
- data/dependencies/libvorbis/lib/bitrate.c +253 -0
- data/dependencies/libvorbis/lib/bitrate.h +59 -0
- data/dependencies/libvorbis/lib/block.c +1046 -0
- data/dependencies/libvorbis/lib/books/coupled/res_books_51.h +12257 -0
- data/dependencies/libvorbis/lib/books/coupled/res_books_stereo.h +15783 -0
- data/dependencies/libvorbis/lib/books/floor/floor_books.h +1547 -0
- data/dependencies/libvorbis/lib/books/uncoupled/res_books_uncoupled.h +7758 -0
- data/dependencies/libvorbis/lib/codebook.c +479 -0
- data/dependencies/libvorbis/lib/codebook.h +119 -0
- data/dependencies/libvorbis/lib/codec_internal.h +167 -0
- data/dependencies/libvorbis/lib/envelope.c +375 -0
- data/dependencies/libvorbis/lib/envelope.h +80 -0
- data/dependencies/libvorbis/lib/floor0.c +222 -0
- data/dependencies/libvorbis/lib/floor1.c +1099 -0
- data/dependencies/libvorbis/lib/highlevel.h +58 -0
- data/dependencies/libvorbis/lib/info.c +664 -0
- data/dependencies/libvorbis/lib/lookup.c +94 -0
- data/dependencies/libvorbis/lib/lookup.h +32 -0
- data/dependencies/libvorbis/lib/lookup_data.h +192 -0
- data/dependencies/libvorbis/lib/lpc.c +160 -0
- data/dependencies/libvorbis/lib/lpc.h +29 -0
- data/dependencies/libvorbis/lib/lsp.c +456 -0
- data/dependencies/libvorbis/lib/lsp.h +28 -0
- data/dependencies/libvorbis/lib/mapping0.c +816 -0
- data/dependencies/libvorbis/lib/masking.h +785 -0
- data/dependencies/libvorbis/lib/mdct.c +563 -0
- data/dependencies/libvorbis/lib/mdct.h +71 -0
- data/dependencies/libvorbis/lib/misc.h +57 -0
- data/dependencies/libvorbis/lib/modes/floor_all.h +260 -0
- data/dependencies/libvorbis/lib/modes/psych_11.h +51 -0
- data/dependencies/libvorbis/lib/modes/psych_16.h +133 -0
- data/dependencies/libvorbis/lib/modes/psych_44.h +642 -0
- data/dependencies/libvorbis/lib/modes/psych_8.h +101 -0
- data/dependencies/libvorbis/lib/modes/residue_16.h +163 -0
- data/dependencies/libvorbis/lib/modes/residue_44.h +292 -0
- data/dependencies/libvorbis/lib/modes/residue_44p51.h +451 -0
- data/dependencies/libvorbis/lib/modes/residue_44u.h +318 -0
- data/dependencies/libvorbis/lib/modes/residue_8.h +109 -0
- data/dependencies/libvorbis/lib/modes/setup_11.h +143 -0
- data/dependencies/libvorbis/lib/modes/setup_16.h +153 -0
- data/dependencies/libvorbis/lib/modes/setup_22.h +128 -0
- data/dependencies/libvorbis/lib/modes/setup_32.h +132 -0
- data/dependencies/libvorbis/lib/modes/setup_44.h +117 -0
- data/dependencies/libvorbis/lib/modes/setup_44p51.h +74 -0
- data/dependencies/libvorbis/lib/modes/setup_44u.h +74 -0
- data/dependencies/libvorbis/lib/modes/setup_8.h +149 -0
- data/dependencies/libvorbis/lib/modes/setup_X.h +225 -0
- data/dependencies/libvorbis/lib/os.h +186 -0
- data/dependencies/libvorbis/lib/psy.c +1203 -0
- data/dependencies/libvorbis/lib/psy.h +154 -0
- data/dependencies/libvorbis/lib/psytune.c +524 -0
- data/dependencies/libvorbis/lib/registry.c +45 -0
- data/dependencies/libvorbis/lib/registry.h +32 -0
- data/dependencies/libvorbis/lib/res0.c +889 -0
- data/dependencies/libvorbis/lib/scales.h +90 -0
- data/dependencies/libvorbis/lib/sharedbook.c +579 -0
- data/dependencies/libvorbis/lib/smallft.c +1255 -0
- data/dependencies/libvorbis/lib/smallft.h +34 -0
- data/dependencies/libvorbis/lib/synthesis.c +184 -0
- data/dependencies/libvorbis/lib/tone.c +54 -0
- data/dependencies/libvorbis/lib/vorbisenc.c +1215 -0
- data/dependencies/libvorbis/lib/vorbisfile.c +2337 -0
- data/dependencies/libvorbis/lib/window.c +2135 -0
- data/dependencies/libvorbis/lib/window.h +26 -0
- data/dependencies/ogg_vorbis.license +28 -0
- data/lib/gosu/swig_patches.rb +2 -2
- data/linux/extconf.rb +17 -3
- metadata +96 -17
- data/Gosu/ButtonsX.hpp +0 -141
- data/GosuImpl/Audio/AudioSDL.cpp +0 -315
@@ -0,0 +1,451 @@
|
|
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-2010 *
|
9
|
+
* by the Xiph.Org Foundation http://www.xiph.org/ *
|
10
|
+
* *
|
11
|
+
********************************************************************
|
12
|
+
|
13
|
+
function: toplevel residue templates for 32/44.1/48kHz uncoupled
|
14
|
+
last mod: $Id$
|
15
|
+
|
16
|
+
********************************************************************/
|
17
|
+
|
18
|
+
#include "vorbis/codec.h"
|
19
|
+
#include "backends.h"
|
20
|
+
|
21
|
+
#include "books/coupled/res_books_51.h"
|
22
|
+
|
23
|
+
/***** residue backends *********************************************/
|
24
|
+
|
25
|
+
static const vorbis_info_residue0 _residue_44p_lo={
|
26
|
+
0,-1, -1, 7,-1,-1,
|
27
|
+
/* 0 1 2 3 4 5 6 7 8 */
|
28
|
+
{0},
|
29
|
+
{-1},
|
30
|
+
{ 0, 1, 2, 7, 17, 31},
|
31
|
+
{ 0, 0, 99, 7, 17, 31},
|
32
|
+
};
|
33
|
+
|
34
|
+
static const vorbis_info_residue0 _residue_44p={
|
35
|
+
0,-1, -1, 8,-1,-1,
|
36
|
+
/* 0 1 2 3 4 5 6 7 8 */
|
37
|
+
{0},
|
38
|
+
{-1},
|
39
|
+
{ 0, 1, 1, 2, 7, 17, 31},
|
40
|
+
{ 0, 0, 99, 99, 7, 17, 31},
|
41
|
+
};
|
42
|
+
|
43
|
+
static const vorbis_info_residue0 _residue_44p_hi={
|
44
|
+
0,-1, -1, 8,-1,-1,
|
45
|
+
/* 0 1 2 3 4 5 6 7 8 */
|
46
|
+
{0},
|
47
|
+
{-1},
|
48
|
+
{ 0, 1, 2, 4, 7, 17, 31},
|
49
|
+
{ 0, 1, 2, 4, 7, 17, 31},
|
50
|
+
};
|
51
|
+
|
52
|
+
static const vorbis_info_residue0 _residue_44p_lfe={
|
53
|
+
0,-1, -1, 2,-1,-1,
|
54
|
+
/* 0 1 2 3 4 5 6 7 8 */
|
55
|
+
{0},
|
56
|
+
{-1},
|
57
|
+
{ 32},
|
58
|
+
{ -1}
|
59
|
+
};
|
60
|
+
|
61
|
+
static const static_bookblock _resbook_44p_n1={
|
62
|
+
{
|
63
|
+
{0},
|
64
|
+
{0,&_44pn1_p1_0},
|
65
|
+
|
66
|
+
{&_44pn1_p2_0,&_44pn1_p2_1,0},
|
67
|
+
{&_44pn1_p3_0,&_44pn1_p3_1,0},
|
68
|
+
{&_44pn1_p4_0,&_44pn1_p4_1,0},
|
69
|
+
|
70
|
+
{&_44pn1_p5_0,&_44pn1_p5_1,&_44pn1_p4_1},
|
71
|
+
{&_44pn1_p6_0,&_44pn1_p6_1,&_44pn1_p6_2},
|
72
|
+
}
|
73
|
+
};
|
74
|
+
|
75
|
+
static const static_bookblock _resbook_44p_0={
|
76
|
+
{
|
77
|
+
{0},
|
78
|
+
{0,&_44p0_p1_0},
|
79
|
+
|
80
|
+
{&_44p0_p2_0,&_44p0_p2_1,0},
|
81
|
+
{&_44p0_p3_0,&_44p0_p3_1,0},
|
82
|
+
{&_44p0_p4_0,&_44p0_p4_1,0},
|
83
|
+
|
84
|
+
{&_44p0_p5_0,&_44p0_p5_1,&_44p0_p4_1},
|
85
|
+
{&_44p0_p6_0,&_44p0_p6_1,&_44p0_p6_2},
|
86
|
+
}
|
87
|
+
};
|
88
|
+
|
89
|
+
static const static_bookblock _resbook_44p_1={
|
90
|
+
{
|
91
|
+
{0},
|
92
|
+
{0,&_44p1_p1_0},
|
93
|
+
|
94
|
+
{&_44p1_p2_0,&_44p1_p2_1,0},
|
95
|
+
{&_44p1_p3_0,&_44p1_p3_1,0},
|
96
|
+
{&_44p1_p4_0,&_44p1_p4_1,0},
|
97
|
+
|
98
|
+
{&_44p1_p5_0,&_44p1_p5_1,&_44p1_p4_1},
|
99
|
+
{&_44p1_p6_0,&_44p1_p6_1,&_44p1_p6_2},
|
100
|
+
}
|
101
|
+
};
|
102
|
+
|
103
|
+
static const static_bookblock _resbook_44p_2={
|
104
|
+
{
|
105
|
+
{0},
|
106
|
+
{0,0,&_44p2_p1_0},
|
107
|
+
{0,&_44p2_p2_0,0},
|
108
|
+
|
109
|
+
{&_44p2_p3_0,&_44p2_p3_1,0},
|
110
|
+
{&_44p2_p4_0,&_44p2_p4_1,0},
|
111
|
+
{&_44p2_p5_0,&_44p2_p5_1,0},
|
112
|
+
|
113
|
+
{&_44p2_p6_0,&_44p2_p6_1,&_44p2_p5_1},
|
114
|
+
{&_44p2_p7_0,&_44p2_p7_1,&_44p2_p7_2,&_44p2_p7_3}
|
115
|
+
}
|
116
|
+
};
|
117
|
+
static const static_bookblock _resbook_44p_3={
|
118
|
+
{
|
119
|
+
{0},
|
120
|
+
{0,0,&_44p3_p1_0},
|
121
|
+
{0,&_44p3_p2_0,0},
|
122
|
+
|
123
|
+
{&_44p3_p3_0,&_44p3_p3_1,0},
|
124
|
+
{&_44p3_p4_0,&_44p3_p4_1,0},
|
125
|
+
{&_44p3_p5_0,&_44p3_p5_1,0},
|
126
|
+
|
127
|
+
{&_44p3_p6_0,&_44p3_p6_1,&_44p3_p5_1},
|
128
|
+
{&_44p3_p7_0,&_44p3_p7_1,&_44p3_p7_2,&_44p3_p7_3}
|
129
|
+
}
|
130
|
+
};
|
131
|
+
static const static_bookblock _resbook_44p_4={
|
132
|
+
{
|
133
|
+
{0},
|
134
|
+
{0,0,&_44p4_p1_0},
|
135
|
+
{0,&_44p4_p2_0,0},
|
136
|
+
|
137
|
+
{&_44p4_p3_0,&_44p4_p3_1,0},
|
138
|
+
{&_44p4_p4_0,&_44p4_p4_1,0},
|
139
|
+
{&_44p4_p5_0,&_44p4_p5_1,0},
|
140
|
+
|
141
|
+
{&_44p4_p6_0,&_44p4_p6_1,&_44p4_p5_1},
|
142
|
+
{&_44p4_p7_0,&_44p4_p7_1,&_44p4_p7_2,&_44p4_p7_3}
|
143
|
+
}
|
144
|
+
};
|
145
|
+
static const static_bookblock _resbook_44p_5={
|
146
|
+
{
|
147
|
+
{0},
|
148
|
+
{0,0,&_44p5_p1_0},
|
149
|
+
{0,&_44p5_p2_0,0},
|
150
|
+
|
151
|
+
{&_44p5_p3_0,&_44p5_p3_1,0},
|
152
|
+
{&_44p5_p4_0,&_44p5_p4_1,0},
|
153
|
+
{&_44p5_p5_0,&_44p5_p5_1,0},
|
154
|
+
|
155
|
+
{&_44p5_p6_0,&_44p5_p6_1,&_44p5_p5_1},
|
156
|
+
{&_44p5_p7_0,&_44p5_p7_1,&_44p5_p7_2,&_44p5_p7_3}
|
157
|
+
}
|
158
|
+
};
|
159
|
+
static const static_bookblock _resbook_44p_6={
|
160
|
+
{
|
161
|
+
{0},
|
162
|
+
{0,0,&_44p6_p1_0},
|
163
|
+
{0,&_44p6_p2_0,0},
|
164
|
+
|
165
|
+
{&_44p6_p3_0,&_44p6_p3_1,0},
|
166
|
+
{&_44p6_p4_0,&_44p6_p4_1,0},
|
167
|
+
{&_44p6_p5_0,&_44p6_p5_1,0},
|
168
|
+
|
169
|
+
{&_44p6_p6_0,&_44p6_p6_1,&_44p6_p5_1},
|
170
|
+
{&_44p6_p7_0,&_44p6_p7_1,&_44p6_p7_2,&_44p6_p7_3}
|
171
|
+
}
|
172
|
+
};
|
173
|
+
static const static_bookblock _resbook_44p_7={
|
174
|
+
{
|
175
|
+
{0},
|
176
|
+
{0,0,&_44p7_p1_0},
|
177
|
+
{0,&_44p7_p2_0,0},
|
178
|
+
|
179
|
+
{&_44p7_p3_0,&_44p7_p3_1,0},
|
180
|
+
{&_44p7_p4_0,&_44p7_p4_1,0},
|
181
|
+
{&_44p7_p5_0,&_44p7_p5_1,0},
|
182
|
+
|
183
|
+
{&_44p7_p6_0,&_44p7_p6_1,&_44p7_p5_1},
|
184
|
+
{&_44p7_p7_0,&_44p7_p7_1,&_44p7_p7_2,&_44p7_p7_3}
|
185
|
+
}
|
186
|
+
};
|
187
|
+
static const static_bookblock _resbook_44p_8={
|
188
|
+
{
|
189
|
+
{0},
|
190
|
+
{0,0,&_44p8_p1_0},
|
191
|
+
{0,&_44p8_p2_0,0},
|
192
|
+
|
193
|
+
{&_44p8_p3_0,&_44p8_p3_1,0},
|
194
|
+
{&_44p8_p4_0,&_44p8_p4_1,0},
|
195
|
+
{&_44p8_p5_0,&_44p8_p5_1,0},
|
196
|
+
|
197
|
+
{&_44p8_p6_0,&_44p8_p6_1,&_44p8_p5_1},
|
198
|
+
{&_44p8_p7_0,&_44p8_p7_1,&_44p8_p7_2,&_44p8_p7_3}
|
199
|
+
}
|
200
|
+
};
|
201
|
+
static const static_bookblock _resbook_44p_9={
|
202
|
+
{
|
203
|
+
{0},
|
204
|
+
{0,0,&_44p9_p1_0},
|
205
|
+
{0,&_44p9_p2_0,0},
|
206
|
+
|
207
|
+
{&_44p9_p3_0,&_44p9_p3_1,0},
|
208
|
+
{&_44p9_p4_0,&_44p9_p4_1,0},
|
209
|
+
{&_44p9_p5_0,&_44p9_p5_1,0},
|
210
|
+
|
211
|
+
{&_44p9_p6_0,&_44p9_p6_1,&_44p9_p5_1},
|
212
|
+
{&_44p9_p7_0,&_44p9_p7_1,&_44p9_p7_2,&_44p9_p7_3}
|
213
|
+
}
|
214
|
+
};
|
215
|
+
|
216
|
+
static const static_bookblock _resbook_44p_ln1={
|
217
|
+
{
|
218
|
+
{&_44pn1_l0_0,&_44pn1_l0_1,0},
|
219
|
+
{&_44pn1_l1_0,&_44pn1_p6_1,&_44pn1_p6_2},
|
220
|
+
}
|
221
|
+
};
|
222
|
+
static const static_bookblock _resbook_44p_l0={
|
223
|
+
{
|
224
|
+
{&_44p0_l0_0,&_44p0_l0_1,0},
|
225
|
+
{&_44p0_l1_0,&_44p0_p6_1,&_44p0_p6_2},
|
226
|
+
}
|
227
|
+
};
|
228
|
+
static const static_bookblock _resbook_44p_l1={
|
229
|
+
{
|
230
|
+
{&_44p1_l0_0,&_44p1_l0_1,0},
|
231
|
+
{&_44p1_l1_0,&_44p1_p6_1,&_44p1_p6_2},
|
232
|
+
}
|
233
|
+
};
|
234
|
+
static const static_bookblock _resbook_44p_l2={
|
235
|
+
{
|
236
|
+
{&_44p2_l0_0,&_44p2_l0_1,0},
|
237
|
+
{&_44p2_l1_0,&_44p2_p7_2,&_44p2_p7_3},
|
238
|
+
}
|
239
|
+
};
|
240
|
+
static const static_bookblock _resbook_44p_l3={
|
241
|
+
{
|
242
|
+
{&_44p3_l0_0,&_44p3_l0_1,0},
|
243
|
+
{&_44p3_l1_0,&_44p3_p7_2,&_44p3_p7_3},
|
244
|
+
}
|
245
|
+
};
|
246
|
+
static const static_bookblock _resbook_44p_l4={
|
247
|
+
{
|
248
|
+
{&_44p4_l0_0,&_44p4_l0_1,0},
|
249
|
+
{&_44p4_l1_0,&_44p4_p7_2,&_44p4_p7_3},
|
250
|
+
}
|
251
|
+
};
|
252
|
+
static const static_bookblock _resbook_44p_l5={
|
253
|
+
{
|
254
|
+
{&_44p5_l0_0,&_44p5_l0_1,0},
|
255
|
+
{&_44p5_l1_0,&_44p5_p7_2,&_44p5_p7_3},
|
256
|
+
}
|
257
|
+
};
|
258
|
+
static const static_bookblock _resbook_44p_l6={
|
259
|
+
{
|
260
|
+
{&_44p6_l0_0,&_44p6_l0_1,0},
|
261
|
+
{&_44p6_l1_0,&_44p6_p7_2,&_44p6_p7_3},
|
262
|
+
}
|
263
|
+
};
|
264
|
+
static const static_bookblock _resbook_44p_l7={
|
265
|
+
{
|
266
|
+
{&_44p7_l0_0,&_44p7_l0_1,0},
|
267
|
+
{&_44p7_l1_0,&_44p7_p7_2,&_44p7_p7_3},
|
268
|
+
}
|
269
|
+
};
|
270
|
+
static const static_bookblock _resbook_44p_l8={
|
271
|
+
{
|
272
|
+
{&_44p8_l0_0,&_44p8_l0_1,0},
|
273
|
+
{&_44p8_l1_0,&_44p8_p7_2,&_44p8_p7_3},
|
274
|
+
}
|
275
|
+
};
|
276
|
+
static const static_bookblock _resbook_44p_l9={
|
277
|
+
{
|
278
|
+
{&_44p9_l0_0,&_44p9_l0_1,0},
|
279
|
+
{&_44p9_l1_0,&_44p9_p7_2,&_44p9_p7_3},
|
280
|
+
}
|
281
|
+
};
|
282
|
+
|
283
|
+
|
284
|
+
static const vorbis_info_mapping0 _map_nominal_51[2]={
|
285
|
+
{2, {0,0,0,0,0,1}, {0,2}, {0,2}, 4,{0,3,0,0},{2,4,1,3}},
|
286
|
+
{2, {0,0,0,0,0,1}, {1,2}, {1,2}, 4,{0,3,0,0},{2,4,1,3}}
|
287
|
+
};
|
288
|
+
static const vorbis_info_mapping0 _map_nominal_51u[2]={
|
289
|
+
{2, {0,0,0,0,0,1}, {0,2}, {0,2}, 0,{0},{0}},
|
290
|
+
{2, {0,0,0,0,0,1}, {1,2}, {1,2}, 0,{0},{0}}
|
291
|
+
};
|
292
|
+
|
293
|
+
static const vorbis_residue_template _res_44p51_n1[]={
|
294
|
+
{2,0,30, &_residue_44p_lo,
|
295
|
+
&_huff_book__44pn1_short,&_huff_book__44pn1_short,
|
296
|
+
&_resbook_44p_n1,&_resbook_44p_n1},
|
297
|
+
|
298
|
+
{2,0,30, &_residue_44p_lo,
|
299
|
+
&_huff_book__44pn1_long,&_huff_book__44pn1_long,
|
300
|
+
&_resbook_44p_n1,&_resbook_44p_n1},
|
301
|
+
|
302
|
+
{1,2,6, &_residue_44p_lfe,
|
303
|
+
&_huff_book__44pn1_lfe,&_huff_book__44pn1_lfe,
|
304
|
+
&_resbook_44p_ln1,&_resbook_44p_ln1}
|
305
|
+
};
|
306
|
+
static const vorbis_residue_template _res_44p51_0[]={
|
307
|
+
{2,0,15, &_residue_44p_lo,
|
308
|
+
&_huff_book__44p0_short,&_huff_book__44p0_short,
|
309
|
+
&_resbook_44p_0,&_resbook_44p_0},
|
310
|
+
|
311
|
+
{2,0,30, &_residue_44p_lo,
|
312
|
+
&_huff_book__44p0_long,&_huff_book__44p0_long,
|
313
|
+
&_resbook_44p_0,&_resbook_44p_0},
|
314
|
+
|
315
|
+
{1,2,6, &_residue_44p_lfe,
|
316
|
+
&_huff_book__44p0_lfe,&_huff_book__44p0_lfe,
|
317
|
+
&_resbook_44p_l0,&_resbook_44p_l0}
|
318
|
+
};
|
319
|
+
static const vorbis_residue_template _res_44p51_1[]={
|
320
|
+
{2,0,15, &_residue_44p_lo,
|
321
|
+
&_huff_book__44p1_short,&_huff_book__44p1_short,
|
322
|
+
&_resbook_44p_1,&_resbook_44p_1},
|
323
|
+
|
324
|
+
{2,0,30, &_residue_44p_lo,
|
325
|
+
&_huff_book__44p1_long,&_huff_book__44p1_long,
|
326
|
+
&_resbook_44p_1,&_resbook_44p_1},
|
327
|
+
|
328
|
+
{1,2,6, &_residue_44p_lfe,
|
329
|
+
&_huff_book__44p1_lfe,&_huff_book__44p1_lfe,
|
330
|
+
&_resbook_44p_l1,&_resbook_44p_l1}
|
331
|
+
};
|
332
|
+
static const vorbis_residue_template _res_44p51_2[]={
|
333
|
+
{2,0,15, &_residue_44p,
|
334
|
+
&_huff_book__44p2_short,&_huff_book__44p2_short,
|
335
|
+
&_resbook_44p_2,&_resbook_44p_2},
|
336
|
+
|
337
|
+
{2,0,30, &_residue_44p,
|
338
|
+
&_huff_book__44p2_long,&_huff_book__44p2_long,
|
339
|
+
&_resbook_44p_2,&_resbook_44p_2},
|
340
|
+
|
341
|
+
{1,2,6, &_residue_44p_lfe,
|
342
|
+
&_huff_book__44p2_lfe,&_huff_book__44p2_lfe,
|
343
|
+
&_resbook_44p_l2,&_resbook_44p_l2}
|
344
|
+
};
|
345
|
+
static const vorbis_residue_template _res_44p51_3[]={
|
346
|
+
{2,0,15, &_residue_44p,
|
347
|
+
&_huff_book__44p3_short,&_huff_book__44p3_short,
|
348
|
+
&_resbook_44p_3,&_resbook_44p_3},
|
349
|
+
|
350
|
+
{2,0,30, &_residue_44p,
|
351
|
+
&_huff_book__44p3_long,&_huff_book__44p3_long,
|
352
|
+
&_resbook_44p_3,&_resbook_44p_3},
|
353
|
+
|
354
|
+
{1,2,6, &_residue_44p_lfe,
|
355
|
+
&_huff_book__44p3_lfe,&_huff_book__44p3_lfe,
|
356
|
+
&_resbook_44p_l3,&_resbook_44p_l3}
|
357
|
+
};
|
358
|
+
static const vorbis_residue_template _res_44p51_4[]={
|
359
|
+
{2,0,15, &_residue_44p,
|
360
|
+
&_huff_book__44p4_short,&_huff_book__44p4_short,
|
361
|
+
&_resbook_44p_4,&_resbook_44p_4},
|
362
|
+
|
363
|
+
{2,0,30, &_residue_44p,
|
364
|
+
&_huff_book__44p4_long,&_huff_book__44p4_long,
|
365
|
+
&_resbook_44p_4,&_resbook_44p_4},
|
366
|
+
|
367
|
+
{1,2,6, &_residue_44p_lfe,
|
368
|
+
&_huff_book__44p4_lfe,&_huff_book__44p4_lfe,
|
369
|
+
&_resbook_44p_l4,&_resbook_44p_l4}
|
370
|
+
};
|
371
|
+
static const vorbis_residue_template _res_44p51_5[]={
|
372
|
+
{2,0,15, &_residue_44p_hi,
|
373
|
+
&_huff_book__44p5_short,&_huff_book__44p5_short,
|
374
|
+
&_resbook_44p_5,&_resbook_44p_5},
|
375
|
+
|
376
|
+
{2,0,30, &_residue_44p_hi,
|
377
|
+
&_huff_book__44p5_long,&_huff_book__44p5_long,
|
378
|
+
&_resbook_44p_5,&_resbook_44p_5},
|
379
|
+
|
380
|
+
{1,2,6, &_residue_44p_lfe,
|
381
|
+
&_huff_book__44p5_lfe,&_huff_book__44p5_lfe,
|
382
|
+
&_resbook_44p_l5,&_resbook_44p_l5}
|
383
|
+
};
|
384
|
+
static const vorbis_residue_template _res_44p51_6[]={
|
385
|
+
{2,0,15, &_residue_44p_hi,
|
386
|
+
&_huff_book__44p6_short,&_huff_book__44p6_short,
|
387
|
+
&_resbook_44p_6,&_resbook_44p_6},
|
388
|
+
|
389
|
+
{2,0,30, &_residue_44p_hi,
|
390
|
+
&_huff_book__44p6_long,&_huff_book__44p6_long,
|
391
|
+
&_resbook_44p_6,&_resbook_44p_6},
|
392
|
+
|
393
|
+
{1,2,6, &_residue_44p_lfe,
|
394
|
+
&_huff_book__44p6_lfe,&_huff_book__44p6_lfe,
|
395
|
+
&_resbook_44p_l6,&_resbook_44p_l6}
|
396
|
+
};
|
397
|
+
|
398
|
+
|
399
|
+
static const vorbis_residue_template _res_44p51_7[]={
|
400
|
+
{2,0,15, &_residue_44p_hi,
|
401
|
+
&_huff_book__44p7_short,&_huff_book__44p7_short,
|
402
|
+
&_resbook_44p_7,&_resbook_44p_7},
|
403
|
+
|
404
|
+
{2,0,30, &_residue_44p_hi,
|
405
|
+
&_huff_book__44p7_long,&_huff_book__44p7_long,
|
406
|
+
&_resbook_44p_7,&_resbook_44p_7},
|
407
|
+
|
408
|
+
{1,2,6, &_residue_44p_lfe,
|
409
|
+
&_huff_book__44p6_lfe,&_huff_book__44p6_lfe,
|
410
|
+
&_resbook_44p_l6,&_resbook_44p_l6}
|
411
|
+
};
|
412
|
+
static const vorbis_residue_template _res_44p51_8[]={
|
413
|
+
{2,0,15, &_residue_44p_hi,
|
414
|
+
&_huff_book__44p8_short,&_huff_book__44p8_short,
|
415
|
+
&_resbook_44p_8,&_resbook_44p_8},
|
416
|
+
|
417
|
+
{2,0,30, &_residue_44p_hi,
|
418
|
+
&_huff_book__44p8_long,&_huff_book__44p8_long,
|
419
|
+
&_resbook_44p_8,&_resbook_44p_8},
|
420
|
+
|
421
|
+
{1,2,6, &_residue_44p_lfe,
|
422
|
+
&_huff_book__44p6_lfe,&_huff_book__44p6_lfe,
|
423
|
+
&_resbook_44p_l6,&_resbook_44p_l6}
|
424
|
+
};
|
425
|
+
static const vorbis_residue_template _res_44p51_9[]={
|
426
|
+
{2,0,15, &_residue_44p_hi,
|
427
|
+
&_huff_book__44p9_short,&_huff_book__44p9_short,
|
428
|
+
&_resbook_44p_9,&_resbook_44p_9},
|
429
|
+
|
430
|
+
{2,0,30, &_residue_44p_hi,
|
431
|
+
&_huff_book__44p9_long,&_huff_book__44p9_long,
|
432
|
+
&_resbook_44p_9,&_resbook_44p_9},
|
433
|
+
|
434
|
+
{1,2,6, &_residue_44p_lfe,
|
435
|
+
&_huff_book__44p6_lfe,&_huff_book__44p6_lfe,
|
436
|
+
&_resbook_44p_l6,&_resbook_44p_l6}
|
437
|
+
};
|
438
|
+
|
439
|
+
static const vorbis_mapping_template _mapres_template_44_51[]={
|
440
|
+
{ _map_nominal_51, _res_44p51_n1 }, /* -1 */
|
441
|
+
{ _map_nominal_51, _res_44p51_0 }, /* 0 */
|
442
|
+
{ _map_nominal_51, _res_44p51_1 }, /* 1 */
|
443
|
+
{ _map_nominal_51, _res_44p51_2 }, /* 2 */
|
444
|
+
{ _map_nominal_51, _res_44p51_3 }, /* 3 */
|
445
|
+
{ _map_nominal_51, _res_44p51_4 }, /* 4 */
|
446
|
+
{ _map_nominal_51u, _res_44p51_5 }, /* 5 */
|
447
|
+
{ _map_nominal_51u, _res_44p51_6 }, /* 6 */
|
448
|
+
{ _map_nominal_51u, _res_44p51_7 }, /* 7 */
|
449
|
+
{ _map_nominal_51u, _res_44p51_8 }, /* 8 */
|
450
|
+
{ _map_nominal_51u, _res_44p51_9 }, /* 9 */
|
451
|
+
};
|
@@ -0,0 +1,318 @@
|
|
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-2007 *
|
9
|
+
* by the Xiph.Org Foundation http://www.xiph.org/ *
|
10
|
+
* *
|
11
|
+
********************************************************************
|
12
|
+
|
13
|
+
function: toplevel residue templates for 32/44.1/48kHz uncoupled
|
14
|
+
last mod: $Id: residue_44u.h 16962 2010-03-11 07:30:34Z xiphmont $
|
15
|
+
|
16
|
+
********************************************************************/
|
17
|
+
|
18
|
+
#include "vorbis/codec.h"
|
19
|
+
#include "backends.h"
|
20
|
+
#include "books/uncoupled/res_books_uncoupled.h"
|
21
|
+
|
22
|
+
/***** residue backends *********************************************/
|
23
|
+
|
24
|
+
|
25
|
+
static const vorbis_info_residue0 _residue_44_low_un={
|
26
|
+
0,-1, -1, 8,-1,-1,
|
27
|
+
{0},
|
28
|
+
{-1},
|
29
|
+
{ 0, 1, 1, 2, 2, 4, 28},
|
30
|
+
{ -1, 25, -1, 45, -1, -1, -1}
|
31
|
+
};
|
32
|
+
|
33
|
+
static const vorbis_info_residue0 _residue_44_mid_un={
|
34
|
+
0,-1, -1, 10,-1,-1,
|
35
|
+
/* 0 1 2 3 4 5 6 7 8 9 */
|
36
|
+
{0},
|
37
|
+
{-1},
|
38
|
+
{ 0, 1, 1, 2, 2, 4, 4, 16, 60},
|
39
|
+
{ -1, 30, -1, 50, -1, 80, -1, -1, -1}
|
40
|
+
};
|
41
|
+
|
42
|
+
static const vorbis_info_residue0 _residue_44_hi_un={
|
43
|
+
0,-1, -1, 10,-1,-1,
|
44
|
+
/* 0 1 2 3 4 5 6 7 8 9 */
|
45
|
+
{0},
|
46
|
+
{-1},
|
47
|
+
{ 0, 1, 2, 4, 8, 16, 32, 71,157},
|
48
|
+
{ -1, -1, -1, -1, -1, -1, -1, -1, -1}
|
49
|
+
};
|
50
|
+
|
51
|
+
/* mapping conventions:
|
52
|
+
only one submap (this would change for efficient 5.1 support for example)*/
|
53
|
+
/* Four psychoacoustic profiles are used, one for each blocktype */
|
54
|
+
static const vorbis_info_mapping0 _map_nominal_u[2]={
|
55
|
+
{1, {0,0,0,0,0,0}, {0}, {0}, 0,{0},{0}},
|
56
|
+
{1, {0,0,0,0,0,0}, {1}, {1}, 0,{0},{0}}
|
57
|
+
};
|
58
|
+
|
59
|
+
static const static_bookblock _resbook_44u_n1={
|
60
|
+
{
|
61
|
+
{0},
|
62
|
+
{0,0,&_44un1__p1_0},
|
63
|
+
{0,0,&_44un1__p2_0},
|
64
|
+
{0,0,&_44un1__p3_0},
|
65
|
+
{0,0,&_44un1__p4_0},
|
66
|
+
{0,0,&_44un1__p5_0},
|
67
|
+
{&_44un1__p6_0,&_44un1__p6_1},
|
68
|
+
{&_44un1__p7_0,&_44un1__p7_1,&_44un1__p7_2}
|
69
|
+
}
|
70
|
+
};
|
71
|
+
static const static_bookblock _resbook_44u_0={
|
72
|
+
{
|
73
|
+
{0},
|
74
|
+
{0,0,&_44u0__p1_0},
|
75
|
+
{0,0,&_44u0__p2_0},
|
76
|
+
{0,0,&_44u0__p3_0},
|
77
|
+
{0,0,&_44u0__p4_0},
|
78
|
+
{0,0,&_44u0__p5_0},
|
79
|
+
{&_44u0__p6_0,&_44u0__p6_1},
|
80
|
+
{&_44u0__p7_0,&_44u0__p7_1,&_44u0__p7_2}
|
81
|
+
}
|
82
|
+
};
|
83
|
+
static const static_bookblock _resbook_44u_1={
|
84
|
+
{
|
85
|
+
{0},
|
86
|
+
{0,0,&_44u1__p1_0},
|
87
|
+
{0,0,&_44u1__p2_0},
|
88
|
+
{0,0,&_44u1__p3_0},
|
89
|
+
{0,0,&_44u1__p4_0},
|
90
|
+
{0,0,&_44u1__p5_0},
|
91
|
+
{&_44u1__p6_0,&_44u1__p6_1},
|
92
|
+
{&_44u1__p7_0,&_44u1__p7_1,&_44u1__p7_2}
|
93
|
+
}
|
94
|
+
};
|
95
|
+
static const static_bookblock _resbook_44u_2={
|
96
|
+
{
|
97
|
+
{0},
|
98
|
+
{0,0,&_44u2__p1_0},
|
99
|
+
{0,0,&_44u2__p2_0},
|
100
|
+
{0,0,&_44u2__p3_0},
|
101
|
+
{0,0,&_44u2__p4_0},
|
102
|
+
{0,0,&_44u2__p5_0},
|
103
|
+
{&_44u2__p6_0,&_44u2__p6_1},
|
104
|
+
{&_44u2__p7_0,&_44u2__p7_1,&_44u2__p7_2}
|
105
|
+
}
|
106
|
+
};
|
107
|
+
static const static_bookblock _resbook_44u_3={
|
108
|
+
{
|
109
|
+
{0},
|
110
|
+
{0,0,&_44u3__p1_0},
|
111
|
+
{0,0,&_44u3__p2_0},
|
112
|
+
{0,0,&_44u3__p3_0},
|
113
|
+
{0,0,&_44u3__p4_0},
|
114
|
+
{0,0,&_44u3__p5_0},
|
115
|
+
{&_44u3__p6_0,&_44u3__p6_1},
|
116
|
+
{&_44u3__p7_0,&_44u3__p7_1,&_44u3__p7_2}
|
117
|
+
}
|
118
|
+
};
|
119
|
+
static const static_bookblock _resbook_44u_4={
|
120
|
+
{
|
121
|
+
{0},
|
122
|
+
{0,0,&_44u4__p1_0},
|
123
|
+
{0,0,&_44u4__p2_0},
|
124
|
+
{0,0,&_44u4__p3_0},
|
125
|
+
{0,0,&_44u4__p4_0},
|
126
|
+
{0,0,&_44u4__p5_0},
|
127
|
+
{&_44u4__p6_0,&_44u4__p6_1},
|
128
|
+
{&_44u4__p7_0,&_44u4__p7_1,&_44u4__p7_2}
|
129
|
+
}
|
130
|
+
};
|
131
|
+
static const static_bookblock _resbook_44u_5={
|
132
|
+
{
|
133
|
+
{0},
|
134
|
+
{0,0,&_44u5__p1_0},
|
135
|
+
{0,0,&_44u5__p2_0},
|
136
|
+
{0,0,&_44u5__p3_0},
|
137
|
+
{0,0,&_44u5__p4_0},
|
138
|
+
{0,0,&_44u5__p5_0},
|
139
|
+
{0,0,&_44u5__p6_0},
|
140
|
+
{&_44u5__p7_0,&_44u5__p7_1},
|
141
|
+
{&_44u5__p8_0,&_44u5__p8_1},
|
142
|
+
{&_44u5__p9_0,&_44u5__p9_1,&_44u5__p9_2}
|
143
|
+
}
|
144
|
+
};
|
145
|
+
static const static_bookblock _resbook_44u_6={
|
146
|
+
{
|
147
|
+
{0},
|
148
|
+
{0,0,&_44u6__p1_0},
|
149
|
+
{0,0,&_44u6__p2_0},
|
150
|
+
{0,0,&_44u6__p3_0},
|
151
|
+
{0,0,&_44u6__p4_0},
|
152
|
+
{0,0,&_44u6__p5_0},
|
153
|
+
{0,0,&_44u6__p6_0},
|
154
|
+
{&_44u6__p7_0,&_44u6__p7_1},
|
155
|
+
{&_44u6__p8_0,&_44u6__p8_1},
|
156
|
+
{&_44u6__p9_0,&_44u6__p9_1,&_44u6__p9_2}
|
157
|
+
}
|
158
|
+
};
|
159
|
+
static const static_bookblock _resbook_44u_7={
|
160
|
+
{
|
161
|
+
{0},
|
162
|
+
{0,0,&_44u7__p1_0},
|
163
|
+
{0,0,&_44u7__p2_0},
|
164
|
+
{0,0,&_44u7__p3_0},
|
165
|
+
{0,0,&_44u7__p4_0},
|
166
|
+
{0,0,&_44u7__p5_0},
|
167
|
+
{0,0,&_44u7__p6_0},
|
168
|
+
{&_44u7__p7_0,&_44u7__p7_1},
|
169
|
+
{&_44u7__p8_0,&_44u7__p8_1},
|
170
|
+
{&_44u7__p9_0,&_44u7__p9_1,&_44u7__p9_2}
|
171
|
+
}
|
172
|
+
};
|
173
|
+
static const static_bookblock _resbook_44u_8={
|
174
|
+
{
|
175
|
+
{0},
|
176
|
+
{0,0,&_44u8_p1_0},
|
177
|
+
{0,0,&_44u8_p2_0},
|
178
|
+
{0,0,&_44u8_p3_0},
|
179
|
+
{0,0,&_44u8_p4_0},
|
180
|
+
{&_44u8_p5_0,&_44u8_p5_1},
|
181
|
+
{&_44u8_p6_0,&_44u8_p6_1},
|
182
|
+
{&_44u8_p7_0,&_44u8_p7_1},
|
183
|
+
{&_44u8_p8_0,&_44u8_p8_1},
|
184
|
+
{&_44u8_p9_0,&_44u8_p9_1,&_44u8_p9_2}
|
185
|
+
}
|
186
|
+
};
|
187
|
+
static const static_bookblock _resbook_44u_9={
|
188
|
+
{
|
189
|
+
{0},
|
190
|
+
{0,0,&_44u9_p1_0},
|
191
|
+
{0,0,&_44u9_p2_0},
|
192
|
+
{0,0,&_44u9_p3_0},
|
193
|
+
{0,0,&_44u9_p4_0},
|
194
|
+
{&_44u9_p5_0,&_44u9_p5_1},
|
195
|
+
{&_44u9_p6_0,&_44u9_p6_1},
|
196
|
+
{&_44u9_p7_0,&_44u9_p7_1},
|
197
|
+
{&_44u9_p8_0,&_44u9_p8_1},
|
198
|
+
{&_44u9_p9_0,&_44u9_p9_1,&_44u9_p9_2}
|
199
|
+
}
|
200
|
+
};
|
201
|
+
|
202
|
+
static const vorbis_residue_template _res_44u_n1[]={
|
203
|
+
{1,0,32, &_residue_44_low_un,
|
204
|
+
&_huff_book__44un1__short,&_huff_book__44un1__short,
|
205
|
+
&_resbook_44u_n1,&_resbook_44u_n1},
|
206
|
+
|
207
|
+
{1,0,32, &_residue_44_low_un,
|
208
|
+
&_huff_book__44un1__long,&_huff_book__44un1__long,
|
209
|
+
&_resbook_44u_n1,&_resbook_44u_n1}
|
210
|
+
};
|
211
|
+
static const vorbis_residue_template _res_44u_0[]={
|
212
|
+
{1,0,16, &_residue_44_low_un,
|
213
|
+
&_huff_book__44u0__short,&_huff_book__44u0__short,
|
214
|
+
&_resbook_44u_0,&_resbook_44u_0},
|
215
|
+
|
216
|
+
{1,0,32, &_residue_44_low_un,
|
217
|
+
&_huff_book__44u0__long,&_huff_book__44u0__long,
|
218
|
+
&_resbook_44u_0,&_resbook_44u_0}
|
219
|
+
};
|
220
|
+
static const vorbis_residue_template _res_44u_1[]={
|
221
|
+
{1,0,16, &_residue_44_low_un,
|
222
|
+
&_huff_book__44u1__short,&_huff_book__44u1__short,
|
223
|
+
&_resbook_44u_1,&_resbook_44u_1},
|
224
|
+
|
225
|
+
{1,0,32, &_residue_44_low_un,
|
226
|
+
&_huff_book__44u1__long,&_huff_book__44u1__long,
|
227
|
+
&_resbook_44u_1,&_resbook_44u_1}
|
228
|
+
};
|
229
|
+
static const vorbis_residue_template _res_44u_2[]={
|
230
|
+
{1,0,16, &_residue_44_low_un,
|
231
|
+
&_huff_book__44u2__short,&_huff_book__44u2__short,
|
232
|
+
&_resbook_44u_2,&_resbook_44u_2},
|
233
|
+
|
234
|
+
{1,0,32, &_residue_44_low_un,
|
235
|
+
&_huff_book__44u2__long,&_huff_book__44u2__long,
|
236
|
+
&_resbook_44u_2,&_resbook_44u_2}
|
237
|
+
};
|
238
|
+
static const vorbis_residue_template _res_44u_3[]={
|
239
|
+
{1,0,16, &_residue_44_low_un,
|
240
|
+
&_huff_book__44u3__short,&_huff_book__44u3__short,
|
241
|
+
&_resbook_44u_3,&_resbook_44u_3},
|
242
|
+
|
243
|
+
{1,0,32, &_residue_44_low_un,
|
244
|
+
&_huff_book__44u3__long,&_huff_book__44u3__long,
|
245
|
+
&_resbook_44u_3,&_resbook_44u_3}
|
246
|
+
};
|
247
|
+
static const vorbis_residue_template _res_44u_4[]={
|
248
|
+
{1,0,16, &_residue_44_low_un,
|
249
|
+
&_huff_book__44u4__short,&_huff_book__44u4__short,
|
250
|
+
&_resbook_44u_4,&_resbook_44u_4},
|
251
|
+
|
252
|
+
{1,0,32, &_residue_44_low_un,
|
253
|
+
&_huff_book__44u4__long,&_huff_book__44u4__long,
|
254
|
+
&_resbook_44u_4,&_resbook_44u_4}
|
255
|
+
};
|
256
|
+
|
257
|
+
static const vorbis_residue_template _res_44u_5[]={
|
258
|
+
{1,0,16, &_residue_44_mid_un,
|
259
|
+
&_huff_book__44u5__short,&_huff_book__44u5__short,
|
260
|
+
&_resbook_44u_5,&_resbook_44u_5},
|
261
|
+
|
262
|
+
{1,0,32, &_residue_44_mid_un,
|
263
|
+
&_huff_book__44u5__long,&_huff_book__44u5__long,
|
264
|
+
&_resbook_44u_5,&_resbook_44u_5}
|
265
|
+
};
|
266
|
+
|
267
|
+
static const vorbis_residue_template _res_44u_6[]={
|
268
|
+
{1,0,16, &_residue_44_mid_un,
|
269
|
+
&_huff_book__44u6__short,&_huff_book__44u6__short,
|
270
|
+
&_resbook_44u_6,&_resbook_44u_6},
|
271
|
+
|
272
|
+
{1,0,32, &_residue_44_mid_un,
|
273
|
+
&_huff_book__44u6__long,&_huff_book__44u6__long,
|
274
|
+
&_resbook_44u_6,&_resbook_44u_6}
|
275
|
+
};
|
276
|
+
|
277
|
+
static const vorbis_residue_template _res_44u_7[]={
|
278
|
+
{1,0,16, &_residue_44_mid_un,
|
279
|
+
&_huff_book__44u7__short,&_huff_book__44u7__short,
|
280
|
+
&_resbook_44u_7,&_resbook_44u_7},
|
281
|
+
|
282
|
+
{1,0,32, &_residue_44_mid_un,
|
283
|
+
&_huff_book__44u7__long,&_huff_book__44u7__long,
|
284
|
+
&_resbook_44u_7,&_resbook_44u_7}
|
285
|
+
};
|
286
|
+
|
287
|
+
static const vorbis_residue_template _res_44u_8[]={
|
288
|
+
{1,0,16, &_residue_44_hi_un,
|
289
|
+
&_huff_book__44u8__short,&_huff_book__44u8__short,
|
290
|
+
&_resbook_44u_8,&_resbook_44u_8},
|
291
|
+
|
292
|
+
{1,0,32, &_residue_44_hi_un,
|
293
|
+
&_huff_book__44u8__long,&_huff_book__44u8__long,
|
294
|
+
&_resbook_44u_8,&_resbook_44u_8}
|
295
|
+
};
|
296
|
+
static const vorbis_residue_template _res_44u_9[]={
|
297
|
+
{1,0,16, &_residue_44_hi_un,
|
298
|
+
&_huff_book__44u9__short,&_huff_book__44u9__short,
|
299
|
+
&_resbook_44u_9,&_resbook_44u_9},
|
300
|
+
|
301
|
+
{1,0,32, &_residue_44_hi_un,
|
302
|
+
&_huff_book__44u9__long,&_huff_book__44u9__long,
|
303
|
+
&_resbook_44u_9,&_resbook_44u_9}
|
304
|
+
};
|
305
|
+
|
306
|
+
static const vorbis_mapping_template _mapres_template_44_uncoupled[]={
|
307
|
+
{ _map_nominal_u, _res_44u_n1 }, /* -1 */
|
308
|
+
{ _map_nominal_u, _res_44u_0 }, /* 0 */
|
309
|
+
{ _map_nominal_u, _res_44u_1 }, /* 1 */
|
310
|
+
{ _map_nominal_u, _res_44u_2 }, /* 2 */
|
311
|
+
{ _map_nominal_u, _res_44u_3 }, /* 3 */
|
312
|
+
{ _map_nominal_u, _res_44u_4 }, /* 4 */
|
313
|
+
{ _map_nominal_u, _res_44u_5 }, /* 5 */
|
314
|
+
{ _map_nominal_u, _res_44u_6 }, /* 6 */
|
315
|
+
{ _map_nominal_u, _res_44u_7 }, /* 7 */
|
316
|
+
{ _map_nominal_u, _res_44u_8 }, /* 8 */
|
317
|
+
{ _map_nominal_u, _res_44u_9 }, /* 9 */
|
318
|
+
};
|