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.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/Gosu/Buttons.hpp +13 -11
  3. data/{linux → ext/gosu}/extconf.rb +25 -47
  4. data/{GosuImpl/RubyGosu_wrap.cxx → ext/gosu/gosu_wrap.cxx} +3 -2
  5. data/{GosuImpl/RubyGosu_wrap.h → ext/gosu/gosu_wrap.h} +0 -0
  6. data/lib/gosu.rb +6 -7
  7. data/lib/gosu/zen.rb +12 -0
  8. data/{GosuImpl → src}/Audio/ALChannelManagement.hpp +0 -0
  9. data/{GosuImpl → src}/Audio/AudioFile.hpp +0 -0
  10. data/{GosuImpl → src}/Audio/AudioOpenAL.cpp +0 -0
  11. data/{GosuImpl → src}/Audio/AudioOpenAL.mm +0 -0
  12. data/{GosuImpl → src}/Audio/AudioToolboxFile.hpp +0 -0
  13. data/{GosuImpl → src}/Audio/OggFile.hpp +0 -0
  14. data/{GosuImpl → src}/Audio/SndFile.hpp +0 -0
  15. data/{GosuImpl/Graphics → src/Bitmap}/Bitmap.cpp +2 -0
  16. data/{GosuImpl/Graphics → src/Bitmap}/BitmapApple.mm +0 -0
  17. data/{GosuImpl/Graphics → src/Bitmap}/BitmapBMP.cpp +0 -0
  18. data/{GosuImpl/Graphics → src/Bitmap}/BitmapColorKey.cpp +0 -0
  19. data/{GosuImpl/Graphics → src/Bitmap}/BitmapFreeImage.cpp +0 -0
  20. data/{GosuImpl/Graphics → src/Bitmap}/BitmapGDIplus.cpp +0 -0
  21. data/{GosuImpl/Graphics → src/Bitmap}/BitmapUtils.cpp +0 -0
  22. data/{GosuImpl → src}/DirectoriesMac.mm +0 -0
  23. data/{GosuImpl → src}/DirectoriesTouch.mm +0 -0
  24. data/{GosuImpl → src}/DirectoriesUnix.cpp +0 -0
  25. data/{GosuImpl → src}/DirectoriesWin.cpp +0 -0
  26. data/{GosuImpl → src}/FileUnix.cpp +0 -0
  27. data/{GosuImpl → src}/FileWin.cpp +0 -0
  28. data/{GosuImpl/Graphics → src}/GosuView.hpp +0 -0
  29. data/{GosuImpl/Graphics → src}/GosuView.mm +0 -0
  30. data/{GosuImpl → src}/Graphics/BlockAllocator.cpp +0 -0
  31. data/{GosuImpl → src}/Graphics/BlockAllocator.hpp +0 -0
  32. data/{GosuImpl → src}/Graphics/ClipRectStack.hpp +0 -0
  33. data/{GosuImpl → src}/Graphics/Color.cpp +0 -0
  34. data/{GosuImpl → src}/Graphics/Common.hpp +0 -0
  35. data/{GosuImpl → src}/Graphics/DrawOp.hpp +0 -0
  36. data/{GosuImpl → src}/Graphics/DrawOpQueue.hpp +0 -0
  37. data/{GosuImpl → src}/Graphics/Graphics.cpp +0 -0
  38. data/{GosuImpl → src}/Graphics/Image.cpp +0 -0
  39. data/{GosuImpl → src}/Graphics/LargeImageData.cpp +0 -0
  40. data/{GosuImpl → src}/Graphics/LargeImageData.hpp +0 -0
  41. data/{GosuImpl → src}/Graphics/Macro.hpp +0 -0
  42. data/{GosuImpl → src}/Graphics/RenderState.hpp +0 -0
  43. data/{GosuImpl → src}/Graphics/TexChunk.cpp +0 -0
  44. data/{GosuImpl → src}/Graphics/TexChunk.hpp +0 -0
  45. data/{GosuImpl → src}/Graphics/Texture.cpp +0 -0
  46. data/{GosuImpl → src}/Graphics/Texture.hpp +0 -0
  47. data/{GosuImpl → src}/Graphics/Transform.cpp +0 -0
  48. data/{GosuImpl → src}/Graphics/TransformStack.hpp +0 -0
  49. data/{GosuImpl → src}/IO.cpp +0 -0
  50. data/{GosuImpl → src}/Iconv.hpp +0 -0
  51. data/{GosuImpl → src}/Input/AccelerometerReader.hpp +0 -0
  52. data/{GosuImpl → src}/Input/AccelerometerReader.mm +0 -0
  53. data/{GosuImpl → src/Input}/Input.cpp +0 -0
  54. data/{GosuImpl → src/Input}/InputTouch.mm +0 -0
  55. data/{GosuImpl → src/Input}/TextInput.cpp +0 -0
  56. data/{GosuImpl → src/Input}/TextInputMac.mm +0 -0
  57. data/{GosuImpl → src}/Inspection.cpp +0 -0
  58. data/{GosuImpl → src}/MacUtility.hpp +0 -0
  59. data/{GosuImpl → src}/Math.cpp +0 -0
  60. data/{GosuImpl → src}/Sockets/CommSocket.cpp +0 -0
  61. data/{GosuImpl → src}/Sockets/ListenerSocket.cpp +0 -0
  62. data/{GosuImpl → src}/Sockets/MessageSocket.cpp +0 -0
  63. data/{GosuImpl → src}/Sockets/Socket.cpp +0 -0
  64. data/{GosuImpl → src}/Sockets/Socket.hpp +0 -0
  65. data/{GosuImpl/Graphics → src/Text}/Font.cpp +1 -1
  66. data/{GosuImpl/Graphics → src/Text}/FormattedString.hpp +0 -0
  67. data/{GosuImpl/Graphics → src/Text}/Text.cpp +1 -1
  68. data/{GosuImpl/Graphics/TextTouch.mm → src/Text/TextApple.mm} +0 -0
  69. data/{GosuImpl/Graphics → src/Text}/TextMac.cpp +1 -1
  70. data/{GosuImpl/Graphics → src/Text}/TextTTFWin.cpp +0 -0
  71. data/{GosuImpl/Graphics → src/Text}/TextUnix.cpp +0 -0
  72. data/{GosuImpl/Graphics → src/Text}/TextWin.cpp +0 -0
  73. data/{GosuImpl → src}/TimingApple.cpp +0 -0
  74. data/{GosuImpl → src}/TimingUnix.cpp +0 -0
  75. data/{GosuImpl → src}/TimingWin.cpp +0 -0
  76. data/{GosuImpl → src}/Utility.cpp +0 -0
  77. data/{GosuImpl → src}/UtilityApple.mm +0 -0
  78. data/{GosuImpl → src}/UtilityWin.cpp +0 -0
  79. data/{GosuImpl → src}/WinMain.cpp +0 -0
  80. data/{GosuImpl → src}/WinUtility.cpp +0 -0
  81. data/{GosuImpl → src}/Window.cpp +0 -0
  82. data/{GosuImpl → src}/WindowTouch.mm +0 -0
  83. data/{GosuImpl → src}/X11vroot.h +0 -0
  84. metadata +97 -193
  85. data/.yardopts +0 -1
  86. data/COPYING +0 -29
  87. data/GosuImpl/InputMac.mm +0 -733
  88. data/GosuImpl/InputWin.cpp +0 -483
  89. data/GosuImpl/InputX.cpp +0 -243
  90. data/GosuImpl/RubyGosu.swg +0 -821
  91. data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +0 -126
  92. data/GosuImpl/RubyGosu_SWIG_RENAME_PATCH.patch +0 -62
  93. data/GosuImpl/TextInputWin.cpp +0 -211
  94. data/GosuImpl/TextInputX.cpp +0 -217
  95. data/GosuImpl/WindowWin.cpp +0 -534
  96. data/GosuImpl/WindowX.cpp +0 -458
  97. data/README.txt +0 -25
  98. data/dependencies/libogg/AUTHORS +0 -4
  99. data/dependencies/libogg/CHANGES +0 -70
  100. data/dependencies/libogg/COPYING +0 -28
  101. data/dependencies/libogg/include/ogg/ogg.h +0 -209
  102. data/dependencies/libogg/include/ogg/os_types.h +0 -147
  103. data/dependencies/libogg/src/bitwise.c +0 -857
  104. data/dependencies/libogg/src/framing.c +0 -2089
  105. data/dependencies/libvorbis/AUTHORS +0 -3
  106. data/dependencies/libvorbis/CHANGES +0 -126
  107. data/dependencies/libvorbis/COPYING +0 -28
  108. data/dependencies/libvorbis/include/vorbis/codec.h +0 -243
  109. data/dependencies/libvorbis/include/vorbis/vorbisenc.h +0 -436
  110. data/dependencies/libvorbis/include/vorbis/vorbisfile.h +0 -206
  111. data/dependencies/libvorbis/lib/analysis.c +0 -120
  112. data/dependencies/libvorbis/lib/backends.h +0 -144
  113. data/dependencies/libvorbis/lib/barkmel.c +0 -64
  114. data/dependencies/libvorbis/lib/bitrate.c +0 -253
  115. data/dependencies/libvorbis/lib/bitrate.h +0 -59
  116. data/dependencies/libvorbis/lib/block.c +0 -1046
  117. data/dependencies/libvorbis/lib/books/coupled/res_books_51.h +0 -12257
  118. data/dependencies/libvorbis/lib/books/coupled/res_books_stereo.h +0 -15783
  119. data/dependencies/libvorbis/lib/books/floor/floor_books.h +0 -1547
  120. data/dependencies/libvorbis/lib/books/uncoupled/res_books_uncoupled.h +0 -7758
  121. data/dependencies/libvorbis/lib/codebook.c +0 -479
  122. data/dependencies/libvorbis/lib/codebook.h +0 -119
  123. data/dependencies/libvorbis/lib/codec_internal.h +0 -167
  124. data/dependencies/libvorbis/lib/envelope.c +0 -375
  125. data/dependencies/libvorbis/lib/envelope.h +0 -80
  126. data/dependencies/libvorbis/lib/floor0.c +0 -222
  127. data/dependencies/libvorbis/lib/floor1.c +0 -1099
  128. data/dependencies/libvorbis/lib/highlevel.h +0 -58
  129. data/dependencies/libvorbis/lib/info.c +0 -664
  130. data/dependencies/libvorbis/lib/lookup.c +0 -94
  131. data/dependencies/libvorbis/lib/lookup.h +0 -32
  132. data/dependencies/libvorbis/lib/lookup_data.h +0 -192
  133. data/dependencies/libvorbis/lib/lpc.c +0 -160
  134. data/dependencies/libvorbis/lib/lpc.h +0 -29
  135. data/dependencies/libvorbis/lib/lsp.c +0 -456
  136. data/dependencies/libvorbis/lib/lsp.h +0 -28
  137. data/dependencies/libvorbis/lib/mapping0.c +0 -816
  138. data/dependencies/libvorbis/lib/masking.h +0 -785
  139. data/dependencies/libvorbis/lib/mdct.c +0 -563
  140. data/dependencies/libvorbis/lib/mdct.h +0 -71
  141. data/dependencies/libvorbis/lib/misc.h +0 -57
  142. data/dependencies/libvorbis/lib/modes/floor_all.h +0 -260
  143. data/dependencies/libvorbis/lib/modes/psych_11.h +0 -51
  144. data/dependencies/libvorbis/lib/modes/psych_16.h +0 -133
  145. data/dependencies/libvorbis/lib/modes/psych_44.h +0 -642
  146. data/dependencies/libvorbis/lib/modes/psych_8.h +0 -101
  147. data/dependencies/libvorbis/lib/modes/residue_16.h +0 -163
  148. data/dependencies/libvorbis/lib/modes/residue_44.h +0 -292
  149. data/dependencies/libvorbis/lib/modes/residue_44p51.h +0 -451
  150. data/dependencies/libvorbis/lib/modes/residue_44u.h +0 -318
  151. data/dependencies/libvorbis/lib/modes/residue_8.h +0 -109
  152. data/dependencies/libvorbis/lib/modes/setup_11.h +0 -143
  153. data/dependencies/libvorbis/lib/modes/setup_16.h +0 -153
  154. data/dependencies/libvorbis/lib/modes/setup_22.h +0 -128
  155. data/dependencies/libvorbis/lib/modes/setup_32.h +0 -132
  156. data/dependencies/libvorbis/lib/modes/setup_44.h +0 -117
  157. data/dependencies/libvorbis/lib/modes/setup_44p51.h +0 -74
  158. data/dependencies/libvorbis/lib/modes/setup_44u.h +0 -74
  159. data/dependencies/libvorbis/lib/modes/setup_8.h +0 -149
  160. data/dependencies/libvorbis/lib/modes/setup_X.h +0 -225
  161. data/dependencies/libvorbis/lib/os.h +0 -186
  162. data/dependencies/libvorbis/lib/psy.c +0 -1203
  163. data/dependencies/libvorbis/lib/psy.h +0 -154
  164. data/dependencies/libvorbis/lib/psytune.c +0 -524
  165. data/dependencies/libvorbis/lib/registry.c +0 -45
  166. data/dependencies/libvorbis/lib/registry.h +0 -32
  167. data/dependencies/libvorbis/lib/res0.c +0 -889
  168. data/dependencies/libvorbis/lib/scales.h +0 -90
  169. data/dependencies/libvorbis/lib/sharedbook.c +0 -579
  170. data/dependencies/libvorbis/lib/smallft.c +0 -1255
  171. data/dependencies/libvorbis/lib/smallft.h +0 -34
  172. data/dependencies/libvorbis/lib/synthesis.c +0 -184
  173. data/dependencies/libvorbis/lib/tone.c +0 -54
  174. data/dependencies/libvorbis/lib/vorbisenc.c +0 -1215
  175. data/dependencies/libvorbis/lib/vorbisfile.c +0 -2337
  176. data/dependencies/libvorbis/lib/window.c +0 -2135
  177. data/dependencies/libvorbis/lib/window.h +0 -26
  178. data/dependencies/ogg_vorbis.license +0 -28
  179. data/reference/gosu.rb +0 -1284
@@ -1,132 +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 settings for 32kHz
14
- last mod: $Id: setup_32.h 16894 2010-02-12 20:32:12Z xiphmont $
15
-
16
- ********************************************************************/
17
-
18
- static const double rate_mapping_32[12]={
19
- 18000.,28000.,35000.,45000.,56000.,60000.,
20
- 75000.,90000.,100000.,115000.,150000.,190000.,
21
- };
22
-
23
- static const double rate_mapping_32_un[12]={
24
- 30000.,42000.,52000.,64000.,72000.,78000.,
25
- 86000.,92000.,110000.,120000.,140000.,190000.,
26
- };
27
-
28
- static const double _psy_lowpass_32[12]={
29
- 12.3,13.,13.,14.,15.,99.,99.,99.,99.,99.,99.,99.
30
- };
31
-
32
- static const ve_setup_data_template ve_setup_32_stereo={
33
- 11,
34
- rate_mapping_32,
35
- quality_mapping_44,
36
- 2,
37
- 26000,
38
- 40000,
39
-
40
- blocksize_short_44,
41
- blocksize_long_44,
42
-
43
- _psy_tone_masteratt_44,
44
- _psy_tone_0dB,
45
- _psy_tone_suppress,
46
-
47
- _vp_tonemask_adj_otherblock,
48
- _vp_tonemask_adj_longblock,
49
- _vp_tonemask_adj_otherblock,
50
-
51
- _psy_noiseguards_44,
52
- _psy_noisebias_impulse,
53
- _psy_noisebias_padding,
54
- _psy_noisebias_trans,
55
- _psy_noisebias_long,
56
- _psy_noise_suppress,
57
-
58
- _psy_compand_44,
59
- _psy_compand_short_mapping,
60
- _psy_compand_long_mapping,
61
-
62
- {_noise_start_short_44,_noise_start_long_44},
63
- {_noise_part_short_44,_noise_part_long_44},
64
- _noise_thresh_44,
65
-
66
- _psy_ath_floater,
67
- _psy_ath_abs,
68
-
69
- _psy_lowpass_32,
70
-
71
- _psy_global_44,
72
- _global_mapping_44,
73
- _psy_stereo_modes_44,
74
-
75
- _floor_books,
76
- _floor,
77
- 2,
78
- _floor_mapping_44,
79
-
80
- _mapres_template_44_stereo
81
- };
82
-
83
- static const ve_setup_data_template ve_setup_32_uncoupled={
84
- 11,
85
- rate_mapping_32_un,
86
- quality_mapping_44,
87
- -1,
88
- 26000,
89
- 40000,
90
-
91
- blocksize_short_44,
92
- blocksize_long_44,
93
-
94
- _psy_tone_masteratt_44,
95
- _psy_tone_0dB,
96
- _psy_tone_suppress,
97
-
98
- _vp_tonemask_adj_otherblock,
99
- _vp_tonemask_adj_longblock,
100
- _vp_tonemask_adj_otherblock,
101
-
102
- _psy_noiseguards_44,
103
- _psy_noisebias_impulse,
104
- _psy_noisebias_padding,
105
- _psy_noisebias_trans,
106
- _psy_noisebias_long,
107
- _psy_noise_suppress,
108
-
109
- _psy_compand_44,
110
- _psy_compand_short_mapping,
111
- _psy_compand_long_mapping,
112
-
113
- {_noise_start_short_44,_noise_start_long_44},
114
- {_noise_part_short_44,_noise_part_long_44},
115
- _noise_thresh_44,
116
-
117
- _psy_ath_floater,
118
- _psy_ath_abs,
119
-
120
- _psy_lowpass_32,
121
-
122
- _psy_global_44,
123
- _global_mapping_44,
124
- NULL,
125
-
126
- _floor_books,
127
- _floor,
128
- 2,
129
- _floor_mapping_44,
130
-
131
- _mapres_template_44_uncoupled
132
- };
@@ -1,117 +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 settings for 44.1/48kHz
14
- last mod: $Id: setup_44.h 16962 2010-03-11 07:30:34Z xiphmont $
15
-
16
- ********************************************************************/
17
-
18
- #include "modes/floor_all.h"
19
- #include "modes/residue_44.h"
20
- #include "modes/psych_44.h"
21
-
22
- static const double rate_mapping_44_stereo[12]={
23
- 22500.,32000.,40000.,48000.,56000.,64000.,
24
- 80000.,96000.,112000.,128000.,160000.,250001.
25
- };
26
-
27
- static const double quality_mapping_44[12]={
28
- -.1,.0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1.0
29
- };
30
-
31
- static const int blocksize_short_44[11]={
32
- 512,256,256,256,256,256,256,256,256,256,256
33
- };
34
- static const int blocksize_long_44[11]={
35
- 4096,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048
36
- };
37
-
38
- static const double _psy_compand_short_mapping[12]={
39
- 0.5, 1., 1., 1.3, 1.6, 2., 2., 2., 2., 2., 2., 2.
40
- };
41
- static const double _psy_compand_long_mapping[12]={
42
- 3.5, 4., 4., 4.3, 4.6, 5., 5., 5., 5., 5., 5., 5.
43
- };
44
-
45
- static const double _global_mapping_44[12]={
46
- /* 1., 1., 1.5, 2., 2., 2.5, 2.7, 3.0, 3.5, 4., 4. */
47
- 0., 1., 1., 1.5, 2., 2., 2.5, 2.7, 3.0, 3.7, 4., 4.
48
- };
49
-
50
- static const int _floor_mapping_44a[11]={
51
- 1,0,0,2,2,4,5,5,5,5,5
52
- };
53
-
54
- static const int _floor_mapping_44b[11]={
55
- 8,7,7,7,7,7,7,7,7,7,7
56
- };
57
-
58
- static const int _floor_mapping_44c[11]={
59
- 10,10,10,10,10,10,10,10,10,10,10
60
- };
61
-
62
- static const int *_floor_mapping_44[]={
63
- _floor_mapping_44a,
64
- _floor_mapping_44b,
65
- _floor_mapping_44c,
66
- };
67
-
68
- static const ve_setup_data_template ve_setup_44_stereo={
69
- 11,
70
- rate_mapping_44_stereo,
71
- quality_mapping_44,
72
- 2,
73
- 40000,
74
- 50000,
75
-
76
- blocksize_short_44,
77
- blocksize_long_44,
78
-
79
- _psy_tone_masteratt_44,
80
- _psy_tone_0dB,
81
- _psy_tone_suppress,
82
-
83
- _vp_tonemask_adj_otherblock,
84
- _vp_tonemask_adj_longblock,
85
- _vp_tonemask_adj_otherblock,
86
-
87
- _psy_noiseguards_44,
88
- _psy_noisebias_impulse,
89
- _psy_noisebias_padding,
90
- _psy_noisebias_trans,
91
- _psy_noisebias_long,
92
- _psy_noise_suppress,
93
-
94
- _psy_compand_44,
95
- _psy_compand_short_mapping,
96
- _psy_compand_long_mapping,
97
-
98
- {_noise_start_short_44,_noise_start_long_44},
99
- {_noise_part_short_44,_noise_part_long_44},
100
- _noise_thresh_44,
101
-
102
- _psy_ath_floater,
103
- _psy_ath_abs,
104
-
105
- _psy_lowpass_44,
106
-
107
- _psy_global_44,
108
- _global_mapping_44,
109
- _psy_stereo_modes_44,
110
-
111
- _floor_books,
112
- _floor,
113
- 2,
114
- _floor_mapping_44,
115
-
116
- _mapres_template_44_stereo
117
- };
@@ -1,74 +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-2010 *
9
- * by the Xiph.Org Foundation http://www.xiph.org/ *
10
- * *
11
- ********************************************************************
12
-
13
- function: toplevel settings for 44.1/48kHz 5.1 surround modes
14
- last mod: $Id$
15
-
16
- ********************************************************************/
17
-
18
- #include "modes/residue_44p51.h"
19
-
20
- static const double rate_mapping_44p51[12]={
21
- 14000.,20000.,28000.,38000.,46000.,54000.,
22
- 75000.,96000.,120000.,140000.,180000.,240001.
23
- };
24
-
25
- static const ve_setup_data_template ve_setup_44_51={
26
- 11,
27
- rate_mapping_44p51,
28
- quality_mapping_44,
29
- 6,
30
- 40000,
31
- 70000,
32
-
33
- blocksize_short_44,
34
- blocksize_long_44,
35
-
36
- _psy_tone_masteratt_44,
37
- _psy_tone_0dB,
38
- _psy_tone_suppress,
39
-
40
- _vp_tonemask_adj_otherblock,
41
- _vp_tonemask_adj_longblock,
42
- _vp_tonemask_adj_otherblock,
43
-
44
- _psy_noiseguards_44,
45
- _psy_noisebias_impulse,
46
- _psy_noisebias_padding,
47
- _psy_noisebias_trans,
48
- _psy_noisebias_long,
49
- _psy_noise_suppress,
50
-
51
- _psy_compand_44,
52
- _psy_compand_short_mapping,
53
- _psy_compand_long_mapping,
54
-
55
- {_noise_start_short_44,_noise_start_long_44},
56
- {_noise_part_short_44,_noise_part_long_44},
57
- _noise_thresh_44,
58
-
59
- _psy_ath_floater,
60
- _psy_ath_abs,
61
-
62
- _psy_lowpass_44,
63
-
64
- _psy_global_44,
65
- _global_mapping_44,
66
- _psy_stereo_modes_44,
67
-
68
- _floor_books,
69
- _floor,
70
- 3,
71
- _floor_mapping_44,
72
-
73
- _mapres_template_44_51
74
- };
@@ -1,74 +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 settings for 44.1/48kHz uncoupled modes
14
- last mod: $Id: setup_44u.h 16962 2010-03-11 07:30:34Z xiphmont $
15
-
16
- ********************************************************************/
17
-
18
- #include "modes/residue_44u.h"
19
-
20
- static const double rate_mapping_44_un[12]={
21
- 32000.,48000.,60000.,70000.,80000.,86000.,
22
- 96000.,110000.,120000.,140000.,160000.,240001.
23
- };
24
-
25
- static const ve_setup_data_template ve_setup_44_uncoupled={
26
- 11,
27
- rate_mapping_44_un,
28
- quality_mapping_44,
29
- -1,
30
- 40000,
31
- 50000,
32
-
33
- blocksize_short_44,
34
- blocksize_long_44,
35
-
36
- _psy_tone_masteratt_44,
37
- _psy_tone_0dB,
38
- _psy_tone_suppress,
39
-
40
- _vp_tonemask_adj_otherblock,
41
- _vp_tonemask_adj_longblock,
42
- _vp_tonemask_adj_otherblock,
43
-
44
- _psy_noiseguards_44,
45
- _psy_noisebias_impulse,
46
- _psy_noisebias_padding,
47
- _psy_noisebias_trans,
48
- _psy_noisebias_long,
49
- _psy_noise_suppress,
50
-
51
- _psy_compand_44,
52
- _psy_compand_short_mapping,
53
- _psy_compand_long_mapping,
54
-
55
- {_noise_start_short_44,_noise_start_long_44},
56
- {_noise_part_short_44,_noise_part_long_44},
57
- _noise_thresh_44,
58
-
59
- _psy_ath_floater,
60
- _psy_ath_abs,
61
-
62
- _psy_lowpass_44,
63
-
64
- _psy_global_44,
65
- _global_mapping_44,
66
- _psy_stereo_modes_44,
67
-
68
- _floor_books,
69
- _floor,
70
- 2,
71
- _floor_mapping_44,
72
-
73
- _mapres_template_44_uncoupled
74
- };
@@ -1,149 +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 settings
14
- last mod: $Id: setup_8.h 16894 2010-02-12 20:32:12Z xiphmont $
15
-
16
- ********************************************************************/
17
-
18
- #include "psych_8.h"
19
- #include "residue_8.h"
20
-
21
- static const int blocksize_8[2]={
22
- 512,512
23
- };
24
-
25
- static const int _floor_mapping_8a[]={
26
- 6,6
27
- };
28
-
29
- static const int *_floor_mapping_8[]={
30
- _floor_mapping_8a
31
- };
32
-
33
- static const double rate_mapping_8[3]={
34
- 6000.,9000.,32000.,
35
- };
36
-
37
- static const double rate_mapping_8_uncoupled[3]={
38
- 8000.,14000.,42000.,
39
- };
40
-
41
- static const double quality_mapping_8[3]={
42
- -.1,.0,1.
43
- };
44
-
45
- static const double _psy_compand_8_mapping[3]={ 0., 1., 1.};
46
-
47
- static const double _global_mapping_8[3]={ 1., 2., 3. };
48
-
49
- static const ve_setup_data_template ve_setup_8_stereo={
50
- 2,
51
- rate_mapping_8,
52
- quality_mapping_8,
53
- 2,
54
- 8000,
55
- 9000,
56
-
57
- blocksize_8,
58
- blocksize_8,
59
-
60
- _psy_tone_masteratt_8,
61
- _psy_tone_0dB,
62
- _psy_tone_suppress,
63
-
64
- _vp_tonemask_adj_8,
65
- NULL,
66
- _vp_tonemask_adj_8,
67
-
68
- _psy_noiseguards_8,
69
- _psy_noisebias_8,
70
- _psy_noisebias_8,
71
- NULL,
72
- NULL,
73
- _psy_noise_suppress,
74
-
75
- _psy_compand_8,
76
- _psy_compand_8_mapping,
77
- NULL,
78
-
79
- {_noise_start_8,_noise_start_8},
80
- {_noise_part_8,_noise_part_8},
81
- _noise_thresh_5only,
82
-
83
- _psy_ath_floater_8,
84
- _psy_ath_abs_8,
85
-
86
- _psy_lowpass_8,
87
-
88
- _psy_global_44,
89
- _global_mapping_8,
90
- _psy_stereo_modes_8,
91
-
92
- _floor_books,
93
- _floor,
94
- 1,
95
- _floor_mapping_8,
96
-
97
- _mapres_template_8_stereo
98
- };
99
-
100
- static const ve_setup_data_template ve_setup_8_uncoupled={
101
- 2,
102
- rate_mapping_8_uncoupled,
103
- quality_mapping_8,
104
- -1,
105
- 8000,
106
- 9000,
107
-
108
- blocksize_8,
109
- blocksize_8,
110
-
111
- _psy_tone_masteratt_8,
112
- _psy_tone_0dB,
113
- _psy_tone_suppress,
114
-
115
- _vp_tonemask_adj_8,
116
- NULL,
117
- _vp_tonemask_adj_8,
118
-
119
- _psy_noiseguards_8,
120
- _psy_noisebias_8,
121
- _psy_noisebias_8,
122
- NULL,
123
- NULL,
124
- _psy_noise_suppress,
125
-
126
- _psy_compand_8,
127
- _psy_compand_8_mapping,
128
- NULL,
129
-
130
- {_noise_start_8,_noise_start_8},
131
- {_noise_part_8,_noise_part_8},
132
- _noise_thresh_5only,
133
-
134
- _psy_ath_floater_8,
135
- _psy_ath_abs_8,
136
-
137
- _psy_lowpass_8,
138
-
139
- _psy_global_44,
140
- _global_mapping_8,
141
- _psy_stereo_modes_8,
142
-
143
- _floor_books,
144
- _floor,
145
- 1,
146
- _floor_mapping_8,
147
-
148
- _mapres_template_8_uncoupled
149
- };