gosu 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- data/Gosu/Version.hpp +2 -2
- data/GosuImpl/AudioFmod.cpp +7 -1
- data/GosuImpl/RubyGosuStub.mm +4 -1
- data/GosuImpl/RubyGosu_wrap.cxx +2 -2
- data/GosuImpl/TimingUnix.cpp +4 -1
- data/GosuImpl/TimingWin.cpp +31 -28
- data/GosuImpl/WindowWin.cpp +4 -0
- data/Rakefile +12 -18
- data/examples/ChipmunkIntegration.rb +1 -1
- data/examples/OpenGLIntegration.rb +1 -1
- data/examples/RMagickIntegration.rb +1 -1
- data/examples/Tutorial.cpp +2 -2
- data/examples/Tutorial.rb +1 -1
- data/lib/gosu/patches.rb +2 -2
- data/reference/cpp/_version_8hpp.html +4 -4
- data/reference/cpp/_version_8hpp_source.html +2 -2
- data/reference/rdoc/classes/Gosu.html +10 -10
- data/reference/rdoc/classes/Gosu/Color.html +3 -3
- data/reference/rdoc/classes/Gosu/Font.html +5 -5
- data/reference/rdoc/classes/Gosu/Image.html +9 -9
- data/reference/rdoc/classes/Gosu/Sample.html +3 -3
- data/reference/rdoc/classes/Gosu/SampleInstance.html +5 -5
- data/reference/rdoc/classes/Gosu/Song.html +7 -7
- data/reference/rdoc/classes/Gosu/TextInput.html +1 -1
- data/reference/rdoc/classes/Gosu/Window.html +17 -17
- data/reference/rdoc/classes/Numeric.html +2 -2
- data/reference/rdoc/created.rid +1 -1
- metadata +2 -912
- data/dependencies/libogg/AUTHORS +0 -4
- data/dependencies/libogg/CHANGES +0 -33
- data/dependencies/libogg/COPYING +0 -28
- data/dependencies/libogg/Makefile.am +0 -32
- data/dependencies/libogg/Makefile.in +0 -713
- data/dependencies/libogg/README +0 -103
- data/dependencies/libogg/aclocal.m4 +0 -6807
- data/dependencies/libogg/compile +0 -142
- data/dependencies/libogg/config.guess +0 -1465
- data/dependencies/libogg/config.h.in +0 -70
- data/dependencies/libogg/config.sub +0 -1569
- data/dependencies/libogg/configure +0 -23018
- data/dependencies/libogg/configure.in +0 -301
- data/dependencies/libogg/debian/changelog +0 -68
- data/dependencies/libogg/debian/control +0 -22
- data/dependencies/libogg/debian/copyright +0 -37
- data/dependencies/libogg/debian/libogg-dev.docs +0 -1
- data/dependencies/libogg/debian/libogg-dev.install +0 -8
- data/dependencies/libogg/debian/libogg0.README.Debian +0 -6
- data/dependencies/libogg/debian/libogg0.install +0 -1
- data/dependencies/libogg/debian/rules +0 -154
- data/dependencies/libogg/debian/watch +0 -3
- data/dependencies/libogg/depcomp +0 -529
- data/dependencies/libogg/doc/Makefile.am +0 -11
- data/dependencies/libogg/doc/Makefile.in +0 -518
- data/dependencies/libogg/doc/framing.html +0 -431
- data/dependencies/libogg/doc/index.html +0 -104
- data/dependencies/libogg/doc/libogg/Makefile.am +0 -28
- data/dependencies/libogg/doc/libogg/Makefile.in +0 -378
- data/dependencies/libogg/doc/libogg/bitpacking.html +0 -99
- data/dependencies/libogg/doc/libogg/datastructures.html +0 -59
- data/dependencies/libogg/doc/libogg/decoding.html +0 -100
- data/dependencies/libogg/doc/libogg/encoding.html +0 -64
- data/dependencies/libogg/doc/libogg/general.html +0 -105
- data/dependencies/libogg/doc/libogg/index.html +0 -39
- data/dependencies/libogg/doc/libogg/ogg_packet.html +0 -75
- data/dependencies/libogg/doc/libogg/ogg_packet_clear.html +0 -62
- data/dependencies/libogg/doc/libogg/ogg_page.html +0 -74
- data/dependencies/libogg/doc/libogg/ogg_page_bos.html +0 -65
- data/dependencies/libogg/doc/libogg/ogg_page_checksum_set.html +0 -62
- data/dependencies/libogg/doc/libogg/ogg_page_continued.html +0 -64
- data/dependencies/libogg/doc/libogg/ogg_page_eos.html +0 -65
- data/dependencies/libogg/doc/libogg/ogg_page_granulepos.html +0 -65
- data/dependencies/libogg/doc/libogg/ogg_page_packets.html +0 -75
- data/dependencies/libogg/doc/libogg/ogg_page_pageno.html +0 -63
- data/dependencies/libogg/doc/libogg/ogg_page_serialno.html +0 -63
- data/dependencies/libogg/doc/libogg/ogg_page_version.html +0 -63
- data/dependencies/libogg/doc/libogg/ogg_stream_clear.html +0 -61
- data/dependencies/libogg/doc/libogg/ogg_stream_destroy.html +0 -62
- data/dependencies/libogg/doc/libogg/ogg_stream_eos.html +0 -62
- data/dependencies/libogg/doc/libogg/ogg_stream_flush.html +0 -67
- data/dependencies/libogg/doc/libogg/ogg_stream_init.html +0 -66
- data/dependencies/libogg/doc/libogg/ogg_stream_packetin.html +0 -65
- data/dependencies/libogg/doc/libogg/ogg_stream_packetout.html +0 -71
- data/dependencies/libogg/doc/libogg/ogg_stream_packetpeek.html +0 -85
- data/dependencies/libogg/doc/libogg/ogg_stream_pagein.html +0 -67
- data/dependencies/libogg/doc/libogg/ogg_stream_pageout.html +0 -66
- data/dependencies/libogg/doc/libogg/ogg_stream_reset.html +0 -61
- data/dependencies/libogg/doc/libogg/ogg_stream_reset_serialno.html +0 -67
- data/dependencies/libogg/doc/libogg/ogg_stream_state.html +0 -121
- data/dependencies/libogg/doc/libogg/ogg_sync_buffer.html +0 -67
- data/dependencies/libogg/doc/libogg/ogg_sync_clear.html +0 -62
- data/dependencies/libogg/doc/libogg/ogg_sync_destroy.html +0 -62
- data/dependencies/libogg/doc/libogg/ogg_sync_init.html +0 -63
- data/dependencies/libogg/doc/libogg/ogg_sync_pageout.html +0 -79
- data/dependencies/libogg/doc/libogg/ogg_sync_pageseek.html +0 -68
- data/dependencies/libogg/doc/libogg/ogg_sync_reset.html +0 -63
- data/dependencies/libogg/doc/libogg/ogg_sync_state.html +0 -67
- data/dependencies/libogg/doc/libogg/ogg_sync_wrote.html +0 -73
- data/dependencies/libogg/doc/libogg/oggpack_adv.html +0 -64
- data/dependencies/libogg/doc/libogg/oggpack_adv1.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_bits.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_buffer.html +0 -66
- data/dependencies/libogg/doc/libogg/oggpack_bytes.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_get_buffer.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_look.html +0 -66
- data/dependencies/libogg/doc/libogg/oggpack_look1.html +0 -63
- data/dependencies/libogg/doc/libogg/oggpack_read.html +0 -65
- data/dependencies/libogg/doc/libogg/oggpack_read1.html +0 -63
- data/dependencies/libogg/doc/libogg/oggpack_readinit.html +0 -64
- data/dependencies/libogg/doc/libogg/oggpack_reset.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_write.html +0 -68
- data/dependencies/libogg/doc/libogg/oggpack_writealign.html +0 -65
- data/dependencies/libogg/doc/libogg/oggpack_writeclear.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_writecopy.html +0 -69
- data/dependencies/libogg/doc/libogg/oggpack_writeinit.html +0 -62
- data/dependencies/libogg/doc/libogg/oggpack_writetrunc.html +0 -65
- data/dependencies/libogg/doc/libogg/overview.html +0 -44
- data/dependencies/libogg/doc/libogg/reference.html +0 -93
- data/dependencies/libogg/doc/libogg/style.css +0 -7
- data/dependencies/libogg/doc/libogg/vorbis_comment.html +0 -70
- data/dependencies/libogg/doc/libogg/vorbis_info.html +0 -80
- data/dependencies/libogg/doc/ogg-multiplex.html +0 -445
- data/dependencies/libogg/doc/oggstream.html +0 -234
- data/dependencies/libogg/doc/rfc3533.txt +0 -843
- data/dependencies/libogg/doc/rfc3534.txt +0 -339
- data/dependencies/libogg/doc/stream.png +0 -0
- data/dependencies/libogg/doc/vorbisword2.png +0 -0
- data/dependencies/libogg/doc/white-ogg.png +0 -0
- data/dependencies/libogg/doc/white-xifish.png +0 -0
- data/dependencies/libogg/include/Makefile.am +0 -3
- data/dependencies/libogg/include/Makefile.in +0 -481
- data/dependencies/libogg/include/ogg/Makefile.am +0 -6
- data/dependencies/libogg/include/ogg/Makefile.in +0 -428
- data/dependencies/libogg/include/ogg/config_types.h.in +0 -11
- data/dependencies/libogg/include/ogg/ogg.h +0 -202
- data/dependencies/libogg/include/ogg/os_types.h +0 -127
- data/dependencies/libogg/install-sh +0 -323
- data/dependencies/libogg/libogg.spec +0 -106
- data/dependencies/libogg/libogg.spec.in +0 -106
- data/dependencies/libogg/ltmain.sh +0 -6426
- data/dependencies/libogg/macos/compat/strdup.c +0 -21
- data/dependencies/libogg/macos/compat/sys/types.h +0 -1
- data/dependencies/libogg/macos/libogg.mcp +0 -0
- data/dependencies/libogg/macos/libogg.mcp.exp +0 -64
- data/dependencies/libogg/macosx/English.lproj/InfoPlist.strings +0 -0
- data/dependencies/libogg/macosx/Info.plist +0 -30
- data/dependencies/libogg/macosx/Ogg.xcodeproj/project.pbxproj +0 -303
- data/dependencies/libogg/macosx/Ogg_Prefix.pch +0 -5
- data/dependencies/libogg/missing +0 -357
- data/dependencies/libogg/ogg-uninstalled.pc.in +0 -14
- data/dependencies/libogg/ogg.m4 +0 -102
- data/dependencies/libogg/ogg.pc.in +0 -14
- data/dependencies/libogg/src/Makefile.am +0 -28
- data/dependencies/libogg/src/Makefile.in +0 -536
- data/dependencies/libogg/src/bitwise.c +0 -784
- data/dependencies/libogg/src/framing.c +0 -1800
- data/dependencies/libogg/win32/Makefile.am +0 -5
- data/dependencies/libogg/win32/Makefile.in +0 -327
- data/dependencies/libogg/win32/build_ogg_dynamic.bat +0 -18
- data/dependencies/libogg/win32/build_ogg_dynamic_debug.bat +0 -18
- data/dependencies/libogg/win32/build_ogg_static.bat +0 -18
- data/dependencies/libogg/win32/build_ogg_static_debug.bat +0 -18
- data/dependencies/libogg/win32/ogg.def +0 -78
- data/dependencies/libogg/win32/ogg.dsw +0 -41
- data/dependencies/libogg/win32/ogg_dynamic.dsp +0 -128
- data/dependencies/libogg/win32/ogg_static.dsp +0 -108
- data/dependencies/libpng/ANNOUNCE +0 -61
- data/dependencies/libpng/CHANGES +0 -2173
- data/dependencies/libpng/INSTALL +0 -199
- data/dependencies/libpng/KNOWNBUG +0 -22
- data/dependencies/libpng/LICENSE +0 -109
- data/dependencies/libpng/README +0 -264
- data/dependencies/libpng/TODO +0 -24
- data/dependencies/libpng/Y2KINFO +0 -55
- data/dependencies/libpng/configure +0 -13
- data/dependencies/libpng/contrib/gregbook/COPYING +0 -340
- data/dependencies/libpng/contrib/gregbook/LICENSE +0 -50
- data/dependencies/libpng/contrib/gregbook/Makefile.mingw32 +0 -130
- data/dependencies/libpng/contrib/gregbook/Makefile.sgi +0 -104
- data/dependencies/libpng/contrib/gregbook/Makefile.unx +0 -132
- data/dependencies/libpng/contrib/gregbook/Makefile.w32 +0 -113
- data/dependencies/libpng/contrib/gregbook/README +0 -186
- data/dependencies/libpng/contrib/gregbook/makevms.com +0 -132
- data/dependencies/libpng/contrib/gregbook/readpng.c +0 -304
- data/dependencies/libpng/contrib/gregbook/readpng.h +0 -88
- data/dependencies/libpng/contrib/gregbook/readpng2.c +0 -645
- data/dependencies/libpng/contrib/gregbook/readpng2.h +0 -121
- data/dependencies/libpng/contrib/gregbook/readppm.c +0 -179
- data/dependencies/libpng/contrib/gregbook/rpng-win.c +0 -684
- data/dependencies/libpng/contrib/gregbook/rpng-x.c +0 -904
- data/dependencies/libpng/contrib/gregbook/rpng2-win.c +0 -1225
- data/dependencies/libpng/contrib/gregbook/rpng2-x.c +0 -2127
- data/dependencies/libpng/contrib/gregbook/toucan.png +0 -0
- data/dependencies/libpng/contrib/gregbook/wpng.c +0 -853
- data/dependencies/libpng/contrib/gregbook/writepng.c +0 -392
- data/dependencies/libpng/contrib/gregbook/writepng.h +0 -133
- data/dependencies/libpng/contrib/pngminim/decoder/README +0 -6
- data/dependencies/libpng/contrib/pngminim/decoder/gather.sh +0 -8
- data/dependencies/libpng/contrib/pngminim/decoder/makefile.std +0 -44
- data/dependencies/libpng/contrib/pngminim/decoder/pngusr.h +0 -67
- data/dependencies/libpng/contrib/pngminim/encoder/README +0 -6
- data/dependencies/libpng/contrib/pngminim/encoder/dummy_inflate.c +0 -27
- data/dependencies/libpng/contrib/pngminim/encoder/gather.sh +0 -9
- data/dependencies/libpng/contrib/pngminim/encoder/makefile.std +0 -43
- data/dependencies/libpng/contrib/pngminim/encoder/pngusr.h +0 -66
- data/dependencies/libpng/contrib/pngminus/README +0 -153
- data/dependencies/libpng/contrib/pngminus/makefile.std +0 -65
- data/dependencies/libpng/contrib/pngminus/makefile.tc3 +0 -38
- data/dependencies/libpng/contrib/pngminus/makevms.com +0 -92
- data/dependencies/libpng/contrib/pngminus/png2pnm.bat +0 -41
- data/dependencies/libpng/contrib/pngminus/png2pnm.c +0 -430
- data/dependencies/libpng/contrib/pngminus/png2pnm.sh +0 -42
- data/dependencies/libpng/contrib/pngminus/pngminus.bat +0 -4
- data/dependencies/libpng/contrib/pngminus/pngminus.sh +0 -5
- data/dependencies/libpng/contrib/pngminus/pnm2png.bat +0 -41
- data/dependencies/libpng/contrib/pngminus/pnm2png.c +0 -533
- data/dependencies/libpng/contrib/pngminus/pnm2png.sh +0 -42
- data/dependencies/libpng/contrib/pngsuite/basn0g01.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn0g02.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn0g04.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn0g08.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn0g16.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn2c08.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn2c16.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn3p01.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn3p02.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn3p04.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn3p08.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn4a08.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn4a16.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn6a08.png +0 -0
- data/dependencies/libpng/contrib/pngsuite/basn6a16.png +0 -0
- data/dependencies/libpng/contrib/visupng/PngFile.c +0 -439
- data/dependencies/libpng/contrib/visupng/PngFile.h +0 -27
- data/dependencies/libpng/contrib/visupng/README.txt +0 -58
- data/dependencies/libpng/contrib/visupng/VisualPng.c +0 -961
- data/dependencies/libpng/contrib/visupng/VisualPng.dsp +0 -147
- data/dependencies/libpng/contrib/visupng/VisualPng.dsw +0 -29
- data/dependencies/libpng/contrib/visupng/VisualPng.ico +0 -0
- data/dependencies/libpng/contrib/visupng/VisualPng.png +0 -0
- data/dependencies/libpng/contrib/visupng/VisualPng.rc +0 -152
- data/dependencies/libpng/contrib/visupng/cexcept.h +0 -243
- data/dependencies/libpng/contrib/visupng/resource.h +0 -23
- data/dependencies/libpng/example.c +0 -814
- data/dependencies/libpng/libpng-1.2.29.txt +0 -2906
- data/dependencies/libpng/libpng.3 +0 -3680
- data/dependencies/libpng/libpngpf.3 +0 -274
- data/dependencies/libpng/png.5 +0 -74
- data/dependencies/libpng/png.c +0 -798
- data/dependencies/libpng/png.h +0 -3569
- data/dependencies/libpng/pngbar.jpg +0 -0
- data/dependencies/libpng/pngbar.png +0 -0
- data/dependencies/libpng/pngconf.h +0 -1481
- data/dependencies/libpng/pngerror.c +0 -343
- data/dependencies/libpng/pnggccrd.c +0 -103
- data/dependencies/libpng/pngget.c +0 -901
- data/dependencies/libpng/pngmem.c +0 -608
- data/dependencies/libpng/pngnow.png +0 -0
- data/dependencies/libpng/pngpread.c +0 -1598
- data/dependencies/libpng/pngread.c +0 -1479
- data/dependencies/libpng/pngrio.c +0 -167
- data/dependencies/libpng/pngrtran.c +0 -4292
- data/dependencies/libpng/pngrutil.c +0 -3183
- data/dependencies/libpng/pngset.c +0 -1268
- data/dependencies/libpng/pngtest.c +0 -1563
- data/dependencies/libpng/pngtest.png +0 -0
- data/dependencies/libpng/pngtrans.c +0 -662
- data/dependencies/libpng/pngvcrd.c +0 -1
- data/dependencies/libpng/pngwio.c +0 -234
- data/dependencies/libpng/pngwrite.c +0 -1532
- data/dependencies/libpng/pngwtran.c +0 -572
- data/dependencies/libpng/pngwutil.c +0 -2802
- data/dependencies/libpng/projects/beos/x86-shared.proj +0 -0
- data/dependencies/libpng/projects/beos/x86-shared.txt +0 -22
- data/dependencies/libpng/projects/beos/x86-static.proj +0 -0
- data/dependencies/libpng/projects/beos/x86-static.txt +0 -22
- data/dependencies/libpng/projects/cbuilder5/libpng.bpf +0 -22
- data/dependencies/libpng/projects/cbuilder5/libpng.bpg +0 -25
- data/dependencies/libpng/projects/cbuilder5/libpng.bpr +0 -157
- data/dependencies/libpng/projects/cbuilder5/libpng.cpp +0 -29
- data/dependencies/libpng/projects/cbuilder5/libpng.readme.txt +0 -25
- data/dependencies/libpng/projects/cbuilder5/libpngstat.bpf +0 -22
- data/dependencies/libpng/projects/cbuilder5/libpngstat.bpr +0 -109
- data/dependencies/libpng/projects/cbuilder5/zlib.readme.txt +0 -14
- data/dependencies/libpng/projects/netware.txt +0 -6
- data/dependencies/libpng/projects/visualc6/README.txt +0 -57
- data/dependencies/libpng/projects/visualc6/libpng.dsp +0 -472
- data/dependencies/libpng/projects/visualc6/libpng.dsw +0 -59
- data/dependencies/libpng/projects/visualc6/pngtest.dsp +0 -314
- data/dependencies/libpng/projects/visualc71/PRJ0041.mak +0 -21
- data/dependencies/libpng/projects/visualc71/README.txt +0 -57
- data/dependencies/libpng/projects/visualc71/README_zlib.txt +0 -44
- data/dependencies/libpng/projects/visualc71/libpng.sln +0 -88
- data/dependencies/libpng/projects/visualc71/libpng.vcproj +0 -702
- data/dependencies/libpng/projects/visualc71/pngtest.vcproj +0 -459
- data/dependencies/libpng/projects/visualc71/zlib.vcproj +0 -670
- data/dependencies/libpng/projects/wince.txt +0 -6
- data/dependencies/libpng/scripts/CMakeLists.txt +0 -210
- data/dependencies/libpng/scripts/SCOPTIONS.ppc +0 -7
- data/dependencies/libpng/scripts/descrip.mms +0 -52
- data/dependencies/libpng/scripts/libpng-config-body.in +0 -96
- data/dependencies/libpng/scripts/libpng-config-head.in +0 -21
- data/dependencies/libpng/scripts/libpng-config.in +0 -124
- data/dependencies/libpng/scripts/libpng.icc +0 -44
- data/dependencies/libpng/scripts/libpng.pc-configure.in +0 -10
- data/dependencies/libpng/scripts/libpng.pc.in +0 -10
- data/dependencies/libpng/scripts/makefile.32sunu +0 -254
- data/dependencies/libpng/scripts/makefile.64sunu +0 -254
- data/dependencies/libpng/scripts/makefile.acorn +0 -51
- data/dependencies/libpng/scripts/makefile.aix +0 -113
- data/dependencies/libpng/scripts/makefile.amiga +0 -48
- data/dependencies/libpng/scripts/makefile.atari +0 -51
- data/dependencies/libpng/scripts/makefile.bc32 +0 -152
- data/dependencies/libpng/scripts/makefile.beos +0 -226
- data/dependencies/libpng/scripts/makefile.bor +0 -162
- data/dependencies/libpng/scripts/makefile.cygwin +0 -299
- data/dependencies/libpng/scripts/makefile.darwin +0 -234
- data/dependencies/libpng/scripts/makefile.dec +0 -214
- data/dependencies/libpng/scripts/makefile.dj2 +0 -55
- data/dependencies/libpng/scripts/makefile.elf +0 -275
- data/dependencies/libpng/scripts/makefile.freebsd +0 -48
- data/dependencies/libpng/scripts/makefile.gcc +0 -79
- data/dependencies/libpng/scripts/makefile.gcmmx +0 -271
- data/dependencies/libpng/scripts/makefile.hp64 +0 -235
- data/dependencies/libpng/scripts/makefile.hpgcc +0 -245
- data/dependencies/libpng/scripts/makefile.hpux +0 -232
- data/dependencies/libpng/scripts/makefile.ibmc +0 -71
- data/dependencies/libpng/scripts/makefile.intel +0 -102
- data/dependencies/libpng/scripts/makefile.knr +0 -99
- data/dependencies/libpng/scripts/makefile.linux +0 -249
- data/dependencies/libpng/scripts/makefile.mingw +0 -289
- data/dependencies/libpng/scripts/makefile.mips +0 -83
- data/dependencies/libpng/scripts/makefile.msc +0 -86
- data/dependencies/libpng/scripts/makefile.ne12bsd +0 -45
- data/dependencies/libpng/scripts/makefile.netbsd +0 -45
- data/dependencies/libpng/scripts/makefile.nommx +0 -252
- data/dependencies/libpng/scripts/makefile.openbsd +0 -73
- data/dependencies/libpng/scripts/makefile.os2 +0 -69
- data/dependencies/libpng/scripts/makefile.sco +0 -229
- data/dependencies/libpng/scripts/makefile.sggcc +0 -242
- data/dependencies/libpng/scripts/makefile.sgi +0 -245
- data/dependencies/libpng/scripts/makefile.so9 +0 -251
- data/dependencies/libpng/scripts/makefile.solaris +0 -249
- data/dependencies/libpng/scripts/makefile.solaris-x86 +0 -248
- data/dependencies/libpng/scripts/makefile.std +0 -92
- data/dependencies/libpng/scripts/makefile.sunos +0 -97
- data/dependencies/libpng/scripts/makefile.tc3 +0 -89
- data/dependencies/libpng/scripts/makefile.vcawin32 +0 -99
- data/dependencies/libpng/scripts/makefile.vcwin32 +0 -99
- data/dependencies/libpng/scripts/makefile.watcom +0 -109
- data/dependencies/libpng/scripts/makevms.com +0 -144
- data/dependencies/libpng/scripts/pngos2.def +0 -257
- data/dependencies/libpng/scripts/pngw32.def +0 -238
- data/dependencies/libpng/scripts/pngw32.rc +0 -112
- data/dependencies/libpng/scripts/smakefile.ppc +0 -30
- data/dependencies/libvorbis/AUTHORS +0 -3
- data/dependencies/libvorbis/CHANGES +0 -48
- data/dependencies/libvorbis/COPYING +0 -28
- data/dependencies/libvorbis/Makefile.am +0 -41
- data/dependencies/libvorbis/Makefile.in +0 -759
- data/dependencies/libvorbis/README +0 -132
- data/dependencies/libvorbis/acinclude.m4 +0 -161
- data/dependencies/libvorbis/aclocal.m4 +0 -7273
- data/dependencies/libvorbis/autogen.sh +0 -127
- data/dependencies/libvorbis/config.guess +0 -1500
- data/dependencies/libvorbis/config.h.in +0 -78
- data/dependencies/libvorbis/config.sub +0 -1616
- data/dependencies/libvorbis/configure +0 -22114
- data/dependencies/libvorbis/configure.in +0 -246
- data/dependencies/libvorbis/depcomp +0 -584
- data/dependencies/libvorbis/doc/Makefile +0 -665
- data/dependencies/libvorbis/doc/Makefile.am +0 -137
- data/dependencies/libvorbis/doc/Makefile.in +0 -665
- data/dependencies/libvorbis/doc/Vorbis_I_spec.html +0 -2292
- data/dependencies/libvorbis/doc/Vorbis_I_spec.pdf +0 -0
- data/dependencies/libvorbis/doc/components.png +0 -0
- data/dependencies/libvorbis/doc/draft-ietf-avt-rtp-vorbis-06.txt +0 -1401
- data/dependencies/libvorbis/doc/draft-ietf-avt-rtp-vorbis-06.xml +0 -1388
- data/dependencies/libvorbis/doc/eightphase.png +0 -0
- data/dependencies/libvorbis/doc/evenlsp.png +0 -0
- data/dependencies/libvorbis/doc/fish_xiph_org.png +0 -0
- data/dependencies/libvorbis/doc/floor1-1.png +0 -0
- data/dependencies/libvorbis/doc/floor1-2.png +0 -0
- data/dependencies/libvorbis/doc/floor1-3.png +0 -0
- data/dependencies/libvorbis/doc/floor1-4.png +0 -0
- data/dependencies/libvorbis/doc/floor1_inverse_dB_table.html +0 -154
- data/dependencies/libvorbis/doc/floorval.png +0 -0
- data/dependencies/libvorbis/doc/fourphase.png +0 -0
- data/dependencies/libvorbis/doc/framing.html +0 -431
- data/dependencies/libvorbis/doc/helper.html +0 -239
- data/dependencies/libvorbis/doc/hufftree-under.png +0 -0
- data/dependencies/libvorbis/doc/hufftree.png +0 -0
- data/dependencies/libvorbis/doc/index.html +0 -114
- data/dependencies/libvorbis/doc/lspmap.png +0 -0
- data/dependencies/libvorbis/doc/oddlsp.png +0 -0
- data/dependencies/libvorbis/doc/oggstream.html +0 -234
- data/dependencies/libvorbis/doc/programming.html +0 -554
- data/dependencies/libvorbis/doc/residue-pack.png +0 -0
- data/dependencies/libvorbis/doc/residue2.png +0 -0
- data/dependencies/libvorbis/doc/squarepolar.png +0 -0
- data/dependencies/libvorbis/doc/stereo.html +0 -418
- data/dependencies/libvorbis/doc/stream.png +0 -0
- data/dependencies/libvorbis/doc/v-comment.html +0 -285
- data/dependencies/libvorbis/doc/vorbis-clip.txt +0 -139
- data/dependencies/libvorbis/doc/vorbis-errors.txt +0 -103
- data/dependencies/libvorbis/doc/vorbis-fidelity.html +0 -180
- data/dependencies/libvorbis/doc/vorbis.html +0 -234
- data/dependencies/libvorbis/doc/vorbisenc/Makefile +0 -382
- data/dependencies/libvorbis/doc/vorbisenc/Makefile.am +0 -9
- data/dependencies/libvorbis/doc/vorbisenc/Makefile.in +0 -382
- data/dependencies/libvorbis/doc/vorbisenc/changes.html +0 -104
- data/dependencies/libvorbis/doc/vorbisenc/examples.html +0 -133
- data/dependencies/libvorbis/doc/vorbisenc/index.html +0 -40
- data/dependencies/libvorbis/doc/vorbisenc/ov_ectl_ratemanage2_arg.html +0 -92
- data/dependencies/libvorbis/doc/vorbisenc/ov_ectl_ratemanage_arg.html +0 -92
- data/dependencies/libvorbis/doc/vorbisenc/overview.html +0 -382
- data/dependencies/libvorbis/doc/vorbisenc/reference.html +0 -48
- data/dependencies/libvorbis/doc/vorbisenc/style.css +0 -7
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_encode_ctl.html +0 -169
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_encode_init.html +0 -88
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_encode_init_vbr.html +0 -81
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_encode_setup_init.html +0 -88
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_encode_setup_managed.html +0 -102
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_encode_setup_vbr.html +0 -90
- data/dependencies/libvorbis/doc/vorbisenc/vorbis_info.html +0 -81
- data/dependencies/libvorbis/doc/vorbisfile/Makefile +0 -396
- data/dependencies/libvorbis/doc/vorbisfile/Makefile.am +0 -23
- data/dependencies/libvorbis/doc/vorbisfile/Makefile.in +0 -396
- data/dependencies/libvorbis/doc/vorbisfile/OggVorbis_File.html +0 -137
- data/dependencies/libvorbis/doc/vorbisfile/callbacks.html +0 -121
- data/dependencies/libvorbis/doc/vorbisfile/chaining_example_c.html +0 -90
- data/dependencies/libvorbis/doc/vorbisfile/chainingexample.html +0 -175
- data/dependencies/libvorbis/doc/vorbisfile/crosslap.html +0 -121
- data/dependencies/libvorbis/doc/vorbisfile/datastructures.html +0 -61
- data/dependencies/libvorbis/doc/vorbisfile/decoding.html +0 -87
- data/dependencies/libvorbis/doc/vorbisfile/example.html +0 -208
- data/dependencies/libvorbis/doc/vorbisfile/exampleindex.html +0 -39
- data/dependencies/libvorbis/doc/vorbisfile/fileinfo.html +0 -95
- data/dependencies/libvorbis/doc/vorbisfile/index.html +0 -49
- data/dependencies/libvorbis/doc/vorbisfile/initialization.html +0 -118
- data/dependencies/libvorbis/doc/vorbisfile/ov_bitrate.html +0 -72
- data/dependencies/libvorbis/doc/vorbisfile/ov_bitrate_instant.html +0 -65
- data/dependencies/libvorbis/doc/vorbisfile/ov_callbacks.html +0 -117
- data/dependencies/libvorbis/doc/vorbisfile/ov_clear.html +0 -64
- data/dependencies/libvorbis/doc/vorbisfile/ov_comment.html +0 -66
- data/dependencies/libvorbis/doc/vorbisfile/ov_crosslap.html +0 -100
- data/dependencies/libvorbis/doc/vorbisfile/ov_fopen.html +0 -124
- data/dependencies/libvorbis/doc/vorbisfile/ov_info.html +0 -64
- data/dependencies/libvorbis/doc/vorbisfile/ov_open.html +0 -183
- data/dependencies/libvorbis/doc/vorbisfile/ov_open_callbacks.html +0 -147
- data/dependencies/libvorbis/doc/vorbisfile/ov_pcm_seek.html +0 -83
- data/dependencies/libvorbis/doc/vorbisfile/ov_pcm_seek_lap.html +0 -103
- data/dependencies/libvorbis/doc/vorbisfile/ov_pcm_seek_page.html +0 -84
- data/dependencies/libvorbis/doc/vorbisfile/ov_pcm_seek_page_lap.html +0 -112
- data/dependencies/libvorbis/doc/vorbisfile/ov_pcm_tell.html +0 -63
- data/dependencies/libvorbis/doc/vorbisfile/ov_pcm_total.html +0 -67
- data/dependencies/libvorbis/doc/vorbisfile/ov_raw_seek.html +0 -83
- data/dependencies/libvorbis/doc/vorbisfile/ov_raw_seek_lap.html +0 -110
- data/dependencies/libvorbis/doc/vorbisfile/ov_raw_tell.html +0 -65
- data/dependencies/libvorbis/doc/vorbisfile/ov_raw_total.html +0 -68
- data/dependencies/libvorbis/doc/vorbisfile/ov_read.html +0 -123
- data/dependencies/libvorbis/doc/vorbisfile/ov_read_float.html +0 -101
- data/dependencies/libvorbis/doc/vorbisfile/ov_seekable.html +0 -63
- data/dependencies/libvorbis/doc/vorbisfile/ov_serialnumber.html +0 -67
- data/dependencies/libvorbis/doc/vorbisfile/ov_streams.html +0 -64
- data/dependencies/libvorbis/doc/vorbisfile/ov_test.html +0 -101
- data/dependencies/libvorbis/doc/vorbisfile/ov_test_callbacks.html +0 -111
- data/dependencies/libvorbis/doc/vorbisfile/ov_test_open.html +0 -82
- data/dependencies/libvorbis/doc/vorbisfile/ov_time_seek.html +0 -82
- data/dependencies/libvorbis/doc/vorbisfile/ov_time_seek_lap.html +0 -105
- data/dependencies/libvorbis/doc/vorbisfile/ov_time_seek_page.html +0 -83
- data/dependencies/libvorbis/doc/vorbisfile/ov_time_seek_page_lap.html +0 -112
- data/dependencies/libvorbis/doc/vorbisfile/ov_time_tell.html +0 -63
- data/dependencies/libvorbis/doc/vorbisfile/ov_time_total.html +0 -67
- data/dependencies/libvorbis/doc/vorbisfile/overview.html +0 -61
- data/dependencies/libvorbis/doc/vorbisfile/reference.html +0 -83
- data/dependencies/libvorbis/doc/vorbisfile/return.html +0 -77
- data/dependencies/libvorbis/doc/vorbisfile/seekexample.html +0 -152
- data/dependencies/libvorbis/doc/vorbisfile/seeking.html +0 -107
- data/dependencies/libvorbis/doc/vorbisfile/seeking_example_c.html +0 -86
- data/dependencies/libvorbis/doc/vorbisfile/seeking_test_c.html +0 -86
- data/dependencies/libvorbis/doc/vorbisfile/seekingexample.html +0 -203
- data/dependencies/libvorbis/doc/vorbisfile/style.css +0 -7
- data/dependencies/libvorbis/doc/vorbisfile/threads.html +0 -50
- data/dependencies/libvorbis/doc/vorbisfile/vorbis_comment.html +0 -70
- data/dependencies/libvorbis/doc/vorbisfile/vorbis_info.html +0 -80
- data/dependencies/libvorbis/doc/vorbisfile/vorbisfile_example_c.html +0 -106
- data/dependencies/libvorbis/doc/vorbisword2.png +0 -0
- data/dependencies/libvorbis/doc/wait.png +0 -0
- data/dependencies/libvorbis/doc/white-ogg.png +0 -0
- data/dependencies/libvorbis/doc/white-xifish.png +0 -0
- data/dependencies/libvorbis/doc/window1.png +0 -0
- data/dependencies/libvorbis/doc/window2.png +0 -0
- data/dependencies/libvorbis/doc/xifish.pdf +0 -0
- data/dependencies/libvorbis/doc/xml/01-introduction.xml +0 -665
- data/dependencies/libvorbis/doc/xml/02-bitpacking.xml +0 -280
- data/dependencies/libvorbis/doc/xml/03-codebook.xml +0 -458
- data/dependencies/libvorbis/doc/xml/04-codec.xml +0 -711
- data/dependencies/libvorbis/doc/xml/05-comment.xml +0 -284
- data/dependencies/libvorbis/doc/xml/06-floor0.xml +0 -257
- data/dependencies/libvorbis/doc/xml/07-floor1.xml +0 -450
- data/dependencies/libvorbis/doc/xml/08-residue.xml +0 -492
- data/dependencies/libvorbis/doc/xml/09-helper.xml +0 -211
- data/dependencies/libvorbis/doc/xml/10-tables.xml +0 -94
- data/dependencies/libvorbis/doc/xml/TODO +0 -28
- data/dependencies/libvorbis/doc/xml/Vorbis_I_spec.xml +0 -30
- data/dependencies/libvorbis/doc/xml/a1-encapsulation_ogg.xml +0 -201
- data/dependencies/libvorbis/doc/xml/a2-encapsulation_rtp.xml +0 -31
- data/dependencies/libvorbis/doc/xml/footer.xml +0 -60
- data/dependencies/libvorbis/doc/xml/spec-common.xsl +0 -24
- data/dependencies/libvorbis/doc/xml/spec-fo.xsl +0 -16
- data/dependencies/libvorbis/doc/xml/spec-html.xsl +0 -5
- data/dependencies/libvorbis/examples/Makefile +0 -515
- data/dependencies/libvorbis/examples/Makefile.am +0 -28
- data/dependencies/libvorbis/examples/Makefile.in +0 -515
- data/dependencies/libvorbis/examples/chaining_example.c +0 -72
- data/dependencies/libvorbis/examples/decoder_example.c +0 -307
- data/dependencies/libvorbis/examples/encoder_example.c +0 -253
- data/dependencies/libvorbis/examples/frameview.pl +0 -630
- data/dependencies/libvorbis/examples/seeking_example.c +0 -256
- data/dependencies/libvorbis/examples/vorbisfile_example.c +0 -87
- data/dependencies/libvorbis/include/Makefile.am +0 -3
- data/dependencies/libvorbis/include/Makefile.in +0 -506
- data/dependencies/libvorbis/include/vorbis/Makefile.am +0 -7
- data/dependencies/libvorbis/include/vorbis/Makefile.in +0 -426
- data/dependencies/libvorbis/include/vorbis/codec.h +0 -241
- data/dependencies/libvorbis/include/vorbis/vorbisenc.h +0 -112
- data/dependencies/libvorbis/include/vorbis/vorbisfile.h +0 -183
- data/dependencies/libvorbis/install-sh +0 -507
- data/dependencies/libvorbis/lib/Makefile.am +0 -44
- data/dependencies/libvorbis/lib/Makefile.in +0 -706
- data/dependencies/libvorbis/lib/analysis.c +0 -121
- data/dependencies/libvorbis/lib/backends.h +0 -146
- 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 -993
- data/dependencies/libvorbis/lib/books/Makefile.am +0 -3
- data/dependencies/libvorbis/lib/books/Makefile.in +0 -506
- data/dependencies/libvorbis/lib/books/coupled/Makefile.am +0 -3
- data/dependencies/libvorbis/lib/books/coupled/Makefile.in +0 -347
- data/dependencies/libvorbis/lib/books/coupled/res_books_stereo.h +0 -20681
- data/dependencies/libvorbis/lib/books/floor/Makefile.am +0 -3
- data/dependencies/libvorbis/lib/books/floor/Makefile.in +0 -347
- data/dependencies/libvorbis/lib/books/floor/floor_books.h +0 -1838
- data/dependencies/libvorbis/lib/books/uncoupled/Makefile.am +0 -3
- data/dependencies/libvorbis/lib/books/uncoupled/Makefile.in +0 -347
- data/dependencies/libvorbis/lib/books/uncoupled/res_books_uncoupled.h +0 -11517
- data/dependencies/libvorbis/lib/codebook.c +0 -634
- data/dependencies/libvorbis/lib/codebook.h +0 -160
- data/dependencies/libvorbis/lib/codec_internal.h +0 -137
- data/dependencies/libvorbis/lib/envelope.c +0 -382
- data/dependencies/libvorbis/lib/envelope.h +0 -81
- data/dependencies/libvorbis/lib/floor0.c +0 -223
- data/dependencies/libvorbis/lib/floor1.c +0 -1094
- data/dependencies/libvorbis/lib/highlevel.h +0 -57
- data/dependencies/libvorbis/lib/info.c +0 -644
- data/dependencies/libvorbis/lib/lookup.c +0 -94
- data/dependencies/libvorbis/lib/lookup.h +0 -32
- data/dependencies/libvorbis/lib/lookup_data.h +0 -189
- data/dependencies/libvorbis/lib/lookups.pl +0 -142
- data/dependencies/libvorbis/lib/lpc.c +0 -149
- data/dependencies/libvorbis/lib/lpc.h +0 -29
- data/dependencies/libvorbis/lib/lsp.c +0 -455
- data/dependencies/libvorbis/lib/lsp.h +0 -28
- data/dependencies/libvorbis/lib/mapping0.c +0 -844
- data/dependencies/libvorbis/lib/masking.h +0 -785
- data/dependencies/libvorbis/lib/mdct.c +0 -564
- data/dependencies/libvorbis/lib/mdct.h +0 -83
- data/dependencies/libvorbis/lib/misc.h +0 -52
- data/dependencies/libvorbis/lib/modes/Makefile.am +0 -6
- data/dependencies/libvorbis/lib/modes/Makefile.in +0 -351
- data/dependencies/libvorbis/lib/modes/floor_all.h +0 -248
- data/dependencies/libvorbis/lib/modes/psych_11.h +0 -51
- data/dependencies/libvorbis/lib/modes/psych_16.h +0 -136
- data/dependencies/libvorbis/lib/modes/psych_44.h +0 -666
- data/dependencies/libvorbis/lib/modes/psych_8.h +0 -102
- data/dependencies/libvorbis/lib/modes/residue_16.h +0 -163
- data/dependencies/libvorbis/lib/modes/residue_44.h +0 -294
- 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 -141
- data/dependencies/libvorbis/lib/modes/setup_16.h +0 -149
- 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 -107
- data/dependencies/libvorbis/lib/modes/setup_44u.h +0 -74
- data/dependencies/libvorbis/lib/modes/setup_8.h +0 -146
- data/dependencies/libvorbis/lib/modes/setup_X.h +0 -226
- data/dependencies/libvorbis/lib/os.h +0 -156
- data/dependencies/libvorbis/lib/psy.c +0 -1227
- data/dependencies/libvorbis/lib/psy.h +0 -186
- data/dependencies/libvorbis/lib/psytune.c +0 -524
- data/dependencies/libvorbis/lib/registry.c +0 -46
- data/dependencies/libvorbis/lib/registry.h +0 -32
- data/dependencies/libvorbis/lib/res0.c +0 -919
- data/dependencies/libvorbis/lib/scales.h +0 -86
- data/dependencies/libvorbis/lib/sharedbook.c +0 -735
- data/dependencies/libvorbis/lib/smallft.c +0 -1255
- data/dependencies/libvorbis/lib/smallft.h +0 -34
- data/dependencies/libvorbis/lib/synthesis.c +0 -170
- data/dependencies/libvorbis/lib/tone.c +0 -54
- data/dependencies/libvorbis/lib/vorbisenc.c +0 -1184
- data/dependencies/libvorbis/lib/vorbisfile.c +0 -2194
- data/dependencies/libvorbis/lib/window.c +0 -2136
- data/dependencies/libvorbis/lib/window.h +0 -26
- data/dependencies/libvorbis/libvorbis.spec +0 -118
- data/dependencies/libvorbis/libvorbis.spec.in +0 -118
- data/dependencies/libvorbis/ltmain.sh +0 -6871
- data/dependencies/libvorbis/macos/compat/strdup.c +0 -21
- data/dependencies/libvorbis/macos/compat/sys/types.h +0 -1
- data/dependencies/libvorbis/macos/decoder_example.mcp +0 -0
- data/dependencies/libvorbis/macos/encoder_example.mcp +0 -0
- data/dependencies/libvorbis/macos/libvorbis.mcp +0 -0
- data/dependencies/libvorbis/macos/libvorbis.mcp.exp +0 -45
- data/dependencies/libvorbis/macos/libvorbisenc.mcp +0 -0
- data/dependencies/libvorbis/macos/libvorbisenc.mcp.exp +0 -8
- data/dependencies/libvorbis/macos/libvorbisfile.mcp +0 -0
- data/dependencies/libvorbis/macos/libvorbisfile.mcp.exp +0 -45
- data/dependencies/libvorbis/macos/vorbis.mcp +0 -0
- data/dependencies/libvorbis/macosx/English.lproj/InfoPlist.strings +0 -0
- data/dependencies/libvorbis/macosx/Info.plist +0 -30
- data/dependencies/libvorbis/macosx/Vorbis.xcodeproj/project.pbxproj +0 -893
- data/dependencies/libvorbis/missing +0 -367
- data/dependencies/libvorbis/symbian/bld.inf +0 -35
- data/dependencies/libvorbis/symbian/config.h +0 -54
- data/dependencies/libvorbis/symbian/vorbis.mmp +0 -43
- data/dependencies/libvorbis/todo.txt +0 -22
- data/dependencies/libvorbis/vorbis-uninstalled.pc.in +0 -14
- data/dependencies/libvorbis/vorbis.m4 +0 -122
- data/dependencies/libvorbis/vorbis.pc.in +0 -14
- data/dependencies/libvorbis/vorbisenc-uninstalled.pc.in +0 -14
- data/dependencies/libvorbis/vorbisenc.pc.in +0 -14
- data/dependencies/libvorbis/vorbisfile-uninstalled.pc.in +0 -14
- data/dependencies/libvorbis/vorbisfile.pc.in +0 -14
- data/dependencies/libvorbis/vq/16.vqs +0 -77
- data/dependencies/libvorbis/vq/16u.vqs +0 -71
- data/dependencies/libvorbis/vq/44c-1.vqs +0 -63
- data/dependencies/libvorbis/vq/44c0.vqs +0 -65
- data/dependencies/libvorbis/vq/44c1.vqs +0 -66
- data/dependencies/libvorbis/vq/44c2.vqs +0 -37
- data/dependencies/libvorbis/vq/44c3.vqs +0 -36
- data/dependencies/libvorbis/vq/44c4.vqs +0 -36
- data/dependencies/libvorbis/vq/44c5.vqs +0 -37
- data/dependencies/libvorbis/vq/44c6.vqs +0 -37
- data/dependencies/libvorbis/vq/44c7.vqs +0 -38
- data/dependencies/libvorbis/vq/44c8.vqs +0 -39
- data/dependencies/libvorbis/vq/44c9.vqs +0 -37
- data/dependencies/libvorbis/vq/44u0.vqs +0 -33
- data/dependencies/libvorbis/vq/44u1.vqs +0 -33
- data/dependencies/libvorbis/vq/44u2.vqs +0 -32
- data/dependencies/libvorbis/vq/44u3.vqs +0 -33
- data/dependencies/libvorbis/vq/44u4.vqs +0 -33
- data/dependencies/libvorbis/vq/44u5.vqs +0 -35
- data/dependencies/libvorbis/vq/44u6.vqs +0 -35
- data/dependencies/libvorbis/vq/44u7.vqs +0 -34
- data/dependencies/libvorbis/vq/44u8.vqs +0 -35
- data/dependencies/libvorbis/vq/44u9.vqs +0 -36
- data/dependencies/libvorbis/vq/8.vqs +0 -43
- data/dependencies/libvorbis/vq/8u.vqs +0 -41
- data/dependencies/libvorbis/vq/Makefile +0 -532
- data/dependencies/libvorbis/vq/Makefile.am +0 -34
- data/dependencies/libvorbis/vq/Makefile.in +0 -532
- data/dependencies/libvorbis/vq/auxpartition.pl +0 -71
- data/dependencies/libvorbis/vq/bookutil.c +0 -717
- data/dependencies/libvorbis/vq/bookutil.h +0 -43
- data/dependencies/libvorbis/vq/build.c +0 -195
- data/dependencies/libvorbis/vq/cascade.c +0 -91
- data/dependencies/libvorbis/vq/distribution.c +0 -248
- data/dependencies/libvorbis/vq/floor_11.vqs +0 -10
- data/dependencies/libvorbis/vq/floor_22.vqs +0 -27
- data/dependencies/libvorbis/vq/floor_44.vqs +0 -83
- data/dependencies/libvorbis/vq/genericdata.c +0 -61
- data/dependencies/libvorbis/vq/huffbuild.c +0 -201
- data/dependencies/libvorbis/vq/latticebuild.c +0 -177
- data/dependencies/libvorbis/vq/latticehint.c +0 -430
- data/dependencies/libvorbis/vq/latticepare.c +0 -595
- data/dependencies/libvorbis/vq/latticetune.c +0 -164
- data/dependencies/libvorbis/vq/localcodebook.h +0 -160
- data/dependencies/libvorbis/vq/lspdata.c +0 -157
- data/dependencies/libvorbis/vq/make_floor_books.pl +0 -108
- data/dependencies/libvorbis/vq/make_residue_books.pl +0 -187
- data/dependencies/libvorbis/vq/metrics.c +0 -295
- data/dependencies/libvorbis/vq/residue_entropy +0 -58
- data/dependencies/libvorbis/vq/residuedata.c +0 -160
- data/dependencies/libvorbis/vq/residuesplit.c +0 -282
- data/dependencies/libvorbis/vq/run.c +0 -216
- data/dependencies/libvorbis/vq/train.c +0 -364
- data/dependencies/libvorbis/vq/vqext.h +0 -34
- data/dependencies/libvorbis/vq/vqgen.c +0 -567
- data/dependencies/libvorbis/vq/vqgen.h +0 -85
- data/dependencies/libvorbis/vq/vqsplit.c +0 -612
- data/dependencies/libvorbis/vq/vqsplit.h +0 -37
- data/dependencies/libvorbis/win32/VS2003/libvorbis/libvorbis.vcproj +0 -467
- data/dependencies/libvorbis/win32/VS2003/libvorbisfile/libvorbisfile.def +0 -47
- data/dependencies/libvorbis/win32/VS2003/libvorbisfile/libvorbisfile.vcproj +0 -147
- data/dependencies/libvorbis/win32/VS2003/vorbisdec/vorbisdec.vcproj +0 -268
- data/dependencies/libvorbis/win32/VS2003/vorbisenc/vorbisenc.vcproj +0 -268
- data/dependencies/libvorbis/win32/VS2005/libvorbis/libvorbis.vcproj +0 -653
- data/dependencies/libvorbis/win32/VS2005/libvorbisfile/libvorbisfile.def +0 -47
- data/dependencies/libvorbis/win32/VS2005/libvorbisfile/libvorbisfile.vcproj +0 -219
- data/dependencies/libvorbis/win32/VS2005/vorbisdec/vorbisdec.vcproj +0 -389
- data/dependencies/libvorbis/win32/VS2005/vorbisenc/vorbisenc.vcproj +0 -390
- data/dependencies/libvorbis/win32/build_vorbis_dynamic.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbis_dynamic_debug.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbis_static.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbis_static_debug.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisenc_dynamic.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisenc_dynamic_debug.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisenc_static.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisenc_static_debug.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisfile_dynamic.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisfile_dynamic_debug.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisfile_static.bat +0 -19
- data/dependencies/libvorbis/win32/build_vorbisfile_static_debug.bat +0 -19
- data/dependencies/libvorbis/win32/vorbis.def +0 -57
- data/dependencies/libvorbis/win32/vorbis.dsw +0 -101
- data/dependencies/libvorbis/win32/vorbis_dynamic.dsp +0 -281
- data/dependencies/libvorbis/win32/vorbis_static.dsp +0 -257
- data/dependencies/libvorbis/win32/vorbisenc.def +0 -13
- data/dependencies/libvorbis/win32/vorbisenc_dynamic.dsp +0 -121
- data/dependencies/libvorbis/win32/vorbisenc_static.dsp +0 -100
- data/dependencies/libvorbis/win32/vorbisfile.def +0 -41
- data/dependencies/libvorbis/win32/vorbisfile_dynamic.dsp +0 -119
- data/dependencies/libvorbis/win32/vorbisfile_static.dsp +0 -100
- data/dependencies/zlib/ChangeLog +0 -855
- data/dependencies/zlib/FAQ +0 -339
- data/dependencies/zlib/INDEX +0 -51
- data/dependencies/zlib/Makefile +0 -154
- data/dependencies/zlib/Makefile.in +0 -154
- data/dependencies/zlib/README +0 -125
- data/dependencies/zlib/adler32.c +0 -149
- data/dependencies/zlib/algorithm.txt +0 -209
- data/dependencies/zlib/amiga/Makefile.pup +0 -66
- data/dependencies/zlib/amiga/Makefile.sas +0 -65
- data/dependencies/zlib/as400/bndsrc +0 -132
- data/dependencies/zlib/as400/compile.clp +0 -123
- data/dependencies/zlib/as400/readme.txt +0 -111
- data/dependencies/zlib/as400/zlib.inc +0 -331
- data/dependencies/zlib/compress.c +0 -79
- data/dependencies/zlib/configure +0 -459
- data/dependencies/zlib/contrib/README.contrib +0 -71
- data/dependencies/zlib/contrib/ada/buffer_demo.adb +0 -106
- data/dependencies/zlib/contrib/ada/mtest.adb +0 -156
- data/dependencies/zlib/contrib/ada/read.adb +0 -156
- data/dependencies/zlib/contrib/ada/readme.txt +0 -65
- data/dependencies/zlib/contrib/ada/test.adb +0 -463
- data/dependencies/zlib/contrib/ada/zlib-streams.adb +0 -225
- data/dependencies/zlib/contrib/ada/zlib-streams.ads +0 -114
- data/dependencies/zlib/contrib/ada/zlib-thin.adb +0 -141
- data/dependencies/zlib/contrib/ada/zlib-thin.ads +0 -450
- data/dependencies/zlib/contrib/ada/zlib.adb +0 -701
- data/dependencies/zlib/contrib/ada/zlib.ads +0 -328
- data/dependencies/zlib/contrib/ada/zlib.gpr +0 -20
- data/dependencies/zlib/contrib/asm586/README.586 +0 -43
- data/dependencies/zlib/contrib/asm586/match.S +0 -364
- data/dependencies/zlib/contrib/asm686/README.686 +0 -34
- data/dependencies/zlib/contrib/asm686/match.S +0 -329
- data/dependencies/zlib/contrib/blast/Makefile +0 -8
- data/dependencies/zlib/contrib/blast/README +0 -4
- data/dependencies/zlib/contrib/blast/blast.c +0 -444
- data/dependencies/zlib/contrib/blast/blast.h +0 -71
- data/dependencies/zlib/contrib/blast/test.pk +0 -0
- data/dependencies/zlib/contrib/blast/test.txt +0 -1
- data/dependencies/zlib/contrib/delphi/ZLib.pas +0 -557
- data/dependencies/zlib/contrib/delphi/ZLibConst.pas +0 -11
- data/dependencies/zlib/contrib/delphi/readme.txt +0 -76
- data/dependencies/zlib/contrib/delphi/zlibd32.mak +0 -93
- data/dependencies/zlib/contrib/dotzlib/DotZLib.build +0 -33
- data/dependencies/zlib/contrib/dotzlib/DotZLib.chm +0 -0
- data/dependencies/zlib/contrib/dotzlib/DotZLib.sln +0 -21
- data/dependencies/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs +0 -58
- data/dependencies/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs +0 -202
- data/dependencies/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs +0 -83
- data/dependencies/zlib/contrib/dotzlib/DotZLib/CodecBase.cs +0 -198
- data/dependencies/zlib/contrib/dotzlib/DotZLib/Deflater.cs +0 -106
- data/dependencies/zlib/contrib/dotzlib/DotZLib/DotZLib.cs +0 -288
- data/dependencies/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj +0 -141
- data/dependencies/zlib/contrib/dotzlib/DotZLib/GZipStream.cs +0 -301
- data/dependencies/zlib/contrib/dotzlib/DotZLib/Inflater.cs +0 -105
- data/dependencies/zlib/contrib/dotzlib/DotZLib/UnitTests.cs +0 -274
- data/dependencies/zlib/contrib/dotzlib/LICENSE_1_0.txt +0 -23
- data/dependencies/zlib/contrib/dotzlib/readme.txt +0 -58
- data/dependencies/zlib/contrib/infback9/README +0 -1
- data/dependencies/zlib/contrib/infback9/infback9.c +0 -608
- data/dependencies/zlib/contrib/infback9/infback9.h +0 -37
- data/dependencies/zlib/contrib/infback9/inffix9.h +0 -107
- data/dependencies/zlib/contrib/infback9/inflate9.h +0 -47
- data/dependencies/zlib/contrib/infback9/inftree9.c +0 -323
- data/dependencies/zlib/contrib/infback9/inftree9.h +0 -55
- data/dependencies/zlib/contrib/inflate86/inffas86.c +0 -1157
- data/dependencies/zlib/contrib/inflate86/inffast.S +0 -1368
- data/dependencies/zlib/contrib/iostream/test.cpp +0 -24
- data/dependencies/zlib/contrib/iostream/zfstream.cpp +0 -329
- data/dependencies/zlib/contrib/iostream/zfstream.h +0 -128
- data/dependencies/zlib/contrib/iostream2/zstream.h +0 -307
- data/dependencies/zlib/contrib/iostream2/zstream_test.cpp +0 -25
- data/dependencies/zlib/contrib/iostream3/README +0 -35
- data/dependencies/zlib/contrib/iostream3/TODO +0 -17
- data/dependencies/zlib/contrib/iostream3/test.cc +0 -50
- data/dependencies/zlib/contrib/iostream3/zfstream.cc +0 -479
- data/dependencies/zlib/contrib/iostream3/zfstream.h +0 -466
- data/dependencies/zlib/contrib/masm686/match.asm +0 -413
- data/dependencies/zlib/contrib/masmx64/bld_ml64.bat +0 -2
- data/dependencies/zlib/contrib/masmx64/gvmat64.asm +0 -513
- data/dependencies/zlib/contrib/masmx64/gvmat64.obj +0 -0
- data/dependencies/zlib/contrib/masmx64/inffas8664.c +0 -186
- data/dependencies/zlib/contrib/masmx64/inffasx64.asm +0 -392
- data/dependencies/zlib/contrib/masmx64/inffasx64.obj +0 -0
- data/dependencies/zlib/contrib/masmx64/readme.txt +0 -28
- data/dependencies/zlib/contrib/masmx86/bld_ml32.bat +0 -2
- data/dependencies/zlib/contrib/masmx86/gvmat32.asm +0 -972
- data/dependencies/zlib/contrib/masmx86/gvmat32.obj +0 -0
- data/dependencies/zlib/contrib/masmx86/gvmat32c.c +0 -62
- data/dependencies/zlib/contrib/masmx86/inffas32.asm +0 -1083
- data/dependencies/zlib/contrib/masmx86/inffas32.obj +0 -0
- data/dependencies/zlib/contrib/masmx86/mkasm.bat +0 -3
- data/dependencies/zlib/contrib/masmx86/readme.txt +0 -21
- data/dependencies/zlib/contrib/minizip/ChangeLogUnzip +0 -67
- data/dependencies/zlib/contrib/minizip/Makefile +0 -25
- data/dependencies/zlib/contrib/minizip/crypt.h +0 -132
- data/dependencies/zlib/contrib/minizip/ioapi.c +0 -177
- data/dependencies/zlib/contrib/minizip/ioapi.h +0 -75
- data/dependencies/zlib/contrib/minizip/iowin32.c +0 -270
- data/dependencies/zlib/contrib/minizip/iowin32.h +0 -21
- data/dependencies/zlib/contrib/minizip/miniunz.c +0 -585
- data/dependencies/zlib/contrib/minizip/minizip.c +0 -420
- data/dependencies/zlib/contrib/minizip/mztools.c +0 -281
- data/dependencies/zlib/contrib/minizip/mztools.h +0 -31
- data/dependencies/zlib/contrib/minizip/unzip.c +0 -1598
- data/dependencies/zlib/contrib/minizip/unzip.h +0 -354
- data/dependencies/zlib/contrib/minizip/zip.c +0 -1219
- data/dependencies/zlib/contrib/minizip/zip.h +0 -235
- data/dependencies/zlib/contrib/pascal/example.pas +0 -599
- data/dependencies/zlib/contrib/pascal/readme.txt +0 -76
- data/dependencies/zlib/contrib/pascal/zlibd32.mak +0 -93
- data/dependencies/zlib/contrib/pascal/zlibpas.pas +0 -236
- data/dependencies/zlib/contrib/puff/Makefile +0 -8
- data/dependencies/zlib/contrib/puff/README +0 -63
- data/dependencies/zlib/contrib/puff/puff.c +0 -837
- data/dependencies/zlib/contrib/puff/puff.h +0 -31
- data/dependencies/zlib/contrib/puff/zeros.raw +0 -0
- data/dependencies/zlib/contrib/testzlib/testzlib.c +0 -275
- data/dependencies/zlib/contrib/testzlib/testzlib.txt +0 -10
- data/dependencies/zlib/contrib/untgz/Makefile +0 -14
- data/dependencies/zlib/contrib/untgz/Makefile.msc +0 -17
- data/dependencies/zlib/contrib/untgz/untgz.c +0 -674
- data/dependencies/zlib/contrib/vstudio/readme.txt +0 -73
- data/dependencies/zlib/contrib/vstudio/vc7/miniunz.vcproj +0 -126
- data/dependencies/zlib/contrib/vstudio/vc7/minizip.vcproj +0 -126
- data/dependencies/zlib/contrib/vstudio/vc7/testzlib.vcproj +0 -126
- data/dependencies/zlib/contrib/vstudio/vc7/zlib.rc +0 -32
- data/dependencies/zlib/contrib/vstudio/vc7/zlibstat.vcproj +0 -246
- data/dependencies/zlib/contrib/vstudio/vc7/zlibvc.def +0 -92
- data/dependencies/zlib/contrib/vstudio/vc7/zlibvc.sln +0 -78
- data/dependencies/zlib/contrib/vstudio/vc7/zlibvc.vcproj +0 -445
- data/dependencies/zlib/contrib/vstudio/vc8/miniunz.vcproj +0 -566
- data/dependencies/zlib/contrib/vstudio/vc8/minizip.vcproj +0 -563
- data/dependencies/zlib/contrib/vstudio/vc8/testzlib.vcproj +0 -948
- data/dependencies/zlib/contrib/vstudio/vc8/testzlibdll.vcproj +0 -567
- data/dependencies/zlib/contrib/vstudio/vc8/zlib.rc +0 -32
- data/dependencies/zlib/contrib/vstudio/vc8/zlibstat.vcproj +0 -870
- data/dependencies/zlib/contrib/vstudio/vc8/zlibvc.def +0 -92
- data/dependencies/zlib/contrib/vstudio/vc8/zlibvc.sln +0 -144
- data/dependencies/zlib/contrib/vstudio/vc8/zlibvc.vcproj +0 -1219
- data/dependencies/zlib/crc32.c +0 -423
- data/dependencies/zlib/crc32.h +0 -441
- data/dependencies/zlib/deflate.c +0 -1736
- data/dependencies/zlib/deflate.h +0 -331
- data/dependencies/zlib/example.c +0 -565
- data/dependencies/zlib/examples/README.examples +0 -42
- data/dependencies/zlib/examples/fitblk.c +0 -233
- data/dependencies/zlib/examples/gun.c +0 -693
- data/dependencies/zlib/examples/gzappend.c +0 -500
- data/dependencies/zlib/examples/gzjoin.c +0 -448
- data/dependencies/zlib/examples/gzlog.c +0 -413
- data/dependencies/zlib/examples/gzlog.h +0 -58
- data/dependencies/zlib/examples/zlib_how.html +0 -523
- data/dependencies/zlib/examples/zpipe.c +0 -191
- data/dependencies/zlib/examples/zran.c +0 -404
- data/dependencies/zlib/gzio.c +0 -1026
- data/dependencies/zlib/infback.c +0 -623
- data/dependencies/zlib/inffast.c +0 -318
- data/dependencies/zlib/inffast.h +0 -11
- data/dependencies/zlib/inffixed.h +0 -94
- data/dependencies/zlib/inflate.c +0 -1368
- data/dependencies/zlib/inflate.h +0 -115
- data/dependencies/zlib/inftrees.c +0 -329
- data/dependencies/zlib/inftrees.h +0 -55
- data/dependencies/zlib/make_vms.com +0 -461
- data/dependencies/zlib/minigzip.c +0 -322
- data/dependencies/zlib/msdos/Makefile.bor +0 -109
- data/dependencies/zlib/msdos/Makefile.dj2 +0 -104
- data/dependencies/zlib/msdos/Makefile.emx +0 -69
- data/dependencies/zlib/msdos/Makefile.msc +0 -106
- data/dependencies/zlib/msdos/Makefile.tc +0 -94
- data/dependencies/zlib/old/Makefile.riscos +0 -151
- data/dependencies/zlib/old/README +0 -3
- data/dependencies/zlib/old/descrip.mms +0 -48
- data/dependencies/zlib/old/os2/Makefile.os2 +0 -136
- data/dependencies/zlib/old/os2/zlib.def +0 -51
- data/dependencies/zlib/old/visual-basic.txt +0 -160
- data/dependencies/zlib/old/zlib.html +0 -971
- data/dependencies/zlib/projects/README.projects +0 -41
- data/dependencies/zlib/projects/visualc6/README.txt +0 -73
- data/dependencies/zlib/projects/visualc6/example.dsp +0 -278
- data/dependencies/zlib/projects/visualc6/minigzip.dsp +0 -278
- data/dependencies/zlib/projects/visualc6/zlib.dsp +0 -609
- data/dependencies/zlib/projects/visualc6/zlib.dsw +0 -59
- data/dependencies/zlib/qnx/package.qpg +0 -141
- data/dependencies/zlib/trees.c +0 -1219
- data/dependencies/zlib/trees.h +0 -128
- data/dependencies/zlib/uncompr.c +0 -61
- data/dependencies/zlib/win32/DLL_FAQ.txt +0 -397
- data/dependencies/zlib/win32/Makefile.bor +0 -107
- data/dependencies/zlib/win32/Makefile.emx +0 -69
- data/dependencies/zlib/win32/Makefile.gcc +0 -141
- data/dependencies/zlib/win32/Makefile.msc +0 -126
- data/dependencies/zlib/win32/VisualC.txt +0 -3
- data/dependencies/zlib/win32/zlib.def +0 -60
- data/dependencies/zlib/win32/zlib1.rc +0 -39
- data/dependencies/zlib/zconf.h +0 -332
- data/dependencies/zlib/zconf.in.h +0 -332
- data/dependencies/zlib/zlib.3 +0 -159
- data/dependencies/zlib/zlib.h +0 -1357
- data/dependencies/zlib/zutil.c +0 -318
- data/dependencies/zlib/zutil.h +0 -269
- data/mac/English.lproj/InfoPlist.strings +0 -0
- data/mac/Gosu-Info.plist +0 -26
- data/mac/Gosu.icns +0 -0
- data/mac/Gosu.xcodeproj/jlnr.mode1v3 +0 -1420
- data/mac/Gosu.xcodeproj/jlnr.mode2v3 +0 -1464
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +0 -1407
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +0 -1573
- data/mac/Gosu.xcodeproj/project.pbxproj +0 -2758
- data/mac/RubyGosu App-Info.plist +0 -26
- data/windows/Gosu.sln +0 -34
- data/windows/Gosu.vcproj +0 -553
- data/windows/RubyGosu.vcproj +0 -241
@@ -1,1255 +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: *unnormalized* fft transform
|
14
|
-
last mod: $Id: smallft.c 13293 2007-07-24 00:09:47Z xiphmont $
|
15
|
-
|
16
|
-
********************************************************************/
|
17
|
-
|
18
|
-
/* FFT implementation from OggSquish, minus cosine transforms,
|
19
|
-
* minus all but radix 2/4 case. In Vorbis we only need this
|
20
|
-
* cut-down version.
|
21
|
-
*
|
22
|
-
* To do more than just power-of-two sized vectors, see the full
|
23
|
-
* version I wrote for NetLib.
|
24
|
-
*
|
25
|
-
* Note that the packing is a little strange; rather than the FFT r/i
|
26
|
-
* packing following R_0, I_n, R_1, I_1, R_2, I_2 ... R_n-1, I_n-1,
|
27
|
-
* it follows R_0, R_1, I_1, R_2, I_2 ... R_n-1, I_n-1, I_n like the
|
28
|
-
* FORTRAN version
|
29
|
-
*/
|
30
|
-
|
31
|
-
#include <stdlib.h>
|
32
|
-
#include <string.h>
|
33
|
-
#include <math.h>
|
34
|
-
#include "smallft.h"
|
35
|
-
#include "os.h"
|
36
|
-
#include "misc.h"
|
37
|
-
|
38
|
-
static void drfti1(int n, float *wa, int *ifac){
|
39
|
-
static int ntryh[4] = { 4,2,3,5 };
|
40
|
-
static float tpi = 6.28318530717958648f;
|
41
|
-
float arg,argh,argld,fi;
|
42
|
-
int ntry=0,i,j=-1;
|
43
|
-
int k1, l1, l2, ib;
|
44
|
-
int ld, ii, ip, is, nq, nr;
|
45
|
-
int ido, ipm, nfm1;
|
46
|
-
int nl=n;
|
47
|
-
int nf=0;
|
48
|
-
|
49
|
-
L101:
|
50
|
-
j++;
|
51
|
-
if (j < 4)
|
52
|
-
ntry=ntryh[j];
|
53
|
-
else
|
54
|
-
ntry+=2;
|
55
|
-
|
56
|
-
L104:
|
57
|
-
nq=nl/ntry;
|
58
|
-
nr=nl-ntry*nq;
|
59
|
-
if (nr!=0) goto L101;
|
60
|
-
|
61
|
-
nf++;
|
62
|
-
ifac[nf+1]=ntry;
|
63
|
-
nl=nq;
|
64
|
-
if(ntry!=2)goto L107;
|
65
|
-
if(nf==1)goto L107;
|
66
|
-
|
67
|
-
for (i=1;i<nf;i++){
|
68
|
-
ib=nf-i+1;
|
69
|
-
ifac[ib+1]=ifac[ib];
|
70
|
-
}
|
71
|
-
ifac[2] = 2;
|
72
|
-
|
73
|
-
L107:
|
74
|
-
if(nl!=1)goto L104;
|
75
|
-
ifac[0]=n;
|
76
|
-
ifac[1]=nf;
|
77
|
-
argh=tpi/n;
|
78
|
-
is=0;
|
79
|
-
nfm1=nf-1;
|
80
|
-
l1=1;
|
81
|
-
|
82
|
-
if(nfm1==0)return;
|
83
|
-
|
84
|
-
for (k1=0;k1<nfm1;k1++){
|
85
|
-
ip=ifac[k1+2];
|
86
|
-
ld=0;
|
87
|
-
l2=l1*ip;
|
88
|
-
ido=n/l2;
|
89
|
-
ipm=ip-1;
|
90
|
-
|
91
|
-
for (j=0;j<ipm;j++){
|
92
|
-
ld+=l1;
|
93
|
-
i=is;
|
94
|
-
argld=(float)ld*argh;
|
95
|
-
fi=0.f;
|
96
|
-
for (ii=2;ii<ido;ii+=2){
|
97
|
-
fi+=1.f;
|
98
|
-
arg=fi*argld;
|
99
|
-
wa[i++]=cos(arg);
|
100
|
-
wa[i++]=sin(arg);
|
101
|
-
}
|
102
|
-
is+=ido;
|
103
|
-
}
|
104
|
-
l1=l2;
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
static void fdrffti(int n, float *wsave, int *ifac){
|
109
|
-
|
110
|
-
if (n == 1) return;
|
111
|
-
drfti1(n, wsave+n, ifac);
|
112
|
-
}
|
113
|
-
|
114
|
-
static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){
|
115
|
-
int i,k;
|
116
|
-
float ti2,tr2;
|
117
|
-
int t0,t1,t2,t3,t4,t5,t6;
|
118
|
-
|
119
|
-
t1=0;
|
120
|
-
t0=(t2=l1*ido);
|
121
|
-
t3=ido<<1;
|
122
|
-
for(k=0;k<l1;k++){
|
123
|
-
ch[t1<<1]=cc[t1]+cc[t2];
|
124
|
-
ch[(t1<<1)+t3-1]=cc[t1]-cc[t2];
|
125
|
-
t1+=ido;
|
126
|
-
t2+=ido;
|
127
|
-
}
|
128
|
-
|
129
|
-
if(ido<2)return;
|
130
|
-
if(ido==2)goto L105;
|
131
|
-
|
132
|
-
t1=0;
|
133
|
-
t2=t0;
|
134
|
-
for(k=0;k<l1;k++){
|
135
|
-
t3=t2;
|
136
|
-
t4=(t1<<1)+(ido<<1);
|
137
|
-
t5=t1;
|
138
|
-
t6=t1+t1;
|
139
|
-
for(i=2;i<ido;i+=2){
|
140
|
-
t3+=2;
|
141
|
-
t4-=2;
|
142
|
-
t5+=2;
|
143
|
-
t6+=2;
|
144
|
-
tr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3];
|
145
|
-
ti2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1];
|
146
|
-
ch[t6]=cc[t5]+ti2;
|
147
|
-
ch[t4]=ti2-cc[t5];
|
148
|
-
ch[t6-1]=cc[t5-1]+tr2;
|
149
|
-
ch[t4-1]=cc[t5-1]-tr2;
|
150
|
-
}
|
151
|
-
t1+=ido;
|
152
|
-
t2+=ido;
|
153
|
-
}
|
154
|
-
|
155
|
-
if(ido%2==1)return;
|
156
|
-
|
157
|
-
L105:
|
158
|
-
t3=(t2=(t1=ido)-1);
|
159
|
-
t2+=t0;
|
160
|
-
for(k=0;k<l1;k++){
|
161
|
-
ch[t1]=-cc[t2];
|
162
|
-
ch[t1-1]=cc[t3];
|
163
|
-
t1+=ido<<1;
|
164
|
-
t2+=ido;
|
165
|
-
t3+=ido;
|
166
|
-
}
|
167
|
-
}
|
168
|
-
|
169
|
-
static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1,
|
170
|
-
float *wa2,float *wa3){
|
171
|
-
static float hsqt2 = .70710678118654752f;
|
172
|
-
int i,k,t0,t1,t2,t3,t4,t5,t6;
|
173
|
-
float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4;
|
174
|
-
t0=l1*ido;
|
175
|
-
|
176
|
-
t1=t0;
|
177
|
-
t4=t1<<1;
|
178
|
-
t2=t1+(t1<<1);
|
179
|
-
t3=0;
|
180
|
-
|
181
|
-
for(k=0;k<l1;k++){
|
182
|
-
tr1=cc[t1]+cc[t2];
|
183
|
-
tr2=cc[t3]+cc[t4];
|
184
|
-
|
185
|
-
ch[t5=t3<<2]=tr1+tr2;
|
186
|
-
ch[(ido<<2)+t5-1]=tr2-tr1;
|
187
|
-
ch[(t5+=(ido<<1))-1]=cc[t3]-cc[t4];
|
188
|
-
ch[t5]=cc[t2]-cc[t1];
|
189
|
-
|
190
|
-
t1+=ido;
|
191
|
-
t2+=ido;
|
192
|
-
t3+=ido;
|
193
|
-
t4+=ido;
|
194
|
-
}
|
195
|
-
|
196
|
-
if(ido<2)return;
|
197
|
-
if(ido==2)goto L105;
|
198
|
-
|
199
|
-
|
200
|
-
t1=0;
|
201
|
-
for(k=0;k<l1;k++){
|
202
|
-
t2=t1;
|
203
|
-
t4=t1<<2;
|
204
|
-
t5=(t6=ido<<1)+t4;
|
205
|
-
for(i=2;i<ido;i+=2){
|
206
|
-
t3=(t2+=2);
|
207
|
-
t4+=2;
|
208
|
-
t5-=2;
|
209
|
-
|
210
|
-
t3+=t0;
|
211
|
-
cr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3];
|
212
|
-
ci2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1];
|
213
|
-
t3+=t0;
|
214
|
-
cr3=wa2[i-2]*cc[t3-1]+wa2[i-1]*cc[t3];
|
215
|
-
ci3=wa2[i-2]*cc[t3]-wa2[i-1]*cc[t3-1];
|
216
|
-
t3+=t0;
|
217
|
-
cr4=wa3[i-2]*cc[t3-1]+wa3[i-1]*cc[t3];
|
218
|
-
ci4=wa3[i-2]*cc[t3]-wa3[i-1]*cc[t3-1];
|
219
|
-
|
220
|
-
tr1=cr2+cr4;
|
221
|
-
tr4=cr4-cr2;
|
222
|
-
ti1=ci2+ci4;
|
223
|
-
ti4=ci2-ci4;
|
224
|
-
|
225
|
-
ti2=cc[t2]+ci3;
|
226
|
-
ti3=cc[t2]-ci3;
|
227
|
-
tr2=cc[t2-1]+cr3;
|
228
|
-
tr3=cc[t2-1]-cr3;
|
229
|
-
|
230
|
-
ch[t4-1]=tr1+tr2;
|
231
|
-
ch[t4]=ti1+ti2;
|
232
|
-
|
233
|
-
ch[t5-1]=tr3-ti4;
|
234
|
-
ch[t5]=tr4-ti3;
|
235
|
-
|
236
|
-
ch[t4+t6-1]=ti4+tr3;
|
237
|
-
ch[t4+t6]=tr4+ti3;
|
238
|
-
|
239
|
-
ch[t5+t6-1]=tr2-tr1;
|
240
|
-
ch[t5+t6]=ti1-ti2;
|
241
|
-
}
|
242
|
-
t1+=ido;
|
243
|
-
}
|
244
|
-
if(ido&1)return;
|
245
|
-
|
246
|
-
L105:
|
247
|
-
|
248
|
-
t2=(t1=t0+ido-1)+(t0<<1);
|
249
|
-
t3=ido<<2;
|
250
|
-
t4=ido;
|
251
|
-
t5=ido<<1;
|
252
|
-
t6=ido;
|
253
|
-
|
254
|
-
for(k=0;k<l1;k++){
|
255
|
-
ti1=-hsqt2*(cc[t1]+cc[t2]);
|
256
|
-
tr1=hsqt2*(cc[t1]-cc[t2]);
|
257
|
-
|
258
|
-
ch[t4-1]=tr1+cc[t6-1];
|
259
|
-
ch[t4+t5-1]=cc[t6-1]-tr1;
|
260
|
-
|
261
|
-
ch[t4]=ti1-cc[t1+t0];
|
262
|
-
ch[t4+t5]=ti1+cc[t1+t0];
|
263
|
-
|
264
|
-
t1+=ido;
|
265
|
-
t2+=ido;
|
266
|
-
t4+=t3;
|
267
|
-
t6+=ido;
|
268
|
-
}
|
269
|
-
}
|
270
|
-
|
271
|
-
static void dradfg(int ido,int ip,int l1,int idl1,float *cc,float *c1,
|
272
|
-
float *c2,float *ch,float *ch2,float *wa){
|
273
|
-
|
274
|
-
static float tpi=6.283185307179586f;
|
275
|
-
int idij,ipph,i,j,k,l,ic,ik,is;
|
276
|
-
int t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
|
277
|
-
float dc2,ai1,ai2,ar1,ar2,ds2;
|
278
|
-
int nbd;
|
279
|
-
float dcp,arg,dsp,ar1h,ar2h;
|
280
|
-
int idp2,ipp2;
|
281
|
-
|
282
|
-
arg=tpi/(float)ip;
|
283
|
-
dcp=cos(arg);
|
284
|
-
dsp=sin(arg);
|
285
|
-
ipph=(ip+1)>>1;
|
286
|
-
ipp2=ip;
|
287
|
-
idp2=ido;
|
288
|
-
nbd=(ido-1)>>1;
|
289
|
-
t0=l1*ido;
|
290
|
-
t10=ip*ido;
|
291
|
-
|
292
|
-
if(ido==1)goto L119;
|
293
|
-
for(ik=0;ik<idl1;ik++)ch2[ik]=c2[ik];
|
294
|
-
|
295
|
-
t1=0;
|
296
|
-
for(j=1;j<ip;j++){
|
297
|
-
t1+=t0;
|
298
|
-
t2=t1;
|
299
|
-
for(k=0;k<l1;k++){
|
300
|
-
ch[t2]=c1[t2];
|
301
|
-
t2+=ido;
|
302
|
-
}
|
303
|
-
}
|
304
|
-
|
305
|
-
is=-ido;
|
306
|
-
t1=0;
|
307
|
-
if(nbd>l1){
|
308
|
-
for(j=1;j<ip;j++){
|
309
|
-
t1+=t0;
|
310
|
-
is+=ido;
|
311
|
-
t2= -ido+t1;
|
312
|
-
for(k=0;k<l1;k++){
|
313
|
-
idij=is-1;
|
314
|
-
t2+=ido;
|
315
|
-
t3=t2;
|
316
|
-
for(i=2;i<ido;i+=2){
|
317
|
-
idij+=2;
|
318
|
-
t3+=2;
|
319
|
-
ch[t3-1]=wa[idij-1]*c1[t3-1]+wa[idij]*c1[t3];
|
320
|
-
ch[t3]=wa[idij-1]*c1[t3]-wa[idij]*c1[t3-1];
|
321
|
-
}
|
322
|
-
}
|
323
|
-
}
|
324
|
-
}else{
|
325
|
-
|
326
|
-
for(j=1;j<ip;j++){
|
327
|
-
is+=ido;
|
328
|
-
idij=is-1;
|
329
|
-
t1+=t0;
|
330
|
-
t2=t1;
|
331
|
-
for(i=2;i<ido;i+=2){
|
332
|
-
idij+=2;
|
333
|
-
t2+=2;
|
334
|
-
t3=t2;
|
335
|
-
for(k=0;k<l1;k++){
|
336
|
-
ch[t3-1]=wa[idij-1]*c1[t3-1]+wa[idij]*c1[t3];
|
337
|
-
ch[t3]=wa[idij-1]*c1[t3]-wa[idij]*c1[t3-1];
|
338
|
-
t3+=ido;
|
339
|
-
}
|
340
|
-
}
|
341
|
-
}
|
342
|
-
}
|
343
|
-
|
344
|
-
t1=0;
|
345
|
-
t2=ipp2*t0;
|
346
|
-
if(nbd<l1){
|
347
|
-
for(j=1;j<ipph;j++){
|
348
|
-
t1+=t0;
|
349
|
-
t2-=t0;
|
350
|
-
t3=t1;
|
351
|
-
t4=t2;
|
352
|
-
for(i=2;i<ido;i+=2){
|
353
|
-
t3+=2;
|
354
|
-
t4+=2;
|
355
|
-
t5=t3-ido;
|
356
|
-
t6=t4-ido;
|
357
|
-
for(k=0;k<l1;k++){
|
358
|
-
t5+=ido;
|
359
|
-
t6+=ido;
|
360
|
-
c1[t5-1]=ch[t5-1]+ch[t6-1];
|
361
|
-
c1[t6-1]=ch[t5]-ch[t6];
|
362
|
-
c1[t5]=ch[t5]+ch[t6];
|
363
|
-
c1[t6]=ch[t6-1]-ch[t5-1];
|
364
|
-
}
|
365
|
-
}
|
366
|
-
}
|
367
|
-
}else{
|
368
|
-
for(j=1;j<ipph;j++){
|
369
|
-
t1+=t0;
|
370
|
-
t2-=t0;
|
371
|
-
t3=t1;
|
372
|
-
t4=t2;
|
373
|
-
for(k=0;k<l1;k++){
|
374
|
-
t5=t3;
|
375
|
-
t6=t4;
|
376
|
-
for(i=2;i<ido;i+=2){
|
377
|
-
t5+=2;
|
378
|
-
t6+=2;
|
379
|
-
c1[t5-1]=ch[t5-1]+ch[t6-1];
|
380
|
-
c1[t6-1]=ch[t5]-ch[t6];
|
381
|
-
c1[t5]=ch[t5]+ch[t6];
|
382
|
-
c1[t6]=ch[t6-1]-ch[t5-1];
|
383
|
-
}
|
384
|
-
t3+=ido;
|
385
|
-
t4+=ido;
|
386
|
-
}
|
387
|
-
}
|
388
|
-
}
|
389
|
-
|
390
|
-
L119:
|
391
|
-
for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
|
392
|
-
|
393
|
-
t1=0;
|
394
|
-
t2=ipp2*idl1;
|
395
|
-
for(j=1;j<ipph;j++){
|
396
|
-
t1+=t0;
|
397
|
-
t2-=t0;
|
398
|
-
t3=t1-ido;
|
399
|
-
t4=t2-ido;
|
400
|
-
for(k=0;k<l1;k++){
|
401
|
-
t3+=ido;
|
402
|
-
t4+=ido;
|
403
|
-
c1[t3]=ch[t3]+ch[t4];
|
404
|
-
c1[t4]=ch[t4]-ch[t3];
|
405
|
-
}
|
406
|
-
}
|
407
|
-
|
408
|
-
ar1=1.f;
|
409
|
-
ai1=0.f;
|
410
|
-
t1=0;
|
411
|
-
t2=ipp2*idl1;
|
412
|
-
t3=(ip-1)*idl1;
|
413
|
-
for(l=1;l<ipph;l++){
|
414
|
-
t1+=idl1;
|
415
|
-
t2-=idl1;
|
416
|
-
ar1h=dcp*ar1-dsp*ai1;
|
417
|
-
ai1=dcp*ai1+dsp*ar1;
|
418
|
-
ar1=ar1h;
|
419
|
-
t4=t1;
|
420
|
-
t5=t2;
|
421
|
-
t6=t3;
|
422
|
-
t7=idl1;
|
423
|
-
|
424
|
-
for(ik=0;ik<idl1;ik++){
|
425
|
-
ch2[t4++]=c2[ik]+ar1*c2[t7++];
|
426
|
-
ch2[t5++]=ai1*c2[t6++];
|
427
|
-
}
|
428
|
-
|
429
|
-
dc2=ar1;
|
430
|
-
ds2=ai1;
|
431
|
-
ar2=ar1;
|
432
|
-
ai2=ai1;
|
433
|
-
|
434
|
-
t4=idl1;
|
435
|
-
t5=(ipp2-1)*idl1;
|
436
|
-
for(j=2;j<ipph;j++){
|
437
|
-
t4+=idl1;
|
438
|
-
t5-=idl1;
|
439
|
-
|
440
|
-
ar2h=dc2*ar2-ds2*ai2;
|
441
|
-
ai2=dc2*ai2+ds2*ar2;
|
442
|
-
ar2=ar2h;
|
443
|
-
|
444
|
-
t6=t1;
|
445
|
-
t7=t2;
|
446
|
-
t8=t4;
|
447
|
-
t9=t5;
|
448
|
-
for(ik=0;ik<idl1;ik++){
|
449
|
-
ch2[t6++]+=ar2*c2[t8++];
|
450
|
-
ch2[t7++]+=ai2*c2[t9++];
|
451
|
-
}
|
452
|
-
}
|
453
|
-
}
|
454
|
-
|
455
|
-
t1=0;
|
456
|
-
for(j=1;j<ipph;j++){
|
457
|
-
t1+=idl1;
|
458
|
-
t2=t1;
|
459
|
-
for(ik=0;ik<idl1;ik++)ch2[ik]+=c2[t2++];
|
460
|
-
}
|
461
|
-
|
462
|
-
if(ido<l1)goto L132;
|
463
|
-
|
464
|
-
t1=0;
|
465
|
-
t2=0;
|
466
|
-
for(k=0;k<l1;k++){
|
467
|
-
t3=t1;
|
468
|
-
t4=t2;
|
469
|
-
for(i=0;i<ido;i++)cc[t4++]=ch[t3++];
|
470
|
-
t1+=ido;
|
471
|
-
t2+=t10;
|
472
|
-
}
|
473
|
-
|
474
|
-
goto L135;
|
475
|
-
|
476
|
-
L132:
|
477
|
-
for(i=0;i<ido;i++){
|
478
|
-
t1=i;
|
479
|
-
t2=i;
|
480
|
-
for(k=0;k<l1;k++){
|
481
|
-
cc[t2]=ch[t1];
|
482
|
-
t1+=ido;
|
483
|
-
t2+=t10;
|
484
|
-
}
|
485
|
-
}
|
486
|
-
|
487
|
-
L135:
|
488
|
-
t1=0;
|
489
|
-
t2=ido<<1;
|
490
|
-
t3=0;
|
491
|
-
t4=ipp2*t0;
|
492
|
-
for(j=1;j<ipph;j++){
|
493
|
-
|
494
|
-
t1+=t2;
|
495
|
-
t3+=t0;
|
496
|
-
t4-=t0;
|
497
|
-
|
498
|
-
t5=t1;
|
499
|
-
t6=t3;
|
500
|
-
t7=t4;
|
501
|
-
|
502
|
-
for(k=0;k<l1;k++){
|
503
|
-
cc[t5-1]=ch[t6];
|
504
|
-
cc[t5]=ch[t7];
|
505
|
-
t5+=t10;
|
506
|
-
t6+=ido;
|
507
|
-
t7+=ido;
|
508
|
-
}
|
509
|
-
}
|
510
|
-
|
511
|
-
if(ido==1)return;
|
512
|
-
if(nbd<l1)goto L141;
|
513
|
-
|
514
|
-
t1=-ido;
|
515
|
-
t3=0;
|
516
|
-
t4=0;
|
517
|
-
t5=ipp2*t0;
|
518
|
-
for(j=1;j<ipph;j++){
|
519
|
-
t1+=t2;
|
520
|
-
t3+=t2;
|
521
|
-
t4+=t0;
|
522
|
-
t5-=t0;
|
523
|
-
t6=t1;
|
524
|
-
t7=t3;
|
525
|
-
t8=t4;
|
526
|
-
t9=t5;
|
527
|
-
for(k=0;k<l1;k++){
|
528
|
-
for(i=2;i<ido;i+=2){
|
529
|
-
ic=idp2-i;
|
530
|
-
cc[i+t7-1]=ch[i+t8-1]+ch[i+t9-1];
|
531
|
-
cc[ic+t6-1]=ch[i+t8-1]-ch[i+t9-1];
|
532
|
-
cc[i+t7]=ch[i+t8]+ch[i+t9];
|
533
|
-
cc[ic+t6]=ch[i+t9]-ch[i+t8];
|
534
|
-
}
|
535
|
-
t6+=t10;
|
536
|
-
t7+=t10;
|
537
|
-
t8+=ido;
|
538
|
-
t9+=ido;
|
539
|
-
}
|
540
|
-
}
|
541
|
-
return;
|
542
|
-
|
543
|
-
L141:
|
544
|
-
|
545
|
-
t1=-ido;
|
546
|
-
t3=0;
|
547
|
-
t4=0;
|
548
|
-
t5=ipp2*t0;
|
549
|
-
for(j=1;j<ipph;j++){
|
550
|
-
t1+=t2;
|
551
|
-
t3+=t2;
|
552
|
-
t4+=t0;
|
553
|
-
t5-=t0;
|
554
|
-
for(i=2;i<ido;i+=2){
|
555
|
-
t6=idp2+t1-i;
|
556
|
-
t7=i+t3;
|
557
|
-
t8=i+t4;
|
558
|
-
t9=i+t5;
|
559
|
-
for(k=0;k<l1;k++){
|
560
|
-
cc[t7-1]=ch[t8-1]+ch[t9-1];
|
561
|
-
cc[t6-1]=ch[t8-1]-ch[t9-1];
|
562
|
-
cc[t7]=ch[t8]+ch[t9];
|
563
|
-
cc[t6]=ch[t9]-ch[t8];
|
564
|
-
t6+=t10;
|
565
|
-
t7+=t10;
|
566
|
-
t8+=ido;
|
567
|
-
t9+=ido;
|
568
|
-
}
|
569
|
-
}
|
570
|
-
}
|
571
|
-
}
|
572
|
-
|
573
|
-
static void drftf1(int n,float *c,float *ch,float *wa,int *ifac){
|
574
|
-
int i,k1,l1,l2;
|
575
|
-
int na,kh,nf;
|
576
|
-
int ip,iw,ido,idl1,ix2,ix3;
|
577
|
-
|
578
|
-
nf=ifac[1];
|
579
|
-
na=1;
|
580
|
-
l2=n;
|
581
|
-
iw=n;
|
582
|
-
|
583
|
-
for(k1=0;k1<nf;k1++){
|
584
|
-
kh=nf-k1;
|
585
|
-
ip=ifac[kh+1];
|
586
|
-
l1=l2/ip;
|
587
|
-
ido=n/l2;
|
588
|
-
idl1=ido*l1;
|
589
|
-
iw-=(ip-1)*ido;
|
590
|
-
na=1-na;
|
591
|
-
|
592
|
-
if(ip!=4)goto L102;
|
593
|
-
|
594
|
-
ix2=iw+ido;
|
595
|
-
ix3=ix2+ido;
|
596
|
-
if(na!=0)
|
597
|
-
dradf4(ido,l1,ch,c,wa+iw-1,wa+ix2-1,wa+ix3-1);
|
598
|
-
else
|
599
|
-
dradf4(ido,l1,c,ch,wa+iw-1,wa+ix2-1,wa+ix3-1);
|
600
|
-
goto L110;
|
601
|
-
|
602
|
-
L102:
|
603
|
-
if(ip!=2)goto L104;
|
604
|
-
if(na!=0)goto L103;
|
605
|
-
|
606
|
-
dradf2(ido,l1,c,ch,wa+iw-1);
|
607
|
-
goto L110;
|
608
|
-
|
609
|
-
L103:
|
610
|
-
dradf2(ido,l1,ch,c,wa+iw-1);
|
611
|
-
goto L110;
|
612
|
-
|
613
|
-
L104:
|
614
|
-
if(ido==1)na=1-na;
|
615
|
-
if(na!=0)goto L109;
|
616
|
-
|
617
|
-
dradfg(ido,ip,l1,idl1,c,c,c,ch,ch,wa+iw-1);
|
618
|
-
na=1;
|
619
|
-
goto L110;
|
620
|
-
|
621
|
-
L109:
|
622
|
-
dradfg(ido,ip,l1,idl1,ch,ch,ch,c,c,wa+iw-1);
|
623
|
-
na=0;
|
624
|
-
|
625
|
-
L110:
|
626
|
-
l2=l1;
|
627
|
-
}
|
628
|
-
|
629
|
-
if(na==1)return;
|
630
|
-
|
631
|
-
for(i=0;i<n;i++)c[i]=ch[i];
|
632
|
-
}
|
633
|
-
|
634
|
-
static void dradb2(int ido,int l1,float *cc,float *ch,float *wa1){
|
635
|
-
int i,k,t0,t1,t2,t3,t4,t5,t6;
|
636
|
-
float ti2,tr2;
|
637
|
-
|
638
|
-
t0=l1*ido;
|
639
|
-
|
640
|
-
t1=0;
|
641
|
-
t2=0;
|
642
|
-
t3=(ido<<1)-1;
|
643
|
-
for(k=0;k<l1;k++){
|
644
|
-
ch[t1]=cc[t2]+cc[t3+t2];
|
645
|
-
ch[t1+t0]=cc[t2]-cc[t3+t2];
|
646
|
-
t2=(t1+=ido)<<1;
|
647
|
-
}
|
648
|
-
|
649
|
-
if(ido<2)return;
|
650
|
-
if(ido==2)goto L105;
|
651
|
-
|
652
|
-
t1=0;
|
653
|
-
t2=0;
|
654
|
-
for(k=0;k<l1;k++){
|
655
|
-
t3=t1;
|
656
|
-
t5=(t4=t2)+(ido<<1);
|
657
|
-
t6=t0+t1;
|
658
|
-
for(i=2;i<ido;i+=2){
|
659
|
-
t3+=2;
|
660
|
-
t4+=2;
|
661
|
-
t5-=2;
|
662
|
-
t6+=2;
|
663
|
-
ch[t3-1]=cc[t4-1]+cc[t5-1];
|
664
|
-
tr2=cc[t4-1]-cc[t5-1];
|
665
|
-
ch[t3]=cc[t4]-cc[t5];
|
666
|
-
ti2=cc[t4]+cc[t5];
|
667
|
-
ch[t6-1]=wa1[i-2]*tr2-wa1[i-1]*ti2;
|
668
|
-
ch[t6]=wa1[i-2]*ti2+wa1[i-1]*tr2;
|
669
|
-
}
|
670
|
-
t2=(t1+=ido)<<1;
|
671
|
-
}
|
672
|
-
|
673
|
-
if(ido%2==1)return;
|
674
|
-
|
675
|
-
L105:
|
676
|
-
t1=ido-1;
|
677
|
-
t2=ido-1;
|
678
|
-
for(k=0;k<l1;k++){
|
679
|
-
ch[t1]=cc[t2]+cc[t2];
|
680
|
-
ch[t1+t0]=-(cc[t2+1]+cc[t2+1]);
|
681
|
-
t1+=ido;
|
682
|
-
t2+=ido<<1;
|
683
|
-
}
|
684
|
-
}
|
685
|
-
|
686
|
-
static void dradb3(int ido,int l1,float *cc,float *ch,float *wa1,
|
687
|
-
float *wa2){
|
688
|
-
static float taur = -.5f;
|
689
|
-
static float taui = .8660254037844386f;
|
690
|
-
int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
|
691
|
-
float ci2,ci3,di2,di3,cr2,cr3,dr2,dr3,ti2,tr2;
|
692
|
-
t0=l1*ido;
|
693
|
-
|
694
|
-
t1=0;
|
695
|
-
t2=t0<<1;
|
696
|
-
t3=ido<<1;
|
697
|
-
t4=ido+(ido<<1);
|
698
|
-
t5=0;
|
699
|
-
for(k=0;k<l1;k++){
|
700
|
-
tr2=cc[t3-1]+cc[t3-1];
|
701
|
-
cr2=cc[t5]+(taur*tr2);
|
702
|
-
ch[t1]=cc[t5]+tr2;
|
703
|
-
ci3=taui*(cc[t3]+cc[t3]);
|
704
|
-
ch[t1+t0]=cr2-ci3;
|
705
|
-
ch[t1+t2]=cr2+ci3;
|
706
|
-
t1+=ido;
|
707
|
-
t3+=t4;
|
708
|
-
t5+=t4;
|
709
|
-
}
|
710
|
-
|
711
|
-
if(ido==1)return;
|
712
|
-
|
713
|
-
t1=0;
|
714
|
-
t3=ido<<1;
|
715
|
-
for(k=0;k<l1;k++){
|
716
|
-
t7=t1+(t1<<1);
|
717
|
-
t6=(t5=t7+t3);
|
718
|
-
t8=t1;
|
719
|
-
t10=(t9=t1+t0)+t0;
|
720
|
-
|
721
|
-
for(i=2;i<ido;i+=2){
|
722
|
-
t5+=2;
|
723
|
-
t6-=2;
|
724
|
-
t7+=2;
|
725
|
-
t8+=2;
|
726
|
-
t9+=2;
|
727
|
-
t10+=2;
|
728
|
-
tr2=cc[t5-1]+cc[t6-1];
|
729
|
-
cr2=cc[t7-1]+(taur*tr2);
|
730
|
-
ch[t8-1]=cc[t7-1]+tr2;
|
731
|
-
ti2=cc[t5]-cc[t6];
|
732
|
-
ci2=cc[t7]+(taur*ti2);
|
733
|
-
ch[t8]=cc[t7]+ti2;
|
734
|
-
cr3=taui*(cc[t5-1]-cc[t6-1]);
|
735
|
-
ci3=taui*(cc[t5]+cc[t6]);
|
736
|
-
dr2=cr2-ci3;
|
737
|
-
dr3=cr2+ci3;
|
738
|
-
di2=ci2+cr3;
|
739
|
-
di3=ci2-cr3;
|
740
|
-
ch[t9-1]=wa1[i-2]*dr2-wa1[i-1]*di2;
|
741
|
-
ch[t9]=wa1[i-2]*di2+wa1[i-1]*dr2;
|
742
|
-
ch[t10-1]=wa2[i-2]*dr3-wa2[i-1]*di3;
|
743
|
-
ch[t10]=wa2[i-2]*di3+wa2[i-1]*dr3;
|
744
|
-
}
|
745
|
-
t1+=ido;
|
746
|
-
}
|
747
|
-
}
|
748
|
-
|
749
|
-
static void dradb4(int ido,int l1,float *cc,float *ch,float *wa1,
|
750
|
-
float *wa2,float *wa3){
|
751
|
-
static float sqrt2=1.414213562373095f;
|
752
|
-
int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8;
|
753
|
-
float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4;
|
754
|
-
t0=l1*ido;
|
755
|
-
|
756
|
-
t1=0;
|
757
|
-
t2=ido<<2;
|
758
|
-
t3=0;
|
759
|
-
t6=ido<<1;
|
760
|
-
for(k=0;k<l1;k++){
|
761
|
-
t4=t3+t6;
|
762
|
-
t5=t1;
|
763
|
-
tr3=cc[t4-1]+cc[t4-1];
|
764
|
-
tr4=cc[t4]+cc[t4];
|
765
|
-
tr1=cc[t3]-cc[(t4+=t6)-1];
|
766
|
-
tr2=cc[t3]+cc[t4-1];
|
767
|
-
ch[t5]=tr2+tr3;
|
768
|
-
ch[t5+=t0]=tr1-tr4;
|
769
|
-
ch[t5+=t0]=tr2-tr3;
|
770
|
-
ch[t5+=t0]=tr1+tr4;
|
771
|
-
t1+=ido;
|
772
|
-
t3+=t2;
|
773
|
-
}
|
774
|
-
|
775
|
-
if(ido<2)return;
|
776
|
-
if(ido==2)goto L105;
|
777
|
-
|
778
|
-
t1=0;
|
779
|
-
for(k=0;k<l1;k++){
|
780
|
-
t5=(t4=(t3=(t2=t1<<2)+t6))+t6;
|
781
|
-
t7=t1;
|
782
|
-
for(i=2;i<ido;i+=2){
|
783
|
-
t2+=2;
|
784
|
-
t3+=2;
|
785
|
-
t4-=2;
|
786
|
-
t5-=2;
|
787
|
-
t7+=2;
|
788
|
-
ti1=cc[t2]+cc[t5];
|
789
|
-
ti2=cc[t2]-cc[t5];
|
790
|
-
ti3=cc[t3]-cc[t4];
|
791
|
-
tr4=cc[t3]+cc[t4];
|
792
|
-
tr1=cc[t2-1]-cc[t5-1];
|
793
|
-
tr2=cc[t2-1]+cc[t5-1];
|
794
|
-
ti4=cc[t3-1]-cc[t4-1];
|
795
|
-
tr3=cc[t3-1]+cc[t4-1];
|
796
|
-
ch[t7-1]=tr2+tr3;
|
797
|
-
cr3=tr2-tr3;
|
798
|
-
ch[t7]=ti2+ti3;
|
799
|
-
ci3=ti2-ti3;
|
800
|
-
cr2=tr1-tr4;
|
801
|
-
cr4=tr1+tr4;
|
802
|
-
ci2=ti1+ti4;
|
803
|
-
ci4=ti1-ti4;
|
804
|
-
|
805
|
-
ch[(t8=t7+t0)-1]=wa1[i-2]*cr2-wa1[i-1]*ci2;
|
806
|
-
ch[t8]=wa1[i-2]*ci2+wa1[i-1]*cr2;
|
807
|
-
ch[(t8+=t0)-1]=wa2[i-2]*cr3-wa2[i-1]*ci3;
|
808
|
-
ch[t8]=wa2[i-2]*ci3+wa2[i-1]*cr3;
|
809
|
-
ch[(t8+=t0)-1]=wa3[i-2]*cr4-wa3[i-1]*ci4;
|
810
|
-
ch[t8]=wa3[i-2]*ci4+wa3[i-1]*cr4;
|
811
|
-
}
|
812
|
-
t1+=ido;
|
813
|
-
}
|
814
|
-
|
815
|
-
if(ido%2 == 1)return;
|
816
|
-
|
817
|
-
L105:
|
818
|
-
|
819
|
-
t1=ido;
|
820
|
-
t2=ido<<2;
|
821
|
-
t3=ido-1;
|
822
|
-
t4=ido+(ido<<1);
|
823
|
-
for(k=0;k<l1;k++){
|
824
|
-
t5=t3;
|
825
|
-
ti1=cc[t1]+cc[t4];
|
826
|
-
ti2=cc[t4]-cc[t1];
|
827
|
-
tr1=cc[t1-1]-cc[t4-1];
|
828
|
-
tr2=cc[t1-1]+cc[t4-1];
|
829
|
-
ch[t5]=tr2+tr2;
|
830
|
-
ch[t5+=t0]=sqrt2*(tr1-ti1);
|
831
|
-
ch[t5+=t0]=ti2+ti2;
|
832
|
-
ch[t5+=t0]=-sqrt2*(tr1+ti1);
|
833
|
-
|
834
|
-
t3+=ido;
|
835
|
-
t1+=t2;
|
836
|
-
t4+=t2;
|
837
|
-
}
|
838
|
-
}
|
839
|
-
|
840
|
-
static void dradbg(int ido,int ip,int l1,int idl1,float *cc,float *c1,
|
841
|
-
float *c2,float *ch,float *ch2,float *wa){
|
842
|
-
static float tpi=6.283185307179586f;
|
843
|
-
int idij,ipph,i,j,k,l,ik,is,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,
|
844
|
-
t11,t12;
|
845
|
-
float dc2,ai1,ai2,ar1,ar2,ds2;
|
846
|
-
int nbd;
|
847
|
-
float dcp,arg,dsp,ar1h,ar2h;
|
848
|
-
int ipp2;
|
849
|
-
|
850
|
-
t10=ip*ido;
|
851
|
-
t0=l1*ido;
|
852
|
-
arg=tpi/(float)ip;
|
853
|
-
dcp=cos(arg);
|
854
|
-
dsp=sin(arg);
|
855
|
-
nbd=(ido-1)>>1;
|
856
|
-
ipp2=ip;
|
857
|
-
ipph=(ip+1)>>1;
|
858
|
-
if(ido<l1)goto L103;
|
859
|
-
|
860
|
-
t1=0;
|
861
|
-
t2=0;
|
862
|
-
for(k=0;k<l1;k++){
|
863
|
-
t3=t1;
|
864
|
-
t4=t2;
|
865
|
-
for(i=0;i<ido;i++){
|
866
|
-
ch[t3]=cc[t4];
|
867
|
-
t3++;
|
868
|
-
t4++;
|
869
|
-
}
|
870
|
-
t1+=ido;
|
871
|
-
t2+=t10;
|
872
|
-
}
|
873
|
-
goto L106;
|
874
|
-
|
875
|
-
L103:
|
876
|
-
t1=0;
|
877
|
-
for(i=0;i<ido;i++){
|
878
|
-
t2=t1;
|
879
|
-
t3=t1;
|
880
|
-
for(k=0;k<l1;k++){
|
881
|
-
ch[t2]=cc[t3];
|
882
|
-
t2+=ido;
|
883
|
-
t3+=t10;
|
884
|
-
}
|
885
|
-
t1++;
|
886
|
-
}
|
887
|
-
|
888
|
-
L106:
|
889
|
-
t1=0;
|
890
|
-
t2=ipp2*t0;
|
891
|
-
t7=(t5=ido<<1);
|
892
|
-
for(j=1;j<ipph;j++){
|
893
|
-
t1+=t0;
|
894
|
-
t2-=t0;
|
895
|
-
t3=t1;
|
896
|
-
t4=t2;
|
897
|
-
t6=t5;
|
898
|
-
for(k=0;k<l1;k++){
|
899
|
-
ch[t3]=cc[t6-1]+cc[t6-1];
|
900
|
-
ch[t4]=cc[t6]+cc[t6];
|
901
|
-
t3+=ido;
|
902
|
-
t4+=ido;
|
903
|
-
t6+=t10;
|
904
|
-
}
|
905
|
-
t5+=t7;
|
906
|
-
}
|
907
|
-
|
908
|
-
if (ido == 1)goto L116;
|
909
|
-
if(nbd<l1)goto L112;
|
910
|
-
|
911
|
-
t1=0;
|
912
|
-
t2=ipp2*t0;
|
913
|
-
t7=0;
|
914
|
-
for(j=1;j<ipph;j++){
|
915
|
-
t1+=t0;
|
916
|
-
t2-=t0;
|
917
|
-
t3=t1;
|
918
|
-
t4=t2;
|
919
|
-
|
920
|
-
t7+=(ido<<1);
|
921
|
-
t8=t7;
|
922
|
-
for(k=0;k<l1;k++){
|
923
|
-
t5=t3;
|
924
|
-
t6=t4;
|
925
|
-
t9=t8;
|
926
|
-
t11=t8;
|
927
|
-
for(i=2;i<ido;i+=2){
|
928
|
-
t5+=2;
|
929
|
-
t6+=2;
|
930
|
-
t9+=2;
|
931
|
-
t11-=2;
|
932
|
-
ch[t5-1]=cc[t9-1]+cc[t11-1];
|
933
|
-
ch[t6-1]=cc[t9-1]-cc[t11-1];
|
934
|
-
ch[t5]=cc[t9]-cc[t11];
|
935
|
-
ch[t6]=cc[t9]+cc[t11];
|
936
|
-
}
|
937
|
-
t3+=ido;
|
938
|
-
t4+=ido;
|
939
|
-
t8+=t10;
|
940
|
-
}
|
941
|
-
}
|
942
|
-
goto L116;
|
943
|
-
|
944
|
-
L112:
|
945
|
-
t1=0;
|
946
|
-
t2=ipp2*t0;
|
947
|
-
t7=0;
|
948
|
-
for(j=1;j<ipph;j++){
|
949
|
-
t1+=t0;
|
950
|
-
t2-=t0;
|
951
|
-
t3=t1;
|
952
|
-
t4=t2;
|
953
|
-
t7+=(ido<<1);
|
954
|
-
t8=t7;
|
955
|
-
t9=t7;
|
956
|
-
for(i=2;i<ido;i+=2){
|
957
|
-
t3+=2;
|
958
|
-
t4+=2;
|
959
|
-
t8+=2;
|
960
|
-
t9-=2;
|
961
|
-
t5=t3;
|
962
|
-
t6=t4;
|
963
|
-
t11=t8;
|
964
|
-
t12=t9;
|
965
|
-
for(k=0;k<l1;k++){
|
966
|
-
ch[t5-1]=cc[t11-1]+cc[t12-1];
|
967
|
-
ch[t6-1]=cc[t11-1]-cc[t12-1];
|
968
|
-
ch[t5]=cc[t11]-cc[t12];
|
969
|
-
ch[t6]=cc[t11]+cc[t12];
|
970
|
-
t5+=ido;
|
971
|
-
t6+=ido;
|
972
|
-
t11+=t10;
|
973
|
-
t12+=t10;
|
974
|
-
}
|
975
|
-
}
|
976
|
-
}
|
977
|
-
|
978
|
-
L116:
|
979
|
-
ar1=1.f;
|
980
|
-
ai1=0.f;
|
981
|
-
t1=0;
|
982
|
-
t9=(t2=ipp2*idl1);
|
983
|
-
t3=(ip-1)*idl1;
|
984
|
-
for(l=1;l<ipph;l++){
|
985
|
-
t1+=idl1;
|
986
|
-
t2-=idl1;
|
987
|
-
|
988
|
-
ar1h=dcp*ar1-dsp*ai1;
|
989
|
-
ai1=dcp*ai1+dsp*ar1;
|
990
|
-
ar1=ar1h;
|
991
|
-
t4=t1;
|
992
|
-
t5=t2;
|
993
|
-
t6=0;
|
994
|
-
t7=idl1;
|
995
|
-
t8=t3;
|
996
|
-
for(ik=0;ik<idl1;ik++){
|
997
|
-
c2[t4++]=ch2[t6++]+ar1*ch2[t7++];
|
998
|
-
c2[t5++]=ai1*ch2[t8++];
|
999
|
-
}
|
1000
|
-
dc2=ar1;
|
1001
|
-
ds2=ai1;
|
1002
|
-
ar2=ar1;
|
1003
|
-
ai2=ai1;
|
1004
|
-
|
1005
|
-
t6=idl1;
|
1006
|
-
t7=t9-idl1;
|
1007
|
-
for(j=2;j<ipph;j++){
|
1008
|
-
t6+=idl1;
|
1009
|
-
t7-=idl1;
|
1010
|
-
ar2h=dc2*ar2-ds2*ai2;
|
1011
|
-
ai2=dc2*ai2+ds2*ar2;
|
1012
|
-
ar2=ar2h;
|
1013
|
-
t4=t1;
|
1014
|
-
t5=t2;
|
1015
|
-
t11=t6;
|
1016
|
-
t12=t7;
|
1017
|
-
for(ik=0;ik<idl1;ik++){
|
1018
|
-
c2[t4++]+=ar2*ch2[t11++];
|
1019
|
-
c2[t5++]+=ai2*ch2[t12++];
|
1020
|
-
}
|
1021
|
-
}
|
1022
|
-
}
|
1023
|
-
|
1024
|
-
t1=0;
|
1025
|
-
for(j=1;j<ipph;j++){
|
1026
|
-
t1+=idl1;
|
1027
|
-
t2=t1;
|
1028
|
-
for(ik=0;ik<idl1;ik++)ch2[ik]+=ch2[t2++];
|
1029
|
-
}
|
1030
|
-
|
1031
|
-
t1=0;
|
1032
|
-
t2=ipp2*t0;
|
1033
|
-
for(j=1;j<ipph;j++){
|
1034
|
-
t1+=t0;
|
1035
|
-
t2-=t0;
|
1036
|
-
t3=t1;
|
1037
|
-
t4=t2;
|
1038
|
-
for(k=0;k<l1;k++){
|
1039
|
-
ch[t3]=c1[t3]-c1[t4];
|
1040
|
-
ch[t4]=c1[t3]+c1[t4];
|
1041
|
-
t3+=ido;
|
1042
|
-
t4+=ido;
|
1043
|
-
}
|
1044
|
-
}
|
1045
|
-
|
1046
|
-
if(ido==1)goto L132;
|
1047
|
-
if(nbd<l1)goto L128;
|
1048
|
-
|
1049
|
-
t1=0;
|
1050
|
-
t2=ipp2*t0;
|
1051
|
-
for(j=1;j<ipph;j++){
|
1052
|
-
t1+=t0;
|
1053
|
-
t2-=t0;
|
1054
|
-
t3=t1;
|
1055
|
-
t4=t2;
|
1056
|
-
for(k=0;k<l1;k++){
|
1057
|
-
t5=t3;
|
1058
|
-
t6=t4;
|
1059
|
-
for(i=2;i<ido;i+=2){
|
1060
|
-
t5+=2;
|
1061
|
-
t6+=2;
|
1062
|
-
ch[t5-1]=c1[t5-1]-c1[t6];
|
1063
|
-
ch[t6-1]=c1[t5-1]+c1[t6];
|
1064
|
-
ch[t5]=c1[t5]+c1[t6-1];
|
1065
|
-
ch[t6]=c1[t5]-c1[t6-1];
|
1066
|
-
}
|
1067
|
-
t3+=ido;
|
1068
|
-
t4+=ido;
|
1069
|
-
}
|
1070
|
-
}
|
1071
|
-
goto L132;
|
1072
|
-
|
1073
|
-
L128:
|
1074
|
-
t1=0;
|
1075
|
-
t2=ipp2*t0;
|
1076
|
-
for(j=1;j<ipph;j++){
|
1077
|
-
t1+=t0;
|
1078
|
-
t2-=t0;
|
1079
|
-
t3=t1;
|
1080
|
-
t4=t2;
|
1081
|
-
for(i=2;i<ido;i+=2){
|
1082
|
-
t3+=2;
|
1083
|
-
t4+=2;
|
1084
|
-
t5=t3;
|
1085
|
-
t6=t4;
|
1086
|
-
for(k=0;k<l1;k++){
|
1087
|
-
ch[t5-1]=c1[t5-1]-c1[t6];
|
1088
|
-
ch[t6-1]=c1[t5-1]+c1[t6];
|
1089
|
-
ch[t5]=c1[t5]+c1[t6-1];
|
1090
|
-
ch[t6]=c1[t5]-c1[t6-1];
|
1091
|
-
t5+=ido;
|
1092
|
-
t6+=ido;
|
1093
|
-
}
|
1094
|
-
}
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
L132:
|
1098
|
-
if(ido==1)return;
|
1099
|
-
|
1100
|
-
for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
|
1101
|
-
|
1102
|
-
t1=0;
|
1103
|
-
for(j=1;j<ip;j++){
|
1104
|
-
t2=(t1+=t0);
|
1105
|
-
for(k=0;k<l1;k++){
|
1106
|
-
c1[t2]=ch[t2];
|
1107
|
-
t2+=ido;
|
1108
|
-
}
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
if(nbd>l1)goto L139;
|
1112
|
-
|
1113
|
-
is= -ido-1;
|
1114
|
-
t1=0;
|
1115
|
-
for(j=1;j<ip;j++){
|
1116
|
-
is+=ido;
|
1117
|
-
t1+=t0;
|
1118
|
-
idij=is;
|
1119
|
-
t2=t1;
|
1120
|
-
for(i=2;i<ido;i+=2){
|
1121
|
-
t2+=2;
|
1122
|
-
idij+=2;
|
1123
|
-
t3=t2;
|
1124
|
-
for(k=0;k<l1;k++){
|
1125
|
-
c1[t3-1]=wa[idij-1]*ch[t3-1]-wa[idij]*ch[t3];
|
1126
|
-
c1[t3]=wa[idij-1]*ch[t3]+wa[idij]*ch[t3-1];
|
1127
|
-
t3+=ido;
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
}
|
1131
|
-
return;
|
1132
|
-
|
1133
|
-
L139:
|
1134
|
-
is= -ido-1;
|
1135
|
-
t1=0;
|
1136
|
-
for(j=1;j<ip;j++){
|
1137
|
-
is+=ido;
|
1138
|
-
t1+=t0;
|
1139
|
-
t2=t1;
|
1140
|
-
for(k=0;k<l1;k++){
|
1141
|
-
idij=is;
|
1142
|
-
t3=t2;
|
1143
|
-
for(i=2;i<ido;i+=2){
|
1144
|
-
idij+=2;
|
1145
|
-
t3+=2;
|
1146
|
-
c1[t3-1]=wa[idij-1]*ch[t3-1]-wa[idij]*ch[t3];
|
1147
|
-
c1[t3]=wa[idij-1]*ch[t3]+wa[idij]*ch[t3-1];
|
1148
|
-
}
|
1149
|
-
t2+=ido;
|
1150
|
-
}
|
1151
|
-
}
|
1152
|
-
}
|
1153
|
-
|
1154
|
-
static void drftb1(int n, float *c, float *ch, float *wa, int *ifac){
|
1155
|
-
int i,k1,l1,l2;
|
1156
|
-
int na;
|
1157
|
-
int nf,ip,iw,ix2,ix3,ido,idl1;
|
1158
|
-
|
1159
|
-
nf=ifac[1];
|
1160
|
-
na=0;
|
1161
|
-
l1=1;
|
1162
|
-
iw=1;
|
1163
|
-
|
1164
|
-
for(k1=0;k1<nf;k1++){
|
1165
|
-
ip=ifac[k1 + 2];
|
1166
|
-
l2=ip*l1;
|
1167
|
-
ido=n/l2;
|
1168
|
-
idl1=ido*l1;
|
1169
|
-
if(ip!=4)goto L103;
|
1170
|
-
ix2=iw+ido;
|
1171
|
-
ix3=ix2+ido;
|
1172
|
-
|
1173
|
-
if(na!=0)
|
1174
|
-
dradb4(ido,l1,ch,c,wa+iw-1,wa+ix2-1,wa+ix3-1);
|
1175
|
-
else
|
1176
|
-
dradb4(ido,l1,c,ch,wa+iw-1,wa+ix2-1,wa+ix3-1);
|
1177
|
-
na=1-na;
|
1178
|
-
goto L115;
|
1179
|
-
|
1180
|
-
L103:
|
1181
|
-
if(ip!=2)goto L106;
|
1182
|
-
|
1183
|
-
if(na!=0)
|
1184
|
-
dradb2(ido,l1,ch,c,wa+iw-1);
|
1185
|
-
else
|
1186
|
-
dradb2(ido,l1,c,ch,wa+iw-1);
|
1187
|
-
na=1-na;
|
1188
|
-
goto L115;
|
1189
|
-
|
1190
|
-
L106:
|
1191
|
-
if(ip!=3)goto L109;
|
1192
|
-
|
1193
|
-
ix2=iw+ido;
|
1194
|
-
if(na!=0)
|
1195
|
-
dradb3(ido,l1,ch,c,wa+iw-1,wa+ix2-1);
|
1196
|
-
else
|
1197
|
-
dradb3(ido,l1,c,ch,wa+iw-1,wa+ix2-1);
|
1198
|
-
na=1-na;
|
1199
|
-
goto L115;
|
1200
|
-
|
1201
|
-
L109:
|
1202
|
-
/* The radix five case can be translated later..... */
|
1203
|
-
/* if(ip!=5)goto L112;
|
1204
|
-
|
1205
|
-
ix2=iw+ido;
|
1206
|
-
ix3=ix2+ido;
|
1207
|
-
ix4=ix3+ido;
|
1208
|
-
if(na!=0)
|
1209
|
-
dradb5(ido,l1,ch,c,wa+iw-1,wa+ix2-1,wa+ix3-1,wa+ix4-1);
|
1210
|
-
else
|
1211
|
-
dradb5(ido,l1,c,ch,wa+iw-1,wa+ix2-1,wa+ix3-1,wa+ix4-1);
|
1212
|
-
na=1-na;
|
1213
|
-
goto L115;
|
1214
|
-
|
1215
|
-
L112:*/
|
1216
|
-
if(na!=0)
|
1217
|
-
dradbg(ido,ip,l1,idl1,ch,ch,ch,c,c,wa+iw-1);
|
1218
|
-
else
|
1219
|
-
dradbg(ido,ip,l1,idl1,c,c,c,ch,ch,wa+iw-1);
|
1220
|
-
if(ido==1)na=1-na;
|
1221
|
-
|
1222
|
-
L115:
|
1223
|
-
l1=l2;
|
1224
|
-
iw+=(ip-1)*ido;
|
1225
|
-
}
|
1226
|
-
|
1227
|
-
if(na==0)return;
|
1228
|
-
|
1229
|
-
for(i=0;i<n;i++)c[i]=ch[i];
|
1230
|
-
}
|
1231
|
-
|
1232
|
-
void drft_forward(drft_lookup *l,float *data){
|
1233
|
-
if(l->n==1)return;
|
1234
|
-
drftf1(l->n,data,l->trigcache,l->trigcache+l->n,l->splitcache);
|
1235
|
-
}
|
1236
|
-
|
1237
|
-
void drft_backward(drft_lookup *l,float *data){
|
1238
|
-
if (l->n==1)return;
|
1239
|
-
drftb1(l->n,data,l->trigcache,l->trigcache+l->n,l->splitcache);
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
void drft_init(drft_lookup *l,int n){
|
1243
|
-
l->n=n;
|
1244
|
-
l->trigcache=_ogg_calloc(3*n,sizeof(*l->trigcache));
|
1245
|
-
l->splitcache=_ogg_calloc(32,sizeof(*l->splitcache));
|
1246
|
-
fdrffti(n, l->trigcache, l->splitcache);
|
1247
|
-
}
|
1248
|
-
|
1249
|
-
void drft_clear(drft_lookup *l){
|
1250
|
-
if(l){
|
1251
|
-
if(l->trigcache)_ogg_free(l->trigcache);
|
1252
|
-
if(l->splitcache)_ogg_free(l->splitcache);
|
1253
|
-
memset(l,0,sizeof(*l));
|
1254
|
-
}
|
1255
|
-
}
|