seal 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (421) hide show
  1. data/.yardopts +1 -0
  2. data/LICENSE +13 -0
  3. data/README.md +265 -0
  4. data/ext/seal/extconf.rb +45 -0
  5. data/include/al/al.h +724 -0
  6. data/include/al/alc.h +277 -0
  7. data/include/al/efx-presets.h +402 -0
  8. data/include/al/efx.h +758 -0
  9. data/include/mpg123/mpg123.h +1034 -0
  10. data/include/ogg/config_types.h +25 -0
  11. data/include/ogg/ogg.h +210 -0
  12. data/include/ogg/os_types.h +147 -0
  13. data/include/seal.h +23 -0
  14. data/include/seal/buf.h +143 -0
  15. data/include/seal/core.h +95 -0
  16. data/include/seal/efs.h +112 -0
  17. data/include/seal/err.h +93 -0
  18. data/include/seal/fmt.h +58 -0
  19. data/include/seal/listener.h +103 -0
  20. data/include/seal/raw.h +86 -0
  21. data/include/seal/rvb.h +520 -0
  22. data/include/seal/src.h +413 -0
  23. data/include/seal/stream.h +81 -0
  24. data/include/vorbis/codec.h +243 -0
  25. data/include/vorbis/vorbisfile.h +206 -0
  26. data/mpg123/AUTHORS +150 -0
  27. data/mpg123/COPYING +773 -0
  28. data/mpg123/ChangeLog +3 -0
  29. data/mpg123/INSTALL +111 -0
  30. data/mpg123/Makefile.am +99 -0
  31. data/mpg123/Makefile.in +1043 -0
  32. data/mpg123/NEWS +1200 -0
  33. data/mpg123/NEWS.libmpg123 +133 -0
  34. data/mpg123/README +203 -0
  35. data/mpg123/TODO +38 -0
  36. data/mpg123/aclocal.m4 +1168 -0
  37. data/mpg123/build/config.guess +1530 -0
  38. data/mpg123/build/config.sub +1782 -0
  39. data/mpg123/build/depcomp +707 -0
  40. data/mpg123/build/install-sh +527 -0
  41. data/mpg123/build/ltmain.sh +9655 -0
  42. data/mpg123/build/missing +330 -0
  43. data/mpg123/configure +20267 -0
  44. data/mpg123/configure.ac +2178 -0
  45. data/mpg123/doc/ACCURACY +2 -0
  46. data/mpg123/doc/BENCHMARKING +110 -0
  47. data/mpg123/doc/BUGS +3 -0
  48. data/mpg123/doc/CONTACT +17 -0
  49. data/mpg123/doc/LICENSE +22 -0
  50. data/mpg123/doc/Makefile.am +32 -0
  51. data/mpg123/doc/Makefile.in +490 -0
  52. data/mpg123/doc/PATENTS +39 -0
  53. data/mpg123/doc/README.3DNOW +56 -0
  54. data/mpg123/doc/README.gain +171 -0
  55. data/mpg123/doc/README.remote +218 -0
  56. data/mpg123/doc/ROAD_TO_LGPL +270 -0
  57. data/mpg123/doc/THANKS +13 -0
  58. data/mpg123/doc/TODO +63 -0
  59. data/mpg123/doc/doxy_examples.c +21 -0
  60. data/mpg123/doc/doxygen.conf +41 -0
  61. data/mpg123/doc/doxyhead.xhtml +12 -0
  62. data/mpg123/doc/examples/dump_seekindex.c +41 -0
  63. data/mpg123/doc/examples/extract_frames.c +92 -0
  64. data/mpg123/doc/examples/feedseek.c +238 -0
  65. data/mpg123/doc/examples/id3dump.c +178 -0
  66. data/mpg123/doc/examples/mpg123_to_wav.c +118 -0
  67. data/mpg123/doc/examples/mpglib.c +92 -0
  68. data/mpg123/doc/examples/scan.c +47 -0
  69. data/mpg123/doc/libmpg123_speed.txt +84 -0
  70. data/mpg123/equalize.dat +37 -0
  71. data/mpg123/libmpg123.pc.in +11 -0
  72. data/mpg123/m4/addrconfig.m4 +34 -0
  73. data/mpg123/m4/libtool.m4 +7982 -0
  74. data/mpg123/m4/ltoptions.m4 +384 -0
  75. data/mpg123/m4/ltsugar.m4 +123 -0
  76. data/mpg123/m4/ltversion.m4 +23 -0
  77. data/mpg123/m4/lt~obsolete.m4 +98 -0
  78. data/mpg123/makedll.sh +19 -0
  79. data/mpg123/man1/mpg123.1 +512 -0
  80. data/mpg123/mpg123.spec +68 -0
  81. data/mpg123/mpg123.spec.in +68 -0
  82. data/mpg123/ports/MSVC++/2005/libmpg123/libmpg123.vcproj +741 -0
  83. data/mpg123/ports/MSVC++/2008/dump_seekindex/dump_seekindex.vcproj +194 -0
  84. data/mpg123/ports/MSVC++/2008/feedseek/feedseek.vcproj +195 -0
  85. data/mpg123/ports/MSVC++/2008/libmpg123/libmpg123.vcproj +1357 -0
  86. data/mpg123/ports/MSVC++/2008/mpg123.sln +44 -0
  87. data/mpg123/ports/MSVC++/2008/mpglib/mpglib.vcproj +191 -0
  88. data/mpg123/ports/MSVC++/2008/scan/scan.vcproj +195 -0
  89. data/mpg123/ports/MSVC++/2008clr/2008clr.sln +81 -0
  90. data/mpg123/ports/MSVC++/2008clr/examples/ReplaceReaderclr/Program.cs +435 -0
  91. data/mpg123/ports/MSVC++/2008clr/examples/ReplaceReaderclr/Properties/AssemblyInfo.cs +36 -0
  92. data/mpg123/ports/MSVC++/2008clr/examples/ReplaceReaderclr/ReplaceReaderclr.csproj +72 -0
  93. data/mpg123/ports/MSVC++/2008clr/examples/feedseekclr/Program.cs +331 -0
  94. data/mpg123/ports/MSVC++/2008clr/examples/feedseekclr/Properties/AssemblyInfo.cs +36 -0
  95. data/mpg123/ports/MSVC++/2008clr/examples/feedseekclr/feedseekclr.csproj +71 -0
  96. data/mpg123/ports/MSVC++/2008clr/examples/scanclr/Program.cs +79 -0
  97. data/mpg123/ports/MSVC++/2008clr/examples/scanclr/Properties/AssemblyInfo.cs +36 -0
  98. data/mpg123/ports/MSVC++/2008clr/examples/scanclr/scanclr.csproj +70 -0
  99. data/mpg123/ports/MSVC++/2008clr/mpg123clr/AssemblyInfo.cpp +76 -0
  100. data/mpg123/ports/MSVC++/2008clr/mpg123clr/ReadMe.txt +165 -0
  101. data/mpg123/ports/MSVC++/2008clr/mpg123clr/advanced.cpp +91 -0
  102. data/mpg123/ports/MSVC++/2008clr/mpg123clr/advanced.h +130 -0
  103. data/mpg123/ports/MSVC++/2008clr/mpg123clr/dllmain.cpp +19 -0
  104. data/mpg123/ports/MSVC++/2008clr/mpg123clr/enum.h +218 -0
  105. data/mpg123/ports/MSVC++/2008clr/mpg123clr/error.cpp +48 -0
  106. data/mpg123/ports/MSVC++/2008clr/mpg123clr/error.h +134 -0
  107. data/mpg123/ports/MSVC++/2008clr/mpg123clr/id3v1.cpp +92 -0
  108. data/mpg123/ports/MSVC++/2008clr/mpg123clr/id3v1.h +132 -0
  109. data/mpg123/ports/MSVC++/2008clr/mpg123clr/id3v2.cpp +138 -0
  110. data/mpg123/ports/MSVC++/2008clr/mpg123clr/id3v2.h +152 -0
  111. data/mpg123/ports/MSVC++/2008clr/mpg123clr/mpg123clr.cpp +896 -0
  112. data/mpg123/ports/MSVC++/2008clr/mpg123clr/mpg123clr.h +953 -0
  113. data/mpg123/ports/MSVC++/2008clr/mpg123clr/mpg123clr.rc +102 -0
  114. data/mpg123/ports/MSVC++/2008clr/mpg123clr/mpg123clr.vcproj +328 -0
  115. data/mpg123/ports/MSVC++/2008clr/mpg123clr/resource.h +14 -0
  116. data/mpg123/ports/MSVC++/2008clr/mpg123clr/stdafx.cpp +8 -0
  117. data/mpg123/ports/MSVC++/2008clr/mpg123clr/stdafx.h +38 -0
  118. data/mpg123/ports/MSVC++/2008clr/mpg123clr/string.cpp +166 -0
  119. data/mpg123/ports/MSVC++/2008clr/mpg123clr/string.h +265 -0
  120. data/mpg123/ports/MSVC++/2008clr/mpg123clr/targetver.h +24 -0
  121. data/mpg123/ports/MSVC++/2008clr/mpg123clr/text.cpp +67 -0
  122. data/mpg123/ports/MSVC++/2008clr/mpg123clr/text.h +111 -0
  123. data/mpg123/ports/MSVC++/2010/dump_seekindex/dump_seekindex.vcxproj +90 -0
  124. data/mpg123/ports/MSVC++/2010/dump_seekindex/dump_seekindex.vcxproj.filters +6 -0
  125. data/mpg123/ports/MSVC++/2010/feedseek/feedseek.vcxproj +95 -0
  126. data/mpg123/ports/MSVC++/2010/feedseek/feedseek.vcxproj.filters +6 -0
  127. data/mpg123/ports/MSVC++/2010/libmpg123/libmpg123.vcxproj +960 -0
  128. data/mpg123/ports/MSVC++/2010/libmpg123/libmpg123.vcxproj.user +3 -0
  129. data/mpg123/ports/MSVC++/2010/libmpg123/yasm.exe +0 -0
  130. data/mpg123/ports/MSVC++/2010/mpg123.sln +38 -0
  131. data/mpg123/ports/MSVC++/2010/scan/scan.vcxproj +93 -0
  132. data/mpg123/ports/MSVC++/2010/scan/scan.vcxproj.filters +6 -0
  133. data/mpg123/ports/MSVC++/CMP3Stream/INCLUDE/CORE/CORE_FileIn.H +15 -0
  134. data/mpg123/ports/MSVC++/CMP3Stream/INCLUDE/CORE/SourceFilter_MP3.H +139 -0
  135. data/mpg123/ports/MSVC++/CMP3Stream/INCLUDE/IIEP_Def.H +206 -0
  136. data/mpg123/ports/MSVC++/CMP3Stream/INCLUDE/IIEP_FileIn.H +167 -0
  137. data/mpg123/ports/MSVC++/CMP3Stream/README +4 -0
  138. data/mpg123/ports/MSVC++/CMP3Stream/SOURCE/CORE_FileIn.CPP +462 -0
  139. data/mpg123/ports/MSVC++/CMP3Stream/SOURCE/CORE_Log.CPP +122 -0
  140. data/mpg123/ports/MSVC++/CMP3Stream/SOURCE/CORE_Mutex.CPP +35 -0
  141. data/mpg123/ports/MSVC++/CMP3Stream/SOURCE/SourceFilter_MP3Stream.CPP +586 -0
  142. data/mpg123/ports/MSVC++/CMP3Stream/libMPG123/PLACE_LIBMPG123_SOURCES_HERE +0 -0
  143. data/mpg123/ports/MSVC++/CMP3Stream/libMPG123/libMPG123.vcproj +245 -0
  144. data/mpg123/ports/MSVC++/config.h +35 -0
  145. data/mpg123/ports/MSVC++/examples/feedseek.c +240 -0
  146. data/mpg123/ports/MSVC++/examples/scan.c +47 -0
  147. data/mpg123/ports/MSVC++/mpg123.h +46 -0
  148. data/mpg123/ports/MSVC++/msvc.c +59 -0
  149. data/mpg123/ports/README +26 -0
  150. data/mpg123/ports/Sony_PSP/Makefile.psp +38 -0
  151. data/mpg123/ports/Sony_PSP/README +11 -0
  152. data/mpg123/ports/Sony_PSP/config.h +368 -0
  153. data/mpg123/ports/Sony_PSP/readers.c.patch +2 -0
  154. data/mpg123/ports/Xcode/config.h +197 -0
  155. data/mpg123/ports/Xcode/mpg123.h +17 -0
  156. data/mpg123/ports/Xcode/mpg123.xcodeproj/project.pbxproj +670 -0
  157. data/mpg123/ports/mpg123_.pas +478 -0
  158. data/mpg123/scripts/benchmark-cpu.pl +56 -0
  159. data/mpg123/scripts/tag_lyrics.py +76 -0
  160. data/mpg123/src/Makefile.am +186 -0
  161. data/mpg123/src/Makefile.in +1097 -0
  162. data/mpg123/src/audio.c +725 -0
  163. data/mpg123/src/audio.h +106 -0
  164. data/mpg123/src/buffer.c +312 -0
  165. data/mpg123/src/buffer.h +45 -0
  166. data/mpg123/src/common.c +240 -0
  167. data/mpg123/src/common.h +29 -0
  168. data/mpg123/src/config.h.in +436 -0
  169. data/mpg123/src/control_generic.c +809 -0
  170. data/mpg123/src/equalizer.c +48 -0
  171. data/mpg123/src/genre.c +271 -0
  172. data/mpg123/src/genre.h +15 -0
  173. data/mpg123/src/getlopt.c +148 -0
  174. data/mpg123/src/getlopt.h +77 -0
  175. data/mpg123/src/httpget.c +700 -0
  176. data/mpg123/src/httpget.h +66 -0
  177. data/mpg123/src/legacy_module.c +74 -0
  178. data/mpg123/src/libmpg123/Makefile.am +141 -0
  179. data/mpg123/src/libmpg123/Makefile.in +919 -0
  180. data/mpg123/src/libmpg123/compat.c +138 -0
  181. data/mpg123/src/libmpg123/compat.h +178 -0
  182. data/mpg123/src/libmpg123/dct36_3dnow.S +505 -0
  183. data/mpg123/src/libmpg123/dct36_3dnowext.S +512 -0
  184. data/mpg123/src/libmpg123/dct64.c +174 -0
  185. data/mpg123/src/libmpg123/dct64_3dnow.S +712 -0
  186. data/mpg123/src/libmpg123/dct64_3dnowext.S +714 -0
  187. data/mpg123/src/libmpg123/dct64_altivec.c +315 -0
  188. data/mpg123/src/libmpg123/dct64_i386.c +336 -0
  189. data/mpg123/src/libmpg123/dct64_i486.c +342 -0
  190. data/mpg123/src/libmpg123/dct64_mmx.S +811 -0
  191. data/mpg123/src/libmpg123/dct64_neon.S +297 -0
  192. data/mpg123/src/libmpg123/dct64_neon_float.S +270 -0
  193. data/mpg123/src/libmpg123/dct64_sse.S +454 -0
  194. data/mpg123/src/libmpg123/dct64_sse_float.S +401 -0
  195. data/mpg123/src/libmpg123/dct64_x86_64.S +464 -0
  196. data/mpg123/src/libmpg123/dct64_x86_64_float.S +426 -0
  197. data/mpg123/src/libmpg123/debug.h +171 -0
  198. data/mpg123/src/libmpg123/decode.h +268 -0
  199. data/mpg123/src/libmpg123/dither.c +119 -0
  200. data/mpg123/src/libmpg123/dither.h +23 -0
  201. data/mpg123/src/libmpg123/equalizer.c +17 -0
  202. data/mpg123/src/libmpg123/equalizer_3dnow.S +70 -0
  203. data/mpg123/src/libmpg123/feature.c +106 -0
  204. data/mpg123/src/libmpg123/format.c +521 -0
  205. data/mpg123/src/libmpg123/frame.c +1046 -0
  206. data/mpg123/src/libmpg123/frame.h +410 -0
  207. data/mpg123/src/libmpg123/gapless.h +119 -0
  208. data/mpg123/src/libmpg123/getbits.h +100 -0
  209. data/mpg123/src/libmpg123/getcpuflags.S +91 -0
  210. data/mpg123/src/libmpg123/getcpuflags.h +47 -0
  211. data/mpg123/src/libmpg123/huffman.h +340 -0
  212. data/mpg123/src/libmpg123/icy.c +32 -0
  213. data/mpg123/src/libmpg123/icy.h +38 -0
  214. data/mpg123/src/libmpg123/icy2utf8.c +438 -0
  215. data/mpg123/src/libmpg123/icy2utf8.h +10 -0
  216. data/mpg123/src/libmpg123/id3.c +999 -0
  217. data/mpg123/src/libmpg123/id3.h +43 -0
  218. data/mpg123/src/libmpg123/index.c +134 -0
  219. data/mpg123/src/libmpg123/index.h +59 -0
  220. data/mpg123/src/libmpg123/intsym.h +256 -0
  221. data/mpg123/src/libmpg123/l12_integer_tables.h +278 -0
  222. data/mpg123/src/libmpg123/l2tables.h +164 -0
  223. data/mpg123/src/libmpg123/l3_integer_tables.h +1002 -0
  224. data/mpg123/src/libmpg123/layer1.c +155 -0
  225. data/mpg123/src/libmpg123/layer2.c +371 -0
  226. data/mpg123/src/libmpg123/layer3.c +2053 -0
  227. data/mpg123/src/libmpg123/lfs_alias.c +252 -0
  228. data/mpg123/src/libmpg123/lfs_wrap.c +751 -0
  229. data/mpg123/src/libmpg123/libmpg123.c +1607 -0
  230. data/mpg123/src/libmpg123/mangle.h +74 -0
  231. data/mpg123/src/libmpg123/mpeghead.h +87 -0
  232. data/mpg123/src/libmpg123/mpg123.h.in +1075 -0
  233. data/mpg123/src/libmpg123/mpg123lib_intern.h +338 -0
  234. data/mpg123/src/libmpg123/ntom.c +148 -0
  235. data/mpg123/src/libmpg123/optimize.c +964 -0
  236. data/mpg123/src/libmpg123/optimize.h +219 -0
  237. data/mpg123/src/libmpg123/parse.c +1179 -0
  238. data/mpg123/src/libmpg123/parse.h +25 -0
  239. data/mpg123/src/libmpg123/reader.h +137 -0
  240. data/mpg123/src/libmpg123/readers.c +1235 -0
  241. data/mpg123/src/libmpg123/sample.h +152 -0
  242. data/mpg123/src/libmpg123/stringbuf.c +163 -0
  243. data/mpg123/src/libmpg123/synth.c +816 -0
  244. data/mpg123/src/libmpg123/synth.h +196 -0
  245. data/mpg123/src/libmpg123/synth_3dnow.S +318 -0
  246. data/mpg123/src/libmpg123/synth_3dnowext.S +6 -0
  247. data/mpg123/src/libmpg123/synth_8bit.c +142 -0
  248. data/mpg123/src/libmpg123/synth_8bit.h +86 -0
  249. data/mpg123/src/libmpg123/synth_altivec.c +1057 -0
  250. data/mpg123/src/libmpg123/synth_arm.S +271 -0
  251. data/mpg123/src/libmpg123/synth_arm_accurate.S +287 -0
  252. data/mpg123/src/libmpg123/synth_i486.c +252 -0
  253. data/mpg123/src/libmpg123/synth_i586.S +336 -0
  254. data/mpg123/src/libmpg123/synth_i586_dither.S +375 -0
  255. data/mpg123/src/libmpg123/synth_mmx.S +125 -0
  256. data/mpg123/src/libmpg123/synth_mono.h +64 -0
  257. data/mpg123/src/libmpg123/synth_neon.S +123 -0
  258. data/mpg123/src/libmpg123/synth_neon_accurate.S +173 -0
  259. data/mpg123/src/libmpg123/synth_neon_float.S +149 -0
  260. data/mpg123/src/libmpg123/synth_neon_s32.S +168 -0
  261. data/mpg123/src/libmpg123/synth_ntom.h +213 -0
  262. data/mpg123/src/libmpg123/synth_real.c +404 -0
  263. data/mpg123/src/libmpg123/synth_s32.c +411 -0
  264. data/mpg123/src/libmpg123/synth_sse.S +6 -0
  265. data/mpg123/src/libmpg123/synth_sse3d.h +246 -0
  266. data/mpg123/src/libmpg123/synth_sse_accurate.S +294 -0
  267. data/mpg123/src/libmpg123/synth_sse_float.S +241 -0
  268. data/mpg123/src/libmpg123/synth_sse_s32.S +306 -0
  269. data/mpg123/src/libmpg123/synth_stereo_neon.S +175 -0
  270. data/mpg123/src/libmpg123/synth_stereo_neon_accurate.S +262 -0
  271. data/mpg123/src/libmpg123/synth_stereo_neon_float.S +220 -0
  272. data/mpg123/src/libmpg123/synth_stereo_neon_s32.S +247 -0
  273. data/mpg123/src/libmpg123/synth_stereo_sse_accurate.S +508 -0
  274. data/mpg123/src/libmpg123/synth_stereo_sse_float.S +416 -0
  275. data/mpg123/src/libmpg123/synth_stereo_sse_s32.S +540 -0
  276. data/mpg123/src/libmpg123/synth_stereo_x86_64.S +335 -0
  277. data/mpg123/src/libmpg123/synth_stereo_x86_64_accurate.S +454 -0
  278. data/mpg123/src/libmpg123/synth_stereo_x86_64_float.S +396 -0
  279. data/mpg123/src/libmpg123/synth_stereo_x86_64_s32.S +473 -0
  280. data/mpg123/src/libmpg123/synth_x86_64.S +244 -0
  281. data/mpg123/src/libmpg123/synth_x86_64_accurate.S +301 -0
  282. data/mpg123/src/libmpg123/synth_x86_64_float.S +259 -0
  283. data/mpg123/src/libmpg123/synth_x86_64_s32.S +312 -0
  284. data/mpg123/src/libmpg123/synths.h +52 -0
  285. data/mpg123/src/libmpg123/tabinit.c +294 -0
  286. data/mpg123/src/libmpg123/tabinit_mmx.S +210 -0
  287. data/mpg123/src/libmpg123/testcpu.c +35 -0
  288. data/mpg123/src/libmpg123/true.h +14 -0
  289. data/mpg123/src/local.c +63 -0
  290. data/mpg123/src/local.h +21 -0
  291. data/mpg123/src/metaprint.c +373 -0
  292. data/mpg123/src/metaprint.h +17 -0
  293. data/mpg123/src/module.c +306 -0
  294. data/mpg123/src/module.h +48 -0
  295. data/mpg123/src/mpg123.c +1405 -0
  296. data/mpg123/src/mpg123app.h +171 -0
  297. data/mpg123/src/output/Makefile.am +213 -0
  298. data/mpg123/src/output/Makefile.in +1238 -0
  299. data/mpg123/src/output/aix.c +300 -0
  300. data/mpg123/src/output/alib.c +209 -0
  301. data/mpg123/src/output/alsa.c +297 -0
  302. data/mpg123/src/output/arts.c +117 -0
  303. data/mpg123/src/output/coreaudio.c +370 -0
  304. data/mpg123/src/output/dummy.c +78 -0
  305. data/mpg123/src/output/esd.c +167 -0
  306. data/mpg123/src/output/hp.c +184 -0
  307. data/mpg123/src/output/jack.c +450 -0
  308. data/mpg123/src/output/mint.c +197 -0
  309. data/mpg123/src/output/nas.c +335 -0
  310. data/mpg123/src/output/openal.c +197 -0
  311. data/mpg123/src/output/os2.c +665 -0
  312. data/mpg123/src/output/oss.c +319 -0
  313. data/mpg123/src/output/portaudio.c +255 -0
  314. data/mpg123/src/output/pulse.c +164 -0
  315. data/mpg123/src/output/sdl.c +206 -0
  316. data/mpg123/src/output/sgi.c +213 -0
  317. data/mpg123/src/output/sndio.c +161 -0
  318. data/mpg123/src/output/sun.c +281 -0
  319. data/mpg123/src/output/win32.c +229 -0
  320. data/mpg123/src/playlist.c +596 -0
  321. data/mpg123/src/playlist.h +52 -0
  322. data/mpg123/src/resolver.c +319 -0
  323. data/mpg123/src/resolver.h +25 -0
  324. data/mpg123/src/sfifo.c +146 -0
  325. data/mpg123/src/sfifo.h +95 -0
  326. data/mpg123/src/streamdump.c +74 -0
  327. data/mpg123/src/streamdump.h +20 -0
  328. data/mpg123/src/term.c +479 -0
  329. data/mpg123/src/term.h +81 -0
  330. data/mpg123/src/tests/noise.c +52 -0
  331. data/mpg123/src/tests/plain_id3.c +109 -0
  332. data/mpg123/src/tests/seek_accuracy.c +261 -0
  333. data/mpg123/src/tests/seek_whence.c +56 -0
  334. data/mpg123/src/tests/testtext.h +34 -0
  335. data/mpg123/src/tests/text.c +80 -0
  336. data/mpg123/src/wav.c +464 -0
  337. data/mpg123/src/wavhead.h +68 -0
  338. data/mpg123/src/win32_net.c +599 -0
  339. data/mpg123/src/win32_support.c +191 -0
  340. data/mpg123/src/win32_support.h +152 -0
  341. data/mpg123/src/xfermem.c +321 -0
  342. data/mpg123/src/xfermem.h +74 -0
  343. data/mpg123/windows-builds.sh +137 -0
  344. data/msvc/lib/OpenAL32.lib +0 -0
  345. data/spec/fixtures/heal.ogg +0 -0
  346. data/spec/fixtures/tone_up.wav +0 -0
  347. data/spec/seal/buffer_spec.rb +37 -0
  348. data/spec/seal/core_spec.rb +29 -0
  349. data/spec/seal/effect_slot_spec.rb +38 -0
  350. data/spec/seal/listener_spec.rb +33 -0
  351. data/spec/seal/reverb_spec.rb +51 -0
  352. data/spec/seal/source_spec.rb +370 -0
  353. data/spec/seal/stream_spec.rb +38 -0
  354. data/spec/spec_helper.rb +45 -0
  355. data/spec/support/attribute_examples.rb +75 -0
  356. data/spec/support/audio_object_with_format.rb +27 -0
  357. data/spec/support/movable_object.rb +22 -0
  358. data/src/libogg/bitwise.c +857 -0
  359. data/src/libogg/framing.c +2093 -0
  360. data/src/libvorbis/backends.h +144 -0
  361. data/src/libvorbis/bitrate.c +253 -0
  362. data/src/libvorbis/bitrate.h +59 -0
  363. data/src/libvorbis/block.c +1046 -0
  364. data/src/libvorbis/codebook.c +484 -0
  365. data/src/libvorbis/codebook.h +119 -0
  366. data/src/libvorbis/codec_internal.h +167 -0
  367. data/src/libvorbis/envelope.c +375 -0
  368. data/src/libvorbis/envelope.h +80 -0
  369. data/src/libvorbis/floor0.c +221 -0
  370. data/src/libvorbis/floor1.c +1100 -0
  371. data/src/libvorbis/highlevel.h +58 -0
  372. data/src/libvorbis/info.c +668 -0
  373. data/src/libvorbis/lookup.c +94 -0
  374. data/src/libvorbis/lookup.h +32 -0
  375. data/src/libvorbis/lookup_data.h +192 -0
  376. data/src/libvorbis/lpc.c +160 -0
  377. data/src/libvorbis/lpc.h +29 -0
  378. data/src/libvorbis/lsp.c +456 -0
  379. data/src/libvorbis/lsp.h +28 -0
  380. data/src/libvorbis/mapping0.c +816 -0
  381. data/src/libvorbis/masking.h +785 -0
  382. data/src/libvorbis/mdct.c +563 -0
  383. data/src/libvorbis/mdct.h +71 -0
  384. data/src/libvorbis/misc.h +57 -0
  385. data/src/libvorbis/os.h +186 -0
  386. data/src/libvorbis/psy.c +1206 -0
  387. data/src/libvorbis/psy.h +154 -0
  388. data/src/libvorbis/registry.c +45 -0
  389. data/src/libvorbis/registry.h +32 -0
  390. data/src/libvorbis/res0.c +889 -0
  391. data/src/libvorbis/scales.h +90 -0
  392. data/src/libvorbis/sharedbook.c +579 -0
  393. data/src/libvorbis/smallft.c +1255 -0
  394. data/src/libvorbis/smallft.h +34 -0
  395. data/src/libvorbis/synthesis.c +184 -0
  396. data/src/libvorbis/vorbisfile.c +2337 -0
  397. data/src/libvorbis/window.c +2135 -0
  398. data/src/libvorbis/window.h +26 -0
  399. data/src/rubyext.c +2329 -0
  400. data/src/seal/buf.c +124 -0
  401. data/src/seal/core.c +283 -0
  402. data/src/seal/efs.c +74 -0
  403. data/src/seal/err.c +118 -0
  404. data/src/seal/fmt.c +86 -0
  405. data/src/seal/listener.c +111 -0
  406. data/src/seal/mpg.c +174 -0
  407. data/src/seal/mpg.h +24 -0
  408. data/src/seal/ov.c +180 -0
  409. data/src/seal/ov.h +22 -0
  410. data/src/seal/raw.c +59 -0
  411. data/src/seal/reader.c +102 -0
  412. data/src/seal/reader.h +59 -0
  413. data/src/seal/rvb.c +368 -0
  414. data/src/seal/src.c +654 -0
  415. data/src/seal/stream.c +109 -0
  416. data/src/seal/threading.c +66 -0
  417. data/src/seal/threading.h +20 -0
  418. data/src/seal/wav.c +297 -0
  419. data/src/seal/wav.h +23 -0
  420. data/src/win32api.rb +29 -0
  421. metadata +563 -0
@@ -0,0 +1,252 @@
1
+ /*
2
+ decode_i486.c: i486 decode
3
+
4
+ copyright 1998-2006 by the mpg123 project - free software under the terms of the LGPL 2.1
5
+ see COPYING and AUTHORS files in distribution or http://mpg123.org
6
+ initially written by Fabrice Bellard
7
+
8
+ One has to see if the modification for non-static memory kills this optimization (cache locality?).
9
+ */
10
+
11
+ /*
12
+ * Subband Synthesis for MPEG Audio.
13
+ *
14
+ * Version optimized for 80486 by using integer arithmetic,
15
+ * multiplications by shift and add, and by increasing locality in
16
+ * order to fit the 8KB L1 cache. This code should be compiled with gcc
17
+ * 2.7.2 or higher.
18
+ *
19
+ * Note: this version does not guaranty a good accuracy. The filter
20
+ * coefficients are quantified on 14 bits.
21
+ *
22
+ * (c) 1998 Fabrice Bellard
23
+ */
24
+
25
+ #include "mpg123lib_intern.h"
26
+
27
+ #define FIR16_1(pos,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15) \
28
+ {\
29
+ int sum;\
30
+ sum=(c0)*b0[0]+(c1)*b0[1]+(c2)*b0[2]+(c3)*b0[3]+\
31
+ (c4)*b0[4]+(c5)*b0[5]+(c6)*b0[6]+(c7)*b0[7]+\
32
+ (c8)*b0[8]+(c9)*b0[9]+(c10)*b0[10]+(c11)*b0[11]+\
33
+ (c12)*b0[12]+(c13)*b0[13]+(c14)*b0[14]+(c15)*b0[15];\
34
+ sum=(sum+(1 << 13))>>14;\
35
+ if (sum<-32768) sum=-32768;\
36
+ else if (sum>32767) sum=32767;\
37
+ samples[2*(pos)]=sum;\
38
+ b0+=FIR_BUFFER_SIZE;\
39
+ }
40
+
41
+ #define FIR16_2(pos1,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,\
42
+ pos2,d0,d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15) \
43
+ {\
44
+ int sum1,sum2,v;\
45
+ \
46
+ v=b0[0];\
47
+ sum1=(c0)*v;\
48
+ sum2=(d0)*v;\
49
+ v=b0[1];\
50
+ sum1+=(c1)*v;\
51
+ sum2+=(d1)*v;\
52
+ v=b0[2];\
53
+ sum1+=(c2)*v;\
54
+ sum2+=(d2)*v;\
55
+ v=b0[3];\
56
+ sum1+=(c3)*v;\
57
+ sum2+=(d3)*v;\
58
+ v=b0[4];\
59
+ sum1+=(c4)*v;\
60
+ sum2+=(d4)*v;\
61
+ v=b0[5];\
62
+ sum1+=(c5)*v;\
63
+ sum2+=(d5)*v;\
64
+ v=b0[6];\
65
+ sum1+=(c6)*v;\
66
+ sum2+=(d6)*v;\
67
+ v=b0[7];\
68
+ sum1+=(c7)*v;\
69
+ sum2+=(d7)*v;\
70
+ v=b0[8];\
71
+ sum1+=(c8)*v;\
72
+ sum2+=(d8)*v;\
73
+ v=b0[9];\
74
+ sum1+=(c9)*v;\
75
+ sum2+=(d9)*v;\
76
+ v=b0[10];\
77
+ sum1+=(c10)*v;\
78
+ sum2+=(d10)*v;\
79
+ v=b0[11];\
80
+ sum1+=(c11)*v;\
81
+ sum2+=(d11)*v;\
82
+ v=b0[12];\
83
+ sum1+=(c12)*v;\
84
+ sum2+=(d12)*v;\
85
+ v=b0[13];\
86
+ sum1+=(c13)*v;\
87
+ sum2+=(d13)*v;\
88
+ v=b0[14];\
89
+ sum1+=(c14)*v;\
90
+ sum2+=(d14)*v;\
91
+ v=b0[15];\
92
+ sum1+=(c15)*v;\
93
+ sum2+=(d15)*v;\
94
+ \
95
+ sum1=(sum1+(1<<13))>>14;\
96
+ sum2=(sum2+(1<<13))>>14;\
97
+ \
98
+ if (sum1<-32768) sum1=-32768;\
99
+ else if (sum1>32767) sum1=32767;\
100
+ samples[(pos1)*2]=sum1;\
101
+ \
102
+ if (sum2<-32768) sum2=-32768;\
103
+ else if (sum2>32767) sum2=32767;\
104
+ samples[(pos2)*2]=sum2;\
105
+ b0+=FIR_BUFFER_SIZE;\
106
+ }
107
+
108
+ int absynth_1to1_i486(real *bandPtr, int channel, mpg123_handle *fr, int nb_blocks)
109
+ {
110
+ short *samples = (short *) (fr->buffer.data+fr->buffer.fill);
111
+ int *b0,**buf;
112
+ int clip = 0;
113
+ int block,b,bo_start;
114
+
115
+ /* samples address */
116
+ samples+=channel;
117
+
118
+ bo_start=fr->i486bo[channel];
119
+ buf = fr->int_buffs[channel];
120
+
121
+ b=bo_start;
122
+ for(block=0;block<nb_blocks;block++) {
123
+
124
+ /* FIR offset */
125
+ b++;
126
+ if (b >= FIR_BUFFER_SIZE) {
127
+ int *p,*q;
128
+ int c,i,j;
129
+
130
+ /* we shift the buffers */
131
+ for(c=0;c<2;c++) {
132
+ p=&buf[c][0]+1;
133
+ q=p+(FIR_BUFFER_SIZE-FIR_SIZE);
134
+ for(i=0;i<17;i++) {
135
+ for(j=0;j<FIR_SIZE-1;j++) p[j]=q[j];
136
+ p+=FIR_BUFFER_SIZE;
137
+ q+=FIR_BUFFER_SIZE;
138
+ }
139
+ }
140
+ /* we update 'bo' accordingly */
141
+ b=fr->i486bo[channel]=FIR_SIZE;
142
+ }
143
+
144
+ if(b & 1) {
145
+ dct64_i486(buf[1]+b,buf[0]+b,bandPtr);
146
+ } else {
147
+ dct64_i486(buf[0]+b,buf[1]+b,bandPtr);
148
+ }
149
+ bandPtr+=32;
150
+ }
151
+ fr->i486bo[channel]=b;
152
+
153
+ /* filter bank: part 1 */
154
+ b=bo_start;
155
+ for(block=0;block<nb_blocks;block++) {
156
+ b++;
157
+ if (b >= FIR_BUFFER_SIZE) b=FIR_SIZE;
158
+ if(b & 1) {
159
+ b0 = buf[0] + b - (FIR_SIZE-1);
160
+ } else {
161
+ b0 = buf[1] + b - (FIR_SIZE-1);
162
+ }
163
+
164
+ FIR16_1(0,-7,53,-114,509,-1288,1643,-9372,18759,9372,1643,1288,509,114,53,7,0);
165
+ FIR16_2(1,-6,52,-100,515,-1197,1783,-8910,18748,9834,1489,1379,500,129,54,7,0,
166
+ 31,0,-7,54,-129,500,-1379,1489,-9834,18748,8910,1783,1197,515,100,52,6);
167
+ FIR16_2(2,-6,50,-86,520,-1106,1910,-8447,18714,10294,1322,1469,488,145,55,8,0,
168
+ 30,0,-8,55,-145,488,-1469,1322,-10294,18714,8447,1910,1106,520,86,50,6);
169
+ FIR16_2(3,-5,49,-73,521,-1015,2023,-7986,18657,10751,1140,1559,473,161,56,9,0,
170
+ 29,0,-9,56,-161,473,-1559,1140,-10751,18657,7986,2023,1015,521,73,49,5);
171
+ samples+=64;
172
+ }
173
+ samples-=64*nb_blocks;
174
+
175
+ /* filter bank: part 2 */
176
+
177
+ b=bo_start;
178
+ for(block=0;block<nb_blocks;block++) {
179
+ b++;
180
+ if (b >= FIR_BUFFER_SIZE) b=FIR_SIZE;
181
+ if(b & 1) {
182
+ b0 = buf[0] + b - (FIR_SIZE-1) + 4*FIR_BUFFER_SIZE;
183
+ } else {
184
+ b0 = buf[1] + b - (FIR_SIZE-1) + 4*FIR_BUFFER_SIZE;
185
+ }
186
+
187
+ FIR16_2(4,-4,47,-61,521,-926,2123,-7528,18578,11205,944,1647,455,177,56,10,0,
188
+ 28,0,-10,56,-177,455,-1647,944,-11205,18578,7528,2123,926,521,61,47,4);
189
+ FIR16_2(5,-4,45,-49,518,-837,2210,-7072,18477,11654,733,1733,434,194,57,11,0,
190
+ 27,0,-11,57,-194,434,-1733,733,-11654,18477,7072,2210,837,518,49,45,4);
191
+ FIR16_2(6,-4,44,-38,514,-751,2284,-6620,18353,12097,509,1817,411,212,57,12,0,
192
+ 26,0,-12,57,-212,411,-1817,509,-12097,18353,6620,2284,751,514,38,44,4);
193
+ FIR16_2(7,-3,42,-27,508,-665,2347,-6173,18208,12534,270,1899,383,229,56,13,0,
194
+ 25,0,-13,56,-229,383,-1899,270,-12534,18208,6173,2347,665,508,27,42,3);
195
+
196
+ samples+=64;
197
+ }
198
+ samples-=64*nb_blocks;
199
+
200
+ /* filter bank: part 3 */
201
+
202
+ b=bo_start;
203
+ for(block=0;block<nb_blocks;block++) {
204
+ b++;
205
+ if (b >= FIR_BUFFER_SIZE) b=FIR_SIZE;
206
+ if(b & 1) {
207
+ b0 = buf[0] + b - (FIR_SIZE-1) + 8*FIR_BUFFER_SIZE;
208
+ } else {
209
+ b0 = buf[1] + b - (FIR_SIZE-1) + 8*FIR_BUFFER_SIZE;
210
+ }
211
+
212
+ FIR16_2(8,-3,40,-18,500,-582,2398,-5732,18042,12963,17,1977,353,247,56,14,0,
213
+ 24,0,-14,56,-247,353,-1977,17,-12963,18042,5732,2398,582,500,18,40,3);
214
+ FIR16_2(9,-2,38,-9,490,-501,2437,-5297,17855,13383,-249,2052,320,266,55,15,0,
215
+ 23,0,-15,55,-266,320,-2052,-249,-13383,17855,5297,2437,501,490,9,38,2);
216
+ FIR16_2(10,-2,36,0,479,-423,2465,-4869,17647,13794,-530,2122,282,284,53,17,0,
217
+ 22,0,-17,53,-284,282,-2122,-530,-13794,17647,4869,2465,423,479,0,36,2);
218
+ FIR16_2(11,-2,34,7,467,-347,2483,-4449,17419,14194,-825,2188,242,302,52,18,0,
219
+ 21,0,-18,52,-302,242,-2188,-825,-14194,17419,4449,2483,347,467,-7,34,2);
220
+
221
+ samples+=64;
222
+ }
223
+ samples-=64*nb_blocks;
224
+
225
+ /* filter bank: part 4 */
226
+
227
+ b=bo_start;
228
+ for(block=0;block<nb_blocks;block++) {
229
+ b++;
230
+ if (b >= FIR_BUFFER_SIZE) b=FIR_SIZE;
231
+ if(b & 1) {
232
+ b0 = buf[0] + b - (FIR_SIZE-1) + 12*FIR_BUFFER_SIZE;
233
+ } else {
234
+ b0 = buf[1] + b - (FIR_SIZE-1) + 12*FIR_BUFFER_SIZE;
235
+ }
236
+
237
+ FIR16_2(12,-2,33,14,454,-273,2491,-4038,17173,14583,-1133,2249,198,320,50,19,0,
238
+ 20,0,-19,50,-320,198,-2249,-1133,-14583,17173,4038,2491,273,454,-14,33,2);
239
+ FIR16_2(13,-1,31,20,439,-203,2489,-3637,16907,14959,-1454,2304,151,339,47,21,-1,
240
+ 19,-1,-21,47,-339,151,-2304,-1454,-14959,16907,3637,2489,203,439,-20,31,1);
241
+ FIR16_2(14,-1,29,26,424,-136,2479,-3245,16623,15322,-1788,2354,100,357,44,22,-1,
242
+ 18,-1,-22,44,-357,100,-2354,-1788,-15322,16623,3245,2479,136,424,-26,29,1);
243
+ FIR16_2(15,-1,27,31,408,-72,2459,-2863,16322,15671,-2135,2396,46,374,40,24,-1,
244
+ 17,-1,-24,40,-374,46,-2396,-2135,-15671,16322,2863,2459,72,408,-31,27,1);
245
+ FIR16_1(16,-1,0,36,0,-11,0,-2493,0,16004,0,2431,0,391,0,26,0);
246
+
247
+ samples+=64;
248
+ }
249
+
250
+ return clip;
251
+ }
252
+
@@ -0,0 +1,336 @@
1
+ /*
2
+ decode_i586: asm synth
3
+
4
+ copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1
5
+ see COPYING and AUTHORS files in distribution or http://mpg123.org
6
+ initially written by Stefan Bieschewski
7
+
8
+ synth_1to1 works the same way as the c version of this
9
+ file. only two types of changes have been made:
10
+ - reordered floating point instructions to
11
+ prevent pipline stalls
12
+ - made WRITE_SAMPLE use integer instead of
13
+ (slower) floating point
14
+ all kinds of x86 processors should benefit from these
15
+ modifications.
16
+
17
+ useful sources of information on optimizing x86 code include:
18
+
19
+ Intel Architecture Optimization Manual
20
+ http://www.intel.com/design/pentium/manuals/242816.htm
21
+
22
+ Cyrix 6x86 Instruction Set Summary
23
+ ftp://ftp.cyrix.com/6x86/6x-dbch6.pdf
24
+
25
+ AMD-K5 Processor Software Development
26
+ http://www.amd.com/products/cpg/techdocs/appnotes/20007e.pdf
27
+
28
+ Stefan Bieschewski <stb@acm.org>
29
+
30
+ $Id: decode_i586.s 1 2004-09-18 13:30:08Z thomas $
31
+ */
32
+
33
+ #include "mangle.h"
34
+
35
+ .data
36
+ #ifndef __APPLE__
37
+ .section .rodata
38
+ #endif
39
+ ALIGN8
40
+ .LC0:
41
+ .long 0x0,0x40dfffc0
42
+ ALIGN8
43
+ .LC1:
44
+ .long 0x0,0xc0e00000
45
+ ALIGN8
46
+ .text
47
+ /* int synth_1to1_i586_asm(real *bandPtr, int channel, unsigned char *out, unsigned char *buffs, int *bo, real *decwin); */
48
+ .globl ASM_NAME(synth_1to1_i586_asm)
49
+ ASM_NAME(synth_1to1_i586_asm):
50
+ subl $12,%esp
51
+ pushl %ebp
52
+ pushl %edi
53
+ pushl %esi
54
+ pushl %ebx
55
+ /* stack: 0=ebx, 4=esi, 8=edi, 12=ebp, 16,20,24=local, 28=back, 32=bandPtr, 36=channel, 40=out, 44=buffs, 48=bo, 52=decwin */
56
+ movl 32(%esp),%eax /* *bandPtr */
57
+ movl 40(%esp),%esi /* *out */
58
+ movl 48(%esp),%edi /* *bo */
59
+ movl (%edi),%ebp /* store bo value in ebp */
60
+ xorl %edi,%edi
61
+ cmpl %edi,36(%esp)
62
+ jne .L48 /* if(!channel) */
63
+ decl %ebp /* bo-- */
64
+ andl $15,%ebp /* bo &= 0xf */
65
+ movl 48(%esp), %edi /* *bo */
66
+ movl %ebp,(%edi) /* write back bo */
67
+ xorl %edi,%edi /* restore %edi to 0; it's used later */
68
+ movl 44(%esp),%ecx /* use buffs */
69
+ jmp .L49
70
+ .L48: /* if(channel) use buffs+2176 */
71
+ addl $2,%esi
72
+ movl 44(%esp),%ecx /* *buffs */
73
+ addl $2176,%ecx
74
+ .L49:
75
+ testl $1,%ebp
76
+ je .L50
77
+ movl %ecx,%ebx
78
+ movl %ebp,16(%esp)
79
+ pushl %eax
80
+ movl 20(%esp),%edx
81
+ leal (%ebx,%edx,4),%eax
82
+ pushl %eax
83
+ movl 24(%esp),%eax
84
+ incl %eax
85
+ andl $15,%eax
86
+ leal 1088(,%eax,4),%eax
87
+ addl %ebx,%eax
88
+ jmp .L74
89
+ .L50:
90
+ leal 1088(%ecx),%ebx
91
+ leal 1(%ebp),%edx
92
+ movl %edx,16(%esp)
93
+ pushl %eax
94
+ leal 1092(%ecx,%ebp,4),%eax
95
+ pushl %eax
96
+ leal (%ecx,%ebp,4),%eax
97
+ .L74:
98
+ pushl %eax
99
+ call ASM_NAME(dct64_i386)
100
+ addl $12,%esp
101
+ /* stack now back on track */
102
+ movl 16(%esp),%edx
103
+ leal 0(,%edx,4),%edx
104
+ movl 52(%esp),%eax /* decwin */
105
+ addl $64,%eax
106
+ movl %eax,%ecx
107
+ subl %edx,%ecx
108
+ movl $16,%ebp
109
+ .L55:
110
+ flds (%ecx)
111
+ fmuls (%ebx)
112
+ flds 4(%ecx)
113
+ fmuls 4(%ebx)
114
+ fxch %st(1)
115
+ flds 8(%ecx)
116
+ fmuls 8(%ebx)
117
+ fxch %st(2)
118
+ fsubrp %st,%st(1)
119
+ flds 12(%ecx)
120
+ fmuls 12(%ebx)
121
+ fxch %st(2)
122
+ faddp %st,%st(1)
123
+ flds 16(%ecx)
124
+ fmuls 16(%ebx)
125
+ fxch %st(2)
126
+ fsubrp %st,%st(1)
127
+ flds 20(%ecx)
128
+ fmuls 20(%ebx)
129
+ fxch %st(2)
130
+ faddp %st,%st(1)
131
+ flds 24(%ecx)
132
+ fmuls 24(%ebx)
133
+ fxch %st(2)
134
+ fsubrp %st,%st(1)
135
+ flds 28(%ecx)
136
+ fmuls 28(%ebx)
137
+ fxch %st(2)
138
+ faddp %st,%st(1)
139
+ flds 32(%ecx)
140
+ fmuls 32(%ebx)
141
+ fxch %st(2)
142
+ fsubrp %st,%st(1)
143
+ flds 36(%ecx)
144
+ fmuls 36(%ebx)
145
+ fxch %st(2)
146
+ faddp %st,%st(1)
147
+ flds 40(%ecx)
148
+ fmuls 40(%ebx)
149
+ fxch %st(2)
150
+ fsubrp %st,%st(1)
151
+ flds 44(%ecx)
152
+ fmuls 44(%ebx)
153
+ fxch %st(2)
154
+ faddp %st,%st(1)
155
+ flds 48(%ecx)
156
+ fmuls 48(%ebx)
157
+ fxch %st(2)
158
+ fsubrp %st,%st(1)
159
+ flds 52(%ecx)
160
+ fmuls 52(%ebx)
161
+ fxch %st(2)
162
+ faddp %st,%st(1)
163
+ flds 56(%ecx)
164
+ fmuls 56(%ebx)
165
+ fxch %st(2)
166
+ fsubrp %st,%st(1)
167
+ flds 60(%ecx)
168
+ fmuls 60(%ebx)
169
+ fxch %st(2)
170
+ subl $4,%esp
171
+ faddp %st,%st(1)
172
+ fxch %st(1)
173
+ fsubrp %st,%st(1)
174
+ fistpl (%esp)
175
+ popl %eax
176
+ cmpl $32767,%eax
177
+ jg 1f
178
+ cmpl $-32768,%eax
179
+ jl 2f
180
+ movw %ax,(%esi)
181
+ jmp 4f
182
+ 1: movw $32767,(%esi)
183
+ jmp 3f
184
+ 2: movw $-32768,(%esi)
185
+ 3: incl %edi
186
+ 4:
187
+ .L54:
188
+ addl $64,%ebx
189
+ subl $-128,%ecx
190
+ addl $4,%esi
191
+ decl %ebp
192
+ jnz .L55
193
+ flds (%ecx)
194
+ fmuls (%ebx)
195
+ flds 8(%ecx)
196
+ fmuls 8(%ebx)
197
+ flds 16(%ecx)
198
+ fmuls 16(%ebx)
199
+ fxch %st(2)
200
+ faddp %st,%st(1)
201
+ flds 24(%ecx)
202
+ fmuls 24(%ebx)
203
+ fxch %st(2)
204
+ faddp %st,%st(1)
205
+ flds 32(%ecx)
206
+ fmuls 32(%ebx)
207
+ fxch %st(2)
208
+ faddp %st,%st(1)
209
+ flds 40(%ecx)
210
+ fmuls 40(%ebx)
211
+ fxch %st(2)
212
+ faddp %st,%st(1)
213
+ flds 48(%ecx)
214
+ fmuls 48(%ebx)
215
+ fxch %st(2)
216
+ faddp %st,%st(1)
217
+ flds 56(%ecx)
218
+ fmuls 56(%ebx)
219
+ fxch %st(2)
220
+ subl $4,%esp
221
+ faddp %st,%st(1)
222
+ fxch %st(1)
223
+ faddp %st,%st(1)
224
+ fistpl (%esp)
225
+ popl %eax
226
+ cmpl $32767,%eax
227
+ jg 1f
228
+ cmpl $-32768,%eax
229
+ jl 2f
230
+ movw %ax,(%esi)
231
+ jmp 4f
232
+ 1: movw $32767,(%esi)
233
+ jmp 3f
234
+ 2: movw $-32768,(%esi)
235
+ 3: incl %edi
236
+ 4:
237
+ .L62:
238
+ addl $-64,%ebx
239
+ addl $4,%esi
240
+ movl 16(%esp),%edx
241
+ leal -128(%ecx,%edx,8),%ecx
242
+ movl $15,%ebp
243
+ .L68:
244
+ flds -4(%ecx)
245
+ fchs
246
+ fmuls (%ebx)
247
+ flds -8(%ecx)
248
+ fmuls 4(%ebx)
249
+ fxch %st(1)
250
+ flds -12(%ecx)
251
+ fmuls 8(%ebx)
252
+ fxch %st(2)
253
+ fsubrp %st,%st(1)
254
+ flds -16(%ecx)
255
+ fmuls 12(%ebx)
256
+ fxch %st(2)
257
+ fsubrp %st,%st(1)
258
+ flds -20(%ecx)
259
+ fmuls 16(%ebx)
260
+ fxch %st(2)
261
+ fsubrp %st,%st(1)
262
+ flds -24(%ecx)
263
+ fmuls 20(%ebx)
264
+ fxch %st(2)
265
+ fsubrp %st,%st(1)
266
+ flds -28(%ecx)
267
+ fmuls 24(%ebx)
268
+ fxch %st(2)
269
+ fsubrp %st,%st(1)
270
+ flds -32(%ecx)
271
+ fmuls 28(%ebx)
272
+ fxch %st(2)
273
+ fsubrp %st,%st(1)
274
+ flds -36(%ecx)
275
+ fmuls 32(%ebx)
276
+ fxch %st(2)
277
+ fsubrp %st,%st(1)
278
+ flds -40(%ecx)
279
+ fmuls 36(%ebx)
280
+ fxch %st(2)
281
+ fsubrp %st,%st(1)
282
+ flds -44(%ecx)
283
+ fmuls 40(%ebx)
284
+ fxch %st(2)
285
+ fsubrp %st,%st(1)
286
+ flds -48(%ecx)
287
+ fmuls 44(%ebx)
288
+ fxch %st(2)
289
+ fsubrp %st,%st(1)
290
+ flds -52(%ecx)
291
+ fmuls 48(%ebx)
292
+ fxch %st(2)
293
+ fsubrp %st,%st(1)
294
+ flds -56(%ecx)
295
+ fmuls 52(%ebx)
296
+ fxch %st(2)
297
+ fsubrp %st,%st(1)
298
+ flds -60(%ecx)
299
+ fmuls 56(%ebx)
300
+ fxch %st(2)
301
+ fsubrp %st,%st(1)
302
+ flds (%ecx)
303
+ fmuls 60(%ebx)
304
+ fxch %st(2)
305
+ subl $4,%esp
306
+ fsubrp %st,%st(1)
307
+ fxch %st(1)
308
+ fsubrp %st,%st(1)
309
+ fistpl (%esp)
310
+ popl %eax
311
+ cmpl $32767,%eax
312
+ jg 1f
313
+ cmpl $-32768,%eax
314
+ jl 2f
315
+ movw %ax,(%esi)
316
+ jmp 4f
317
+ 1: movw $32767,(%esi)
318
+ jmp 3f
319
+ 2: movw $-32768,(%esi)
320
+ 3: incl %edi
321
+ 4:
322
+ .L67:
323
+ addl $-64,%ebx
324
+ addl $-128,%ecx
325
+ addl $4,%esi
326
+ decl %ebp
327
+ jnz .L68
328
+ movl %edi,%eax
329
+ popl %ebx
330
+ popl %esi
331
+ popl %edi
332
+ popl %ebp
333
+ addl $12,%esp
334
+ ret
335
+
336
+ NONEXEC_STACK