gosu 0.8.0.pre3 → 0.8.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gosu/Buttons.hpp +13 -11
- data/{linux → ext/gosu}/extconf.rb +25 -47
- data/{GosuImpl/RubyGosu_wrap.cxx → ext/gosu/gosu_wrap.cxx} +3 -2
- data/{GosuImpl/RubyGosu_wrap.h → ext/gosu/gosu_wrap.h} +0 -0
- data/lib/gosu.rb +6 -7
- data/lib/gosu/zen.rb +12 -0
- data/{GosuImpl → src}/Audio/ALChannelManagement.hpp +0 -0
- data/{GosuImpl → src}/Audio/AudioFile.hpp +0 -0
- data/{GosuImpl → src}/Audio/AudioOpenAL.cpp +0 -0
- data/{GosuImpl → src}/Audio/AudioOpenAL.mm +0 -0
- data/{GosuImpl → src}/Audio/AudioToolboxFile.hpp +0 -0
- data/{GosuImpl → src}/Audio/OggFile.hpp +0 -0
- data/{GosuImpl → src}/Audio/SndFile.hpp +0 -0
- data/{GosuImpl/Graphics → src/Bitmap}/Bitmap.cpp +2 -0
- data/{GosuImpl/Graphics → src/Bitmap}/BitmapApple.mm +0 -0
- data/{GosuImpl/Graphics → src/Bitmap}/BitmapBMP.cpp +0 -0
- data/{GosuImpl/Graphics → src/Bitmap}/BitmapColorKey.cpp +0 -0
- data/{GosuImpl/Graphics → src/Bitmap}/BitmapFreeImage.cpp +0 -0
- data/{GosuImpl/Graphics → src/Bitmap}/BitmapGDIplus.cpp +0 -0
- data/{GosuImpl/Graphics → src/Bitmap}/BitmapUtils.cpp +0 -0
- data/{GosuImpl → src}/DirectoriesMac.mm +0 -0
- data/{GosuImpl → src}/DirectoriesTouch.mm +0 -0
- data/{GosuImpl → src}/DirectoriesUnix.cpp +0 -0
- data/{GosuImpl → src}/DirectoriesWin.cpp +0 -0
- data/{GosuImpl → src}/FileUnix.cpp +0 -0
- data/{GosuImpl → src}/FileWin.cpp +0 -0
- data/{GosuImpl/Graphics → src}/GosuView.hpp +0 -0
- data/{GosuImpl/Graphics → src}/GosuView.mm +0 -0
- data/{GosuImpl → src}/Graphics/BlockAllocator.cpp +0 -0
- data/{GosuImpl → src}/Graphics/BlockAllocator.hpp +0 -0
- data/{GosuImpl → src}/Graphics/ClipRectStack.hpp +0 -0
- data/{GosuImpl → src}/Graphics/Color.cpp +0 -0
- data/{GosuImpl → src}/Graphics/Common.hpp +0 -0
- data/{GosuImpl → src}/Graphics/DrawOp.hpp +0 -0
- data/{GosuImpl → src}/Graphics/DrawOpQueue.hpp +0 -0
- data/{GosuImpl → src}/Graphics/Graphics.cpp +0 -0
- data/{GosuImpl → src}/Graphics/Image.cpp +0 -0
- data/{GosuImpl → src}/Graphics/LargeImageData.cpp +0 -0
- data/{GosuImpl → src}/Graphics/LargeImageData.hpp +0 -0
- data/{GosuImpl → src}/Graphics/Macro.hpp +0 -0
- data/{GosuImpl → src}/Graphics/RenderState.hpp +0 -0
- data/{GosuImpl → src}/Graphics/TexChunk.cpp +0 -0
- data/{GosuImpl → src}/Graphics/TexChunk.hpp +0 -0
- data/{GosuImpl → src}/Graphics/Texture.cpp +0 -0
- data/{GosuImpl → src}/Graphics/Texture.hpp +0 -0
- data/{GosuImpl → src}/Graphics/Transform.cpp +0 -0
- data/{GosuImpl → src}/Graphics/TransformStack.hpp +0 -0
- data/{GosuImpl → src}/IO.cpp +0 -0
- data/{GosuImpl → src}/Iconv.hpp +0 -0
- data/{GosuImpl → src}/Input/AccelerometerReader.hpp +0 -0
- data/{GosuImpl → src}/Input/AccelerometerReader.mm +0 -0
- data/{GosuImpl → src/Input}/Input.cpp +0 -0
- data/{GosuImpl → src/Input}/InputTouch.mm +0 -0
- data/{GosuImpl → src/Input}/TextInput.cpp +0 -0
- data/{GosuImpl → src/Input}/TextInputMac.mm +0 -0
- data/{GosuImpl → src}/Inspection.cpp +0 -0
- data/{GosuImpl → src}/MacUtility.hpp +0 -0
- data/{GosuImpl → src}/Math.cpp +0 -0
- data/{GosuImpl → src}/Sockets/CommSocket.cpp +0 -0
- data/{GosuImpl → src}/Sockets/ListenerSocket.cpp +0 -0
- data/{GosuImpl → src}/Sockets/MessageSocket.cpp +0 -0
- data/{GosuImpl → src}/Sockets/Socket.cpp +0 -0
- data/{GosuImpl → src}/Sockets/Socket.hpp +0 -0
- data/{GosuImpl/Graphics → src/Text}/Font.cpp +1 -1
- data/{GosuImpl/Graphics → src/Text}/FormattedString.hpp +0 -0
- data/{GosuImpl/Graphics → src/Text}/Text.cpp +1 -1
- data/{GosuImpl/Graphics/TextTouch.mm → src/Text/TextApple.mm} +0 -0
- data/{GosuImpl/Graphics → src/Text}/TextMac.cpp +1 -1
- data/{GosuImpl/Graphics → src/Text}/TextTTFWin.cpp +0 -0
- data/{GosuImpl/Graphics → src/Text}/TextUnix.cpp +0 -0
- data/{GosuImpl/Graphics → src/Text}/TextWin.cpp +0 -0
- data/{GosuImpl → src}/TimingApple.cpp +0 -0
- data/{GosuImpl → src}/TimingUnix.cpp +0 -0
- data/{GosuImpl → src}/TimingWin.cpp +0 -0
- data/{GosuImpl → src}/Utility.cpp +0 -0
- data/{GosuImpl → src}/UtilityApple.mm +0 -0
- data/{GosuImpl → src}/UtilityWin.cpp +0 -0
- data/{GosuImpl → src}/WinMain.cpp +0 -0
- data/{GosuImpl → src}/WinUtility.cpp +0 -0
- data/{GosuImpl → src}/Window.cpp +0 -0
- data/{GosuImpl → src}/WindowTouch.mm +0 -0
- data/{GosuImpl → src}/X11vroot.h +0 -0
- metadata +97 -193
- data/.yardopts +0 -1
- data/COPYING +0 -29
- data/GosuImpl/InputMac.mm +0 -733
- data/GosuImpl/InputWin.cpp +0 -483
- data/GosuImpl/InputX.cpp +0 -243
- data/GosuImpl/RubyGosu.swg +0 -821
- data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +0 -126
- data/GosuImpl/RubyGosu_SWIG_RENAME_PATCH.patch +0 -62
- data/GosuImpl/TextInputWin.cpp +0 -211
- data/GosuImpl/TextInputX.cpp +0 -217
- data/GosuImpl/WindowWin.cpp +0 -534
- data/GosuImpl/WindowX.cpp +0 -458
- data/README.txt +0 -25
- data/dependencies/libogg/AUTHORS +0 -4
- data/dependencies/libogg/CHANGES +0 -70
- data/dependencies/libogg/COPYING +0 -28
- data/dependencies/libogg/include/ogg/ogg.h +0 -209
- data/dependencies/libogg/include/ogg/os_types.h +0 -147
- data/dependencies/libogg/src/bitwise.c +0 -857
- data/dependencies/libogg/src/framing.c +0 -2089
- data/dependencies/libvorbis/AUTHORS +0 -3
- data/dependencies/libvorbis/CHANGES +0 -126
- data/dependencies/libvorbis/COPYING +0 -28
- data/dependencies/libvorbis/include/vorbis/codec.h +0 -243
- data/dependencies/libvorbis/include/vorbis/vorbisenc.h +0 -436
- data/dependencies/libvorbis/include/vorbis/vorbisfile.h +0 -206
- data/dependencies/libvorbis/lib/analysis.c +0 -120
- data/dependencies/libvorbis/lib/backends.h +0 -144
- data/dependencies/libvorbis/lib/barkmel.c +0 -64
- data/dependencies/libvorbis/lib/bitrate.c +0 -253
- data/dependencies/libvorbis/lib/bitrate.h +0 -59
- data/dependencies/libvorbis/lib/block.c +0 -1046
- data/dependencies/libvorbis/lib/books/coupled/res_books_51.h +0 -12257
- data/dependencies/libvorbis/lib/books/coupled/res_books_stereo.h +0 -15783
- data/dependencies/libvorbis/lib/books/floor/floor_books.h +0 -1547
- data/dependencies/libvorbis/lib/books/uncoupled/res_books_uncoupled.h +0 -7758
- data/dependencies/libvorbis/lib/codebook.c +0 -479
- data/dependencies/libvorbis/lib/codebook.h +0 -119
- data/dependencies/libvorbis/lib/codec_internal.h +0 -167
- data/dependencies/libvorbis/lib/envelope.c +0 -375
- data/dependencies/libvorbis/lib/envelope.h +0 -80
- data/dependencies/libvorbis/lib/floor0.c +0 -222
- data/dependencies/libvorbis/lib/floor1.c +0 -1099
- data/dependencies/libvorbis/lib/highlevel.h +0 -58
- data/dependencies/libvorbis/lib/info.c +0 -664
- data/dependencies/libvorbis/lib/lookup.c +0 -94
- data/dependencies/libvorbis/lib/lookup.h +0 -32
- data/dependencies/libvorbis/lib/lookup_data.h +0 -192
- data/dependencies/libvorbis/lib/lpc.c +0 -160
- data/dependencies/libvorbis/lib/lpc.h +0 -29
- data/dependencies/libvorbis/lib/lsp.c +0 -456
- data/dependencies/libvorbis/lib/lsp.h +0 -28
- data/dependencies/libvorbis/lib/mapping0.c +0 -816
- data/dependencies/libvorbis/lib/masking.h +0 -785
- data/dependencies/libvorbis/lib/mdct.c +0 -563
- data/dependencies/libvorbis/lib/mdct.h +0 -71
- data/dependencies/libvorbis/lib/misc.h +0 -57
- data/dependencies/libvorbis/lib/modes/floor_all.h +0 -260
- data/dependencies/libvorbis/lib/modes/psych_11.h +0 -51
- data/dependencies/libvorbis/lib/modes/psych_16.h +0 -133
- data/dependencies/libvorbis/lib/modes/psych_44.h +0 -642
- data/dependencies/libvorbis/lib/modes/psych_8.h +0 -101
- data/dependencies/libvorbis/lib/modes/residue_16.h +0 -163
- data/dependencies/libvorbis/lib/modes/residue_44.h +0 -292
- data/dependencies/libvorbis/lib/modes/residue_44p51.h +0 -451
- data/dependencies/libvorbis/lib/modes/residue_44u.h +0 -318
- data/dependencies/libvorbis/lib/modes/residue_8.h +0 -109
- data/dependencies/libvorbis/lib/modes/setup_11.h +0 -143
- data/dependencies/libvorbis/lib/modes/setup_16.h +0 -153
- data/dependencies/libvorbis/lib/modes/setup_22.h +0 -128
- data/dependencies/libvorbis/lib/modes/setup_32.h +0 -132
- data/dependencies/libvorbis/lib/modes/setup_44.h +0 -117
- data/dependencies/libvorbis/lib/modes/setup_44p51.h +0 -74
- data/dependencies/libvorbis/lib/modes/setup_44u.h +0 -74
- data/dependencies/libvorbis/lib/modes/setup_8.h +0 -149
- data/dependencies/libvorbis/lib/modes/setup_X.h +0 -225
- data/dependencies/libvorbis/lib/os.h +0 -186
- data/dependencies/libvorbis/lib/psy.c +0 -1203
- data/dependencies/libvorbis/lib/psy.h +0 -154
- data/dependencies/libvorbis/lib/psytune.c +0 -524
- data/dependencies/libvorbis/lib/registry.c +0 -45
- data/dependencies/libvorbis/lib/registry.h +0 -32
- data/dependencies/libvorbis/lib/res0.c +0 -889
- data/dependencies/libvorbis/lib/scales.h +0 -90
- data/dependencies/libvorbis/lib/sharedbook.c +0 -579
- data/dependencies/libvorbis/lib/smallft.c +0 -1255
- data/dependencies/libvorbis/lib/smallft.h +0 -34
- data/dependencies/libvorbis/lib/synthesis.c +0 -184
- data/dependencies/libvorbis/lib/tone.c +0 -54
- data/dependencies/libvorbis/lib/vorbisenc.c +0 -1215
- data/dependencies/libvorbis/lib/vorbisfile.c +0 -2337
- data/dependencies/libvorbis/lib/window.c +0 -2135
- data/dependencies/libvorbis/lib/window.h +0 -26
- data/dependencies/ogg_vorbis.license +0 -28
- data/reference/gosu.rb +0 -1284
@@ -1,101 +0,0 @@
|
|
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-2009 *
|
9
|
-
* by the Xiph.Org Foundation http://www.xiph.org/ *
|
10
|
-
* *
|
11
|
-
********************************************************************
|
12
|
-
|
13
|
-
function: 8kHz psychoacoustic settings
|
14
|
-
last mod: $Id: psych_8.h 16227 2009-07-08 06:58:46Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
static const att3 _psy_tone_masteratt_8[3]={
|
19
|
-
{{ 32, 25, 12}, 0, 0}, /* 0 */
|
20
|
-
{{ 30, 25, 12}, 0, 0}, /* 0 */
|
21
|
-
{{ 20, 0, -14}, 0, 0}, /* 0 */
|
22
|
-
};
|
23
|
-
|
24
|
-
static const vp_adjblock _vp_tonemask_adj_8[3]={
|
25
|
-
/* adjust for mode zero */
|
26
|
-
/* 63 125 250 500 1 2 4 8 16 */
|
27
|
-
{{-15,-15,-15,-15,-10,-10, -6, 0, 0, 0, 0,10, 0, 0,99,99,99}}, /* 1 */
|
28
|
-
{{-15,-15,-15,-15,-10,-10, -6, 0, 0, 0, 0,10, 0, 0,99,99,99}}, /* 1 */
|
29
|
-
{{-15,-15,-15,-15,-10,-10, -6, 0, 0, 0, 0, 0, 0, 0,99,99,99}}, /* 1 */
|
30
|
-
};
|
31
|
-
|
32
|
-
|
33
|
-
static const noise3 _psy_noisebias_8[3]={
|
34
|
-
/* 63 125 250 500 1k 2k 4k 8k 16k*/
|
35
|
-
{{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 8, 8, 8, 10, 10, 99, 99, 99},
|
36
|
-
{-10,-10,-10,-10, -5, -5, -5, 0, 0, 4, 4, 4, 4, 4, 99, 99, 99},
|
37
|
-
{-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
|
38
|
-
|
39
|
-
{{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 8, 8, 8, 10, 10, 99, 99, 99},
|
40
|
-
{-10,-10,-10,-10,-10,-10, -5, -5, -5, 0, 0, 0, 0, 0, 99, 99, 99},
|
41
|
-
{-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
|
42
|
-
|
43
|
-
{{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 99, 99, 99},
|
44
|
-
{-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10, 99, 99, 99},
|
45
|
-
{-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24, 99, 99, 99}}},
|
46
|
-
};
|
47
|
-
|
48
|
-
/* stereo mode by base quality level */
|
49
|
-
static const adj_stereo _psy_stereo_modes_8[3]={
|
50
|
-
/* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 */
|
51
|
-
{{ 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
|
52
|
-
{ 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
53
|
-
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
|
54
|
-
{ 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
|
55
|
-
{{ 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
|
56
|
-
{ 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
57
|
-
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
|
58
|
-
{ 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
|
59
|
-
{{ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
|
60
|
-
{ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
61
|
-
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
|
62
|
-
{ 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
|
63
|
-
};
|
64
|
-
|
65
|
-
static const noiseguard _psy_noiseguards_8[2]={
|
66
|
-
{10,10,-1},
|
67
|
-
{10,10,-1},
|
68
|
-
};
|
69
|
-
|
70
|
-
static const compandblock _psy_compand_8[2]={
|
71
|
-
{{
|
72
|
-
0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
|
73
|
-
8, 8, 9, 9,10,10,11, 11, /* 15dB */
|
74
|
-
12,12,13,13,14,14,15, 15, /* 23dB */
|
75
|
-
16,16,17,17,17,18,18, 19, /* 31dB */
|
76
|
-
19,19,20,21,22,23,24, 25, /* 39dB */
|
77
|
-
}},
|
78
|
-
{{
|
79
|
-
0, 1, 2, 3, 4, 5, 6, 6, /* 7dB */
|
80
|
-
7, 7, 6, 6, 5, 5, 4, 4, /* 15dB */
|
81
|
-
3, 3, 3, 4, 5, 6, 7, 8, /* 23dB */
|
82
|
-
9,10,11,12,13,14,15, 16, /* 31dB */
|
83
|
-
17,18,19,20,21,22,23, 24, /* 39dB */
|
84
|
-
}},
|
85
|
-
};
|
86
|
-
|
87
|
-
static const double _psy_lowpass_8[3]={3.,4.,4.};
|
88
|
-
static const int _noise_start_8[2]={
|
89
|
-
64,64,
|
90
|
-
};
|
91
|
-
static const int _noise_part_8[2]={
|
92
|
-
8,8,
|
93
|
-
};
|
94
|
-
|
95
|
-
static const int _psy_ath_floater_8[3]={
|
96
|
-
-100,-100,-105,
|
97
|
-
};
|
98
|
-
|
99
|
-
static const int _psy_ath_abs_8[3]={
|
100
|
-
-130,-130,-140,
|
101
|
-
};
|
@@ -1,163 +0,0 @@
|
|
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-2009 *
|
9
|
-
* by the Xiph.Org Foundation http://www.xiph.org/ *
|
10
|
-
* *
|
11
|
-
********************************************************************
|
12
|
-
|
13
|
-
function: toplevel residue templates 16/22kHz
|
14
|
-
last mod: $Id: residue_16.h 16962 2010-03-11 07:30:34Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
/***** residue backends *********************************************/
|
19
|
-
|
20
|
-
static const static_bookblock _resbook_16s_0={
|
21
|
-
{
|
22
|
-
{0},
|
23
|
-
{0,0,&_16c0_s_p1_0},
|
24
|
-
{0},
|
25
|
-
{0,0,&_16c0_s_p3_0},
|
26
|
-
{0,0,&_16c0_s_p4_0},
|
27
|
-
{0,0,&_16c0_s_p5_0},
|
28
|
-
{0,0,&_16c0_s_p6_0},
|
29
|
-
{&_16c0_s_p7_0,&_16c0_s_p7_1},
|
30
|
-
{&_16c0_s_p8_0,&_16c0_s_p8_1},
|
31
|
-
{&_16c0_s_p9_0,&_16c0_s_p9_1,&_16c0_s_p9_2}
|
32
|
-
}
|
33
|
-
};
|
34
|
-
static const static_bookblock _resbook_16s_1={
|
35
|
-
{
|
36
|
-
{0},
|
37
|
-
{0,0,&_16c1_s_p1_0},
|
38
|
-
{0},
|
39
|
-
{0,0,&_16c1_s_p3_0},
|
40
|
-
{0,0,&_16c1_s_p4_0},
|
41
|
-
{0,0,&_16c1_s_p5_0},
|
42
|
-
{0,0,&_16c1_s_p6_0},
|
43
|
-
{&_16c1_s_p7_0,&_16c1_s_p7_1},
|
44
|
-
{&_16c1_s_p8_0,&_16c1_s_p8_1},
|
45
|
-
{&_16c1_s_p9_0,&_16c1_s_p9_1,&_16c1_s_p9_2}
|
46
|
-
}
|
47
|
-
};
|
48
|
-
static const static_bookblock _resbook_16s_2={
|
49
|
-
{
|
50
|
-
{0},
|
51
|
-
{0,0,&_16c2_s_p1_0},
|
52
|
-
{0,0,&_16c2_s_p2_0},
|
53
|
-
{0,0,&_16c2_s_p3_0},
|
54
|
-
{0,0,&_16c2_s_p4_0},
|
55
|
-
{&_16c2_s_p5_0,&_16c2_s_p5_1},
|
56
|
-
{&_16c2_s_p6_0,&_16c2_s_p6_1},
|
57
|
-
{&_16c2_s_p7_0,&_16c2_s_p7_1},
|
58
|
-
{&_16c2_s_p8_0,&_16c2_s_p8_1},
|
59
|
-
{&_16c2_s_p9_0,&_16c2_s_p9_1,&_16c2_s_p9_2}
|
60
|
-
}
|
61
|
-
};
|
62
|
-
|
63
|
-
static const vorbis_residue_template _res_16s_0[]={
|
64
|
-
{2,0,32, &_residue_44_mid,
|
65
|
-
&_huff_book__16c0_s_single,&_huff_book__16c0_s_single,
|
66
|
-
&_resbook_16s_0,&_resbook_16s_0},
|
67
|
-
};
|
68
|
-
static const vorbis_residue_template _res_16s_1[]={
|
69
|
-
{2,0,32, &_residue_44_mid,
|
70
|
-
&_huff_book__16c1_s_short,&_huff_book__16c1_s_short,
|
71
|
-
&_resbook_16s_1,&_resbook_16s_1},
|
72
|
-
|
73
|
-
{2,0,32, &_residue_44_mid,
|
74
|
-
&_huff_book__16c1_s_long,&_huff_book__16c1_s_long,
|
75
|
-
&_resbook_16s_1,&_resbook_16s_1}
|
76
|
-
};
|
77
|
-
static const vorbis_residue_template _res_16s_2[]={
|
78
|
-
{2,0,32, &_residue_44_high,
|
79
|
-
&_huff_book__16c2_s_short,&_huff_book__16c2_s_short,
|
80
|
-
&_resbook_16s_2,&_resbook_16s_2},
|
81
|
-
|
82
|
-
{2,0,32, &_residue_44_high,
|
83
|
-
&_huff_book__16c2_s_long,&_huff_book__16c2_s_long,
|
84
|
-
&_resbook_16s_2,&_resbook_16s_2}
|
85
|
-
};
|
86
|
-
|
87
|
-
static const vorbis_mapping_template _mapres_template_16_stereo[3]={
|
88
|
-
{ _map_nominal, _res_16s_0 }, /* 0 */
|
89
|
-
{ _map_nominal, _res_16s_1 }, /* 1 */
|
90
|
-
{ _map_nominal, _res_16s_2 }, /* 2 */
|
91
|
-
};
|
92
|
-
|
93
|
-
static const static_bookblock _resbook_16u_0={
|
94
|
-
{
|
95
|
-
{0},
|
96
|
-
{0,0,&_16u0__p1_0},
|
97
|
-
{0,0,&_16u0__p2_0},
|
98
|
-
{0,0,&_16u0__p3_0},
|
99
|
-
{0,0,&_16u0__p4_0},
|
100
|
-
{0,0,&_16u0__p5_0},
|
101
|
-
{&_16u0__p6_0,&_16u0__p6_1},
|
102
|
-
{&_16u0__p7_0,&_16u0__p7_1,&_16u0__p7_2}
|
103
|
-
}
|
104
|
-
};
|
105
|
-
static const static_bookblock _resbook_16u_1={
|
106
|
-
{
|
107
|
-
{0},
|
108
|
-
{0,0,&_16u1__p1_0},
|
109
|
-
{0,0,&_16u1__p2_0},
|
110
|
-
{0,0,&_16u1__p3_0},
|
111
|
-
{0,0,&_16u1__p4_0},
|
112
|
-
{0,0,&_16u1__p5_0},
|
113
|
-
{0,0,&_16u1__p6_0},
|
114
|
-
{&_16u1__p7_0,&_16u1__p7_1},
|
115
|
-
{&_16u1__p8_0,&_16u1__p8_1},
|
116
|
-
{&_16u1__p9_0,&_16u1__p9_1,&_16u1__p9_2}
|
117
|
-
}
|
118
|
-
};
|
119
|
-
static const static_bookblock _resbook_16u_2={
|
120
|
-
{
|
121
|
-
{0},
|
122
|
-
{0,0,&_16u2_p1_0},
|
123
|
-
{0,0,&_16u2_p2_0},
|
124
|
-
{0,0,&_16u2_p3_0},
|
125
|
-
{0,0,&_16u2_p4_0},
|
126
|
-
{&_16u2_p5_0,&_16u2_p5_1},
|
127
|
-
{&_16u2_p6_0,&_16u2_p6_1},
|
128
|
-
{&_16u2_p7_0,&_16u2_p7_1},
|
129
|
-
{&_16u2_p8_0,&_16u2_p8_1},
|
130
|
-
{&_16u2_p9_0,&_16u2_p9_1,&_16u2_p9_2}
|
131
|
-
}
|
132
|
-
};
|
133
|
-
|
134
|
-
static const vorbis_residue_template _res_16u_0[]={
|
135
|
-
{1,0,32, &_residue_44_low_un,
|
136
|
-
&_huff_book__16u0__single,&_huff_book__16u0__single,
|
137
|
-
&_resbook_16u_0,&_resbook_16u_0},
|
138
|
-
};
|
139
|
-
static const vorbis_residue_template _res_16u_1[]={
|
140
|
-
{1,0,32, &_residue_44_mid_un,
|
141
|
-
&_huff_book__16u1__short,&_huff_book__16u1__short,
|
142
|
-
&_resbook_16u_1,&_resbook_16u_1},
|
143
|
-
|
144
|
-
{1,0,32, &_residue_44_mid_un,
|
145
|
-
&_huff_book__16u1__long,&_huff_book__16u1__long,
|
146
|
-
&_resbook_16u_1,&_resbook_16u_1}
|
147
|
-
};
|
148
|
-
static const vorbis_residue_template _res_16u_2[]={
|
149
|
-
{1,0,32, &_residue_44_hi_un,
|
150
|
-
&_huff_book__16u2__short,&_huff_book__16u2__short,
|
151
|
-
&_resbook_16u_2,&_resbook_16u_2},
|
152
|
-
|
153
|
-
{1,0,32, &_residue_44_hi_un,
|
154
|
-
&_huff_book__16u2__long,&_huff_book__16u2__long,
|
155
|
-
&_resbook_16u_2,&_resbook_16u_2}
|
156
|
-
};
|
157
|
-
|
158
|
-
|
159
|
-
static const vorbis_mapping_template _mapres_template_16_uncoupled[3]={
|
160
|
-
{ _map_nominal_u, _res_16u_0 }, /* 0 */
|
161
|
-
{ _map_nominal_u, _res_16u_1 }, /* 1 */
|
162
|
-
{ _map_nominal_u, _res_16u_2 }, /* 2 */
|
163
|
-
};
|
@@ -1,292 +0,0 @@
|
|
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-2009 *
|
9
|
-
* by the Xiph.Org Foundation http://www.xiph.org/ *
|
10
|
-
* *
|
11
|
-
********************************************************************
|
12
|
-
|
13
|
-
function: toplevel residue templates for 32/44.1/48kHz
|
14
|
-
last mod: $Id: residue_44.h 16962 2010-03-11 07:30:34Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
#include "vorbis/codec.h"
|
19
|
-
#include "backends.h"
|
20
|
-
#include "books/coupled/res_books_stereo.h"
|
21
|
-
|
22
|
-
/***** residue backends *********************************************/
|
23
|
-
|
24
|
-
static const vorbis_info_residue0 _residue_44_low={
|
25
|
-
0,-1, -1, 9,-1,-1,
|
26
|
-
/* 0 1 2 3 4 5 6 7 */
|
27
|
-
{0},
|
28
|
-
{-1},
|
29
|
-
{ 0, 1, 2, 2, 4, 8, 16, 32},
|
30
|
-
{ 0, 0, 0,999, 4, 8, 16, 32},
|
31
|
-
};
|
32
|
-
|
33
|
-
static const vorbis_info_residue0 _residue_44_mid={
|
34
|
-
0,-1, -1, 10,-1,-1,
|
35
|
-
/* 0 1 2 3 4 5 6 7 8 */
|
36
|
-
{0},
|
37
|
-
{-1},
|
38
|
-
{ 0, 1, 1, 2, 2, 4, 8, 16, 32},
|
39
|
-
{ 0, 0,999, 0,999, 4, 8, 16, 32},
|
40
|
-
};
|
41
|
-
|
42
|
-
static const vorbis_info_residue0 _residue_44_high={
|
43
|
-
0,-1, -1, 10,-1,-1,
|
44
|
-
/* 0 1 2 3 4 5 6 7 8 */
|
45
|
-
{0},
|
46
|
-
{-1},
|
47
|
-
{ 0, 1, 2, 4, 8, 16, 32, 71,157},
|
48
|
-
{ 0, 1, 2, 3, 4, 8, 16, 71,157},
|
49
|
-
};
|
50
|
-
|
51
|
-
static const static_bookblock _resbook_44s_n1={
|
52
|
-
{
|
53
|
-
{0},{0,0,&_44cn1_s_p1_0},{0,0,&_44cn1_s_p2_0},
|
54
|
-
{0,0,&_44cn1_s_p3_0},{0,0,&_44cn1_s_p4_0},{0,0,&_44cn1_s_p5_0},
|
55
|
-
{&_44cn1_s_p6_0,&_44cn1_s_p6_1},{&_44cn1_s_p7_0,&_44cn1_s_p7_1},
|
56
|
-
{&_44cn1_s_p8_0,&_44cn1_s_p8_1,&_44cn1_s_p8_2}
|
57
|
-
}
|
58
|
-
};
|
59
|
-
static const static_bookblock _resbook_44sm_n1={
|
60
|
-
{
|
61
|
-
{0},{0,0,&_44cn1_sm_p1_0},{0,0,&_44cn1_sm_p2_0},
|
62
|
-
{0,0,&_44cn1_sm_p3_0},{0,0,&_44cn1_sm_p4_0},{0,0,&_44cn1_sm_p5_0},
|
63
|
-
{&_44cn1_sm_p6_0,&_44cn1_sm_p6_1},{&_44cn1_sm_p7_0,&_44cn1_sm_p7_1},
|
64
|
-
{&_44cn1_sm_p8_0,&_44cn1_sm_p8_1,&_44cn1_sm_p8_2}
|
65
|
-
}
|
66
|
-
};
|
67
|
-
|
68
|
-
static const static_bookblock _resbook_44s_0={
|
69
|
-
{
|
70
|
-
{0},{0,0,&_44c0_s_p1_0},{0,0,&_44c0_s_p2_0},
|
71
|
-
{0,0,&_44c0_s_p3_0},{0,0,&_44c0_s_p4_0},{0,0,&_44c0_s_p5_0},
|
72
|
-
{&_44c0_s_p6_0,&_44c0_s_p6_1},{&_44c0_s_p7_0,&_44c0_s_p7_1},
|
73
|
-
{&_44c0_s_p8_0,&_44c0_s_p8_1,&_44c0_s_p8_2}
|
74
|
-
}
|
75
|
-
};
|
76
|
-
static const static_bookblock _resbook_44sm_0={
|
77
|
-
{
|
78
|
-
{0},{0,0,&_44c0_sm_p1_0},{0,0,&_44c0_sm_p2_0},
|
79
|
-
{0,0,&_44c0_sm_p3_0},{0,0,&_44c0_sm_p4_0},{0,0,&_44c0_sm_p5_0},
|
80
|
-
{&_44c0_sm_p6_0,&_44c0_sm_p6_1},{&_44c0_sm_p7_0,&_44c0_sm_p7_1},
|
81
|
-
{&_44c0_sm_p8_0,&_44c0_sm_p8_1,&_44c0_sm_p8_2}
|
82
|
-
}
|
83
|
-
};
|
84
|
-
|
85
|
-
static const static_bookblock _resbook_44s_1={
|
86
|
-
{
|
87
|
-
{0},{0,0,&_44c1_s_p1_0},{0,0,&_44c1_s_p2_0},
|
88
|
-
{0,0,&_44c1_s_p3_0},{0,0,&_44c1_s_p4_0},{0,0,&_44c1_s_p5_0},
|
89
|
-
{&_44c1_s_p6_0,&_44c1_s_p6_1},{&_44c1_s_p7_0,&_44c1_s_p7_1},
|
90
|
-
{&_44c1_s_p8_0,&_44c1_s_p8_1,&_44c1_s_p8_2}
|
91
|
-
}
|
92
|
-
};
|
93
|
-
static const static_bookblock _resbook_44sm_1={
|
94
|
-
{
|
95
|
-
{0},{0,0,&_44c1_sm_p1_0},{0,0,&_44c1_sm_p2_0},
|
96
|
-
{0,0,&_44c1_sm_p3_0},{0,0,&_44c1_sm_p4_0},{0,0,&_44c1_sm_p5_0},
|
97
|
-
{&_44c1_sm_p6_0,&_44c1_sm_p6_1},{&_44c1_sm_p7_0,&_44c1_sm_p7_1},
|
98
|
-
{&_44c1_sm_p8_0,&_44c1_sm_p8_1,&_44c1_sm_p8_2}
|
99
|
-
}
|
100
|
-
};
|
101
|
-
|
102
|
-
static const static_bookblock _resbook_44s_2={
|
103
|
-
{
|
104
|
-
{0},{0,0,&_44c2_s_p1_0},{0,0,&_44c2_s_p2_0},{0,0,&_44c2_s_p3_0},
|
105
|
-
{0,0,&_44c2_s_p4_0},{0,0,&_44c2_s_p5_0},{0,0,&_44c2_s_p6_0},
|
106
|
-
{&_44c2_s_p7_0,&_44c2_s_p7_1},{&_44c2_s_p8_0,&_44c2_s_p8_1},
|
107
|
-
{&_44c2_s_p9_0,&_44c2_s_p9_1,&_44c2_s_p9_2}
|
108
|
-
}
|
109
|
-
};
|
110
|
-
static const static_bookblock _resbook_44s_3={
|
111
|
-
{
|
112
|
-
{0},{0,0,&_44c3_s_p1_0},{0,0,&_44c3_s_p2_0},{0,0,&_44c3_s_p3_0},
|
113
|
-
{0,0,&_44c3_s_p4_0},{0,0,&_44c3_s_p5_0},{0,0,&_44c3_s_p6_0},
|
114
|
-
{&_44c3_s_p7_0,&_44c3_s_p7_1},{&_44c3_s_p8_0,&_44c3_s_p8_1},
|
115
|
-
{&_44c3_s_p9_0,&_44c3_s_p9_1,&_44c3_s_p9_2}
|
116
|
-
}
|
117
|
-
};
|
118
|
-
static const static_bookblock _resbook_44s_4={
|
119
|
-
{
|
120
|
-
{0},{0,0,&_44c4_s_p1_0},{0,0,&_44c4_s_p2_0},{0,0,&_44c4_s_p3_0},
|
121
|
-
{0,0,&_44c4_s_p4_0},{0,0,&_44c4_s_p5_0},{0,0,&_44c4_s_p6_0},
|
122
|
-
{&_44c4_s_p7_0,&_44c4_s_p7_1},{&_44c4_s_p8_0,&_44c4_s_p8_1},
|
123
|
-
{&_44c4_s_p9_0,&_44c4_s_p9_1,&_44c4_s_p9_2}
|
124
|
-
}
|
125
|
-
};
|
126
|
-
static const static_bookblock _resbook_44s_5={
|
127
|
-
{
|
128
|
-
{0},{0,0,&_44c5_s_p1_0},{0,0,&_44c5_s_p2_0},{0,0,&_44c5_s_p3_0},
|
129
|
-
{0,0,&_44c5_s_p4_0},{0,0,&_44c5_s_p5_0},{0,0,&_44c5_s_p6_0},
|
130
|
-
{&_44c5_s_p7_0,&_44c5_s_p7_1},{&_44c5_s_p8_0,&_44c5_s_p8_1},
|
131
|
-
{&_44c5_s_p9_0,&_44c5_s_p9_1,&_44c5_s_p9_2}
|
132
|
-
}
|
133
|
-
};
|
134
|
-
static const static_bookblock _resbook_44s_6={
|
135
|
-
{
|
136
|
-
{0},{0,0,&_44c6_s_p1_0},{0,0,&_44c6_s_p2_0},{0,0,&_44c6_s_p3_0},
|
137
|
-
{0,0,&_44c6_s_p4_0},
|
138
|
-
{&_44c6_s_p5_0,&_44c6_s_p5_1},
|
139
|
-
{&_44c6_s_p6_0,&_44c6_s_p6_1},
|
140
|
-
{&_44c6_s_p7_0,&_44c6_s_p7_1},
|
141
|
-
{&_44c6_s_p8_0,&_44c6_s_p8_1},
|
142
|
-
{&_44c6_s_p9_0,&_44c6_s_p9_1,&_44c6_s_p9_2}
|
143
|
-
}
|
144
|
-
};
|
145
|
-
static const static_bookblock _resbook_44s_7={
|
146
|
-
{
|
147
|
-
{0},{0,0,&_44c7_s_p1_0},{0,0,&_44c7_s_p2_0},{0,0,&_44c7_s_p3_0},
|
148
|
-
{0,0,&_44c7_s_p4_0},
|
149
|
-
{&_44c7_s_p5_0,&_44c7_s_p5_1},
|
150
|
-
{&_44c7_s_p6_0,&_44c7_s_p6_1},
|
151
|
-
{&_44c7_s_p7_0,&_44c7_s_p7_1},
|
152
|
-
{&_44c7_s_p8_0,&_44c7_s_p8_1},
|
153
|
-
{&_44c7_s_p9_0,&_44c7_s_p9_1,&_44c7_s_p9_2}
|
154
|
-
}
|
155
|
-
};
|
156
|
-
static const static_bookblock _resbook_44s_8={
|
157
|
-
{
|
158
|
-
{0},{0,0,&_44c8_s_p1_0},{0,0,&_44c8_s_p2_0},{0,0,&_44c8_s_p3_0},
|
159
|
-
{0,0,&_44c8_s_p4_0},
|
160
|
-
{&_44c8_s_p5_0,&_44c8_s_p5_1},
|
161
|
-
{&_44c8_s_p6_0,&_44c8_s_p6_1},
|
162
|
-
{&_44c8_s_p7_0,&_44c8_s_p7_1},
|
163
|
-
{&_44c8_s_p8_0,&_44c8_s_p8_1},
|
164
|
-
{&_44c8_s_p9_0,&_44c8_s_p9_1,&_44c8_s_p9_2}
|
165
|
-
}
|
166
|
-
};
|
167
|
-
static const static_bookblock _resbook_44s_9={
|
168
|
-
{
|
169
|
-
{0},{0,0,&_44c9_s_p1_0},{0,0,&_44c9_s_p2_0},{0,0,&_44c9_s_p3_0},
|
170
|
-
{0,0,&_44c9_s_p4_0},
|
171
|
-
{&_44c9_s_p5_0,&_44c9_s_p5_1},
|
172
|
-
{&_44c9_s_p6_0,&_44c9_s_p6_1},
|
173
|
-
{&_44c9_s_p7_0,&_44c9_s_p7_1},
|
174
|
-
{&_44c9_s_p8_0,&_44c9_s_p8_1},
|
175
|
-
{&_44c9_s_p9_0,&_44c9_s_p9_1,&_44c9_s_p9_2}
|
176
|
-
}
|
177
|
-
};
|
178
|
-
|
179
|
-
static const vorbis_residue_template _res_44s_n1[]={
|
180
|
-
{2,0,32, &_residue_44_low,
|
181
|
-
&_huff_book__44cn1_s_short,&_huff_book__44cn1_sm_short,
|
182
|
-
&_resbook_44s_n1,&_resbook_44sm_n1},
|
183
|
-
|
184
|
-
{2,0,32, &_residue_44_low,
|
185
|
-
&_huff_book__44cn1_s_long,&_huff_book__44cn1_sm_long,
|
186
|
-
&_resbook_44s_n1,&_resbook_44sm_n1}
|
187
|
-
};
|
188
|
-
static const vorbis_residue_template _res_44s_0[]={
|
189
|
-
{2,0,16, &_residue_44_low,
|
190
|
-
&_huff_book__44c0_s_short,&_huff_book__44c0_sm_short,
|
191
|
-
&_resbook_44s_0,&_resbook_44sm_0},
|
192
|
-
|
193
|
-
{2,0,32, &_residue_44_low,
|
194
|
-
&_huff_book__44c0_s_long,&_huff_book__44c0_sm_long,
|
195
|
-
&_resbook_44s_0,&_resbook_44sm_0}
|
196
|
-
};
|
197
|
-
static const vorbis_residue_template _res_44s_1[]={
|
198
|
-
{2,0,16, &_residue_44_low,
|
199
|
-
&_huff_book__44c1_s_short,&_huff_book__44c1_sm_short,
|
200
|
-
&_resbook_44s_1,&_resbook_44sm_1},
|
201
|
-
|
202
|
-
{2,0,32, &_residue_44_low,
|
203
|
-
&_huff_book__44c1_s_long,&_huff_book__44c1_sm_long,
|
204
|
-
&_resbook_44s_1,&_resbook_44sm_1}
|
205
|
-
};
|
206
|
-
|
207
|
-
static const vorbis_residue_template _res_44s_2[]={
|
208
|
-
{2,0,16, &_residue_44_mid,
|
209
|
-
&_huff_book__44c2_s_short,&_huff_book__44c2_s_short,
|
210
|
-
&_resbook_44s_2,&_resbook_44s_2},
|
211
|
-
|
212
|
-
{2,0,32, &_residue_44_mid,
|
213
|
-
&_huff_book__44c2_s_long,&_huff_book__44c2_s_long,
|
214
|
-
&_resbook_44s_2,&_resbook_44s_2}
|
215
|
-
};
|
216
|
-
static const vorbis_residue_template _res_44s_3[]={
|
217
|
-
{2,0,16, &_residue_44_mid,
|
218
|
-
&_huff_book__44c3_s_short,&_huff_book__44c3_s_short,
|
219
|
-
&_resbook_44s_3,&_resbook_44s_3},
|
220
|
-
|
221
|
-
{2,0,32, &_residue_44_mid,
|
222
|
-
&_huff_book__44c3_s_long,&_huff_book__44c3_s_long,
|
223
|
-
&_resbook_44s_3,&_resbook_44s_3}
|
224
|
-
};
|
225
|
-
static const vorbis_residue_template _res_44s_4[]={
|
226
|
-
{2,0,16, &_residue_44_mid,
|
227
|
-
&_huff_book__44c4_s_short,&_huff_book__44c4_s_short,
|
228
|
-
&_resbook_44s_4,&_resbook_44s_4},
|
229
|
-
|
230
|
-
{2,0,32, &_residue_44_mid,
|
231
|
-
&_huff_book__44c4_s_long,&_huff_book__44c4_s_long,
|
232
|
-
&_resbook_44s_4,&_resbook_44s_4}
|
233
|
-
};
|
234
|
-
static const vorbis_residue_template _res_44s_5[]={
|
235
|
-
{2,0,16, &_residue_44_mid,
|
236
|
-
&_huff_book__44c5_s_short,&_huff_book__44c5_s_short,
|
237
|
-
&_resbook_44s_5,&_resbook_44s_5},
|
238
|
-
|
239
|
-
{2,0,32, &_residue_44_mid,
|
240
|
-
&_huff_book__44c5_s_long,&_huff_book__44c5_s_long,
|
241
|
-
&_resbook_44s_5,&_resbook_44s_5}
|
242
|
-
};
|
243
|
-
static const vorbis_residue_template _res_44s_6[]={
|
244
|
-
{2,0,16, &_residue_44_high,
|
245
|
-
&_huff_book__44c6_s_short,&_huff_book__44c6_s_short,
|
246
|
-
&_resbook_44s_6,&_resbook_44s_6},
|
247
|
-
|
248
|
-
{2,0,32, &_residue_44_high,
|
249
|
-
&_huff_book__44c6_s_long,&_huff_book__44c6_s_long,
|
250
|
-
&_resbook_44s_6,&_resbook_44s_6}
|
251
|
-
};
|
252
|
-
static const vorbis_residue_template _res_44s_7[]={
|
253
|
-
{2,0,16, &_residue_44_high,
|
254
|
-
&_huff_book__44c7_s_short,&_huff_book__44c7_s_short,
|
255
|
-
&_resbook_44s_7,&_resbook_44s_7},
|
256
|
-
|
257
|
-
{2,0,32, &_residue_44_high,
|
258
|
-
&_huff_book__44c7_s_long,&_huff_book__44c7_s_long,
|
259
|
-
&_resbook_44s_7,&_resbook_44s_7}
|
260
|
-
};
|
261
|
-
static const vorbis_residue_template _res_44s_8[]={
|
262
|
-
{2,0,16, &_residue_44_high,
|
263
|
-
&_huff_book__44c8_s_short,&_huff_book__44c8_s_short,
|
264
|
-
&_resbook_44s_8,&_resbook_44s_8},
|
265
|
-
|
266
|
-
{2,0,32, &_residue_44_high,
|
267
|
-
&_huff_book__44c8_s_long,&_huff_book__44c8_s_long,
|
268
|
-
&_resbook_44s_8,&_resbook_44s_8}
|
269
|
-
};
|
270
|
-
static const vorbis_residue_template _res_44s_9[]={
|
271
|
-
{2,0,16, &_residue_44_high,
|
272
|
-
&_huff_book__44c9_s_short,&_huff_book__44c9_s_short,
|
273
|
-
&_resbook_44s_9,&_resbook_44s_9},
|
274
|
-
|
275
|
-
{2,0,32, &_residue_44_high,
|
276
|
-
&_huff_book__44c9_s_long,&_huff_book__44c9_s_long,
|
277
|
-
&_resbook_44s_9,&_resbook_44s_9}
|
278
|
-
};
|
279
|
-
|
280
|
-
static const vorbis_mapping_template _mapres_template_44_stereo[]={
|
281
|
-
{ _map_nominal, _res_44s_n1 }, /* -1 */
|
282
|
-
{ _map_nominal, _res_44s_0 }, /* 0 */
|
283
|
-
{ _map_nominal, _res_44s_1 }, /* 1 */
|
284
|
-
{ _map_nominal, _res_44s_2 }, /* 2 */
|
285
|
-
{ _map_nominal, _res_44s_3 }, /* 3 */
|
286
|
-
{ _map_nominal, _res_44s_4 }, /* 4 */
|
287
|
-
{ _map_nominal, _res_44s_5 }, /* 5 */
|
288
|
-
{ _map_nominal, _res_44s_6 }, /* 6 */
|
289
|
-
{ _map_nominal, _res_44s_7 }, /* 7 */
|
290
|
-
{ _map_nominal, _res_44s_8 }, /* 8 */
|
291
|
-
{ _map_nominal, _res_44s_9 }, /* 9 */
|
292
|
-
};
|