├── .gitignore ├── CMakeLists.txt ├── IDropTarget.c ├── IDropTarget.h ├── LICENSE.txt ├── Makefile ├── README.md ├── bnk-extract ├── Makefile ├── README.md ├── api.h ├── bin.c ├── bin.h ├── bnk.c ├── bnk.h ├── defs.h ├── extract.c ├── extract.h ├── general_utils.c ├── general_utils.h ├── gnu_minmax.h ├── list.h ├── revorb │ ├── api.h │ └── revorb.c ├── sound.c ├── static_list.h ├── wpk.c ├── wpk.h └── ww2ogg │ ├── Bit_stream.hpp │ ├── COPYING │ ├── api.h │ ├── codebook.bin │ ├── codebook.cpp │ ├── codebook.hpp │ ├── crc.c │ ├── crc.h │ ├── errors.hpp │ ├── ww2ogg.cpp │ ├── wwriff.cpp │ └── wwriff.hpp ├── gui.c ├── gui.exe.manifest ├── icon.ico ├── libogg-1.3.5 ├── AUTHORS ├── CHANGES ├── CMakeLists.txt ├── COPYING ├── Makefile.am ├── Makefile.in ├── README.md ├── aclocal.m4 ├── cmake │ ├── CheckSizes.cmake │ └── OggConfig.cmake.in ├── compile ├── config.guess ├── config.h.in ├── config.sub ├── configure ├── configure.ac ├── depcomp ├── doc │ ├── Makefile.am │ ├── Makefile.in │ ├── fish_xiph_org.png │ ├── framing.html │ ├── index.html │ ├── libogg │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── bitpacking.html │ │ ├── datastructures.html │ │ ├── decoding.html │ │ ├── encoding.html │ │ ├── general.html │ │ ├── index.html │ │ ├── ogg_iovec_t.html │ │ ├── ogg_packet.html │ │ ├── ogg_packet_clear.html │ │ ├── ogg_page.html │ │ ├── ogg_page_bos.html │ │ ├── ogg_page_checksum_set.html │ │ ├── ogg_page_continued.html │ │ ├── ogg_page_eos.html │ │ ├── ogg_page_granulepos.html │ │ ├── ogg_page_packets.html │ │ ├── ogg_page_pageno.html │ │ ├── ogg_page_serialno.html │ │ ├── ogg_page_version.html │ │ ├── ogg_stream_check.html │ │ ├── ogg_stream_clear.html │ │ ├── ogg_stream_destroy.html │ │ ├── ogg_stream_eos.html │ │ ├── ogg_stream_flush.html │ │ ├── ogg_stream_flush_fill.html │ │ ├── ogg_stream_init.html │ │ ├── ogg_stream_iovecin.html │ │ ├── ogg_stream_packetin.html │ │ ├── ogg_stream_packetout.html │ │ ├── ogg_stream_packetpeek.html │ │ ├── ogg_stream_pagein.html │ │ ├── ogg_stream_pageout.html │ │ ├── ogg_stream_pageout_fill.html │ │ ├── ogg_stream_reset.html │ │ ├── ogg_stream_reset_serialno.html │ │ ├── ogg_stream_state.html │ │ ├── ogg_sync_buffer.html │ │ ├── ogg_sync_check.html │ │ ├── ogg_sync_clear.html │ │ ├── ogg_sync_destroy.html │ │ ├── ogg_sync_init.html │ │ ├── ogg_sync_pageout.html │ │ ├── ogg_sync_pageseek.html │ │ ├── ogg_sync_reset.html │ │ ├── ogg_sync_state.html │ │ ├── ogg_sync_wrote.html │ │ ├── oggpack_adv.html │ │ ├── oggpack_adv1.html │ │ ├── oggpack_bits.html │ │ ├── oggpack_buffer.html │ │ ├── oggpack_bytes.html │ │ ├── oggpack_get_buffer.html │ │ ├── oggpack_look.html │ │ ├── oggpack_look1.html │ │ ├── oggpack_read.html │ │ ├── oggpack_read1.html │ │ ├── oggpack_readinit.html │ │ ├── oggpack_reset.html │ │ ├── oggpack_write.html │ │ ├── oggpack_writealign.html │ │ ├── oggpack_writecheck.html │ │ ├── oggpack_writeclear.html │ │ ├── oggpack_writecopy.html │ │ ├── oggpack_writeinit.html │ │ ├── oggpack_writetrunc.html │ │ ├── overview.html │ │ ├── reference.html │ │ └── style.css │ ├── multiplex1.png │ ├── ogg-multiplex.html │ ├── oggstream.html │ ├── packets.png │ ├── pages.png │ ├── rfc3533.txt │ ├── rfc5334.txt │ ├── skeleton.html │ ├── stream.png │ ├── vorbisword2.png │ ├── white-ogg.png │ └── white-xifish.png ├── include │ ├── Makefile.am │ ├── Makefile.in │ └── ogg │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── config_types.h.in │ │ ├── ogg.h │ │ └── os_types.h ├── install-sh ├── libogg.spec.in ├── ltmain.sh ├── m4 │ ├── libtool.m4 │ ├── ltoptions.m4 │ ├── ltsugar.m4 │ ├── ltversion.m4 │ └── lt~obsolete.m4 ├── missing ├── ogg-uninstalled.pc.in ├── ogg.m4 ├── ogg.pc.in ├── src │ ├── Makefile.am │ ├── Makefile.in │ ├── bitwise.c │ ├── crctable.h │ └── framing.c └── win32 │ ├── .gitignore │ ├── VS2015 │ ├── libogg.sln │ ├── libogg.vcxproj │ └── libogg.vcxproj.filters │ └── ogg.def ├── libvorbis-1.3.7 ├── AUTHORS ├── CHANGES ├── CMakeLists.txt ├── COPYING ├── Makefile.am ├── Makefile.in ├── aclocal.m4 ├── autogen.sh ├── cmake │ ├── FindOgg.cmake │ └── VorbisConfig.cmake.in ├── compile ├── config.guess ├── config.h.in ├── config.sub ├── configure ├── configure.ac ├── depcomp ├── doc │ ├── 01-introduction.tex │ ├── 02-bitpacking.tex │ ├── 03-codebook.tex │ ├── 04-codec.tex │ ├── 05-comment.tex │ ├── 06-floor0.tex │ ├── 07-floor1.tex │ ├── 08-residue.tex │ ├── 09-helper.tex │ ├── 10-tables.tex │ ├── Doxyfile.in │ ├── Makefile.am │ ├── Makefile.in │ ├── Vorbis_I_spec.cfg │ ├── Vorbis_I_spec.css │ ├── Vorbis_I_spec.html │ ├── Vorbis_I_spec.pdf │ ├── Vorbis_I_spec.tex │ ├── Vorbis_I_spec0x.png │ ├── Vorbis_I_spec10x.png │ ├── Vorbis_I_spec11x.png │ ├── Vorbis_I_spec12x.png │ ├── Vorbis_I_spec13x.png │ ├── Vorbis_I_spec14x.png │ ├── Vorbis_I_spec1x.png │ ├── Vorbis_I_spec2x.png │ ├── Vorbis_I_spec3x.png │ ├── Vorbis_I_spec4x.png │ ├── Vorbis_I_spec5x.png │ ├── Vorbis_I_spec6x.png │ ├── Vorbis_I_spec7x.png │ ├── Vorbis_I_spec8x.png │ ├── Vorbis_I_spec9x.png │ ├── a1-encapsulation-ogg.tex │ ├── a2-encapsulation-rtp.tex │ ├── components.png │ ├── eightphase.png │ ├── fish_xiph_org.png │ ├── floor1-1.png │ ├── floor1-2.png │ ├── floor1-3.png │ ├── floor1-4.png │ ├── floor1_inverse_dB_table.html │ ├── floorval.png │ ├── footer.tex │ ├── fourphase.png │ ├── framing.html │ ├── helper.html │ ├── hufftree-under.png │ ├── hufftree.png │ ├── index.html │ ├── libvorbis │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── index.html │ │ ├── overview.html │ │ ├── reference.html │ │ ├── return.html │ │ ├── style.css │ │ ├── vorbis_analysis.html │ │ ├── vorbis_analysis_blockout.html │ │ ├── vorbis_analysis_buffer.html │ │ ├── vorbis_analysis_headerout.html │ │ ├── vorbis_analysis_init.html │ │ ├── vorbis_analysis_wrote.html │ │ ├── vorbis_bitrate_addblock.html │ │ ├── vorbis_bitrate_flushpacket.html │ │ ├── vorbis_block.html │ │ ├── vorbis_block_clear.html │ │ ├── vorbis_block_init.html │ │ ├── vorbis_comment.html │ │ ├── vorbis_comment_add.html │ │ ├── vorbis_comment_add_tag.html │ │ ├── vorbis_comment_clear.html │ │ ├── vorbis_comment_init.html │ │ ├── vorbis_comment_query.html │ │ ├── vorbis_comment_query_count.html │ │ ├── vorbis_commentheader_out.html │ │ ├── vorbis_dsp_clear.html │ │ ├── vorbis_dsp_state.html │ │ ├── vorbis_granule_time.html │ │ ├── vorbis_info.html │ │ ├── vorbis_info_blocksize.html │ │ ├── vorbis_info_clear.html │ │ ├── vorbis_info_init.html │ │ ├── vorbis_packet_blocksize.html │ │ ├── vorbis_synthesis.html │ │ ├── vorbis_synthesis_blockin.html │ │ ├── vorbis_synthesis_halfrate.html │ │ ├── vorbis_synthesis_halfrate_p.html │ │ ├── vorbis_synthesis_headerin.html │ │ ├── vorbis_synthesis_idheader.html │ │ ├── vorbis_synthesis_init.html │ │ ├── vorbis_synthesis_lapout.html │ │ ├── vorbis_synthesis_pcmout.html │ │ ├── vorbis_synthesis_read.html │ │ ├── vorbis_synthesis_restart.html │ │ ├── vorbis_synthesis_trackonly.html │ │ └── vorbis_version_string.html │ ├── oggstream.html │ ├── programming.html │ ├── residue-pack.png │ ├── residue2.png │ ├── rfc5215.txt │ ├── rfc5215.xml │ ├── squarepolar.png │ ├── stereo.html │ ├── stream.png │ ├── v-comment.html │ ├── vorbis-clip.txt │ ├── vorbis-errors.txt │ ├── vorbis-fidelity.html │ ├── vorbisenc │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── changes.html │ │ ├── examples.html │ │ ├── index.html │ │ ├── ovectl_ratemanage2_arg.html │ │ ├── ovectl_ratemanage_arg.html │ │ ├── overview.html │ │ ├── reference.html │ │ ├── style.css │ │ ├── vorbis_encode_ctl.html │ │ ├── vorbis_encode_init.html │ │ ├── vorbis_encode_init_vbr.html │ │ ├── vorbis_encode_setup_init.html │ │ ├── vorbis_encode_setup_managed.html │ │ └── vorbis_encode_setup_vbr.html │ ├── vorbisfile │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── OggVorbis_File.html │ │ ├── callbacks.html │ │ ├── chaining_example_c.html │ │ ├── chainingexample.html │ │ ├── crosslap.html │ │ ├── datastructures.html │ │ ├── decoding.html │ │ ├── example.html │ │ ├── exampleindex.html │ │ ├── fileinfo.html │ │ ├── index.html │ │ ├── initialization.html │ │ ├── ov_bitrate.html │ │ ├── ov_bitrate_instant.html │ │ ├── ov_callbacks.html │ │ ├── ov_clear.html │ │ ├── ov_comment.html │ │ ├── ov_crosslap.html │ │ ├── ov_fopen.html │ │ ├── ov_info.html │ │ ├── ov_open.html │ │ ├── ov_open_callbacks.html │ │ ├── ov_pcm_seek.html │ │ ├── ov_pcm_seek_lap.html │ │ ├── ov_pcm_seek_page.html │ │ ├── ov_pcm_seek_page_lap.html │ │ ├── ov_pcm_tell.html │ │ ├── ov_pcm_total.html │ │ ├── ov_raw_seek.html │ │ ├── ov_raw_seek_lap.html │ │ ├── ov_raw_tell.html │ │ ├── ov_raw_total.html │ │ ├── ov_read.html │ │ ├── ov_read_filter.html │ │ ├── ov_read_float.html │ │ ├── ov_seekable.html │ │ ├── ov_serialnumber.html │ │ ├── ov_streams.html │ │ ├── ov_test.html │ │ ├── ov_test_callbacks.html │ │ ├── ov_test_open.html │ │ ├── ov_time_seek.html │ │ ├── ov_time_seek_lap.html │ │ ├── ov_time_seek_page.html │ │ ├── ov_time_seek_page_lap.html │ │ ├── ov_time_tell.html │ │ ├── ov_time_total.html │ │ ├── overview.html │ │ ├── reference.html │ │ ├── seekexample.html │ │ ├── seeking.html │ │ ├── seeking_example_c.html │ │ ├── seeking_test_c.html │ │ ├── seekingexample.html │ │ ├── style.css │ │ ├── threads.html │ │ └── vorbisfile_example_c.html │ ├── window1.png │ └── window2.png ├── examples │ ├── Makefile.am │ ├── Makefile.in │ ├── chaining_example.c │ ├── decoder_example.c │ ├── encoder_example.c │ ├── frameview.pl │ ├── seeking_example.c │ └── vorbisfile_example.c ├── include │ ├── Makefile.am │ ├── Makefile.in │ └── vorbis │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── codec.h │ │ ├── vorbisenc.h │ │ └── vorbisfile.h ├── install-sh ├── lib │ ├── CMakeLists.txt │ ├── Makefile.am │ ├── Makefile.in │ ├── analysis.c │ ├── backends.h │ ├── barkmel.c │ ├── bitrate.c │ ├── bitrate.h │ ├── block.c │ ├── books │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── coupled │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── res_books_51.h │ │ │ └── res_books_stereo.h │ │ ├── floor │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ └── floor_books.h │ │ └── uncoupled │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ └── res_books_uncoupled.h │ ├── codebook.c │ ├── codebook.h │ ├── codec_internal.h │ ├── envelope.c │ ├── envelope.h │ ├── floor0.c │ ├── floor1.c │ ├── highlevel.h │ ├── info.c │ ├── lookup.c │ ├── lookup.h │ ├── lookup_data.h │ ├── lookups.pl │ ├── lpc.c │ ├── lpc.h │ ├── lsp.c │ ├── lsp.h │ ├── mapping0.c │ ├── masking.h │ ├── mdct.c │ ├── mdct.h │ ├── misc.h │ ├── modes │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── floor_all.h │ │ ├── psych_11.h │ │ ├── psych_16.h │ │ ├── psych_44.h │ │ ├── psych_8.h │ │ ├── residue_16.h │ │ ├── residue_44.h │ │ ├── residue_44p51.h │ │ ├── residue_44u.h │ │ ├── residue_8.h │ │ ├── setup_11.h │ │ ├── setup_16.h │ │ ├── setup_22.h │ │ ├── setup_32.h │ │ ├── setup_44.h │ │ ├── setup_44p51.h │ │ ├── setup_44u.h │ │ ├── setup_8.h │ │ └── setup_X.h │ ├── os.h │ ├── psy.c │ ├── psy.h │ ├── psytune.c │ ├── registry.c │ ├── registry.h │ ├── res0.c │ ├── scales.h │ ├── sharedbook.c │ ├── smallft.c │ ├── smallft.h │ ├── synthesis.c │ ├── tone.c │ ├── vorbisenc.c │ ├── vorbisfile.c │ ├── window.c │ └── window.h ├── libvorbis.spec.in ├── ltmain.sh ├── m4 │ ├── Makefile.am │ ├── Makefile.in │ ├── add_cflags.m4 │ ├── libtool.m4 │ ├── ltoptions.m4 │ ├── ltsugar.m4 │ ├── ltversion.m4 │ ├── lt~obsolete.m4 │ ├── ogg.m4 │ └── pkg.m4 ├── macosx │ ├── English.lproj │ │ └── InfoPlist.strings │ ├── Info.plist │ └── Vorbis.xcodeproj │ │ └── project.pbxproj ├── missing ├── symbian │ ├── bld.inf │ ├── config.h │ └── vorbis.mmp ├── test │ ├── Makefile.am │ ├── Makefile.in │ ├── test.c │ ├── util.c │ ├── util.h │ ├── write_read.c │ └── write_read.h ├── vorbis-uninstalled.pc.in ├── vorbis.m4 ├── vorbis.pc.in ├── vorbisenc-uninstalled.pc.in ├── vorbisenc.pc.in ├── vorbisfile-uninstalled.pc.in ├── vorbisfile.pc.in ├── vq │ ├── 16.vqs │ ├── 16u.vqs │ ├── 44c-1.vqs │ ├── 44c0.vqs │ ├── 44c1.vqs │ ├── 44c2.vqs │ ├── 44c3.vqs │ ├── 44c4.vqs │ ├── 44c5.vqs │ ├── 44c6.vqs │ ├── 44c7.vqs │ ├── 44c8.vqs │ ├── 44c9.vqs │ ├── 44p-1.vqs │ ├── 44p0.vqs │ ├── 44p1.vqs │ ├── 44p2.vqs │ ├── 44p3.vqs │ ├── 44p4.vqs │ ├── 44p5.vqs │ ├── 44p6.vqs │ ├── 44p7.vqs │ ├── 44p8.vqs │ ├── 44p9.vqs │ ├── 44u0.vqs │ ├── 44u1.vqs │ ├── 44u2.vqs │ ├── 44u3.vqs │ ├── 44u4.vqs │ ├── 44u5.vqs │ ├── 44u6.vqs │ ├── 44u7.vqs │ ├── 44u8.vqs │ ├── 44u9.vqs │ ├── 8.vqs │ ├── 8u.vqs │ ├── Makefile.am │ ├── Makefile.in │ ├── bookutil.c │ ├── bookutil.h │ ├── distribution.c │ ├── floor_11.vqs │ ├── floor_22.vqs │ ├── floor_44.vqs │ ├── huffbuild.c │ ├── latticebuild.c │ ├── latticetune.c │ ├── localcodebook.h │ ├── make_floor_books.pl │ ├── make_residue_books.pl │ ├── metrics.c │ ├── vqgen.c │ └── vqgen.h └── win32 │ ├── VS2005 │ ├── README │ ├── libogg.vsprops │ ├── libvorbis │ │ ├── libvorbis_dynamic.vcproj │ │ └── libvorbis_static.vcproj │ ├── libvorbisfile │ │ ├── libvorbisfile_dynamic.vcproj │ │ └── libvorbisfile_static.vcproj │ ├── vorbis_dynamic.sln │ ├── vorbis_static.sln │ ├── vorbisdec │ │ ├── vorbisdec_dynamic.vcproj │ │ └── vorbisdec_static.vcproj │ └── vorbisenc │ │ ├── vorbisenc_dynamic.vcproj │ │ └── vorbisenc_static.vcproj │ ├── VS2008 │ ├── README │ ├── libogg.vsprops │ ├── libvorbis │ │ ├── libvorbis_dynamic.vcproj │ │ └── libvorbis_static.vcproj │ ├── libvorbisfile │ │ ├── libvorbisfile_dynamic.vcproj │ │ └── libvorbisfile_static.vcproj │ ├── vorbis_dynamic.sln │ ├── vorbis_static.sln │ ├── vorbisdec │ │ ├── vorbisdec_dynamic.vcproj │ │ └── vorbisdec_static.vcproj │ └── vorbisenc │ │ ├── vorbisenc_dynamic.vcproj │ │ └── vorbisenc_static.vcproj │ ├── VS2010 │ ├── README │ ├── libogg.props │ ├── libvorbis │ │ ├── libvorbis_dynamic.vcxproj │ │ └── libvorbis_static.vcxproj │ ├── libvorbisfile │ │ ├── libvorbisfile_dynamic.vcxproj │ │ └── libvorbisfile_static.vcxproj │ ├── vorbis_dynamic.sln │ ├── vorbis_static.sln │ ├── vorbisdec │ │ ├── vorbisdec_dynamic.vcxproj │ │ └── vorbisdec_static.vcxproj │ └── vorbisenc │ │ ├── vorbisenc_dynamic.vcxproj │ │ └── vorbisenc_static.vcxproj │ ├── vorbis.def │ ├── vorbisenc.def │ └── vorbisfile.def ├── manifest.rc ├── resource.h ├── resource.rc ├── settings.c ├── settings.h ├── treeview_extension.c ├── treeview_extension.h ├── utility.c └── utility.h /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | .vs/ 3 | 4 | *.o 5 | *.res 6 | gui.exe 7 | bnk-gui.exe 8 | .prerequisites_built 9 | build/ 10 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20) 2 | 3 | project(bnk-extract-GUI LANGUAGES C CXX) 4 | 5 | set(CMAKE_C_STANDARD 11) 6 | set(CMAKE_C_EXTENSIONS ON) 7 | set(CMAKE_C_STANDARD_REQUIRED ON) 8 | 9 | set(INSTALL_DOCS OFF) 10 | set(INSTALL_PKG_CONFIG_MODULE OFF) 11 | set(INSTALL_CMAKE_PACKAGE_MODULE OFF) 12 | 13 | add_subdirectory(libogg-1.3.5) 14 | set(CMAKE_OGG_FOUND TRUE) 15 | set(OGG_LIBRARY ogg) 16 | get_target_property(OGG_INCLUDE_DIR ogg INCLUDE_DIRECTORIES) 17 | add_subdirectory(libvorbis-1.3.7) 18 | 19 | 20 | file(GLOB_RECURSE BNK_EXTRACT_SRC CMAKE_CONFIGURE_DEPENDS 21 | bnk-extract/*.cpp 22 | bnk-extract/*.c 23 | bnk-extract/*.hpp 24 | bnk-extract/*.h 25 | ) 26 | 27 | file(GLOB BNK_EXTRACT_GUI_SRC CMAKE_CONFIGURE_DEPENDS *.c *.h *.rc) 28 | 29 | add_executable(bnk-extract-GUI WIN32 ${BNK_EXTRACT_SRC} ${BNK_EXTRACT_GUI_SRC}) 30 | target_link_libraries(bnk-extract-GUI PRIVATE ogg vorbis vorbisenc vorbisfile) 31 | target_link_libraries(bnk-extract-GUI PRIVATE ole32 uuid comctl32 gdi32 comdlg32) 32 | -------------------------------------------------------------------------------- /IDropTarget.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | IDropTarget* CreateIDropTarget(HWND window); 4 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2021 Moritz Bender 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a 4 | copy of this software and associated documentation files (the "Software"), 5 | to deal in the Software without restriction, including without limitation 6 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 | and/or sell copies of the Software, and to permit persons to whom the 8 | Software is furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be 11 | included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 14 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 16 | THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /bnk-extract/Makefile: -------------------------------------------------------------------------------- 1 | ifdef DEBUG 2 | _DEBUG := -DDEBUG 3 | endif 4 | CFLAGS := -std=gnu18 -Wall -Wextra -pedantic -Os -flto -I../libogg-1.3.5/include -I../libvorbis-1.3.7/include $(_DEBUG) 5 | CXXFLAGS := -std=c++17 -Wall -Wextra -Wno-unused-function -Wno-missing-field-initializers -Os -flto 6 | target := bnk-extract 7 | 8 | ifeq ($(OS),Windows_NT) 9 | target := lib$(target).a 10 | endif 11 | 12 | all: $(target) 13 | 14 | sound_OBJECTS=general_utils.o bin.o bnk.o extract.o wpk.o sound.o 15 | 16 | general_utils.o: general_utils.h defs.h 17 | bin.o: bin.h defs.h list.h 18 | bnk.o: bin.h defs.h extract.h static_list.h 19 | extract.c: defs.h general_utils.h 20 | wpk.o: bin.h defs.h extract.h static_list.h 21 | sound.o: bin.h bnk.h defs.h wpk.h 22 | 23 | BIT_STREAM_HEADERS=ww2ogg/Bit_stream.hpp ww2ogg/crc.h ww2ogg/errors.hpp 24 | WWRIFF_HEADERS=ww2ogg/wwriff.hpp $(BIT_STREAM_HEADERS) 25 | 26 | ww2ogg_OBJECTS=ww2ogg/ww2ogg.o ww2ogg/wwriff.o ww2ogg/codebook.o ww2ogg/crc.o 27 | 28 | ww2ogg/ww2ogg.o: $(WWRIFF_HEADERS) defs.h general_utils.h 29 | ww2ogg/wwriff.o: ww2ogg/codebook.hpp $(WWRIFF_HEADERS) defs.h 30 | ww2ogg/codebook.o: ww2ogg/codebook.hpp $(BIT_STREAM_HEADERS) defs.h 31 | ww2ogg/crc.o: ww2ogg/crc.h 32 | 33 | revorb_OBJECTS=revorb/revorb.o 34 | revorb/revorb.o: defs.h general_utils.h list.h 35 | 36 | $(target): $(ww2ogg_OBJECTS) $(revorb_OBJECTS) $(sound_OBJECTS) 37 | $(AR) -rcs $@ $^ 38 | 39 | 40 | clean: 41 | rm -f libbnk-extract.a $(sound_OBJECTS) $(ww2ogg_OBJECTS) $(revorb_OBJECTS) 42 | -------------------------------------------------------------------------------- /bnk-extract/README.md: -------------------------------------------------------------------------------- 1 | # bnk-extract 2 | 3 | Build depends on the libogg and libvorbis libraries, which are not included and must be installed manually (e.g. sudo apt install libogg-dev libvorbis-dev). 4 | 5 | Shoutouts to the original creators of [ww2ogg](https://github.com/hcs64/ww2ogg) and [revorb](https://github.com/jonboydell/revorb-nix), which I use in a modified version for this program (they are included in their respective subfolders). 6 | 7 | Linux systems and mingw should be able to build out-of-the-box using a simple ``make`` (after installing the needed packages). If the compilation fails, try compiling dynamically instead of statically (I've had troubles with the static libvorbis package on linux). 8 | -------------------------------------------------------------------------------- /bnk-extract/api.h: -------------------------------------------------------------------------------- 1 | #ifndef BNK_EXTRACT_API_H 2 | #define BNK_EXTRACT_API_H 3 | 4 | #include "defs.h" 5 | 6 | // call like a main() 7 | WemInformation* bnk_extract(int argc, char* argv[]); 8 | 9 | BinaryData* WemToOgg(AudioData* wemData); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /bnk-extract/bin.h: -------------------------------------------------------------------------------- 1 | #ifndef BIN_H 2 | #define BIN_H 3 | 4 | #include 5 | #include "list.h" 6 | 7 | struct string_hash { 8 | char* string; 9 | uint32_t hash; 10 | uint32_t container_id; 11 | uint32_t music_segment_id; 12 | uint32_t switch_id; 13 | uint32_t sound_index; 14 | }; 15 | typedef LIST(struct string_hash) StringHashes; 16 | 17 | uint32_t fnv_1_hash(const char* input); 18 | StringHashes* parse_bin_file(char* bin_path); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /bnk-extract/bnk.h: -------------------------------------------------------------------------------- 1 | #ifndef BNK_H 2 | #define BNK_H 3 | 4 | #include 5 | #include 6 | #include "bin.h" 7 | #include "defs.h" 8 | 9 | uint32_t skip_to_section(FILE* bnk_file, char name[4], bool from_beginning); 10 | 11 | WemInformation* parse_audio_bnk_file(char* bnk_path, StringHashes* string_hashes); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /bnk-extract/defs.h: -------------------------------------------------------------------------------- 1 | #ifndef DEFS_H 2 | #define DEFS_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include 9 | #include 10 | 11 | #include "list.h" 12 | #include "static_list.h" 13 | 14 | extern int VERBOSE; 15 | 16 | #ifdef _WIN32 17 | #define mkdir(path, mode) mkdir(path) 18 | #define flockfile(file) _lock_file(file) 19 | #define funlockfile(file) _unlock_file(file) 20 | #endif 21 | 22 | typedef struct { 23 | uint64_t length; 24 | uint8_t* data; 25 | } BinaryData; 26 | 27 | typedef struct audio_data { 28 | uint32_t id; 29 | uint32_t length; 30 | uint8_t* data; 31 | } AudioData; 32 | typedef STATIC_LIST(AudioData) AudioDataList; 33 | 34 | typedef LIST(struct stringWithChildren) StringWithChildrenList; 35 | 36 | typedef struct stringWithChildren { 37 | char* string; 38 | AudioData* wemData; 39 | StringWithChildrenList children; 40 | } StringWithChildren; 41 | 42 | typedef struct { 43 | StringWithChildren* grouped_wems; 44 | AudioDataList* sortedWemDataList; 45 | } WemInformation; 46 | 47 | #ifdef DEBUG 48 | #define dprintf(...) printf(__VA_ARGS__) 49 | #else 50 | #define dprintf(...) 51 | #endif 52 | extern FILE* consoleless_stderr; 53 | #define eprintf(...) fprintf(consoleless_stderr ? consoleless_stderr : stderr, __VA_ARGS__) 54 | #define v_printf(level, ...) if (VERBOSE >= level) printf(__VA_ARGS__) 55 | 56 | #ifdef __cplusplus 57 | } 58 | #endif 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /bnk-extract/extract.h: -------------------------------------------------------------------------------- 1 | #ifndef EXTRACT_H 2 | #define EXTRACT_H 3 | 4 | #include "defs.h" 5 | #include "bin.h" 6 | 7 | StringWithChildren* group_wems(AudioDataList* audio_data_list, StringHashes* string_hashes); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /bnk-extract/general_utils.h: -------------------------------------------------------------------------------- 1 | #ifndef GENERAL_UTILS_H 2 | #define GENERAL_UTILS_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include 9 | 10 | char* lower(const char* string); 11 | 12 | char* lower_inplace(char* string); 13 | 14 | void hex2bytes(const char* input, void* output, int input_length); 15 | 16 | void bytes2hex(const void* input, char* output, int input_length); 17 | 18 | int create_dir(char* path); 19 | 20 | int create_dirs(char* dir_path, bool create_last); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /bnk-extract/gnu_minmax.h: -------------------------------------------------------------------------------- 1 | #ifndef GNU_MINMAX_H 2 | #define GNU_MINMAX_H 3 | 4 | #ifndef __cplusplus 5 | #ifdef max 6 | #undef max 7 | #endif 8 | #define max(a, b) __extension__ ({ \ 9 | __typeof__(a) _a = (a); \ 10 | __typeof__(b) _b = (b); \ 11 | _a > _b ? _a : _b; \ 12 | }) 13 | 14 | #ifdef min 15 | #undef min 16 | #endif 17 | #define min(a, b) __extension__ ({ \ 18 | __typeof__(a) _a = (a); \ 19 | __typeof__(b) _b = (b); \ 20 | _a < _b ? _a : _b; \ 21 | }) 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /bnk-extract/revorb/api.h: -------------------------------------------------------------------------------- 1 | #include "../defs.h" 2 | 3 | BinaryData* revorb(int argc, const char** argv); 4 | -------------------------------------------------------------------------------- /bnk-extract/wpk.h: -------------------------------------------------------------------------------- 1 | #ifndef WPK_H 2 | #define WPK_H 3 | 4 | #include "bin.h" 5 | #include "defs.h" 6 | 7 | WemInformation* parse_wpk_file(char* wpk_path, StringHashes* string_hashes); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /bnk-extract/ww2ogg/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002, Xiph.org Foundation 2 | Copyright (c) 2009-2016, Adam Gashlin 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions 6 | are met: 7 | 8 | - Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | 11 | - Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in the 13 | documentation and/or other materials provided with the distribution. 14 | 15 | - Neither the name of the Xiph.org Foundation nor the names of its 16 | contributors may be used to endorse or promote products derived from 17 | this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 23 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /bnk-extract/ww2ogg/api.h: -------------------------------------------------------------------------------- 1 | #include "../defs.h" 2 | 3 | BinaryData* ww2ogg(int argc, char** argv); 4 | -------------------------------------------------------------------------------- /bnk-extract/ww2ogg/crc.h: -------------------------------------------------------------------------------- 1 | #ifndef _CRC_H 2 | #define _CRC_H 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | uint32_t checksum(unsigned char *data, int bytes); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /gui.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/icon.ico -------------------------------------------------------------------------------- /libogg-1.3.5/AUTHORS: -------------------------------------------------------------------------------- 1 | Monty 2 | Greg Maxwell 3 | Ralph Giles 4 | Cristian Adam 5 | Tim Terriberry 6 | 7 | and the rest of the Xiph.Org Foundation. 8 | -------------------------------------------------------------------------------- /libogg-1.3.5/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002, Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /libogg-1.3.5/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | 4 | #AUTOMAKE_OPTIONS = foreign 1.6 dist-zip 5 | AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz 6 | ACLOCAL_AMFLAGS = -I m4 7 | 8 | SUBDIRS = src include doc 9 | 10 | m4datadir = $(datadir)/aclocal 11 | m4data_DATA = ogg.m4 12 | 13 | pkgconfigdir = $(libdir)/pkgconfig 14 | pkgconfig_DATA = ogg.pc 15 | 16 | EXTRA_DIST = README.md AUTHORS CHANGES COPYING \ 17 | libogg.spec libogg.spec.in \ 18 | ogg.m4 ogg.pc.in ogg-uninstalled.pc.in \ 19 | win32 CMakeLists.txt cmake 20 | 21 | dist-hook: 22 | for item in $(EXTRA_DIST); do \ 23 | if test -d $$item; then \ 24 | echo -n "cleaning dir $$item for distribution..."; \ 25 | rm -rf `find $(distdir)/$$item -name .svn`; \ 26 | echo "OK"; \ 27 | fi; \ 28 | done 29 | 30 | # Verify cmake works with the dist tarball. 31 | cmake_builddir = _build.cmake 32 | distcheck-hook: 33 | $(RM) -rf $(cmake_builddir) 34 | mkdir $(cmake_builddir) 35 | cd $(cmake_builddir) && cmake ../$(top_distdir) 36 | cd $(cmake_builddir) && cmake --build . 37 | cd $(cmake_builddir) && ctest 38 | $(RM) -rf $(cmake_builddir) 39 | 40 | debug: 41 | $(MAKE) all CFLAGS="@DEBUG@" 42 | 43 | profile: 44 | $(MAKE) all CFLAGS="@PROFILE@" 45 | -------------------------------------------------------------------------------- /libogg-1.3.5/cmake/OggConfig.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | set(Ogg_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@") 4 | set(OGG_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@") 5 | set(Ogg_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@") 6 | set(OGG_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@") 7 | 8 | include(${CMAKE_CURRENT_LIST_DIR}/OggTargets.cmake) 9 | 10 | set(Ogg_LIBRARY Ogg::ogg) 11 | set(OGG_LIBRARY Ogg::ogg) 12 | set(Ogg_LIBRARIES Ogg::ogg) 13 | set(OGG_LIBRARIES Ogg::ogg) 14 | 15 | check_required_components(Ogg) 16 | set(OGG_FOUND 1) 17 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this with automake to create Makefile.in 2 | 3 | SUBDIRS = libogg 4 | 5 | dist_html_DATA = framing.html index.html oggstream.html ogg-multiplex.html \ 6 | fish_xiph_org.png multiplex1.png packets.png pages.png stream.png \ 7 | vorbisword2.png white-ogg.png white-xifish.png \ 8 | rfc3533.txt rfc5334.txt skeleton.html 9 | 10 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/fish_xiph_org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/fish_xiph_org.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - Documentation 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

libogg documentation

libogg release 1.3.5 - 20210603

15 | 16 |

Libogg Documentation

17 | 18 |

19 | Libogg contains necessary functionality to create, decode, and work with Ogg bitstreams. 20 |

This document explains how to use the libogg API in detail. 21 |

22 | libogg api overview
23 | libogg api reference
24 | 25 |

26 |


27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |

copyright © 2000-2021 Xiph.Org Foundation

Ogg Container Format

libogg documentation

libogg release 1.3.5 - 20210603

36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_iovec_t.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - datatype - ogg_iovec_t 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

libogg documentation

libogg release 1.3.5 - 20210603

15 | 16 |

ogg_iovec_t

17 | 18 |

declared in "ogg/ogg.h"

19 | 20 |

21 | The ogg_iovec_t struct encapsulates a length-encoded buffer. An array 22 | of ogg_iovec_t is used to pass a list of buffers to functions that 23 | accept data in ogg_iovec_t* form. 24 |

25 | 26 | 27 | 28 | 36 | 37 |
29 |

30 | typedef struct {
31 |   void *iov_base;
32 |   size_t iov_len;
33 | } ogg_iovec_t;
34 | 
35 |
38 | 39 |

Relevant Struct Members

40 |
41 |
iov_base
42 |
Pointer to the buffer data.
43 |
iov_len
44 |
Length of buffer data in bytes.
45 |
46 | 47 | 48 |

49 |
50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

copyright © 2000-2021 Xiph.Org Foundation

Ogg Container Format

libogg documentation

libogg release 1.3.5 - 20210603

59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_packet_clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_packet_clear 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

libogg documentation

libogg release 1.3.5 - 20210603

15 | 16 |

ogg_packet_clear

17 | 18 |

declared in "ogg/ogg.h";

19 | 20 |

This function clears the memory used by the ogg_packet struct, 21 | but does not free the structure itself. 22 | It unconditionally frees the packet data buffer, 23 | then it zeros all structure members. 24 |

25 | 26 | 27 | 32 | 33 |
28 |

29 | void ogg_packet_clear(ogg_packet *op);
30 | 
31 |
34 | 35 |

Parameters

36 |
37 |
op
38 |
Pointer to the ogg_packet struct to be cleared.
39 |
40 | 41 | 42 |

Return Values

43 |
44 |
  • 45 | None.
  • 46 |
    47 |

    48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_bos.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_bos 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_bos

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Indicates whether this page is at the beginning of the logical bitstream. 21 |

    22 |

    23 | 24 | 25 | 31 | 32 |
    26 |
    
    27 | int ogg_page_bos(ogg_page *og);
    28 | 
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    og
    37 |
    Pointer to the current ogg_page struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | greater than 0 if this page is the beginning of a bitstream.
  • 45 |
  • 46 | 0 if this page is from any other location in the stream.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_checksum_set.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_checksum_set 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_checksum_set

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Checksums an ogg_page. 21 |

    22 |

    23 | 24 | 25 | 31 | 32 |
    26 |
    
    27 | int ogg_page_checksum_set(ogg_page *og);
    28 | 
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    og
    37 |
    Pointer to an ogg_page struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 | None. 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_continued.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_version 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_continued

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Indicates whether this page contains packet data which has been continued from the previous page. 21 |

    22 | 23 | 24 | 30 | 31 |
    25 |
    
    26 | int ogg_page_continued(ogg_page *og);
    27 | 
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    og
    36 |
    Pointer to the current ogg_page struct.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | 1 if this page contains packet data continued from the last page.
  • 44 |
  • 45 | 0 if this page does not contain continued data.
  • 46 |
    47 |

    48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_eos.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_eos 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_eos

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Indicates whether this page is at the end of the logical bitstream. 21 |

    22 |

    23 | 24 | 25 | 31 | 32 |
    26 |
    
    27 | int ogg_page_eos(ogg_page *og);
    28 | 
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    og
    37 |
    Pointer to the current ogg_page struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | greater than zero if this page contains the end of a bitstream.
  • 45 |
  • 46 | 0 if this page is from any other location in the stream.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_granulepos.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_granulepos 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_granulepos

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Returns the exact granular position of the packet data contained at the end of this page. 21 |

    This is useful for tracking location when seeking or decoding. 22 |

    For example, in audio codecs this position is the pcm sample number and in video this is the frame number. 23 |

    24 |

    25 | 26 | 27 | 33 | 34 |
    28 |
    
    29 | ogg_int64_t ogg_page_granulepos(ogg_page *og);
    30 | 
    31 | 
    32 |
    35 | 36 |

    Parameters

    37 |
    38 |
    og
    39 |
    Pointer to the current ogg_page struct.
    40 |
    41 | 42 | 43 |

    Return Values

    44 |
    45 |
  • 46 | n is the specific last granular position of the decoded data contained in the page.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_pageno.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_pageno 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_pageno

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Returns the sequential page number. 21 |

    This is useful for ordering pages or determining when pages have been lost. 22 |

    23 | 24 | 25 | 31 | 32 |
    26 |
    
    27 | long ogg_page_pageno(ogg_page *og);
    28 | 
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    og
    37 |
    Pointer to the current ogg_page struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | n is the page number for this page.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_serialno.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_serialno 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_serialno

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Returns the unique serial number for the logical bitstream of this page. Each page contains the serial number for the logical bitstream that it belongs to. 21 |

    22 |

    23 | 24 | 25 | 31 | 32 |
    26 |
    
    27 | int ogg_page_serialno(ogg_page *og);
    28 | 
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    og
    37 |
    Pointer to the current ogg_page struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | n is the serial number for this page.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_page_version.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_version 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_version

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function returns the version of ogg_page used in this page. 21 |

    In current versions of libogg, all ogg_page structs have the same version, so 0 should always be returned. 22 |

    23 | 24 | 25 | 31 | 32 |
    26 |
    
    27 | int ogg_page_version(ogg_page *og);
    28 | 
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    og
    37 |
    Pointer to the current ogg_page struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | n is the version number. In the current version of Ogg, the version number is always 0. Nonzero return values indicate an error in page encoding.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_stream_clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_stream_clear 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_stream_clear

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function clears and frees the internal memory used by the ogg_stream_state struct, but does not free the structure itself. It is safe to call ogg_stream_clear on the same structure more than once. 21 |

    22 | 23 | 24 | 29 | 30 |
    25 |
    
    26 | int ogg_stream_clear(ogg_stream_state *os);
    27 | 
    28 |
    31 | 32 |

    Parameters

    33 |
    34 |
    os
    35 |
    Pointer to the ogg_stream_state struct to be cleared.
    36 |
    37 | 38 | 39 |

    Return Values

    40 |
    41 |
  • 42 | 0 is always returned.
  • 43 |
    44 |

    45 | 46 |

    47 |


    48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_stream_eos.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_stream_eos 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_stream_eos

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function indicates whether we have reached the end of the stream or not. 21 |

    22 | 23 | 24 | 29 | 30 |
    25 |
    
    26 | int ogg_stream_eos(ogg_stream_state *os);
    27 | 
    28 |
    31 | 32 |

    Parameters

    33 |
    34 |
    os
    35 |
    Pointer to the current ogg_stream_state struct.
    36 |
    37 | 38 | 39 |

    Return Values

    40 |
    41 |
  • 1 if we are at the end of the stream or an internal error occurred.
  • 42 |
  • 43 | 0 if we have not yet reached the end of the stream.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_stream_reset.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_stream_reset 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_stream_reset

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function sets values in the ogg_stream_state struct back to initial values. 21 |

    22 | 23 | 24 | 29 | 30 |
    25 |
    
    26 | int ogg_stream_reset(ogg_stream_state *os);
    27 | 
    28 |
    31 | 32 |

    Parameters

    33 |
    34 |
    os
    35 |
    Pointer to the ogg_stream_state struct to be reset.
    36 |
    37 | 38 | 39 |

    Return Values

    40 |
    41 |
  • 42 | 0 indicates success. nonzero is returned on internal error.
  • 43 |
    44 |

    45 | 46 |

    47 |


    48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_sync_init.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_sync_init 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_sync_init

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function is used to initialize an ogg_sync_state struct to a known initial value in preparation for manipulation of an Ogg bitstream. 21 |

    The ogg_sync struct is important when decoding, as it synchronizes retrieval and return of data. 22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | int ogg_sync_init(ogg_sync_state *oy);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    oy
    37 |
    Pointer to a previously declared ogg_sync_state struct. After this function call, this struct has been initialized.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | 0 is always returned.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/ogg_sync_reset.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_sync_reset 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_sync_reset

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function is used to reset the internal counters of the ogg_sync_state struct to initial values. 21 |

    It is a good idea to call this before seeking within a bitstream. 22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | int ogg_sync_reset(ogg_sync_state *oy);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    oy
    37 |
    Pointer to a previously declared ogg_sync_state struct.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | 0 is always returned.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_adv.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_adv 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_adv

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function advances the location pointer by the specified number of bits without reading any data. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | void  oggpack_adv(oggpack_buffer *b,int bits);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    Pointer to the current oggpack_buffer.
    37 |
    bits
    38 |
    Number of bits to advance.
    39 |
    40 | 41 | 42 |

    Return Values

    43 |
    44 |
  • 45 | No values are returned.
  • 46 |
    47 |

    48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_adv1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_adv1 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_adv1

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function advances the location pointer by one bit without reading any data. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | void  oggpack_adv1(oggpack_buffer *b);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    Pointer to the current oggpack_buffer.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • No values are returned. 43 |
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_bits.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_bits 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_bits

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function returns the total number of bits currently in the oggpack_buffer's internal buffer. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | long oggpack_bits(oggpack_buffer *b);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    oggpack_buffer struct to be .
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | n is the total number of bits within the current buffer.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_buffer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - datatype - oggpack_buffer 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_buffer

    17 | 18 |

    declared in "ogg/ogg.h"

    19 | 20 |

    21 | The oggpack_buffer struct is used with libogg's bitpacking functions. You should never need to directly access anything in this structure. 22 |

    23 | 24 | 25 | 26 | 38 | 39 |
    27 |
    
    28 | typedef struct {
    29 |   long endbyte;
    30 |   int  endbit;
    31 | 
    32 |   unsigned char *buffer;
    33 |   unsigned char *ptr;
    34 |   long storage;
    35 | } oggpack_buffer;
    36 | 
    37 |
    40 | 41 |

    Relevant Struct Members

    42 |
    43 |
    buffer
    44 |
    Pointer to data being manipulated.
    45 |
    ptr
    46 |
    Location pointer to mark which data has been read.
    47 |
    storage
    48 |
    Size of buffer. 49 |
    50 | 51 | 52 |

    53 |
    54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_get_buffer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_get_buffer 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_get_buffer

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function returns a pointer to the data buffer within the given oggpack_buffer struct. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | unsigned char *oggpack_get_buffer(oggpack_buffer *b);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    Pointer to the current oggpack_buffer.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | No values are returned.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_look1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_look1 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_look1

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function looks at the next bit without advancing the location pointer. 21 |

    The next bit is read starting from the location pointer. 22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | long  oggpack_look1(oggpack_buffer *b);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    b
    37 |
    Pointer to an oggpack_buffer struct containing our buffer.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | n represents the value of the next bit after the location pointer.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_read.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_read 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_read

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function reads the requested number of bits from the buffer and advances the location pointer. 21 |

    Before reading, the buffer should be initialized using oggpack_readinit. 22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | long oggpack_read(oggpack_buffer *b,int bits);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    b
    37 |
    Pointer to an oggpack_buffer struct containing buffered data to be read.
    38 |
    bits
    39 |
    Number of bits to read.
    40 |
    41 | 42 | 43 |

    Return Values

    44 |
    45 |
  • 46 | n represents the requested bits.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_read1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_read1 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_read1

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function reads one bit from the oggpack_buffer data buffer and advances the location pointer. 21 |

    Before reading, the buffer should be initialized using oggpack_readinit. 22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | long  oggpack_read1(oggpack_buffer *b);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    b
    37 |
    Pointer to an oggpack_buffer struct containing buffered data to be read.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | n is the bit read by this function.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_reset.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_reset 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_reset

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function resets the contents of an oggpack_buffer to their original state but does not free the memory used. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | void  oggpack_reset(oggpack_buffer *b);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    oggpack_buffer to be reset.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | No values are returned.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_writealign.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_writealign 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_writealign

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function pads the oggpack_buffer with zeros out to the 21 | next byte boundary.

    22 |

    The oggpack_buffer must already be initialized for writing using oggpack_writeinit. 23 |

    Only 32 bits can be written at a time.

    24 | 25 |

    26 | 27 | 28 | 33 | 34 |
    29 |
    
    30 | void  oggpack_writetrunc(oggpack_buffer *b);
    31 | 
    32 |
    35 | 36 |

    Parameters

    37 |
    38 |
    b
    39 |
    Buffer to be used for writing.
    40 |
    41 | 42 | 43 |

    Return Values

    44 |
    45 |
  • 46 | No values are returned.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_writeclear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_reset 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_writeclear

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function clears the buffer after writing and frees the memory used by the oggpack_buffer. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | void oggpack_writeclear(oggpack_buffer *b);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    Our oggpack_buffer. This is an ordinary data buffer with some extra markers to ease bit navigation and manipulation.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | No values are returned.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_writeinit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_writeinit 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_writeinit

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function initializes an oggpack_buffer for writing using the Ogg bitpacking functions. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | void  oggpack_writeinit(oggpack_buffer *b);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    Buffer to be used for writing. This is an ordinary data buffer with some extra markers to ease bit navigation and manipulation.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | No values are returned.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/oggpack_writetrunc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_writetrunc 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_writetrunc

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function truncates an already written-to oggpack_buffer.

    21 |

    The oggpack_buffer must already be initialized for writing using oggpack_writeinit.

    22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | void  oggpack_writetrunc(oggpack_buffer *b, long bits);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    b
    37 |
    Buffer to be truncated.
    38 |
    bits
    39 |
    Number of bits to keep in the buffer (size after truncation)
    40 |
    41 | 42 | 43 |

    Return Values

    44 |
    45 |
  • 46 | No values are returned.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/overview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - API Overview 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    Libogg API Overview

    17 | 18 |

    19 | The libogg API consists of the following functional categories: 20 |

    21 |

    29 | 30 |

    31 |
    32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/libogg/style.css: -------------------------------------------------------------------------------- 1 | BODY { font-family: Helvetica, sans-serif } 2 | TD { font-family: Helvetica, sans-serif } 3 | P { font-family: Helvetica, sans-serif } 4 | H1 { font-family: Helvetica, sans-serif } 5 | H2 { font-family: Helvetica, sans-serif } 6 | H4 { font-family: Helvetica, sans-serif } 7 | P.tiny { font-size: 8pt } 8 | -------------------------------------------------------------------------------- /libogg-1.3.5/doc/multiplex1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/multiplex1.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/packets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/packets.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/pages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/pages.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/stream.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/vorbisword2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/vorbisword2.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/white-ogg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/white-ogg.png -------------------------------------------------------------------------------- /libogg-1.3.5/doc/white-xifish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libogg-1.3.5/doc/white-xifish.png -------------------------------------------------------------------------------- /libogg-1.3.5/include/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | SUBDIRS = ogg 4 | -------------------------------------------------------------------------------- /libogg-1.3.5/include/ogg/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | oggincludedir = $(includedir)/ogg 4 | 5 | ogginclude_HEADERS = ogg.h os_types.h 6 | nodist_ogginclude_HEADERS = config_types.h 7 | -------------------------------------------------------------------------------- /libogg-1.3.5/include/ogg/config_types.h.in: -------------------------------------------------------------------------------- 1 | #ifndef __CONFIG_TYPES_H__ 2 | #define __CONFIG_TYPES_H__ 3 | 4 | /* these are filled in by configure or cmake*/ 5 | #define INCLUDE_INTTYPES_H @INCLUDE_INTTYPES_H@ 6 | #define INCLUDE_STDINT_H @INCLUDE_STDINT_H@ 7 | #define INCLUDE_SYS_TYPES_H @INCLUDE_SYS_TYPES_H@ 8 | 9 | #if INCLUDE_INTTYPES_H 10 | # include 11 | #endif 12 | #if INCLUDE_STDINT_H 13 | # include 14 | #endif 15 | #if INCLUDE_SYS_TYPES_H 16 | # include 17 | #endif 18 | 19 | typedef @SIZE16@ ogg_int16_t; 20 | typedef @USIZE16@ ogg_uint16_t; 21 | typedef @SIZE32@ ogg_int32_t; 22 | typedef @USIZE32@ ogg_uint32_t; 23 | typedef @SIZE64@ ogg_int64_t; 24 | typedef @USIZE64@ ogg_uint64_t; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /libogg-1.3.5/m4/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 4179 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.6]) 16 | m4_define([LT_PACKAGE_REVISION], [2.4.6]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.6' 20 | macro_revision='2.4.6' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /libogg-1.3.5/ogg-uninstalled.pc.in: -------------------------------------------------------------------------------- 1 | # ogg uninstalled pkg-config file 2 | 3 | prefix= 4 | exec_prefix= 5 | libdir=${pcfiledir}/src 6 | includedir=${pcfiledir}/@top_srcdir@/include 7 | 8 | Name: ogg 9 | Description: ogg is a library for manipulating ogg bitstreams (not installed) 10 | Version: @VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: ${libdir}/.libs/libogg.la 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libogg-1.3.5/ogg.pc.in: -------------------------------------------------------------------------------- 1 | # ogg pkg-config file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: ogg 9 | Description: ogg is a library for manipulating ogg bitstreams 10 | Version: @VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} -logg 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libogg-1.3.5/src/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include 4 | 5 | lib_LTLIBRARIES = libogg.la 6 | 7 | libogg_la_SOURCES = framing.c bitwise.c crctable.h 8 | libogg_la_LDFLAGS = -no-undefined -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@ 9 | 10 | # build and run the self tests on 'make check' 11 | 12 | noinst_PROGRAMS = test_bitwise test_framing 13 | 14 | test_bitwise_SOURCES = bitwise.c 15 | test_bitwise_CFLAGS = -D_V_SELFTEST 16 | 17 | test_framing_SOURCES = framing.c crctable.h 18 | test_framing_CFLAGS = -D_V_SELFTEST 19 | 20 | check: $(noinst_PROGRAMS) 21 | ./test_bitwise$(EXEEXT) 22 | ./test_framing$(EXEEXT) 23 | 24 | debug: 25 | $(MAKE) all CFLAGS="@DEBUG@" 26 | 27 | profile: 28 | $(MAKE) all CFLAGS="@PROFILE@" 29 | -------------------------------------------------------------------------------- /libogg-1.3.5/win32/VS2015/libogg.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Header Files 28 | 29 | 30 | Header Files 31 | 32 | 33 | Header Files 34 | 35 | 36 | 37 | 38 | Source Files 39 | 40 | 41 | -------------------------------------------------------------------------------- /libogg-1.3.5/win32/ogg.def: -------------------------------------------------------------------------------- 1 | ; 2 | ; ogg.def 3 | ; List of exported functions for Windows builds. 4 | ; 5 | LIBRARY ogg 6 | EXPORTS 7 | ; 8 | oggpack_writeinit 9 | oggpack_writetrunc 10 | oggpack_writealign 11 | oggpack_writecopy 12 | oggpack_reset 13 | oggpack_writeclear 14 | oggpack_readinit 15 | oggpack_write 16 | oggpack_look 17 | oggpack_look1 18 | oggpack_adv 19 | oggpack_adv1 20 | oggpack_read 21 | oggpack_read1 22 | oggpack_bytes 23 | oggpack_bits 24 | oggpack_get_buffer 25 | ; 26 | oggpackB_writeinit 27 | oggpackB_writetrunc 28 | oggpackB_writealign 29 | oggpackB_writecopy 30 | oggpackB_reset 31 | oggpackB_writeclear 32 | oggpackB_readinit 33 | oggpackB_write 34 | oggpackB_look 35 | oggpackB_look1 36 | oggpackB_adv 37 | oggpackB_adv1 38 | oggpackB_read 39 | oggpackB_read1 40 | oggpackB_bytes 41 | oggpackB_bits 42 | oggpackB_get_buffer 43 | ; 44 | ogg_stream_packetin 45 | ogg_stream_pageout 46 | ogg_stream_flush 47 | ; 48 | ogg_sync_init 49 | ogg_sync_clear 50 | ogg_sync_reset 51 | ogg_sync_destroy 52 | ogg_sync_buffer 53 | ogg_sync_wrote 54 | ogg_sync_pageseek 55 | ogg_sync_pageout 56 | ogg_stream_pagein 57 | ogg_stream_packetout 58 | ogg_stream_packetpeek 59 | ; 60 | ogg_stream_init 61 | ogg_stream_clear 62 | ogg_stream_reset 63 | ogg_stream_reset_serialno 64 | ogg_stream_destroy 65 | ogg_stream_eos 66 | ogg_stream_pageout_fill 67 | ogg_stream_flush_fill 68 | ; 69 | ogg_page_checksum_set 70 | ogg_page_version 71 | ogg_page_continued 72 | ogg_page_bos 73 | ogg_page_eos 74 | ogg_page_granulepos 75 | ogg_page_serialno 76 | ogg_page_pageno 77 | ogg_page_packets 78 | ogg_packet_clear 79 | 80 | 81 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/AUTHORS: -------------------------------------------------------------------------------- 1 | Monty 2 | 3 | and the rest of the Xiph.org Foundation. 4 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002-2020 Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz 4 | 5 | ACLOCAL_AMFLAGS = -I m4 6 | 7 | SUBDIRS = m4 include vq lib test doc 8 | 9 | if BUILD_EXAMPLES 10 | SUBDIRS += examples 11 | endif 12 | 13 | m4datadir = $(datadir)/aclocal 14 | m4data_DATA = vorbis.m4 15 | 16 | pkgconfigdir = $(libdir)/pkgconfig 17 | pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc 18 | 19 | EXTRA_DIST = \ 20 | CHANGES COPYING \ 21 | autogen.sh \ 22 | libvorbis.spec libvorbis.spec.in \ 23 | vorbis.m4 \ 24 | vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \ 25 | vorbis-uninstalled.pc.in \ 26 | vorbisenc-uninstalled.pc.in \ 27 | vorbisfile-uninstalled.pc.in \ 28 | symbian macosx win32 \ 29 | CMakeLists.txt cmake/FindOgg.cmake cmake/VorbisConfig.cmake.in 30 | 31 | DISTCHECK_CONFIGURE_FLAGS = --enable-docs 32 | 33 | dist-hook: 34 | for item in $(EXTRA_DIST); do \ 35 | if test -d $$item; then \ 36 | echo -n "cleaning $$item dir for distribution..."; \ 37 | rm -rf `find $(distdir)/$$item -name .svn`; \ 38 | echo "OK"; \ 39 | fi; \ 40 | done 41 | 42 | debug: 43 | $(MAKE) all CFLAGS="@DEBUG@" 44 | 45 | profile: 46 | $(MAKE) all CFLAGS="@PROFILE@" 47 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Run this to set up the build system: configure, makefiles, etc. 3 | set -e 4 | 5 | package="vorbis" 6 | 7 | srcdir=`dirname $0` 8 | test -n "$srcdir" && cd "$srcdir" 9 | 10 | echo "Updating build configuration files for $package, please wait...." 11 | 12 | autoreconf -if 13 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/cmake/VorbisConfig.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(CMakeFindDependencyMacro) 4 | find_dependency(Ogg REQUIRED) 5 | 6 | include(${CMAKE_CURRENT_LIST_DIR}/VorbisTargets.cmake) 7 | 8 | set(Vorbis_Vorbis_FOUND 1) 9 | set(Vorbis_Enc_FOUND 0) 10 | set(Vorbis_File_FOUND 0) 11 | 12 | if(TARGET Vorbis::vorbisenc) 13 | set(Vorbis_Enc_FOUND TRUE) 14 | endif() 15 | if(TARGET Vorbis::vorbisfile) 16 | set(Vorbis_File_FOUND TRUE) 17 | endif() 18 | 19 | check_required_components(Vorbis Enc File) 20 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec.cfg: -------------------------------------------------------------------------------- 1 | \Preamble{html} 2 | \begin{document} 3 | \DeclareGraphicsExtensions{.png} 4 | \EndPreamble 5 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec.html -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec.pdf -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec0x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec0x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec10x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec10x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec11x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec11x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec12x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec12x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec13x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec13x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec14x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec14x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec1x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec2x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec3x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec4x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec5x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec6x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec6x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec7x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec7x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec8x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec8x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/Vorbis_I_spec9x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/Vorbis_I_spec9x.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/a2-encapsulation-rtp.tex: -------------------------------------------------------------------------------- 1 | % -*- mode: latex; TeX-master: "Vorbis_I_spec"; -*- 2 | %!TEX root = Vorbis_I_spec.tex 3 | \section{Vorbis encapsulation in RTP} \label{vorbis:over:rtp} 4 | 5 | % TODO: Include draft-rtp.xml somehow? 6 | 7 | Please consult RFC 5215 \textit{``RTP Payload Format for Vorbis Encoded 8 | Audio''} for description of how to embed Vorbis audio in an RTP stream. 9 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/components.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/eightphase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/eightphase.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/fish_xiph_org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/fish_xiph_org.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/floor1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/floor1-1.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/floor1-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/floor1-2.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/floor1-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/floor1-3.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/floor1-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/floor1-4.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/floorval.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/floorval.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/footer.tex: -------------------------------------------------------------------------------- 1 | % -*- mode: latex; TeX-master: "Vorbis_I_spec"; -*- 2 | %!TEX root = Vorbis_I_spec.tex 3 | \section*{Colophon} 4 | 5 | \includegraphics[width=5cm]{fish_xiph_org} 6 | \label{footer} 7 | 8 | Ogg is a \href{https://xiph.org/}{Xiph.Org Foundation} effort 9 | to protect essential tenets of Internet multimedia from corporate 10 | hostage-taking; Open Source is the net's greatest tool to keep 11 | everyone honest. See \href{https://xiph.org/about/}{About 12 | the Xiph.Org Foundation} for details. 13 | 14 | 15 | Ogg Vorbis is the first Ogg audio CODEC. Anyone may freely use and 16 | distribute the Ogg and Vorbis specification, whether in a private, 17 | public or corporate capacity. However, the Xiph.Org Foundation and 18 | the Ogg project (xiph.org) reserve the right to set the Ogg Vorbis 19 | specification and certify specification compliance. 20 | 21 | Xiph.Org's Vorbis software CODEC implementation is distributed under a 22 | BSD-like license. This does not restrict third parties from 23 | distributing independent implementations of Vorbis software under 24 | other licenses. 25 | 26 | Ogg, Vorbis, Xiph.Org Foundation and their logos are trademarks (tm) 27 | of the \href{https://xiph.org/}{Xiph.Org Foundation}. These 28 | pages are copyright (C) 1994-2015 Xiph.Org Foundation. All rights 29 | reserved. 30 | 31 | This document is set using \LaTeX. 32 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/fourphase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/fourphase.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/hufftree-under.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/hufftree-under.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/hufftree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/hufftree.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/libvorbis 4 | 5 | doc_DATA = index.html reference.html style.css vorbis_comment.html\ 6 | vorbis_info.html vorbis_analysis_blockout.html vorbis_analysis_buffer.html\ 7 | vorbis_analysis_headerout.html vorbis_analysis_init.html \ 8 | vorbis_analysis_wrote.html vorbis_analysis.html vorbis_bitrate_addblock.html\ 9 | vorbis_bitrate_flushpacket.html vorbis_block_init.html \ 10 | vorbis_block_clear.html vorbis_dsp_clear.html vorbis_granule_time.html \ 11 | vorbis_version_string.html vorbis_info_blocksize.html vorbis_info_clear.html\ 12 | vorbis_info_init.html vorbis_comment_add.html vorbis_comment_add_tag.html\ 13 | vorbis_comment_clear.html vorbis_comment_init.html vorbis_comment_query.html\ 14 | vorbis_comment_query_count.html vorbis_commentheader_out.html\ 15 | vorbis_packet_blocksize.html vorbis_synthesis.html \ 16 | vorbis_synthesis_blockin.html vorbis_synthesis_halfrate.html \ 17 | vorbis_synthesis_halfrate_p.html vorbis_synthesis_headerin.html \ 18 | vorbis_synthesis_idheader.html vorbis_synthesis_init.html \ 19 | vorbis_synthesis_lapout.html vorbis_synthesis_pcmout.html \ 20 | vorbis_synthesis_read.html vorbis_synthesis_restart.html \ 21 | vorbis_synthesis_trackonly.html vorbis_block.html vorbis_dsp_state.html \ 22 | return.html overview.html 23 | 24 | EXTRA_DIST = $(doc_DATA) 25 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - Documentation 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    Libvorbis Documentation

    17 | 18 |

    19 | Libvorbis contains the Vorbis reference encoder and decoder. 20 |

    21 | This is the lowest-level interface to the Vorbis encoder and decoder. If 22 | you're just looking for a simple way to extract the 23 | audio from an Ogg Vorbis file, you probably want to use vorbisfile rather than using libogg 25 | and libvorbis directly. 26 |

    27 | Libvorbis API overview
    28 | Libvorbis API reference
    29 | 30 |

    31 |


    32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/style.css: -------------------------------------------------------------------------------- 1 | BODY { font-family: Helvetica, sans-serif } 2 | TD { font-family: Helvetica, sans-serif } 3 | P { font-family: Helvetica, sans-serif } 4 | H1 { font-family: Helvetica, sans-serif } 5 | H2 { font-family: Helvetica, sans-serif } 6 | H4 { font-family: Helvetica, sans-serif } 7 | P.tiny { font-size: 8pt } 8 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_analysis_init.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_analysis_init 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_analysis_init

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function allocates and initializes the encoder's analysis state 21 | inside a is vorbis_dsp_state, based on the configuration in a vorbis_info 22 | struct. 23 |

    24 | 25 | 26 | 27 | 32 | 33 |
    28 |
    
    29 | extern int      vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi);
    30 | 
    31 |
    34 | 35 |

    Parameters

    36 |
    37 |
    v 38 |
    Pointer to the vorbis_dsp_state structure to be initialized for encoding.
    39 |
    vi
    40 |
    Pointer to an initialized vorbis_info struct describing the encoder configuration.
    41 |
    42 | 43 | 44 |

    Return Values

    45 |
    46 |
  • 47 | 0 for success
  • 48 |
    49 |

    50 | 51 |

    52 |


    53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_block.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - datatype - vorbis_block 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_block

    17 | 18 |

    declared in "vorbis/codec.h"

    19 | 20 |

    21 | The vorbis_block structure holds the data for a single block of audio. One 22 | vorbis_block translates to one codec packet. The encoding process consists 23 | of splitting the audio into blocks and encoding the blocks into packets; 24 | decoding consists of decoding the packets into blocks and reassembling 25 | the audio from the blocks. 26 |

    27 | This structure is intended to be private. Although the fields are given 28 | in the header file, they should not be directly modified or relied upon 29 | in any way. 30 |

    31 | 32 | 33 | 34 | 39 | 40 |
    35 |
    typedef struct vorbis_block{
    36 |   /* private */
    37 | } vorbis_block;
    38 |
    41 | 42 |

    Parameters

    43 |
    • None public.
    44 | 45 | 46 |

    47 |
    48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_block_clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_block_clear 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_block_clear

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function frees the internal storage for a vorbis_block structure.

    21 | 22 | 23 | 24 | 29 | 30 |
    25 |
    
    26 | extern int      vorbis_block_clear(vorbis_block *vb);
    27 | 
    28 |
    31 | 32 |

    Parameters

    33 |
    34 |
    vb
    35 |
    Pointer to a vorbis_block struct to be cleared.
    36 |
    37 | 38 | 39 |

    Return Values

    40 |
    41 |
  • 42 | 0 for success
  • 43 |
    44 |

    45 | 46 |

    47 |


    48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_block_init.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_block_init 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_block_init

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function initializes a vorbis_block structure and allocates its 21 | internal storage. A vorbis_block is used to represent a particular block 22 | of input audio which can be analyzed and coded as a unit. 23 |

    24 | 25 | 26 | 27 | 32 | 33 |
    28 |
    
    29 | extern int      vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);
    30 | 
    31 |
    34 | 35 |

    Parameters

    36 |
    37 |
    v 38 |
    Pointer to an initialized vorbis_dsp_state with which to associate the new block.
    39 |
    vb
    40 |
    Pointer to a vorbis_block struct to be initialized.
    41 |
    42 | 43 | 44 |

    Return Values

    45 |
    46 |
  • 47 | 0 for success
  • 48 |
    49 |

    50 | 51 |

    52 |


    53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_commentheader_out.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_commentheader_out 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_commentheader_out

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function encodes the contents of a 21 | vorbis_comment structure into an 22 | ogg_packet.

    23 | 24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | extern int      vorbis_commentheader_out(vorbis_comment *vc, ogg_packet *op);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    vc
    37 |
    The vorbis_comment structure to encode.
    38 |
    op
    39 |
    The ogg_packet to place the encoded comment packet into.
    40 |
    41 | 42 | 43 |

    Return Values

    44 |
    45 |
  • 0 on success.
  • 46 |
  • OV_EIMPL on error.
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_dsp_clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_dsp_clear 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_dsp_clear

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function frees the internal storage for a vorbis_dsp_state 21 | structure. This can be used independent of whether the vorbis_dsp_state 22 | is set up for analysis (encoding) or synthesis (decoding).

    23 | 24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | extern void     vorbis_dsp_clear(vorbis_dsp_state *v);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    v
    37 |
    Pointer to the vorbis_dsp_state to be cleared.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | None
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_dsp_state.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - datatype - vorbis_dsp_state 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_dsp_state

    17 | 18 |

    declared in "vorbis/codec.h"

    19 | 20 |

    21 | The vorbis_dsp_state structure is the state for one instance of the 22 | Vorbis encoder or decoder. 23 |

    24 | This structure is intended to be private. Although the fields are given 25 | in the header file, they should not be directly modified or relied upon 26 | in any way. 27 |

    28 | 29 | 30 | 31 | 36 | 37 |
    32 |
    typedef struct vorbis_dsp_state{
    33 |   /* private */
    34 | } vorbis_dsp_state;
    35 |
    38 | 39 |

    Parameters

    40 |
    • None public.
    41 | 42 | 43 |

    44 |
    45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_granule_time.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_granule_time 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_granule_time

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function converts a granule position to a time for a given Vorbis stream.

    21 | 22 | 23 | 24 | 30 | 31 |
    25 |
    
    26 | extern double   vorbis_granule_time(vorbis_dsp_state *v,
    27 |                                     ogg_int64_t granulepos);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    v
    36 |
    Pointer to the vorbis_dsp_state for the stream.
    37 |
    granulepos
    38 |
    The granule position.
    39 |
    40 | 41 | 42 |

    Return Values

    43 |
    44 |
  • 45 | The time (in seconds) corresponding to the granulepos.
  • 46 |
  • -1 if the given granulepos is negative
  • 47 |
    48 |

    49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_info_blocksize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_info_blocksize 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_info_blocksize

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function gets the possible sizes for encoded blocks. There 21 | are short blocks (zo = 0) and long blocks (zo = 1). The size of a long 22 | block is guaranteed to be greater than or equal to the size of a short 23 | block.

    24 | 25 | 26 | 27 | 32 | 33 |
    28 |
    
    29 | extern int      vorbis_info_blocksize(vorbis_info *vi,int zo);
    30 | 
    31 |
    34 | 35 |

    Parameters

    36 |
    37 |
    vi
    38 |
    Pointer to the vorbis_info struct.
    39 |
    zo
    40 |
    Integer for which block size to get: 0 for short and 1 for long
    41 |
    42 | 43 | 44 |

    Return Values

    45 |
    46 |
  • A positive integer for the block size.
  • 47 |
  • -1 on error.
  • 48 |
    49 |

    50 | 51 |

    52 |


    53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_info_clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_info_clear 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_info_clear

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function frees the internal storage for a vorbis_info structure.

    21 | 22 | 23 | 24 | 29 | 30 |
    25 |
    
    26 | extern void     vorbis_info_clear(vorbis_info *vi);
    27 | 
    28 |
    31 | 32 |

    Parameters

    33 |
    34 |
    vi
    35 |
    Pointer to a vorbis_info struct to be cleared.
    36 |
    37 | 38 | 39 |

    Return Values

    40 |
    41 |
  • 42 | None.
  • 43 |
    44 |

    45 | 46 |

    47 |


    48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_info_init.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_info_init 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_info_init

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function initializes a vorbis_info 21 | structure and allocates its internal storage.

    22 | 23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | extern void     vorbis_info_init(vorbis_info *vi);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    vi
    36 |
    Pointer to a vorbis_info struct to be initialized.
    37 |
    38 | 39 | 40 |

    Return Values

    41 |
    42 |
  • 43 | None.
  • 44 |
    45 |

    46 | 47 |

    48 |


    49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_synthesis_halfrate_p.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_synthesis_halfrate_p 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_synthesis_halfrate_p

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function gets whether a decoder is in half-rate mode. See 21 | vorbis_synthesis_halfrate 22 | for more information on half-rate mode.

    23 | 24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | extern int      vorbis_synthesis_halfrate_p(vorbis_info *v);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    v
    37 |
    The vorbis_info structure for the 38 | decoder instance.
    39 |
    40 | 41 | 42 |

    Return Values

    43 |
    44 |
  • 1 if half-rate mode is on.
  • 45 |
  • 0 if half-rate mode is off.
  • 46 |
    47 |

    48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_synthesis_idheader.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_synthesis_idheader 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_synthesis_idheader

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function checks whether a packet is a valid Vorbis identification 21 | header packet. This function can be used to detect whether a logical 22 | Ogg stream could be a Vorbis stream, given its very first packet.

    23 | 24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | extern int      vorbis_synthesis_idheader(ogg_packet *op);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    op
    37 |
    Pointer to the ogg_packet to check.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 1 if the packet is a valid first packet for a Vorbis bitstream.
  • 44 |
  • 0 if not.
  • 45 |
    46 |

    47 | 48 |

    49 |


    50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_synthesis_restart.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_synthesis_restart 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_synthesis_restart

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function restores a 21 | vorbis_dsp_state structure 22 | representing a decoder to its freshly-initialized state. This should be 23 | called if the application seeks within a Vorbis bitstream.

    24 | 25 | 26 | 27 | 32 | 33 |
    28 |
    
    29 | extern int      vorbis_synthesis_restart(vorbis_dsp_state *v);
    30 | 
    31 |
    34 | 35 |

    Parameters

    36 |
    37 |
    v
    38 |
    The vorbis_dsp_state to reset.
    39 |
    40 | 41 | 42 |

    Return Values

    43 |
    44 |
  • 0 on success.
  • 45 |
  • -1 on error.
  • 46 |
    47 |

    48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/libvorbis/vorbis_version_string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbis - function - vorbis_version_string 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    15 | 16 |

    vorbis_version_string

    17 | 18 |

    declared in "vorbis/codec.h";

    19 | 20 |

    This function returns a string giving version information for libvorbis. (This is not the same string that libvorbis encodes into the vendor field of comment headers.)

    21 | 22 | 23 | 24 | 29 | 30 |
    25 |
    
    26 | extern const char *vorbis_version_string(void);
    27 | 
    28 |
    31 | 32 |

    Parameters

    33 |

    None.

    34 | 35 |

    Return Values

    36 |
    37 |
  • The libvorbis version string. The string is in static storage.
  • 38 |
    39 |

    40 | 41 |

    42 |


    43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |

    copyright © 2010 Xiph.Org

    Ogg Vorbis

    libvorbis documentation

    libvorbis version 1.3.2 - 20101101

    52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/residue-pack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/residue-pack.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/residue2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/residue2.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/squarepolar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/squarepolar.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/stream.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisenc/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisenc 4 | 5 | doc_DATA = changes.html examples.html index.html ovectl_ratemanage2_arg.html \ 6 | ovectl_ratemanage_arg.html overview.html reference.html style.css\ 7 | vorbis_encode_ctl.html vorbis_encode_init.html vorbis_encode_setup_init.html \ 8 | vorbis_encode_setup_managed.html vorbis_encode_setup_vbr.html \ 9 | vorbis_encode_init_vbr.html 10 | 11 | EXTRA_DIST = $(doc_DATA) 12 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisenc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libvorbisenc - Documentation 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libvorbisenc documentation

    libvorbisenc version 1.3.2 - 20101101

    15 | 16 |

    Libvorbisenc Documentation

    17 | 18 |

    19 | Libvorbisenc is a convenient API for setting up an encoding environment using libvorbis. Libvorbisenc encapsulates the actions needed to set up the encoder properly. 20 |

    21 | libvorbisenc api overview
    22 | libvorbisenc api reference
    23 | libvorbisenc api changes from 1.0 and 1.0.1
    24 | libvorbisenc encode setup examples
    25 | 26 |

    27 |


    28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    libvorbisenc documentation

    libvorbisenc version 1.3.2 - 20101101

    37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisenc/reference.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile API Reference 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    vorbisenc documentation

    libvorbisenc version 1.3.2 - 20101101

    15 | 16 |

    Vorbisenc API Reference

    17 | 18 |

    Data Structures

    19 | 20 |

    21 | vorbis_info (from libvorbis)
    22 | ovectl_ratemanage_arg
    23 | ovectl_ratemanage2_arg
    24 |

    25 | 26 |

    Encoder Setup

    27 | 28 |

    29 | vorbis_encode_ctl()
    30 | vorbis_encode_init()
    31 | vorbis_encode_init_vbr()
    32 | vorbis_encode_setup_init()
    33 | vorbis_encode_setup_managed()
    34 | vorbis_encode_setup_vbr()
    35 |

    36 | 37 |

    The actual encoding is done using the libvorbis API.

    38 | 39 |
    40 |
    41 |
    42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    libvorbisenc documentation

    libvorbisenc version 1.3.2 - 20101101

    51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisenc/style.css: -------------------------------------------------------------------------------- 1 | BODY { font-family: Helvetica, sans-serif } 2 | TD { font-family: Helvetica, sans-serif } 3 | P { font-family: Helvetica, sans-serif } 4 | H1 { font-family: Helvetica, sans-serif } 5 | H2 { font-family: Helvetica, sans-serif } 6 | H4 { font-family: Helvetica, sans-serif } 7 | P.tiny { font-size: 8pt } 8 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisfile 4 | 5 | doc_DATA = OggVorbis_File.html callbacks.html chaining_example_c.html\ 6 | chainingexample.html crosslap.html datastructures.html decoding.html\ 7 | example.html exampleindex.html fileinfo.html index.html\ 8 | initialization.html ov_bitrate.html ov_bitrate_instant.html\ 9 | ov_callbacks.html ov_clear.html ov_comment.html ov_crosslap.html\ 10 | ov_fopen.html\ 11 | ov_info.html ov_open.html ov_open_callbacks.html ov_pcm_seek.html\ 12 | ov_pcm_seek_lap.html ov_pcm_seek_page.html ov_pcm_seek_page_lap.html\ 13 | ov_pcm_tell.html ov_pcm_total.html ov_raw_seek.html\ 14 | ov_raw_seek_lap.html ov_raw_tell.html ov_raw_total.html ov_read.html\ 15 | ov_read_float.html ov_read_filter.html\ 16 | ov_seekable.html ov_serialnumber.html\ 17 | ov_streams.html ov_test.html ov_test_callbacks.html ov_test_open.html\ 18 | ov_time_seek.html ov_time_seek_lap.html ov_time_seek_page.html\ 19 | ov_time_seek_page_lap.html ov_time_tell.html ov_time_total.html\ 20 | overview.html reference.html seekexample.html seeking.html\ 21 | seeking_example_c.html seeking_test_c.html seekingexample.html\ 22 | style.css threads.html\ 23 | vorbisfile_example_c.html 24 | 25 | EXTRA_DIST = $(doc_DATA) 26 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/exampleindex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | vorbisfile - Documentation 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    VorbisFile Example Code

    17 | 18 |

    19 | Three sample programs are included with the vorbisfile distribution. 20 |

    21 | vorbisfile decoding
    22 | vorbisfile seeking
    23 | vorbisfile bitstream chaining
    24 | 25 |

    26 |


    27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile - Documentation 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    Vorbisfile Documentation

    17 | 18 |

    19 | 20 | The Vorbisfile library provides a convenient high-level API for 21 | decoding and basic manipulation of all Vorbis I audio streams. 22 | Libvorbisfile is implemented as a layer on top of Xiph.Org's reference 23 | libogg and libvorbis libraries.

    24 | 25 | Vorbisfile can be used along with any ANSI compliant stdio implementation 26 | for file/stream access, or use custom stream i/o routines provided by 27 | the embedded environment. Both uses are described in detail in this 28 | documentation. 29 | 30 |

    31 | API overview
    32 | API reference
    33 | Code Examples
    34 | 35 |

    36 |


    37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/ov_pcm_tell.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile - function - ov_pcm_tell 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    ov_pcm_tell

    17 | 18 |

    declared in "vorbis/vorbisfile.h";

    19 | 20 |

    Returns the current offset in samples. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | ogg_int64_t ov_pcm_tell(OggVorbis_File *vf);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    vf
    36 |
    A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile 37 | functions.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • n indicates the current offset in samples.
  • 44 |
  • OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist.
  • 45 |
    46 |

    47 | 48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/ov_seekable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile - function - ov_seekable 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    ov_seekable

    17 | 18 |

    declared in "vorbis/vorbisfile.h";

    19 | 20 |

    This indicates whether or not the bitstream is seekable. 21 | 22 | 23 |

    24 | 25 | 26 | 31 | 32 |
    27 |
    
    28 | long ov_seekable(OggVorbis_File *vf);
    29 | 
    30 |
    33 | 34 |

    Parameters

    35 |
    36 |
    vf
    37 |
    A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile 38 | functions.
    39 |
    40 | 41 | 42 |

    Return Values

    43 |
    44 |
  • 0 indicates that the file is not seekable.
  • 45 |
  • nonzero indicates that the file is seekable.
  • 46 |
    47 |

    48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/ov_streams.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile - function - ov_streams 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    ov_streams

    17 | 18 |

    declared in "vorbis/vorbisfile.h";

    19 | 20 |

    Returns the number of logical bitstreams within our physical bitstream. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | long ov_streams(OggVorbis_File *vf);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    vf
    36 |
    A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile 37 | functions.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • 44 | 1 indicates a single logical bitstream or an unseekable file.
  • 45 |
  • n indicates the number of logical bitstreams.
  • 46 |
    47 |

    48 | 49 | 50 |

    51 |


    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/ov_time_tell.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile - function - ov_time_tell 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    ov_time_tell

    17 | 18 |

    declared in "vorbis/vorbisfile.h";

    19 | 20 |

    Returns the current decoding offset in seconds. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | double ov_time_tell(OggVorbis_File *vf);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    vf
    36 |
    A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile 37 | functions.
    38 |
    39 | 40 | 41 |

    Return Values

    42 |
    43 |
  • n indicates the current decoding time offset in seconds.
  • 44 |
  • OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist.
  • 45 |
    46 |

    47 | 48 | 49 |

    50 |


    51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/style.css: -------------------------------------------------------------------------------- 1 | BODY { font-family: Helvetica, sans-serif } 2 | TD { font-family: Helvetica, sans-serif } 3 | P { font-family: Helvetica, sans-serif } 4 | H1 { font-family: Helvetica, sans-serif } 5 | H2 { font-family: Helvetica, sans-serif } 6 | H4 { font-family: Helvetica, sans-serif } 7 | P.tiny { font-size: 8pt } 8 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/vorbisfile/threads.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vorbisfile - Thread Safety 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    15 | 16 |

    Thread Safety

    17 | 18 | Vorbisfile's libvorbisfile may be used safely in a threading environment 19 | so long as thread access to individual OggVorbis_File instances is serialized. 21 |
      22 | 23 |
    • Only one thread at a time may enter a function that takes a given OggVorbis_File instance, even if the 25 | functions involved appear to be read-only.

      26 | 27 |

    • Multiple threads may enter 28 | libvorbisfile at a given time, so long as each thread's function calls 29 | are using different OggVorbis_File 30 | instances.

      31 | 32 |

    • Any one OggVorbis_File instance may be used safely from multiple threads so long as only one thread at a time is making calls using that instance.

      34 |

    35 | 36 |

    37 |
    38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 |

    copyright © 2000-2010 Xiph.Org

    Ogg Vorbis

    Vorbisfile documentation

    vorbisfile version 1.3.2 - 20101101

    47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/window1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/window1.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/doc/window2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/doc/window2.png -------------------------------------------------------------------------------- /libvorbis-1.3.7/examples/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | AUTOMAKE_OPTIONS = foreign 4 | 5 | noinst_PROGRAMS = decoder_example encoder_example chaining_example\ 6 | vorbisfile_example seeking_example 7 | 8 | EXTRA_DIST = frameview.pl 9 | 10 | AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@ 11 | 12 | # uncomment to build static executables from the example code 13 | #LDFLAGS = -all-static 14 | 15 | decoder_example_SOURCES = decoder_example.c 16 | decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@ 17 | 18 | encoder_example_SOURCES = encoder_example.c 19 | encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@ 20 | 21 | chaining_example_SOURCES = chaining_example.c 22 | chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@ 23 | 24 | vorbisfile_example_SOURCES = vorbisfile_example.c 25 | vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@ 26 | 27 | seeking_example_SOURCES = seeking_example.c 28 | seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@ 29 | 30 | debug: 31 | $(MAKE) all CFLAGS="@DEBUG@" 32 | 33 | profile: 34 | $(MAKE) all CFLAGS="@PROFILE@" 35 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/include/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | SUBDIRS = vorbis 4 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/include/vorbis/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | vorbisincludedir = $(includedir)/vorbis 4 | 5 | vorbisinclude_HEADERS = codec.h vorbisfile.h vorbisenc.h 6 | 7 | 8 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/books/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | SUBDIRS = coupled uncoupled floor 4 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/books/coupled/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | EXTRA_DIST = res_books_stereo.h res_books_51.h 4 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/books/floor/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | EXTRA_DIST = floor_books.h 4 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/books/uncoupled/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | EXTRA_DIST = res_books_uncoupled.h 4 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/lookup.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 9 | * by the Xiph.Org Foundation https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: lookup based functions 14 | 15 | ********************************************************************/ 16 | 17 | #ifndef _V_LOOKUP_H_ 18 | 19 | #ifdef FLOAT_LOOKUP 20 | extern float vorbis_coslook(float a); 21 | extern float vorbis_invsqlook(float a); 22 | extern float vorbis_invsq2explook(int a); 23 | extern float vorbis_fromdBlook(float a); 24 | #endif 25 | #ifdef INT_LOOKUP 26 | extern long vorbis_invsqlook_i(long a,long e); 27 | extern long vorbis_coslook_i(long a); 28 | extern float vorbis_fromdBlook_i(long a); 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/lpc.h: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: LPC low level routines 14 | 15 | ********************************************************************/ 16 | 17 | #ifndef _V_LPC_H_ 18 | #define _V_LPC_H_ 19 | 20 | #include "vorbis/codec.h" 21 | 22 | /* simple linear scale LPC code */ 23 | extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m); 24 | 25 | extern void vorbis_lpc_predict(float *coeff,float *prime,int m, 26 | float *data,long n); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/lsp.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 9 | * by the Xiph.Org Foundation https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: LSP (also called LSF) conversion routines 14 | 15 | ********************************************************************/ 16 | 17 | 18 | #ifndef _V_LSP_H_ 19 | #define _V_LSP_H_ 20 | 21 | extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m); 22 | 23 | extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln, 24 | float *lsp,int m, 25 | float amp,float ampoffset); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/modes/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | EXTRA_DIST = floor_all.h psych_44.h residue_44.h setup_11.h setup_32.h \ 4 | setup_8.h psych_11.h psych_8.h residue_44u.h setup_16.h \ 5 | setup_44.h setup_X.h psych_16.h residue_16.h residue_8.h \ 6 | setup_22.h setup_44u.h setup_44p51.h residue_44p51.h 7 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/registry.h: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: registry for time, floor, res backends and channel mappings 14 | 15 | ********************************************************************/ 16 | 17 | #ifndef _V_REG_H_ 18 | #define _V_REG_H_ 19 | 20 | #define VI_TRANSFORMB 1 21 | #define VI_WINDOWB 1 22 | #define VI_TIMEB 1 23 | #define VI_FLOORB 2 24 | #define VI_RESB 3 25 | #define VI_MAPB 1 26 | 27 | extern const vorbis_func_floor *const _floor_P[]; 28 | extern const vorbis_func_residue *const _residue_P[]; 29 | extern const vorbis_func_mapping *const _mapping_P[]; 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/smallft.h: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: fft transform 14 | 15 | ********************************************************************/ 16 | 17 | #ifndef _V_SMFT_H_ 18 | #define _V_SMFT_H_ 19 | 20 | #include "vorbis/codec.h" 21 | 22 | typedef struct { 23 | int n; 24 | float *trigcache; 25 | int *splitcache; 26 | } drft_lookup; 27 | 28 | extern void drft_forward(drft_lookup *l,float *data); 29 | extern void drft_backward(drft_lookup *l,float *data); 30 | extern void drft_init(drft_lookup *l,int n); 31 | extern void drft_clear(drft_lookup *l); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/tone.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | void usage(){ 7 | fprintf(stderr,"tone ,[] [,[]...]\n"); 8 | exit(1); 9 | } 10 | 11 | int main (int argc,char *argv[]){ 12 | int i,j; 13 | double *f; 14 | double *amp; 15 | 16 | if(argc<2)usage(); 17 | 18 | f=alloca(sizeof(*f)*(argc-1)); 19 | amp=alloca(sizeof(*amp)*(argc-1)); 20 | 21 | i=0; 22 | while(argv[i+1]){ 23 | char *pos=strchr(argv[i+1],','); 24 | 25 | f[i]=atof(argv[i+1]); 26 | if(pos) 27 | amp[i]=atof(pos+1)*32767.f; 28 | else 29 | amp[i]=32767.f; 30 | 31 | fprintf(stderr,"%g Hz, %g amp\n",f[i],amp[i]); 32 | 33 | i++; 34 | } 35 | 36 | for(i=0;i<44100*10;i++){ 37 | float val=0; 38 | int ival; 39 | for(j=0;j32767.f)ival=32767.f; 44 | if(ival<-32768.f)ival=-32768.f; 45 | 46 | fprintf(stdout,"%c%c%c%c", 47 | (char)(ival&0xff), 48 | (char)((ival>>8)&0xff), 49 | (char)(ival&0xff), 50 | (char)((ival>>8)&0xff)); 51 | } 52 | return(0); 53 | } 54 | 55 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/lib/window.h: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: window functions 14 | 15 | ********************************************************************/ 16 | 17 | #ifndef _V_WINDOW_ 18 | #define _V_WINDOW_ 19 | 20 | extern const float *_vorbis_window_get(int n); 21 | extern void _vorbis_apply_window(float *d,int *winno,long *blocksizes, 22 | int lW,int W,int nW); 23 | 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/m4/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | EXTRA_DIST = add_cflags.m4 ogg.m4 pkg.m4 4 | 5 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/m4/add_cflags.m4: -------------------------------------------------------------------------------- 1 | dnl @synopsis AC_ADD_CFLAGS 2 | dnl 3 | dnl Add the given option to CFLAGS, if it doesn't break the compiler 4 | 5 | AC_DEFUN([AC_ADD_CFLAGS], 6 | [AC_MSG_CHECKING([if $CC accepts $1]) 7 | ac_add_cflags__old_cflags="$CFLAGS" 8 | CFLAGS="$CFLAGS $1" 9 | AC_TRY_LINK([#include ], 10 | [puts("Hello, World!"); return 0;], 11 | AC_MSG_RESULT([yes]), 12 | AC_MSG_RESULT([no]) 13 | CFLAGS="$ac_add_cflags__old_cflags") 14 | ]) 15 | ])# AC_ADD_CFLAGS 16 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/m4/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 4179 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.6]) 16 | m4_define([LT_PACKAGE_REVISION], [2.4.6]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.6' 20 | macro_revision='2.4.6' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/macosx/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morilli/bnk-extract-GUI/a31532adcbf9c0e810765073df970f054d6a7cdb/libvorbis-1.3.7/macosx/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /libvorbis-1.3.7/macosx/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | Vorbis 9 | CFBundleGetInfoString 10 | Vorbis framework 1.2.3, Copyright © 1994-2009 Xiph.Org Foundation 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | org.xiph.vorbis 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleShortVersionString 20 | 1.2.3 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.2.3 25 | NSHumanReadableCopyright 26 | Vorbis framework 1.2.3, Copyright © 1994-2009 Xiph.Org Foundation 27 | CSResourcesFileMapped 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/symbian/bld.inf: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2003 Commonwealth Scientific and Industrial Research 3 | Organisation (CSIRO) Australia 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | - Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | 12 | - Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in the 14 | documentation and/or other materials provided with the distribution. 15 | 16 | - Neither the name of CSIRO Australia nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 23 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR 24 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 26 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 27 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 28 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | */ 32 | 33 | PRJ_MMPFILES 34 | 35 | vorbis.mmp 36 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/test/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | AUTOMAKE_OPTIONS = foreign 4 | 5 | check_PROGRAMS = test 6 | 7 | check: $(check_PROGRAMS) 8 | ./test$(EXEEXT) 9 | 10 | AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@ 11 | 12 | test_SOURCES = util.c util.h write_read.c write_read.h test.c 13 | test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@ 14 | 15 | debug: 16 | $(MAKE) check CFLAGS="@DEBUG@" 17 | 18 | profile: 19 | $(MAKE) check CFLAGS="@PROFILE@" 20 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/test/util.c: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: utility functions for vorbis codec test suite. 14 | 15 | ********************************************************************/ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | 23 | #include 24 | #include 25 | 26 | #include "util.h" 27 | 28 | void 29 | gen_windowed_sine (float *data, int len, float maximum) 30 | { int k ; 31 | 32 | memset (data, 0, len * sizeof (float)) ; 33 | 34 | len /= 2 ; 35 | 36 | for (k = 0 ; k < len ; k++) 37 | { data [k] = sin (2.0 * k * M_PI * 1.0 / 32.0 + 0.4) ; 38 | 39 | /* Apply Hanning Window. */ 40 | data [k] *= maximum * (0.5 - 0.5 * cos (2.0 * M_PI * k / ((len) - 1))) ; 41 | } 42 | 43 | return ; 44 | } 45 | 46 | void 47 | set_data_in (float * data, unsigned len, float value) 48 | { unsigned k ; 49 | 50 | for (k = 0 ; k < len ; k++) 51 | data [k] = value ; 52 | } 53 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/test/util.h: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: utility functions for vorbis codec test suite. 14 | 15 | ********************************************************************/ 16 | 17 | #define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0])) 18 | 19 | /* Create simple test data consisting of a windowed sine wave. */ 20 | void gen_windowed_sine (float *data, int len, float maximum) ; 21 | 22 | /* Set len values of data array to given value. */ 23 | void set_data_in (float * data, unsigned len, float value) ; 24 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/test/write_read.h: -------------------------------------------------------------------------------- 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 https://xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: utility functions for vorbis codec test suite. 14 | 15 | ********************************************************************/ 16 | 17 | /* Write supplied data to an Ogg/Vorbis file with specified filename at 18 | * specified sample rate. Assumes a single channel of audio. */ 19 | void write_vorbis_data_or_die (const char *filename, int srate, float q, 20 | const float * data, int count, int ch) ; 21 | 22 | /* Read given Ogg/Vorbis file into data specified data array. This 23 | * function is basically the inverse of the one above. Again, assumes 24 | * a single channel of audio. */ 25 | void read_vorbis_data_or_die (const char *filename, int srate, 26 | float * data, int count) ; 27 | 28 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vorbis-uninstalled.pc.in: -------------------------------------------------------------------------------- 1 | # vorbis uninstalled pkg-config file 2 | 3 | prefix= 4 | exec_prefix= 5 | libdir=${pcfiledir}/lib 6 | includedir=${pcfiledir}/include 7 | 8 | Name: vorbis 9 | Description: vorbis is the primary Ogg Vorbis library (uninstalled) 10 | Version: @VERSION@ 11 | Requires: ogg 12 | Conflicts: 13 | Libs: @VORBIS_LIBS@ ${libdir}/libvorbis.la 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vorbis.pc.in: -------------------------------------------------------------------------------- 1 | # libvorbis pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: vorbis 9 | Description: vorbis is the primary Ogg Vorbis library 10 | Version: @VERSION@ 11 | Requires.private: ogg 12 | Conflicts: 13 | Libs: -L${libdir} -lvorbis 14 | Libs.private: @VORBIS_LIBS@ 15 | Cflags: -I${includedir} 16 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vorbisenc-uninstalled.pc.in: -------------------------------------------------------------------------------- 1 | # vorbisenc uninstalled pkg-config file 2 | 3 | prefix= 4 | exec_prefix= 5 | libdir=${pcfiledir}/lib 6 | includedir=${pcfiledir}/include 7 | 8 | Name: vorbisenc 9 | Description: vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis (uninstalled) 10 | Version: @VERSION@ 11 | Requires: vorbis 12 | Conflicts: 13 | Libs: ${libdir}/libvorbisenc.la 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vorbisenc.pc.in: -------------------------------------------------------------------------------- 1 | # libvorbisenc pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: vorbisenc 9 | Description: vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis 10 | Version: @VERSION@ 11 | Requires.private: vorbis 12 | Conflicts: 13 | Libs: -L${libdir} -lvorbisenc 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vorbisfile-uninstalled.pc.in: -------------------------------------------------------------------------------- 1 | # vorbisfile uninstalled pkg-config file 2 | 3 | prefix= 4 | exec_prefix= 5 | libdir=${pcfiledir}/lib 6 | includedir=${pcfiledir}/include 7 | 8 | Name: vorbisfile 9 | Description: vorbisfile is a library that provides a convenient high-level API for decoding and basic manipulation of all Vorbis I audio streams (uninstalled) 10 | Version: @VERSION@ 11 | Requires: vorbis 12 | Conflicts: 13 | Libs: ${libdir}/libvorbisfile.la 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vorbisfile.pc.in: -------------------------------------------------------------------------------- 1 | # libvorbisfile pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: vorbisfile 9 | Description: vorbisfile is a library that provides a convenient high-level API for decoding and basic manipulation of all Vorbis I audio streams 10 | Version: @VERSION@ 11 | Requires.private: vorbis 12 | Conflicts: 13 | Libs: -L${libdir} -lvorbisfile 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c2.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44c2s_s noninterleaved 4 | haux 44c2_s/resaux_0.vqd _44c2_s_short 0,16,2 10 5 | 6 | >_44c2_s noninterleaved 7 | haux 44c2_s/resaux_1.vqd _44c2_s_long 0,64,2 10 8 | 9 | #iter 0 10 | 11 | # 0 1 1 2 2 4 8 16 32 + 12 | # 0 99 0 99 4 8 16 32 + 13 | 14 | # 0 1 2 3 4 5 6 7 8 9 15 | # 1 . . . 16 | # 2 . . . 17 | # 4 . . . . . . . 18 | 19 | :_p1_0 44c2_s/res_part1_pass2.vqd, 8, nonseq cull, 0 +- 1 20 | :_p2_0 44c2_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 21 | :_p3_0 44c2_s/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 22 | :_p4_0 44c2_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 23 | :_p5_0 44c2_s/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 24 | :_p6_0 44c2_s/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 25 | 26 | 27 | :_p7_0 44c2_s/res_part7_pass0.vqd, 4, nonseq cull, 0 +- 11 28 | :_p7_1 44c2_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 29 | 30 | :_p8_0 44c2_s/res_part8_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 31 | :_p8_1 44c2_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 32 | 33 | :_p9_0 44c2_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 221 442 663 884 1105 1326 34 | :_p9_1 44c2_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 35 | :_p9_2 44c2_s/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 36 | 37 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c3.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44c3s_s noninterleaved 5 | haux 44c3_s/resaux_0.vqd _44c3_s_short 0,16,2 10 6 | 7 | >_44c3_s noninterleaved 8 | haux 44c3_s/resaux_1.vqd _44c3_s_long 0,64,2 10 9 | 10 | #iter 0 11 | 12 | # 0 1 1 2 2 4 8 16 32 + 13 | # 0 99 0 99 4 8 16 32 + 14 | 15 | # 0 1 2 3 4 5 6 7 8 9 16 | # 1 . . . 17 | # 2 . . . 18 | # 4 . . . . . . . 19 | 20 | :_p1_0 44c3_s/res_part1_pass2.vqd, 8, nonseq cull, 0 +- 1 21 | :_p2_0 44c3_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 22 | :_p3_0 44c3_s/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 23 | :_p4_0 44c3_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 24 | :_p5_0 44c3_s/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 25 | :_p6_0 44c3_s/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 26 | 27 | 28 | :_p7_0 44c3_s/res_part7_pass0.vqd, 4, nonseq cull, 0 +- 11 29 | :_p7_1 44c3_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 30 | 31 | :_p8_0 44c3_s/res_part8_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 32 | :_p8_1 44c3_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 33 | 34 | :_p9_0 44c3_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 1275 1530 35 | :_p9_1 44c3_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119 36 | :_p9_2 44c3_s/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 37 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c4.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44c4s_s noninterleaved 5 | haux 44c4_s/resaux_0.vqd _44c4_s_short 0,16,2 10 6 | 7 | >_44c4_s noninterleaved 8 | haux 44c4_s/resaux_1.vqd _44c4_s_long 0,64,2 10 9 | 10 | #iter 0 11 | 12 | # 0 1 1 2 2 4 8 16 32 + 13 | # 0 99 0 99 4 8 16 32 + 14 | 15 | # 0 1 2 3 4 5 6 7 8 9 16 | # 1 . . . 17 | # 2 . . . 18 | # 4 . . . . . . . 19 | 20 | :_p1_0 44c4_s/res_part1_pass2.vqd, 8, nonseq cull, 0 +- 1 21 | :_p2_0 44c4_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 22 | :_p3_0 44c4_s/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 23 | :_p4_0 44c4_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 24 | :_p5_0 44c4_s/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 25 | :_p6_0 44c4_s/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 26 | 27 | 28 | :_p7_0 44c4_s/res_part7_pass0.vqd, 4, nonseq cull, 0 +- 11 29 | :_p7_1 44c4_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 30 | 31 | :_p8_0 44c4_s/res_part8_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 32 | :_p8_1 44c4_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 33 | 34 | :_p9_0 44c4_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 315 630 945 1260 1575 1890 35 | :_p9_1 44c4_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 36 | :_p9_2 44c4_s/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 37 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c5.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44c5s_s noninterleaved 5 | haux 44c5_s/resaux_0.vqd _44c5_s_short 0,16,2 10 6 | 7 | >_44c5_s noninterleaved 8 | haux 44c5_s/resaux_1.vqd _44c5_s_long 0,64,2 10 9 | 10 | #iter 0 11 | 12 | # 0 1 1 2 2 4 8 16 32 + 13 | # 0 99 0 99 4 8 16 32 + 14 | 15 | # 0 1 2 3 4 5 6 7 8 9 16 | # 1 . . . 17 | # 2 . . . 18 | # 4 . . . . . . . 19 | 20 | :_p1_0 44c5_s/res_part1_pass2.vqd, 8, nonseq cull, 0 +- 1 21 | :_p2_0 44c5_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 22 | :_p3_0 44c5_s/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 23 | :_p4_0 44c5_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 24 | :_p5_0 44c5_s/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 25 | :_p6_0 44c5_s/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 26 | 27 | 28 | :_p7_0 44c5_s/res_part7_pass0.vqd, 4, nonseq cull, 0 +- 11 29 | :_p7_1 44c5_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 30 | 31 | :_p8_0 44c5_s/res_part8_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 32 | :_p8_1 44c5_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 33 | 34 | :_p9_0 44c5_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 357 714 1071 1428 1785 2142 2499 35 | :_p9_1 44c5_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 168 36 | :_p9_2 44c5_s/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 37 | 38 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c6.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44c6s_s noninterleaved 4 | haux 44c6_s/resaux_0.vqd _44c6_s_short 0,16,2 10 5 | 6 | >_44c6_s noninterleaved 7 | haux 44c6_s/resaux_1.vqd _44c6_s_long 0,64,2 10 8 | 9 | 10 | # 0 1 2 4 8 16 32 71 157 + 11 | # 1 2 3 4 8 16 71 157 + 12 | 13 | # 0 1 2 3 4 5 6 7 8 9 14 | # 1 . . . . . 15 | # 2 . . . . . 16 | # 4 . . . . . 17 | 18 | :_p1_0 44c6_s/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 19 | :_p2_0 44c6_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 20 | :_p3_0 44c6_s/res_part3_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 21 | :_p4_0 44c6_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 22 | 23 | :_p5_0 44c6_s/res_part5_pass0.vqd, 4, nonseq cull, 0 +- 11 24 | :_p5_1 44c6_s/res_part5_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 25 | 26 | :_p6_0 44c6_s/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 27 | :_p6_1 44c6_s/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 28 | 29 | :_p7_0 44c6_s/res_part7_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 66 30 | :_p7_1 44c6_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 31 | 32 | :_p8_0 44c6_s/res_part8_pass0.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 33 | :_p8_1 44c6_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 9 10 34 | 35 | :_p9_0 44c6_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 637 1274 1911 2548 3185 3822 36 | :_p9_1 44c6_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 37 | :_p9_2 44c6_s/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 38 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c7.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44c7s_s noninterleaved 5 | haux 44c7_s/resaux_0.vqd _44c7_s_short 0,16,2 10 6 | 7 | >_44c7_s noninterleaved 8 | haux 44c7_s/resaux_1.vqd _44c7_s_long 0,64,2 10 9 | 10 | 11 | # 0 1 2 4 8 16 32 71 157 + 12 | # 1 2 3 4 8 16 71 157 + 13 | 14 | # 0 1 2 3 4 5 6 7 8 9 15 | # 1 . . . . . 16 | # 2 . . . . . 17 | # 4 . . . . . 18 | 19 | :_p1_0 44c7_s/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 20 | :_p2_0 44c7_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 21 | :_p3_0 44c7_s/res_part3_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 22 | :_p4_0 44c7_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 23 | 24 | :_p5_0 44c7_s/res_part5_pass0.vqd, 4, nonseq cull, 0 +- 11 25 | :_p5_1 44c7_s/res_part5_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 26 | 27 | :_p6_0 44c7_s/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 28 | :_p6_1 44c7_s/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 29 | 30 | :_p7_0 44c7_s/res_part7_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 66 31 | :_p7_1 44c7_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 32 | 33 | :_p8_0 44c7_s/res_part8_pass0.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 34 | :_p8_1 44c7_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 9 10 35 | 36 | :_p9_0 44c7_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 637 1274 1911 2548 3185 3822 37 | :_p9_1 44c7_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 38 | :_p9_2 44c7_s/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 39 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c8.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44c8s_s noninterleaved 5 | haux 44c8_s/resaux_0.vqd _44c8_s_short 0,16,2 10 6 | 7 | >_44c8_s noninterleaved 8 | haux44c8_s/resaux_1.vqd _44c8_s_long 0,64,2 10 9 | 10 | 11 | # 0 1 2 4 8 16 32 71 157 + 12 | # 1 2 3 4 8 16 71 157 + 13 | 14 | # 0 1 2 3 4 5 6 7 8 9 15 | # 1 . . . . . 16 | # 2 . . . . . 17 | # 4 . . . . . 18 | 19 | :_p1_0 44c8_s/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 20 | :_p2_0 44c8_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 21 | :_p3_0 44c8_s/res_part3_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 22 | :_p4_0 44c8_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 23 | 24 | :_p5_0 44c8_s/res_part5_pass0.vqd, 4, nonseq cull, 0 +- 11 25 | :_p5_1 44c8_s/res_part5_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 26 | 27 | :_p6_0 44c8_s/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 28 | :_p6_1 44c8_s/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 29 | 30 | :_p7_0 44c8_s/res_part7_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 66 31 | :_p7_1 44c8_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 32 | 33 | :_p8_0 44c8_s/res_part8_pass0.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 34 | :_p8_1 44c8_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 9 10 35 | 36 | :_p9_0 44c8_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 931 1862 2793 3724 4655 5586 6517 7448 37 | :_p9_1 44c8_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 343 392 441 38 | :_p9_2 44c8_s/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 39 | 40 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44c9.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44c9s_s noninterleaved 4 | haux 44c9_s/resaux_0.vqd _44c9_s_short 0,16,2 10 5 | 6 | >_44c9_s noninterleaved 7 | haux 44c9_s/resaux_1.vqd _44c9_s_long 0,64,2 10 8 | 9 | 10 | # 0 1 2 4 8 16 32 71 157 + 11 | # 1 2 3 4 8 16 71 157 + 12 | 13 | # 0 1 2 3 4 5 6 7 8 9 14 | # 1 . . . . . 15 | # 2 . . . . . 16 | # 4 . . . . . 17 | 18 | :_p1_0 44c9_s/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 19 | :_p2_0 44c9_s/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 20 | :_p3_0 44c9_s/res_part3_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 21 | :_p4_0 44c9_s/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 22 | 23 | :_p5_0 44c9_s/res_part5_pass0.vqd, 4, nonseq cull, 0 +- 11 24 | :_p5_1 44c9_s/res_part5_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 25 | 26 | :_p6_0 44c9_s/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 27 | :_p6_1 44c9_s/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 28 | 29 | :_p7_0 44c9_s/res_part7_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 66 30 | :_p7_1 44c9_s/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 31 | 32 | :_p8_0 44c9_s/res_part8_pass0.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 33 | :_p8_1 44c9_s/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 9 10 34 | 35 | :_p9_0 44c9_s/res_part9_pass0.vqd, 2, nonseq, 0 +- 931 1862 2793 3724 4655 5586 6517 7448 8379 36 | :_p9_1 44c9_s/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 343 392 441 37 | :_p9_2 44c9_s/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 38 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44p-1.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44pn1 noninterleaved 4 | haux 44pn1/resaux_0.vqd _44pn1_short 0,80,2 7 5 | haux 44pn1/resaux_1.vqd _44pn1_long 0,300,2 7 6 | haux 44pn1/resaux_2.vqd _44pn1_lfe 0,2,2 2 7 | 8 | #iter 0 9 | 10 | # 0 1 2 7 17 31 + 11 | # 0 99 7 17 31 + 12 | 13 | # 0 1 2 3 4 5 6 14 | # 1 . . . . . 15 | # 2 . . . . . . 16 | # 4 . . 17 | 18 | :_p1_0 44pn1/res_sub0_part1_pass1.vqd, 5, nonseq cull, 0 +- 1 19 | 20 | :_p2_0 44pn1/res_sub0_part2_pass0.vqd, 5, nonseq cull, 0 +- 3 21 | :_p2_1 44pn1/res_sub0_part2_pass1.vqd, 5, nonseq cull, 0 +- 1 22 | 23 | :_p3_0 44pn1/res_sub0_part3_pass0.vqd, 5, nonseq cull, 0 +- 5 24 | :_p3_1 44pn1/res_sub0_part3_pass1.vqd, 5, nonseq cull, 0 +- 1 2 25 | 26 | :_p4_0 44pn1/res_sub0_part4_pass0.vqd, 5, nonseq cull, 0 +- 7 14 27 | :_p4_1 44pn1/res_sub0_part4_pass1.vqd, 1, nonseq cull, 0 +- 1 2 3 28 | 29 | :_p5_0 44pn1/res_sub0_part5_pass0.vqd, 5, nonseq cull, 0 +- 21 30 | :_p5_1 44pn1/res_sub0_part5_pass1.vqd, 5, nonseq cull, 0 +- 7 31 | # reuse p4_1 :_p5_2 32 | 33 | :_p6_0 44pn1/res_sub0_part6_pass0.vqd, 5, nonseq, 0 +- 625 34 | :_p6_1 44pn1/res_sub0_part6_pass1.vqd, 1, nonseq, 0 +- 25 50 75 100 125 150 175 200 225 250 275 300 35 | :_p6_2 44pn1/res_sub0_part6_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 36 | 37 | # 32 + 38 | # 0 0 39 | # 40 | # 0 1 41 | # 1 . . 42 | # 2 . . 43 | # 4 . 44 | 45 | :_l0_0 44pn1/res_sub1_part0_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 46 | :_l0_1 44pn1/res_sub1_part0_pass1.vqd, 2, nonseq cull, 0 +- 1 2 47 | 48 | :_l1_0 44pn1/res_sub1_part1_pass0.vqd, 2, nonseq, 0 +- 625 49 | # reuse p7_2/3 for l1_1/2 50 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44p0.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44p0 noninterleaved 4 | haux 44p0/resaux_0.vqd _44p0_short 0,42,2 7 5 | haux 44p0/resaux_1.vqd _44p0_long 0,170,2 7 6 | haux 44p0/resaux_2.vqd _44p0_lfe 0,2,2 2 7 | 8 | #iter 0 9 | 10 | # 0 1 2 7 17 31 + 11 | # 0 99 7 17 31 + 12 | 13 | # 0 1 2 3 4 5 6 14 | # 1 . . . . . 15 | # 2 . . . . . . 16 | # 4 . . 17 | 18 | :_p1_0 44p0/res_sub0_part1_pass1.vqd, 5, nonseq cull, 0 +- 1 19 | 20 | :_p2_0 44p0/res_sub0_part2_pass0.vqd, 5, nonseq cull, 0 +- 3 21 | :_p2_1 44p0/res_sub0_part2_pass1.vqd, 5, nonseq cull, 0 +- 1 22 | 23 | :_p3_0 44p0/res_sub0_part3_pass0.vqd, 5, nonseq cull, 0 +- 5 24 | :_p3_1 44p0/res_sub0_part3_pass1.vqd, 5, nonseq cull, 0 +- 1 2 25 | 26 | :_p4_0 44p0/res_sub0_part4_pass0.vqd, 5, nonseq cull, 0 +- 7 14 27 | :_p4_1 44p0/res_sub0_part4_pass1.vqd, 1, nonseq cull, 0 +- 1 2 3 28 | 29 | :_p5_0 44p0/res_sub0_part5_pass0.vqd, 5, nonseq cull, 0 +- 21 30 | :_p5_1 44p0/res_sub0_part5_pass1.vqd, 5, nonseq cull, 0 +- 7 31 | # reuse p4_1 :_p5_2 32 | 33 | :_p6_0 44p0/res_sub0_part6_pass0.vqd, 5, nonseq, 0 +- 625 34 | :_p6_1 44p0/res_sub0_part6_pass1.vqd, 1, nonseq, 0 +- 25 50 75 100 125 150 175 200 225 250 275 300 35 | :_p6_2 44p0/res_sub0_part6_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 36 | 37 | # 32 + 38 | # 0 0 39 | # 40 | # 0 1 41 | # 1 . . 42 | # 2 . . 43 | # 4 . 44 | 45 | :_l0_0 44p0/res_sub1_part0_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 46 | :_l0_1 44p0/res_sub1_part0_pass1.vqd, 2, nonseq cull, 0 +- 1 2 47 | 48 | :_l1_0 44p0/res_sub1_part1_pass0.vqd, 2, nonseq, 0 +- 625 49 | # reuse p7_2/3 for l1_1/2 50 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44p1.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44p1 noninterleaved 4 | haux 44p1/resaux_0.vqd _44p1_short 0,42,2 7 5 | haux 44p1/resaux_1.vqd _44p1_long 0,170,2 7 6 | haux 44p1/resaux_2.vqd _44p1_lfe 0,2,2 2 7 | 8 | #iter 0 9 | 10 | # 0 1 2 7 17 31 + 11 | # 0 99 7 17 31 + 12 | 13 | # 0 1 2 3 4 5 6 14 | # 1 . . . . . 15 | # 2 . . . . . . 16 | # 4 . . 17 | 18 | :_p1_0 44p1/res_sub0_part1_pass1.vqd, 5, nonseq cull, 0 +- 1 19 | 20 | :_p2_0 44p1/res_sub0_part2_pass0.vqd, 5, nonseq cull, 0 +- 3 21 | :_p2_1 44p1/res_sub0_part2_pass1.vqd, 5, nonseq cull, 0 +- 1 22 | 23 | :_p3_0 44p1/res_sub0_part3_pass0.vqd, 5, nonseq cull, 0 +- 5 24 | :_p3_1 44p1/res_sub0_part3_pass1.vqd, 5, nonseq cull, 0 +- 1 2 25 | 26 | :_p4_0 44p1/res_sub0_part4_pass0.vqd, 5, nonseq cull, 0 +- 7 14 27 | :_p4_1 44p1/res_sub0_part4_pass1.vqd, 1, nonseq cull, 0 +- 1 2 3 28 | 29 | :_p5_0 44p1/res_sub0_part5_pass0.vqd, 5, nonseq cull, 0 +- 21 30 | :_p5_1 44p1/res_sub0_part5_pass1.vqd, 5, nonseq cull, 0 +- 7 31 | # reuse p4_1 :_p5_2 32 | 33 | :_p6_0 44p1/res_sub0_part6_pass0.vqd, 5, nonseq, 0 +- 625 34 | :_p6_1 44p1/res_sub0_part6_pass1.vqd, 1, nonseq, 0 +- 25 50 75 100 125 150 175 200 225 250 275 300 35 | :_p6_2 44p1/res_sub0_part6_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 36 | 37 | # 32 + 38 | # 0 0 39 | # 40 | # 0 1 41 | # 1 . . 42 | # 2 . . 43 | # 4 . 44 | 45 | :_l0_0 44p1/res_sub1_part0_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 46 | :_l0_1 44p1/res_sub1_part0_pass1.vqd, 2, nonseq cull, 0 +- 1 2 47 | 48 | :_l1_0 44p1/res_sub1_part1_pass0.vqd, 2, nonseq, 0 +- 625 49 | # reuse p7_2/3 for l1_1/2 50 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44p2.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44p2 noninterleaved 4 | haux 44p2/resaux_0.vqd _44p2_short 0,42,2 8 5 | haux 44p2/resaux_1.vqd _44p2_long 0,170,2 8 6 | haux 44p2/resaux_2.vqd _44p2_lfe 0,2,2 2 7 | 8 | #iter 0 9 | 10 | # 0 1 1 2 7 17 31 + 11 | # 0 99 99 7 17 31 + 12 | 13 | # 0 1 2 3 4 5 6 7 14 | # 1 . . . . . 15 | # 2 . . . . . . 16 | # 4 . . . 17 | # 8 . 18 | 19 | :_p1_0 44p2/res_sub0_part1_pass2.vqd, 5, nonseq cull, 0 +- 1 20 | :_p2_0 44p2/res_sub0_part2_pass1.vqd, 5, nonseq cull, 0 +- 1 2 21 | 22 | :_p3_0 44p2/res_sub0_part3_pass0.vqd, 5, nonseq cull, 0 +- 3 23 | :_p3_1 44p2/res_sub0_part3_pass1.vqd, 5, nonseq cull, 0 +- 1 24 | 25 | :_p4_0 44p2/res_sub0_part4_pass0.vqd, 5, nonseq cull, 0 +- 5 26 | :_p4_1 44p2/res_sub0_part4_pass1.vqd, 5, nonseq cull, 0 +- 1 2 27 | 28 | :_p5_0 44p2/res_sub0_part5_pass0.vqd, 5, nonseq cull, 0 +- 7 14 29 | :_p5_1 44p2/res_sub0_part5_pass1.vqd, 1, nonseq cull, 0 +- 1 2 3 30 | 31 | :_p6_0 44p2/res_sub0_part6_pass0.vqd, 5, nonseq cull, 0 +- 21 32 | :_p6_1 44p2/res_sub0_part6_pass1.vqd, 5, nonseq cull, 0 +- 7 33 | # reuse p5_1 :_p6_2 34 | 35 | :_p7_0 44p2/res_sub0_part7_pass0.vqd, 5, nonseq, 0 +- 1875 36 | :_p7_1 44p2/res_sub0_part7_pass1.vqd, 5, nonseq, 0 +- 625 37 | :_p7_2 44p2/res_sub0_part7_pass2.vqd, 1, nonseq, 0 +- 25 50 75 100 125 150 175 200 225 250 275 300 38 | :_p7_3 44p2/res_sub0_part7_pass3.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 39 | 40 | # 32 + 41 | # 0 0 42 | # 43 | # 0 1 44 | # 1 . . 45 | # 2 . . 46 | # 4 . 47 | 48 | :_l0_0 44p2/res_sub1_part0_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 49 | :_l0_1 44p2/res_sub1_part0_pass1.vqd, 2, nonseq cull, 0 +- 1 2 50 | 51 | :_l1_0 44p2/res_sub1_part1_pass0.vqd, 2, nonseq, 0 +- 625 52 | # reuse p7_2/3 for l1_1/2 53 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u0.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44u0_ noninterleaved 4 | haux 44u0/resaux_0.vqd _44u0__short 0,16,2 8 5 | 6 | >_44u0_ noninterleaved 7 | haux 44u0/resaux_1.vqd _44u0__long 0,64,2 8 8 | 9 | #iter 0 10 | 11 | 12 | 13 | # 0 1 1 2 2 4 32 + 14 | # 25 0 45 0 0 0 0 15 | # 16 | # 0 1 2 3 4 5 6 7 17 | # 1 . . 18 | # 2 . . 19 | # 4 . . . . . . 20 | 21 | :_p1_0 44u0/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 22 | :_p2_0 44u0/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 23 | :_p3_0 44u0/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 24 | :_p4_0 44u0/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 25 | :_p5_0 44u0/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 26 | 27 | :_p6_0 44u0/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 28 | :_p6_1 44u0/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 29 | 30 | :_p7_0 44u0/res_part7_pass0.vqd, 4, nonseq, 0 +- 169 338 31 | :_p7_1 44u0/res_part7_pass1.vqd, 2, nonseq, 0 +- 13 26 39 52 65 78 32 | :_p7_2 44u0/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 33 | 34 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u1.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44u1_ noninterleaved 4 | haux 44u1/resaux_0.vqd _44u1__short 0,16,2 8 5 | 6 | >_44u1_ noninterleaved 7 | haux 44u1/resaux_1.vqd _44u1__long 0,64,2 8 8 | 9 | #iter 0 10 | 11 | 12 | 13 | # 0 1 1 2 2 4 32 + 14 | # 25 0 45 0 0 0 0 15 | # 16 | # 0 1 2 3 4 5 6 7 17 | # 1 . . 18 | # 2 . . 19 | # 4 . . . . . . 20 | 21 | :_p1_0 44u1/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 22 | :_p2_0 44u1/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 23 | :_p3_0 44u1/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 24 | :_p4_0 44u1/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 25 | :_p5_0 44u1/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 26 | 27 | :_p6_0 44u1/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 28 | :_p6_1 44u1/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 29 | 30 | :_p7_0 44u1/res_part7_pass0.vqd, 2, nonseq, 0 +- 169 338 507 31 | :_p7_1 44u1/res_part7_pass1.vqd, 2, nonseq, 0 +- 13 26 39 52 65 78 32 | :_p7_2 44u1/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 33 | 34 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u2.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44u2_ noninterleaved 4 | haux 44u2/resaux_0.vqd _44u2__short 0,16,2 8 5 | 6 | >_44u2_ noninterleaved 7 | haux 44u2/resaux_1.vqd _44u2__long 0,64,2 8 8 | 9 | #iter 0 10 | 11 | 12 | 13 | # 0 1 1 2 2 4 32 + 14 | # 25 0 45 0 0 0 0 15 | # 16 | # 0 1 2 3 4 5 6 7 17 | # 1 . . 18 | # 2 . . 19 | # 4 . . . . . . 20 | 21 | :_p1_0 44u2/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 22 | :_p2_0 44u2/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 23 | :_p3_0 44u2/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 24 | :_p4_0 44u2/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 25 | :_p5_0 44u2/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 26 | 27 | :_p6_0 44u2/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 28 | :_p6_1 44u2/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 29 | 30 | :_p7_0 44u2/res_part7_pass0.vqd, 2, nonseq, 0 +- 169 338 507 676 31 | :_p7_1 44u2/res_part7_pass1.vqd, 2, nonseq, 0 +- 13 26 39 52 65 78 32 | :_p7_2 44u2/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 33 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u3.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44u3_ noninterleaved 5 | haux 44u3/resaux_0.vqd _44u3__short 0,16,2 8 6 | 7 | >_44u3_ noninterleaved 8 | haux 44u3/resaux_1.vqd _44u3__long 0,64,2 8 9 | 10 | #iter 0 11 | 12 | 13 | 14 | # 0 1 1 2 2 4 32 + 15 | # 25 0 45 0 0 0 0 16 | # 17 | # 0 1 2 3 4 5 6 7 18 | # 1 . . 19 | # 2 . . 20 | # 4 . . . . . . 21 | 22 | :_p1_0 44u3/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 23 | :_p2_0 44u3/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 24 | :_p3_0 44u3/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 25 | :_p4_0 44u3/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 26 | :_p5_0 44u3/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 27 | 28 | :_p6_0 44u3/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 29 | :_p6_1 44u3/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 30 | 31 | :_p7_0 44u3/res_part7_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 32 | :_p7_1 44u3/res_part7_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119 33 | :_p7_2 44u3/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 34 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u4.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44u4_ noninterleaved 5 | haux 44u4/resaux_0.vqd _44u4__short 0,16,2 8 6 | 7 | >_44u4_ noninterleaved 8 | haux 44u4/resaux_1.vqd _44u4__long 0,64,2 8 9 | 10 | #iter 0 11 | 12 | 13 | 14 | # 0 1 1 2 2 4 32 + 15 | # 25 0 45 0 0 0 0 16 | # 17 | # 0 1 2 3 4 5 6 7 18 | # 1 . . 19 | # 2 . . 20 | # 4 . . . . . . 21 | 22 | :_p1_0 44u4/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 23 | :_p2_0 44u4/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 24 | :_p3_0 44u4/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 25 | :_p4_0 44u4/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 26 | :_p5_0 44u4/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 27 | 28 | :_p6_0 44u4/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 29 | :_p6_1 44u4/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 30 | 31 | :_p7_0 44u4/res_part7_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 1275 1530 32 | :_p7_1 44u4/res_part7_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119 33 | :_p7_2 44u4/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 34 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u5.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44u5_ noninterleaved 5 | haux 44u5/resaux_0.vqd _44u5__short 0,16,2 10 6 | 7 | >_44u5_ noninterleaved 8 | haux 44u5/resaux_1.vqd _44u5__long 0,64,2 10 9 | 10 | #iter 0 11 | 12 | # 0 1 1 2 2 4 4 16 60 + 13 | # 30 0 50 0 80 0 0 0 14 | # 15 | # 0 1 2 3 4 5 6 7 8 9 16 | # 1 . . . 17 | # 2 . . . 18 | # 4 . . . . . . . 19 | 20 | :_p1_0 44u5/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 21 | :_p2_0 44u5/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 22 | :_p3_0 44u5/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 23 | :_p4_0 44u5/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 24 | :_p5_0 44u5/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 25 | :_p6_0 44u5/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 26 | 27 | :_p7_0 44u5/res_part7_pass0.vqd, 4, nonseq, 0 +- 11 28 | :_p7_1 44u5/res_part7_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 29 | 30 | :_p8_0 44u5/res_part8_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 31 | :_p8_1 44u5/res_part8_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 32 | 33 | :_p9_0 44u5/res_part9_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 1275 1530 34 | :_p9_1 44u5/res_part9_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119 35 | :_p9_2 44u5/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 36 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u6.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44u6_ noninterleaved 5 | haux 44u6/resaux_0.vqd _44u6__short 0,16,2 10 6 | 7 | >_44u6_ noninterleaved 8 | haux 44u6/resaux_1.vqd _44u6__long 0,64,2 10 9 | 10 | #iter 0 11 | 12 | # 0 1 1 2 2 4 4 16 60 + 13 | # 30 0 50 0 80 0 0 0 14 | # 15 | # 0 1 2 3 4 5 6 7 8 9 16 | # 1 . . . 17 | # 2 . . . 18 | # 4 . . . . . . . 19 | 20 | :_p1_0 44u6/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 21 | :_p2_0 44u6/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 22 | :_p3_0 44u6/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 23 | :_p4_0 44u6/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 24 | :_p5_0 44u6/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 25 | :_p6_0 44u6/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 26 | 27 | :_p7_0 44u6/res_part7_pass0.vqd, 4, nonseq, 0 +- 11 28 | :_p7_1 44u6/res_part7_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 29 | 30 | :_p8_0 44u6/res_part8_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 31 | :_p8_1 44u6/res_part8_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 32 | 33 | :_p9_0 44u6/res_part9_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 1275 1530 1785 34 | :_p9_1 44u6/res_part9_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119 35 | :_p9_2 44u6/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 36 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u7.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44u7_ noninterleaved 4 | haux 44u7/resaux_0.vqd _44u7__short 0,16,2 10 5 | 6 | >_44u7_ noninterleaved 7 | haux 44u7/resaux_1.vqd _44u7__long 0,64,2 10 8 | 9 | #iter 0 10 | 11 | # 0 1 1 2 2 4 4 16 60 + 12 | # 30 0 50 0 80 0 0 0 13 | # 14 | # 0 1 2 3 4 5 6 7 8 9 15 | # 1 . . . 16 | # 2 . . . 17 | # 4 . . . . . . . 18 | 19 | :_p1_0 44u7/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 20 | :_p2_0 44u7/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 21 | :_p3_0 44u7/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 22 | :_p4_0 44u7/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 23 | :_p5_0 44u7/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 24 | :_p6_0 44u7/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 25 | 26 | :_p7_0 44u7/res_part7_pass0.vqd, 4, nonseq, 0 +- 11 27 | :_p7_1 44u7/res_part7_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 28 | 29 | :_p8_0 44u7/res_part8_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 30 | :_p8_1 44u7/res_part8_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 31 | 32 | :_p9_0 44u7/res_part9_pass0.vqd, 2, nonseq, 0 +- 637 1274 1911 2548 3185 33 | :_p9_1 44u7/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 34 | :_p9_2 44u7/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 35 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u8.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | 3 | >_44u8s noninterleaved 4 | haux 44u8/resaux_0.vqd _44u8__short 0,16,2 10 5 | 6 | >_44u8 noninterleaved 7 | haux 44u8/resaux_1.vqd _44u8__long 0,64,2 10 8 | 9 | 10 | # 0 1 2 4 8 16 32 71 157 + 11 | # 0 1 2 3 4 5 6 7 8 9 12 | # 1 . . . . . 13 | # 2 . . . . . 14 | # 4 . . . . . 15 | 16 | :_p1_0 44u8/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 17 | :_p2_0 44u8/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 18 | :_p3_0 44u8/res_part3_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 19 | :_p4_0 44u8/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 20 | 21 | :_p5_0 44u8/res_part5_pass0.vqd, 4, nonseq cull, 0 +- 11 22 | :_p5_1 44u8/res_part5_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 23 | 24 | :_p6_0 44u8/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 25 | :_p6_1 44u8/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 26 | 27 | :_p7_0 44u8/res_part7_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 66 28 | :_p7_1 44u8/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 29 | 30 | :_p8_0 44u8/res_part8_pass0.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 31 | :_p8_1 44u8/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 9 10 32 | 33 | :_p9_0 44u8/res_part9_pass0.vqd, 2, nonseq, 0 +- 931 1862 2793 3724 34 | :_p9_1 44u8/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 343 392 441 35 | :_p9_2 44u8/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 36 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/44u9.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_44u9s noninterleaved 5 | haux 44u9/resaux_0.vqd _44u9__short 0,16,2 10 6 | 7 | >_44u9 noninterleaved 8 | haux 44u9/resaux_1.vqd _44u9__long 0,64,2 10 9 | 10 | 11 | # 0 1 2 4 8 16 32 71 157 + 12 | # 0 1 2 3 4 5 6 7 8 9 13 | # 1 . . . . . 14 | # 2 . . . . . 15 | # 4 . . . . . 16 | 17 | :_p1_0 44u9/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 18 | :_p2_0 44u9/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 2 19 | :_p3_0 44u9/res_part3_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 20 | :_p4_0 44u9/res_part4_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 21 | 22 | :_p5_0 44u9/res_part5_pass0.vqd, 4, nonseq cull, 0 +- 11 23 | :_p5_1 44u9/res_part5_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 24 | 25 | :_p6_0 44u9/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 26 | :_p6_1 44u9/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 27 | 28 | :_p7_0 44u9/res_part7_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 66 29 | :_p7_1 44u9/res_part7_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 30 | 31 | :_p8_0 44u9/res_part8_pass0.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 32 | :_p8_1 44u9/res_part8_pass1.vqd, 2, nonseq cull, 0 +- 1 2 3 4 5 6 7 8 9 10 33 | 34 | :_p9_0 44u9/res_part9_pass0.vqd, 2, nonseq, 0 +- 931 1862 2793 3724 4655 5586 6517 35 | :_p9_1 44u9/res_part9_pass1.vqd, 2, nonseq, 0 +- 49 98 147 196 245 294 343 392 441 36 | :_p9_2 44u9/res_part9_pass2.vqd, 1, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 37 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/8u.vqs: -------------------------------------------------------------------------------- 1 | 2 | GO 3 | 4 | >_8u0_ noninterleaved 5 | haux 8u0/resaux_0.vqd _8u0__single 0,64,2 8 6 | 7 | 8 | :_p1_0 8u0/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 9 | :_p2_0 8u0/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 10 | :_p3_0 8u0/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 11 | :_p4_0 8u0/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 12 | :_p5_0 8u0/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 13 | 14 | :_p6_0 8u0/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30 15 | :_p6_1 8u0/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2 16 | 17 | :_p7_0 8u0/res_part7_pass0.vqd, 4, nonseq, 0 +- 315 18 | :_p7_1 8u0/res_part7_pass1.vqd, 2, nonseq, 0 +- 21 42 63 84 105 126 147 19 | :_p7_2 8u0/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 9 10 20 | 21 | 22 | >_8u1_ noninterleaved 23 | haux 8u1/resaux_0.vqd _8u1__single 0,64,2 10 24 | 25 | :_p1_0 8u1/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1 26 | :_p2_0 8u1/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1 27 | :_p3_0 8u1/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2 28 | :_p4_0 8u1/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2 29 | :_p5_0 8u1/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 30 | :_p6_0 8u1/res_part6_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4 31 | 32 | :_p7_0 8u1/res_part7_pass0.vqd, 4, nonseq, 0 +- 11 33 | :_p7_1 8u1/res_part7_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 34 | 35 | :_p8_0 8u1/res_part8_pass0.vqd, 2, nonseq, 0 +- 11 22 33 44 55 36 | :_p8_1 8u1/res_part8_pass1.vqd, 2, nonseq, 0 +- 1 2 3 4 5 37 | 38 | :_p9_0 8u1/res_part9_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 1275 1530 1785 39 | :_p9_1 8u1/res_part9_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119 40 | :_p9_2 8u1/res_part9_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8 41 | 42 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | EXTRA_PROGRAMS = latticebuild latticetune huffbuild distribution 4 | CLEANFILES = $(EXTRA_PROGRAMS) 5 | 6 | AM_CPPFLAGS = -I../lib -I$(top_srcdir)/include @OGG_CFLAGS@ 7 | AM_LDFLAGS = -static 8 | LDADD = ../lib/libvorbis.la 9 | 10 | latticebuild_SOURCES = latticebuild.c vqgen.c bookutil.c\ 11 | vqgen.h bookutil.h localcodebook.h 12 | latticetune_SOURCES = latticetune.c vqgen.c bookutil.c\ 13 | vqgen.h bookutil.h localcodebook.h 14 | huffbuild_SOURCES = huffbuild.c vqgen.c bookutil.c\ 15 | vqgen.h bookutil.h localcodebook.h 16 | distribution_SOURCES = distribution.c bookutil.c\ 17 | bookutil.h localcodebook.h 18 | 19 | vqs_files = 16.vqs 16u.vqs 44c-1.vqs 44c0.vqs 44c1.vqs 44c2.vqs \ 20 | 44c3.vqs 44c4.vqs 44c5.vqs 44c6.vqs 44c7.vqs 44c8.vqs 44c9.vqs \ 21 | 44u0.vqs 44u1.vqs 44u2.vqs 44u3.vqs 44u4.vqs 44u5.vqs 44u6.vqs \ 22 | 44u7.vqs 44u8.vqs 44u9.vqs 8.vqs 8u.vqs floor_11.vqs floor_22.vqs \ 23 | floor_44.vqs 44p-1.vqs 44p0.vqs 44p1.vqs 44p2.vqs 44p3.vqs 44p4.vqs \ 24 | 44p5.vqs 44p6.vqs 44p7.vqs 44p8.vqs 44p9.vqs 25 | 26 | EXTRA_DIST = $(vqs_files) make_floor_books.pl make_residue_books.pl \ 27 | metrics.c 28 | 29 | debugvq: 30 | $(MAKE) vq CFLAGS="@DEBUG@" 31 | 32 | profilevq: 33 | $(MAKE) vq CFLAGS="@PROFILE@" 34 | 35 | vq: 36 | $(MAKE) $(EXTRA_PROGRAMS) 37 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/floor_11.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | >floor_11 3 | =8-11c0_s 8-11c1_s 4 | 5 | build line_256x4_class0 0-256 6 | build line_256x4_0sub0 0-4 7 | build line_256x4_0sub1 4-10 8 | build line_256x4_0sub2 10-25 9 | build line_256x4_0sub3 25-64 10 | 11 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/vq/floor_22.vqs: -------------------------------------------------------------------------------- 1 | GO 2 | >floor_22 3 | =22c0_s 22c1_s 22c2_s 4 | 5 | build line_256x7_class0 0-64 6 | build line_256x7_class1 0-256 7 | build line_256x7_0sub1 1-9 8 | build line_256x7_0sub2 9-25 9 | build line_256x7_0sub3 25-64 10 | build line_256x7_1sub1 1-9 11 | build line_256x7_1sub2 9-25 12 | build line_256x7_1sub3 25-64 13 | 14 | build line_512x17_class1 0-8 15 | build line_512x17_class2 0-64 16 | build line_512x17_class3 0-64 17 | build line_512x17_0sub0 0-128 18 | build line_512x17_1sub0 0-32 19 | build line_512x17_1sub1 32-128 20 | build line_512x17_2sub1 1-18 21 | build line_512x17_2sub2 18-50 22 | build line_512x17_2sub3 50-128 23 | build line_512x17_3sub1 1-18 24 | build line_512x17_3sub2 18-50 25 | build line_512x17_3sub3 50-128 26 | 27 | 28 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/VS2005/README: -------------------------------------------------------------------------------- 1 | libvorbis has libogg as a dependency, you need to have libogg 2 | compiled beforehand. 3 | 4 | Lets say you have libogg and libvorbis in the same directory: 5 | 6 | libogg-1.1.3 7 | libvorbis-1.2.0 8 | 9 | Because there is no automatic library detection you have to, 10 | either: 11 | 12 | 1. Rename libogg-1.1.3 to libogg 13 | 14 | 2. Open libogg.vsprops with a text editor (even notepad.exe 15 | will suffice) and see if LIBOGG_VERSION is set to the correct 16 | version, in this case "1.1.3" 17 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/VS2005/libogg.vsprops: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/VS2008/README: -------------------------------------------------------------------------------- 1 | libvorbis has libogg as a dependency, you need to have libogg 2 | compiled beforehand. 3 | 4 | Lets say you have libogg and libvorbis in the same directory: 5 | 6 | libogg-1.1.3 7 | libvorbis-1.2.0 8 | 9 | Because there is no automatic library detection you have to, 10 | either: 11 | 12 | 1. Rename libogg-1.1.3 to libogg 13 | 14 | 2. Open libogg.vsprops with a text editor (even notepad.exe 15 | will suffice) and see if LIBOGG_VERSION is set to the correct 16 | version, in this case "1.1.3" 17 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/VS2008/libogg.vsprops: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/VS2010/README: -------------------------------------------------------------------------------- 1 | libvorbis has libogg as a dependency, you need to have libogg 2 | compiled beforehand. 3 | 4 | Lets say you have libogg and libvorbis in the same directory: 5 | 6 | libogg-1.3.2 7 | libvorbis-1.4.0 8 | 9 | Because there is no automatic library detection you have to, 10 | either: 11 | 12 | 1. Rename libogg-1.3.2 to libogg. 13 | 14 | 2. Open libogg.props with a text editor (even notepad.exe 15 | will suffice) and see if LIBOGG_VERSION is set to the correct 16 | version, in this case "1.3.2". 17 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/VS2010/libogg.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 1.3.2 5 | 6 | 7 | <_ProjectFileVersion>10.0.30319.1 8 | 9 | 10 | 11 | ..\..\..\..\libogg-$(LIBOGG_VERSION)\include;..\..\..\..\libogg\include;..\..\..\..\..\..\..\core\ogg\libogg\include;%(AdditionalIncludeDirectories) 12 | 13 | 14 | ..\..\..\..\libogg-$(LIBOGG_VERSION)\win32\VS2015\$(PlatformName)\$(ConfigurationName);..\..\..\..\libogg\win32\VS2015\$(PlatformName)\$(ConfigurationName);..\..\..\..\..\..\..\core\ogg\libogg\win32\VS2015\$(PlatformName)\$(ConfigurationName) 15 | 16 | 17 | 18 | 19 | $(LIBOGG_VERSION) 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/vorbis.def: -------------------------------------------------------------------------------- 1 | ; vorbis.def 2 | ; 3 | LIBRARY 4 | EXPORTS 5 | _floor_P 6 | _mapping_P 7 | _residue_P 8 | ; 9 | vorbis_info_init 10 | vorbis_info_clear 11 | vorbis_info_blocksize 12 | ; 13 | vorbis_comment_init 14 | vorbis_comment_add 15 | vorbis_comment_add_tag 16 | vorbis_comment_query 17 | vorbis_comment_query_count 18 | vorbis_comment_clear 19 | ; 20 | vorbis_block_init 21 | vorbis_block_clear 22 | vorbis_dsp_clear 23 | vorbis_granule_time 24 | ; 25 | vorbis_analysis_init 26 | vorbis_commentheader_out 27 | vorbis_analysis_headerout 28 | vorbis_analysis_buffer 29 | vorbis_analysis_wrote 30 | vorbis_analysis_blockout 31 | vorbis_analysis 32 | vorbis_bitrate_addblock 33 | vorbis_bitrate_flushpacket 34 | ; 35 | vorbis_synthesis_headerin 36 | vorbis_synthesis_init 37 | vorbis_synthesis_restart 38 | vorbis_synthesis 39 | vorbis_synthesis_trackonly 40 | vorbis_synthesis_blockin 41 | vorbis_synthesis_pcmout 42 | vorbis_synthesis_lapout 43 | vorbis_synthesis_read 44 | vorbis_packet_blocksize 45 | vorbis_synthesis_halfrate 46 | vorbis_synthesis_halfrate_p 47 | vorbis_synthesis_idheader 48 | ; 49 | vorbis_window 50 | ;_analysis_output_always 51 | vorbis_encode_init 52 | vorbis_encode_setup_managed 53 | vorbis_encode_setup_vbr 54 | vorbis_encode_init_vbr 55 | vorbis_encode_setup_init 56 | vorbis_encode_ctl 57 | ; 58 | vorbis_version_string 59 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/vorbisenc.def: -------------------------------------------------------------------------------- 1 | ; vorbisenc.def 2 | ; 3 | LIBRARY 4 | 5 | EXPORTS 6 | vorbis_encode_init 7 | vorbis_encode_setup_managed 8 | vorbis_encode_setup_vbr 9 | vorbis_encode_init_vbr 10 | vorbis_encode_setup_init 11 | vorbis_encode_ctl 12 | 13 | -------------------------------------------------------------------------------- /libvorbis-1.3.7/win32/vorbisfile.def: -------------------------------------------------------------------------------- 1 | ; vorbisfile.def 2 | ; 3 | LIBRARY 4 | EXPORTS 5 | ov_clear 6 | ov_open 7 | ov_open_callbacks 8 | ov_bitrate 9 | ov_bitrate_instant 10 | ov_streams 11 | ov_seekable 12 | ov_serialnumber 13 | ov_raw_total 14 | ov_pcm_total 15 | ov_time_total 16 | ov_raw_seek 17 | ov_pcm_seek 18 | ov_pcm_seek_page 19 | ov_time_seek 20 | ov_time_seek_page 21 | ov_raw_seek_lap 22 | ov_pcm_seek_lap 23 | ov_pcm_seek_page_lap 24 | ov_time_seek_lap 25 | ov_time_seek_page_lap 26 | ov_raw_tell 27 | ov_pcm_tell 28 | ov_time_tell 29 | ov_info 30 | ov_comment 31 | ov_read 32 | ov_read_float 33 | ov_test 34 | ov_test_callbacks 35 | ov_test_open 36 | ov_crosslap 37 | ov_halfrate 38 | ov_halfrate_p 39 | ov_fopen 40 | -------------------------------------------------------------------------------- /manifest.rc: -------------------------------------------------------------------------------- 1 | #include 2 | CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gui.exe.manifest" 3 | -------------------------------------------------------------------------------- /resource.h: -------------------------------------------------------------------------------- 1 | #define PROGRAM_NAME "bnk-extract GUI" 2 | 3 | // random numbers or smth idk 4 | #define OPTIONSDIALOG_RESOURCE 141 5 | 6 | #define IDR_MYMENU 101 7 | #define IDI_MYICON 201 8 | 9 | #define IDM_SETTINGS 301 10 | 11 | #define ID_AUTOPLAY_AUDIO 401 12 | #define ID_EXTRACT_AS_WEM 402 13 | #define ID_EXTRACT_AS_OGG 403 14 | #define ID_MULTISELECT_ENABLED 404 15 | 16 | #define IDR_KEYCOMBINATIONS 501 17 | #define IDM_COPY 502 18 | -------------------------------------------------------------------------------- /resource.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "resource.h" 4 | 5 | IDR_MYMENU MENU 6 | { 7 | POPUP "&Settings" 8 | { 9 | POPUP "Settings" 10 | { 11 | MENUITEM "Settings", IDM_SETTINGS 12 | } 13 | } 14 | } 15 | 16 | IDI_MYICON ICON "icon.ico" 17 | 18 | OPTIONSDIALOG_RESOURCE DIALOG 120, 50, 110, 110 19 | STYLE WS_POPUPWINDOW 20 | CAPTION "Options" 21 | { 22 | AUTOCHECKBOX "Automatically play audio on click", ID_AUTOPLAY_AUDIO, 10, 10, 190, 12 23 | AUTOCHECKBOX "Extract as wem files", ID_EXTRACT_AS_WEM, 10, 40, 70, 12 24 | AUTOCHECKBOX "Extract as ogg files", ID_EXTRACT_AS_OGG, 10, 52, 70, 12 25 | AUTOCHECKBOX "Allow multiselecting treeview items", ID_MULTISELECT_ENABLED, 10, 70, 140, 12 26 | 27 | PUSHBUTTON "", IDOK, 40, 90, 30, 10 28 | } 29 | 30 | IDR_KEYCOMBINATIONS ACCELERATORS 31 | { 32 | 67, IDM_COPY, VIRTKEY, CONTROL // CTRL+C 33 | } 34 | -------------------------------------------------------------------------------- /settings.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "resource.h" 4 | 5 | #define SETTINGS_OFFSET ID_AUTOPLAY_AUDIO 6 | #define SETTINGS_AMOUNT 4 7 | 8 | extern bool settings[SETTINGS_AMOUNT]; 9 | 10 | void LoadSettings(); 11 | void SaveSettings(); 12 | void BackupSettings(); 13 | void RestoreSettings(); 14 | -------------------------------------------------------------------------------- /treeview_extension.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | extern HWND treeview; 5 | 6 | #define TreeView_IsRootItem(hItem) !TreeView_GetParent(treeview, hItem) 7 | 8 | HTREEITEM TreeView_PerformHitTest(int screenX, int screenY, UINT* outFlags); 9 | 10 | void TreeView_ClearAllSelectedItems(); 11 | 12 | bool HandleMultiSelectionClick(HTREEITEM hItem); 13 | bool HandleMultiSelectionChanging(NMTREEVIEW* selectionInfo); 14 | void HandleMultiSelectionChanged(NMTREEVIEW* selectionInfo); 15 | 16 | LRESULT CALLBACK TreeviewWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData); 17 | -------------------------------------------------------------------------------- /utility.h: -------------------------------------------------------------------------------- 1 | #ifndef UTILITY_H 2 | #define UTILITY_H 3 | 4 | #include 5 | #include 6 | 7 | extern HWND treeview; 8 | extern int worker_thread_pipe[2]; 9 | 10 | typedef struct { 11 | const uint8_t* data; 12 | uint64_t position; 13 | uint64_t size; 14 | } ReadableBinaryData; 15 | 16 | void SaveBnkOrWpk(HWND window, HTREEITEM rootItem); 17 | 18 | void ReplaceWemData(HWND window); 19 | 20 | void ExtractSelectedItems(HWND parent); 21 | 22 | void* FillProgressBar(void* _args); 23 | 24 | uint8_t* WavFromOgg(ReadableBinaryData* oggData); 25 | 26 | char* GetPathFromTextBox(HWND textBox); 27 | 28 | #endif 29 | --------------------------------------------------------------------------------