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,109 +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-2007 *
|
9
|
-
* by the Xiph.Org Foundation http://www.xiph.org/ *
|
10
|
-
* *
|
11
|
-
********************************************************************
|
12
|
-
|
13
|
-
function: toplevel residue templates 8/11kHz
|
14
|
-
last mod: $Id: residue_8.h 16962 2010-03-11 07:30:34Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
#include "vorbis/codec.h"
|
19
|
-
#include "backends.h"
|
20
|
-
|
21
|
-
/***** residue backends *********************************************/
|
22
|
-
|
23
|
-
static const static_bookblock _resbook_8s_0={
|
24
|
-
{
|
25
|
-
{0},
|
26
|
-
{0,0,&_8c0_s_p1_0},
|
27
|
-
{0},
|
28
|
-
{0,0,&_8c0_s_p3_0},
|
29
|
-
{0,0,&_8c0_s_p4_0},
|
30
|
-
{0,0,&_8c0_s_p5_0},
|
31
|
-
{0,0,&_8c0_s_p6_0},
|
32
|
-
{&_8c0_s_p7_0,&_8c0_s_p7_1},
|
33
|
-
{&_8c0_s_p8_0,&_8c0_s_p8_1},
|
34
|
-
{&_8c0_s_p9_0,&_8c0_s_p9_1,&_8c0_s_p9_2}
|
35
|
-
}
|
36
|
-
};
|
37
|
-
static const static_bookblock _resbook_8s_1={
|
38
|
-
{
|
39
|
-
{0},
|
40
|
-
{0,0,&_8c1_s_p1_0},
|
41
|
-
{0},
|
42
|
-
{0,0,&_8c1_s_p3_0},
|
43
|
-
{0,0,&_8c1_s_p4_0},
|
44
|
-
{0,0,&_8c1_s_p5_0},
|
45
|
-
{0,0,&_8c1_s_p6_0},
|
46
|
-
{&_8c1_s_p7_0,&_8c1_s_p7_1},
|
47
|
-
{&_8c1_s_p8_0,&_8c1_s_p8_1},
|
48
|
-
{&_8c1_s_p9_0,&_8c1_s_p9_1,&_8c1_s_p9_2}
|
49
|
-
}
|
50
|
-
};
|
51
|
-
|
52
|
-
static const vorbis_residue_template _res_8s_0[]={
|
53
|
-
{2,0,32, &_residue_44_mid,
|
54
|
-
&_huff_book__8c0_s_single,&_huff_book__8c0_s_single,
|
55
|
-
&_resbook_8s_0,&_resbook_8s_0},
|
56
|
-
};
|
57
|
-
static const vorbis_residue_template _res_8s_1[]={
|
58
|
-
{2,0,32, &_residue_44_mid,
|
59
|
-
&_huff_book__8c1_s_single,&_huff_book__8c1_s_single,
|
60
|
-
&_resbook_8s_1,&_resbook_8s_1},
|
61
|
-
};
|
62
|
-
|
63
|
-
static const vorbis_mapping_template _mapres_template_8_stereo[2]={
|
64
|
-
{ _map_nominal, _res_8s_0 }, /* 0 */
|
65
|
-
{ _map_nominal, _res_8s_1 }, /* 1 */
|
66
|
-
};
|
67
|
-
|
68
|
-
static const static_bookblock _resbook_8u_0={
|
69
|
-
{
|
70
|
-
{0},
|
71
|
-
{0,0,&_8u0__p1_0},
|
72
|
-
{0,0,&_8u0__p2_0},
|
73
|
-
{0,0,&_8u0__p3_0},
|
74
|
-
{0,0,&_8u0__p4_0},
|
75
|
-
{0,0,&_8u0__p5_0},
|
76
|
-
{&_8u0__p6_0,&_8u0__p6_1},
|
77
|
-
{&_8u0__p7_0,&_8u0__p7_1,&_8u0__p7_2}
|
78
|
-
}
|
79
|
-
};
|
80
|
-
static const static_bookblock _resbook_8u_1={
|
81
|
-
{
|
82
|
-
{0},
|
83
|
-
{0,0,&_8u1__p1_0},
|
84
|
-
{0,0,&_8u1__p2_0},
|
85
|
-
{0,0,&_8u1__p3_0},
|
86
|
-
{0,0,&_8u1__p4_0},
|
87
|
-
{0,0,&_8u1__p5_0},
|
88
|
-
{0,0,&_8u1__p6_0},
|
89
|
-
{&_8u1__p7_0,&_8u1__p7_1},
|
90
|
-
{&_8u1__p8_0,&_8u1__p8_1},
|
91
|
-
{&_8u1__p9_0,&_8u1__p9_1,&_8u1__p9_2}
|
92
|
-
}
|
93
|
-
};
|
94
|
-
|
95
|
-
static const vorbis_residue_template _res_8u_0[]={
|
96
|
-
{1,0,32, &_residue_44_low_un,
|
97
|
-
&_huff_book__8u0__single,&_huff_book__8u0__single,
|
98
|
-
&_resbook_8u_0,&_resbook_8u_0},
|
99
|
-
};
|
100
|
-
static const vorbis_residue_template _res_8u_1[]={
|
101
|
-
{1,0,32, &_residue_44_mid_un,
|
102
|
-
&_huff_book__8u1__single,&_huff_book__8u1__single,
|
103
|
-
&_resbook_8u_1,&_resbook_8u_1},
|
104
|
-
};
|
105
|
-
|
106
|
-
static const vorbis_mapping_template _mapres_template_8_uncoupled[2]={
|
107
|
-
{ _map_nominal_u, _res_8u_0 }, /* 0 */
|
108
|
-
{ _map_nominal_u, _res_8u_1 }, /* 1 */
|
109
|
-
};
|
@@ -1,143 +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: 11kHz settings
|
14
|
-
last mod: $Id: setup_11.h 16894 2010-02-12 20:32:12Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
#include "psych_11.h"
|
19
|
-
|
20
|
-
static const int blocksize_11[2]={
|
21
|
-
512,512
|
22
|
-
};
|
23
|
-
|
24
|
-
static const int _floor_mapping_11a[]={
|
25
|
-
6,6
|
26
|
-
};
|
27
|
-
static const int *_floor_mapping_11[]={
|
28
|
-
_floor_mapping_11a
|
29
|
-
};
|
30
|
-
|
31
|
-
static const double rate_mapping_11[3]={
|
32
|
-
8000.,13000.,44000.,
|
33
|
-
};
|
34
|
-
|
35
|
-
static const double rate_mapping_11_uncoupled[3]={
|
36
|
-
12000.,20000.,50000.,
|
37
|
-
};
|
38
|
-
|
39
|
-
static const double quality_mapping_11[3]={
|
40
|
-
-.1,.0,1.
|
41
|
-
};
|
42
|
-
|
43
|
-
static const ve_setup_data_template ve_setup_11_stereo={
|
44
|
-
2,
|
45
|
-
rate_mapping_11,
|
46
|
-
quality_mapping_11,
|
47
|
-
2,
|
48
|
-
9000,
|
49
|
-
15000,
|
50
|
-
|
51
|
-
blocksize_11,
|
52
|
-
blocksize_11,
|
53
|
-
|
54
|
-
_psy_tone_masteratt_11,
|
55
|
-
_psy_tone_0dB,
|
56
|
-
_psy_tone_suppress,
|
57
|
-
|
58
|
-
_vp_tonemask_adj_11,
|
59
|
-
NULL,
|
60
|
-
_vp_tonemask_adj_11,
|
61
|
-
|
62
|
-
_psy_noiseguards_8,
|
63
|
-
_psy_noisebias_11,
|
64
|
-
_psy_noisebias_11,
|
65
|
-
NULL,
|
66
|
-
NULL,
|
67
|
-
_psy_noise_suppress,
|
68
|
-
|
69
|
-
_psy_compand_8,
|
70
|
-
_psy_compand_8_mapping,
|
71
|
-
NULL,
|
72
|
-
|
73
|
-
{_noise_start_8,_noise_start_8},
|
74
|
-
{_noise_part_8,_noise_part_8},
|
75
|
-
_noise_thresh_11,
|
76
|
-
|
77
|
-
_psy_ath_floater_8,
|
78
|
-
_psy_ath_abs_8,
|
79
|
-
|
80
|
-
_psy_lowpass_11,
|
81
|
-
|
82
|
-
_psy_global_44,
|
83
|
-
_global_mapping_8,
|
84
|
-
_psy_stereo_modes_8,
|
85
|
-
|
86
|
-
_floor_books,
|
87
|
-
_floor,
|
88
|
-
1,
|
89
|
-
_floor_mapping_11,
|
90
|
-
|
91
|
-
_mapres_template_8_stereo
|
92
|
-
};
|
93
|
-
|
94
|
-
static const ve_setup_data_template ve_setup_11_uncoupled={
|
95
|
-
2,
|
96
|
-
rate_mapping_11_uncoupled,
|
97
|
-
quality_mapping_11,
|
98
|
-
-1,
|
99
|
-
9000,
|
100
|
-
15000,
|
101
|
-
|
102
|
-
blocksize_11,
|
103
|
-
blocksize_11,
|
104
|
-
|
105
|
-
_psy_tone_masteratt_11,
|
106
|
-
_psy_tone_0dB,
|
107
|
-
_psy_tone_suppress,
|
108
|
-
|
109
|
-
_vp_tonemask_adj_11,
|
110
|
-
NULL,
|
111
|
-
_vp_tonemask_adj_11,
|
112
|
-
|
113
|
-
_psy_noiseguards_8,
|
114
|
-
_psy_noisebias_11,
|
115
|
-
_psy_noisebias_11,
|
116
|
-
NULL,
|
117
|
-
NULL,
|
118
|
-
_psy_noise_suppress,
|
119
|
-
|
120
|
-
_psy_compand_8,
|
121
|
-
_psy_compand_8_mapping,
|
122
|
-
NULL,
|
123
|
-
|
124
|
-
{_noise_start_8,_noise_start_8},
|
125
|
-
{_noise_part_8,_noise_part_8},
|
126
|
-
_noise_thresh_11,
|
127
|
-
|
128
|
-
_psy_ath_floater_8,
|
129
|
-
_psy_ath_abs_8,
|
130
|
-
|
131
|
-
_psy_lowpass_11,
|
132
|
-
|
133
|
-
_psy_global_44,
|
134
|
-
_global_mapping_8,
|
135
|
-
_psy_stereo_modes_8,
|
136
|
-
|
137
|
-
_floor_books,
|
138
|
-
_floor,
|
139
|
-
1,
|
140
|
-
_floor_mapping_11,
|
141
|
-
|
142
|
-
_mapres_template_8_uncoupled
|
143
|
-
};
|
@@ -1,153 +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: 16kHz settings
|
14
|
-
last mod: $Id: setup_16.h 16894 2010-02-12 20:32:12Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
#include "psych_16.h"
|
19
|
-
#include "residue_16.h"
|
20
|
-
|
21
|
-
static const int blocksize_16_short[3]={
|
22
|
-
1024,512,512
|
23
|
-
};
|
24
|
-
static const int blocksize_16_long[3]={
|
25
|
-
1024,1024,1024
|
26
|
-
};
|
27
|
-
|
28
|
-
static const int _floor_mapping_16a[]={
|
29
|
-
9,3,3
|
30
|
-
};
|
31
|
-
static const int _floor_mapping_16b[]={
|
32
|
-
9,9,9
|
33
|
-
};
|
34
|
-
static const int *_floor_mapping_16[]={
|
35
|
-
_floor_mapping_16a,
|
36
|
-
_floor_mapping_16b
|
37
|
-
};
|
38
|
-
|
39
|
-
static const double rate_mapping_16[4]={
|
40
|
-
12000.,20000.,44000.,86000.
|
41
|
-
};
|
42
|
-
|
43
|
-
static const double rate_mapping_16_uncoupled[4]={
|
44
|
-
16000.,28000.,64000.,100000.
|
45
|
-
};
|
46
|
-
|
47
|
-
static const double _global_mapping_16[4]={ 1., 2., 3., 4. };
|
48
|
-
|
49
|
-
static const double quality_mapping_16[4]={ -.1,.05,.5,1. };
|
50
|
-
|
51
|
-
static const double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};
|
52
|
-
|
53
|
-
static const ve_setup_data_template ve_setup_16_stereo={
|
54
|
-
3,
|
55
|
-
rate_mapping_16,
|
56
|
-
quality_mapping_16,
|
57
|
-
2,
|
58
|
-
15000,
|
59
|
-
19000,
|
60
|
-
|
61
|
-
blocksize_16_short,
|
62
|
-
blocksize_16_long,
|
63
|
-
|
64
|
-
_psy_tone_masteratt_16,
|
65
|
-
_psy_tone_0dB,
|
66
|
-
_psy_tone_suppress,
|
67
|
-
|
68
|
-
_vp_tonemask_adj_16,
|
69
|
-
_vp_tonemask_adj_16,
|
70
|
-
_vp_tonemask_adj_16,
|
71
|
-
|
72
|
-
_psy_noiseguards_16,
|
73
|
-
_psy_noisebias_16_impulse,
|
74
|
-
_psy_noisebias_16_short,
|
75
|
-
_psy_noisebias_16_short,
|
76
|
-
_psy_noisebias_16,
|
77
|
-
_psy_noise_suppress,
|
78
|
-
|
79
|
-
_psy_compand_8,
|
80
|
-
_psy_compand_16_mapping,
|
81
|
-
_psy_compand_16_mapping,
|
82
|
-
|
83
|
-
{_noise_start_16,_noise_start_16},
|
84
|
-
{ _noise_part_16, _noise_part_16},
|
85
|
-
_noise_thresh_16,
|
86
|
-
|
87
|
-
_psy_ath_floater_16,
|
88
|
-
_psy_ath_abs_16,
|
89
|
-
|
90
|
-
_psy_lowpass_16,
|
91
|
-
|
92
|
-
_psy_global_44,
|
93
|
-
_global_mapping_16,
|
94
|
-
_psy_stereo_modes_16,
|
95
|
-
|
96
|
-
_floor_books,
|
97
|
-
_floor,
|
98
|
-
2,
|
99
|
-
_floor_mapping_16,
|
100
|
-
|
101
|
-
_mapres_template_16_stereo
|
102
|
-
};
|
103
|
-
|
104
|
-
static const ve_setup_data_template ve_setup_16_uncoupled={
|
105
|
-
3,
|
106
|
-
rate_mapping_16_uncoupled,
|
107
|
-
quality_mapping_16,
|
108
|
-
-1,
|
109
|
-
15000,
|
110
|
-
19000,
|
111
|
-
|
112
|
-
blocksize_16_short,
|
113
|
-
blocksize_16_long,
|
114
|
-
|
115
|
-
_psy_tone_masteratt_16,
|
116
|
-
_psy_tone_0dB,
|
117
|
-
_psy_tone_suppress,
|
118
|
-
|
119
|
-
_vp_tonemask_adj_16,
|
120
|
-
_vp_tonemask_adj_16,
|
121
|
-
_vp_tonemask_adj_16,
|
122
|
-
|
123
|
-
_psy_noiseguards_16,
|
124
|
-
_psy_noisebias_16_impulse,
|
125
|
-
_psy_noisebias_16_short,
|
126
|
-
_psy_noisebias_16_short,
|
127
|
-
_psy_noisebias_16,
|
128
|
-
_psy_noise_suppress,
|
129
|
-
|
130
|
-
_psy_compand_8,
|
131
|
-
_psy_compand_16_mapping,
|
132
|
-
_psy_compand_16_mapping,
|
133
|
-
|
134
|
-
{_noise_start_16,_noise_start_16},
|
135
|
-
{ _noise_part_16, _noise_part_16},
|
136
|
-
_noise_thresh_16,
|
137
|
-
|
138
|
-
_psy_ath_floater_16,
|
139
|
-
_psy_ath_abs_16,
|
140
|
-
|
141
|
-
_psy_lowpass_16,
|
142
|
-
|
143
|
-
_psy_global_44,
|
144
|
-
_global_mapping_16,
|
145
|
-
_psy_stereo_modes_16,
|
146
|
-
|
147
|
-
_floor_books,
|
148
|
-
_floor,
|
149
|
-
2,
|
150
|
-
_floor_mapping_16,
|
151
|
-
|
152
|
-
_mapres_template_16_uncoupled
|
153
|
-
};
|
@@ -1,128 +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: 22kHz settings
|
14
|
-
last mod: $Id: setup_22.h 17026 2010-03-25 05:00:27Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
static const double rate_mapping_22[4]={
|
19
|
-
15000.,20000.,44000.,86000.
|
20
|
-
};
|
21
|
-
|
22
|
-
static const double rate_mapping_22_uncoupled[4]={
|
23
|
-
16000.,28000.,50000.,90000.
|
24
|
-
};
|
25
|
-
|
26
|
-
static const double _psy_lowpass_22[4]={9.5,11.,30.,99.};
|
27
|
-
|
28
|
-
static const ve_setup_data_template ve_setup_22_stereo={
|
29
|
-
3,
|
30
|
-
rate_mapping_22,
|
31
|
-
quality_mapping_16,
|
32
|
-
2,
|
33
|
-
19000,
|
34
|
-
26000,
|
35
|
-
|
36
|
-
blocksize_16_short,
|
37
|
-
blocksize_16_long,
|
38
|
-
|
39
|
-
_psy_tone_masteratt_16,
|
40
|
-
_psy_tone_0dB,
|
41
|
-
_psy_tone_suppress,
|
42
|
-
|
43
|
-
_vp_tonemask_adj_16,
|
44
|
-
_vp_tonemask_adj_16,
|
45
|
-
_vp_tonemask_adj_16,
|
46
|
-
|
47
|
-
_psy_noiseguards_16,
|
48
|
-
_psy_noisebias_16_impulse,
|
49
|
-
_psy_noisebias_16_short,
|
50
|
-
_psy_noisebias_16_short,
|
51
|
-
_psy_noisebias_16,
|
52
|
-
_psy_noise_suppress,
|
53
|
-
|
54
|
-
_psy_compand_8,
|
55
|
-
_psy_compand_16_mapping,
|
56
|
-
_psy_compand_16_mapping,
|
57
|
-
|
58
|
-
{_noise_start_16,_noise_start_16},
|
59
|
-
{ _noise_part_16, _noise_part_16},
|
60
|
-
_noise_thresh_16,
|
61
|
-
|
62
|
-
_psy_ath_floater_16,
|
63
|
-
_psy_ath_abs_16,
|
64
|
-
|
65
|
-
_psy_lowpass_22,
|
66
|
-
|
67
|
-
_psy_global_44,
|
68
|
-
_global_mapping_16,
|
69
|
-
_psy_stereo_modes_16,
|
70
|
-
|
71
|
-
_floor_books,
|
72
|
-
_floor,
|
73
|
-
2,
|
74
|
-
_floor_mapping_16,
|
75
|
-
|
76
|
-
_mapres_template_16_stereo
|
77
|
-
};
|
78
|
-
|
79
|
-
static const ve_setup_data_template ve_setup_22_uncoupled={
|
80
|
-
3,
|
81
|
-
rate_mapping_22_uncoupled,
|
82
|
-
quality_mapping_16,
|
83
|
-
-1,
|
84
|
-
19000,
|
85
|
-
26000,
|
86
|
-
|
87
|
-
blocksize_16_short,
|
88
|
-
blocksize_16_long,
|
89
|
-
|
90
|
-
_psy_tone_masteratt_16,
|
91
|
-
_psy_tone_0dB,
|
92
|
-
_psy_tone_suppress,
|
93
|
-
|
94
|
-
_vp_tonemask_adj_16,
|
95
|
-
_vp_tonemask_adj_16,
|
96
|
-
_vp_tonemask_adj_16,
|
97
|
-
|
98
|
-
_psy_noiseguards_16,
|
99
|
-
_psy_noisebias_16_impulse,
|
100
|
-
_psy_noisebias_16_short,
|
101
|
-
_psy_noisebias_16_short,
|
102
|
-
_psy_noisebias_16,
|
103
|
-
_psy_noise_suppress,
|
104
|
-
|
105
|
-
_psy_compand_8,
|
106
|
-
_psy_compand_16_mapping,
|
107
|
-
_psy_compand_16_mapping,
|
108
|
-
|
109
|
-
{_noise_start_16,_noise_start_16},
|
110
|
-
{ _noise_part_16, _noise_part_16},
|
111
|
-
_noise_thresh_16,
|
112
|
-
|
113
|
-
_psy_ath_floater_16,
|
114
|
-
_psy_ath_abs_16,
|
115
|
-
|
116
|
-
_psy_lowpass_22,
|
117
|
-
|
118
|
-
_psy_global_44,
|
119
|
-
_global_mapping_16,
|
120
|
-
_psy_stereo_modes_16,
|
121
|
-
|
122
|
-
_floor_books,
|
123
|
-
_floor,
|
124
|
-
2,
|
125
|
-
_floor_mapping_16,
|
126
|
-
|
127
|
-
_mapres_template_16_uncoupled
|
128
|
-
};
|