├── .gitignore ├── CMakeLists.txt ├── README.md ├── library.properties ├── resolvesymlinks.py └── src ├── API.h ├── Inlines.h ├── MacroCount.h ├── MacroDebug.h ├── NSQ.h ├── PLC.h ├── SigProc_FIX.h ├── SigProc_FLP.h ├── _kiss_fft_guts.h ├── arch.h ├── bands.h ├── celt.h ├── celt ├── _kiss_fft_guts.h ├── arch.h ├── bands.h ├── celt.h ├── celt_lpc.h ├── cpu_support.h ├── cwrs.h ├── ecintrin.h ├── entcode.h ├── entdec.h ├── entenc.h ├── fixed_debug.h ├── fixed_generic.h ├── float_cast.h ├── kiss_fft.h ├── laplace.h ├── mathops.h ├── mdct.h ├── mfrngcod.h ├── modes.h ├── os_support.h ├── pitch.h ├── quant_bands.h ├── rate.h ├── stack_alloc.h ├── static_modes_fixed.h ├── static_modes_fixed_arm_ne10.h ├── static_modes_float.h ├── static_modes_float_arm_ne10.h └── vq.h ├── celt_lpc.h ├── control.h ├── cpu_support.h ├── cwrs.h ├── debug.h ├── define.h ├── ecintrin.h ├── entcode.h ├── entdec.h ├── entenc.h ├── errors.h ├── fixed ├── main_FIX.h └── structs_FIX.h ├── fixed_debug.h ├── fixed_generic.h ├── float ├── SigProc_FLP.h ├── main_FLP.h └── structs_FLP.h ├── float_cast.h ├── kiss_fft.h ├── laplace.h ├── 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 │ │ ├── ogg.h │ │ └── os_types.h ├── install-sh ├── libogg.spec ├── 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 ├── liboggz-1.1.1 ├── AUTHORS ├── COPYING ├── ChangeLog ├── INSTALL ├── Makefile.am ├── Makefile.in ├── NEWS ├── PATCHES ├── README ├── README.symbian ├── README.win32 ├── TODO ├── acinclude.m4 ├── aclocal.m4 ├── apache-install.sh ├── apache │ └── oggz-chop.conf.in ├── bash-completion │ └── oggz ├── config.guess ├── config.h ├── config.sub ├── configure ├── configure.ac ├── depcomp ├── doc │ ├── Doxyfile.in │ ├── Makefile.am │ ├── Makefile.in │ ├── forcefeed.eps │ ├── forcefeed.fig │ ├── forcefeed.png │ ├── hungry.eps │ ├── hungry.fig │ ├── hungry.png │ ├── liboggz │ │ ├── html │ │ │ ├── annotated.html │ │ │ ├── classes.html │ │ │ ├── doxygen.css │ │ │ ├── doxygen.png │ │ │ ├── files.html │ │ │ ├── functions.html │ │ │ ├── functions_vars.html │ │ │ ├── globals.html │ │ │ ├── globals_defs.html │ │ │ ├── globals_enum.html │ │ │ ├── globals_eval.html │ │ │ ├── globals_func.html │ │ │ ├── globals_type.html │ │ │ ├── group__basics.html │ │ │ ├── group__building.html │ │ │ ├── group__configuration.html │ │ │ ├── group__force__feed.html │ │ │ ├── group__hungry.html │ │ │ ├── group__install.html │ │ │ ├── group__metric.html │ │ │ ├── group__read__api.html │ │ │ ├── group__seek__api.html │ │ │ ├── group__seek__semantics.html │ │ │ ├── group__write__api.html │ │ │ ├── index.html │ │ │ ├── modules.html │ │ │ ├── oggz_8h.html │ │ │ ├── oggz_8h_source.html │ │ │ ├── oggz__comments_8h.html │ │ │ ├── oggz__comments_8h_source.html │ │ │ ├── oggz__constants_8h.html │ │ │ ├── oggz__constants_8h_source.html │ │ │ ├── oggz__deprecated_8h.html │ │ │ ├── oggz__deprecated_8h_source.html │ │ │ ├── oggz__io_8h.html │ │ │ ├── oggz__io_8h_source.html │ │ │ ├── oggz__off__t_8h.html │ │ │ ├── oggz__off__t_8h_source.html │ │ │ ├── oggz__packet_8h.html │ │ │ ├── oggz__packet_8h_source.html │ │ │ ├── oggz__read_8h.html │ │ │ ├── oggz__read_8h_source.html │ │ │ ├── oggz__seek_8h.html │ │ │ ├── oggz__seek_8h_source.html │ │ │ ├── oggz__stream_8h.html │ │ │ ├── oggz__stream_8h_source.html │ │ │ ├── oggz__table_8h.html │ │ │ ├── oggz__table_8h_source.html │ │ │ ├── oggz__write_8h.html │ │ │ ├── oggz__write_8h_source.html │ │ │ ├── structOggzComment.html │ │ │ ├── structoggz__packet.html │ │ │ ├── structoggz__position.html │ │ │ ├── tab_b.gif │ │ │ ├── tab_l.gif │ │ │ ├── tab_r.gif │ │ │ └── tabs.css │ │ └── latex │ │ │ ├── Makefile │ │ │ ├── annotated.tex │ │ │ ├── doxygen.sty │ │ │ ├── files.tex │ │ │ ├── group__basics.tex │ │ │ ├── group__building.tex │ │ │ ├── group__configuration.tex │ │ │ ├── group__force__feed.tex │ │ │ ├── group__hungry.tex │ │ │ ├── group__install.tex │ │ │ ├── group__metric.tex │ │ │ ├── group__read__api.tex │ │ │ ├── group__seek__api.tex │ │ │ ├── group__seek__semantics.tex │ │ │ ├── group__write__api.tex │ │ │ ├── index.tex │ │ │ ├── modules.tex │ │ │ ├── oggz_8h.tex │ │ │ ├── oggz__comments_8h.tex │ │ │ ├── oggz__constants_8h.tex │ │ │ ├── oggz__deprecated_8h.tex │ │ │ ├── oggz__io_8h.tex │ │ │ ├── oggz__off__t_8h.tex │ │ │ ├── oggz__packet_8h.tex │ │ │ ├── oggz__read_8h.tex │ │ │ ├── oggz__seek_8h.tex │ │ │ ├── oggz__stream_8h.tex │ │ │ ├── oggz__table_8h.tex │ │ │ ├── oggz__write_8h.tex │ │ │ ├── refman.tex │ │ │ ├── structOggzComment.tex │ │ │ ├── structoggz__packet.tex │ │ │ └── structoggz__position.tex │ ├── oggz-chop.1 │ ├── oggz-codecs.1 │ ├── oggz-comment.1 │ ├── oggz-diff.1 │ ├── oggz-dump.1 │ ├── oggz-info.1 │ ├── oggz-known-codecs.1 │ ├── oggz-merge.1 │ ├── oggz-rip.1 │ ├── oggz-scan.1 │ ├── oggz-sort.1 │ ├── oggz-validate.1 │ └── oggz.1 ├── include │ ├── Makefile.am │ ├── Makefile.in │ └── oggz │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── oggz.h │ │ ├── oggz_comments.h │ │ ├── oggz_constants.h │ │ ├── oggz_deprecated.h │ │ ├── oggz_io.h │ │ ├── oggz_off_t.h │ │ ├── oggz_off_t_generated.h │ │ ├── oggz_off_t_generated.h.in │ │ ├── oggz_packet.h │ │ ├── oggz_read.h │ │ ├── oggz_seek.h │ │ ├── oggz_stream.h │ │ ├── oggz_table.h │ │ └── oggz_write.h ├── install-sh ├── ltmain.sh ├── m4 │ ├── ac-sys-extra-largefile.m4 │ └── as-ac-expand.m4 ├── missing ├── oggz-uninstalled.pc.in ├── oggz.pc.in └── src │ ├── Makefile.am │ ├── Makefile.in │ └── liboggz │ ├── Makefile.am │ ├── Makefile.in │ ├── Version_script.in │ ├── config.h │ ├── dirac.c │ ├── dirac.h │ ├── metric_internal.c │ ├── oggz.c │ ├── oggz_auto.c │ ├── oggz_auto.h │ ├── oggz_byteorder.h │ ├── oggz_comments.c │ ├── oggz_compat.h │ ├── oggz_dlist.c │ ├── oggz_dlist.h │ ├── oggz_io.c │ ├── oggz_macros.h │ ├── oggz_private.h │ ├── oggz_read.c │ ├── oggz_seek.c │ ├── oggz_stream.c │ ├── oggz_stream_private.h │ ├── oggz_table.c │ ├── oggz_vector.c │ ├── oggz_vector.h │ └── oggz_write.c ├── macros.h ├── main.h ├── main_FIX.h ├── main_FLP.h ├── mathops.h ├── mdct.h ├── mfrngcod.h ├── modes.h ├── ogg ├── config_types.h ├── ogg.h └── os_types.h ├── oggz ├── oggz.h ├── oggz_comments.h ├── oggz_constants.h ├── oggz_deprecated.h ├── oggz_io.h ├── oggz_off_t.h ├── oggz_off_t_generated.h ├── oggz_packet.h ├── oggz_read.h ├── oggz_seek.h ├── oggz_stream.h ├── oggz_table.h └── oggz_write.h ├── opus-1.3.1 ├── AUTHORS ├── CMakeLists.txt ├── COPYING ├── ChangeLog ├── INSTALL ├── Makefile.am ├── Makefile.in ├── Makefile.mips ├── Makefile.unix ├── NEWS ├── OpusConfig.cmake.in ├── README ├── aclocal.m4 ├── celt │ ├── _kiss_fft_guts.h │ ├── arch.h │ ├── bands.c │ ├── bands.h │ ├── celt.c │ ├── celt.h │ ├── celt_decoder.c │ ├── celt_encoder.c │ ├── celt_lpc.c │ ├── celt_lpc.h │ ├── cpu_support.h │ ├── cwrs.c │ ├── cwrs.h │ ├── ecintrin.h │ ├── entcode.c │ ├── entcode.h │ ├── entdec.c │ ├── entdec.h │ ├── entenc.c │ ├── entenc.h │ ├── fixed_debug.h │ ├── fixed_generic.h │ ├── float_cast.h │ ├── kiss_fft.c │ ├── kiss_fft.h │ ├── laplace.c │ ├── laplace.h │ ├── mathops.c │ ├── mathops.h │ ├── mdct.c │ ├── mdct.h │ ├── mfrngcod.h │ ├── modes.c │ ├── modes.h │ ├── os_support.h │ ├── pitch.c │ ├── pitch.h │ ├── quant_bands.c │ ├── quant_bands.h │ ├── rate.c │ ├── rate.h │ ├── stack_alloc.h │ ├── static_modes_fixed.h │ ├── static_modes_fixed_arm_ne10.h │ ├── static_modes_float.h │ ├── static_modes_float_arm_ne10.h │ ├── vq.c │ └── vq.h ├── celt_headers.mk ├── celt_sources.mk ├── compile ├── config.guess ├── config.h.cmake.in ├── config.h.in ├── config.sub ├── configure ├── configure.ac ├── depcomp ├── doc │ ├── Doxyfile.in │ ├── Makefile.am │ ├── Makefile.in │ ├── TODO │ ├── customdoxygen.css │ ├── footer.html │ ├── header.html │ └── opus_logo.svg ├── include │ ├── opus.h │ ├── opus_custom.h │ ├── opus_defines.h │ ├── opus_multistream.h │ ├── opus_projection.h │ └── opus_types.h ├── install-sh ├── ltmain.sh ├── m4 │ ├── as-gcc-inline-assembly.m4 │ ├── ax_add_fortify_source.m4 │ ├── libtool.m4 │ ├── ltoptions.m4 │ ├── ltsugar.m4 │ ├── ltversion.m4 │ ├── lt~obsolete.m4 │ └── opus-intrinsics.m4 ├── missing ├── opus-uninstalled.pc.in ├── opus.m4 ├── opus.pc.in ├── opus_config.cmake ├── opus_functions.cmake ├── opus_headers.mk ├── opus_sources.cmake ├── opus_sources.mk ├── package_version ├── silk │ ├── A2NLSF.c │ ├── API.h │ ├── CNG.c │ ├── HP_variable_cutoff.c │ ├── Inlines.h │ ├── LPC_analysis_filter.c │ ├── LPC_fit.c │ ├── LPC_inv_pred_gain.c │ ├── LP_variable_cutoff.c │ ├── MacroCount.h │ ├── MacroDebug.h │ ├── NLSF2A.c │ ├── NLSF_VQ.c │ ├── NLSF_VQ_weights_laroia.c │ ├── NLSF_decode.c │ ├── NLSF_del_dec_quant.c │ ├── NLSF_encode.c │ ├── NLSF_stabilize.c │ ├── NLSF_unpack.c │ ├── NSQ.c │ ├── NSQ.h │ ├── NSQ_del_dec.c │ ├── PLC.c │ ├── PLC.h │ ├── SigProc_FIX.h │ ├── VAD.c │ ├── VQ_WMat_EC.c │ ├── ana_filt_bank_1.c │ ├── biquad_alt.c │ ├── bwexpander.c │ ├── bwexpander_32.c │ ├── check_control_input.c │ ├── code_signs.c │ ├── control.h │ ├── control_SNR.c │ ├── control_audio_bandwidth.c │ ├── control_codec.c │ ├── debug.c │ ├── debug.h │ ├── dec_API.c │ ├── decode_core.c │ ├── decode_frame.c │ ├── decode_indices.c │ ├── decode_parameters.c │ ├── decode_pitch.c │ ├── decode_pulses.c │ ├── decoder_set_fs.c │ ├── define.h │ ├── enc_API.c │ ├── encode_indices.c │ ├── encode_pulses.c │ ├── errors.h │ ├── fixed │ │ ├── LTP_analysis_filter_FIX.c │ │ ├── LTP_scale_ctrl_FIX.c │ │ ├── apply_sine_window_FIX.c │ │ ├── autocorr_FIX.c │ │ ├── burg_modified_FIX.c │ │ ├── corrMatrix_FIX.c │ │ ├── encode_frame_FIX.c │ │ ├── find_LPC_FIX.c │ │ ├── find_LTP_FIX.c │ │ ├── find_pitch_lags_FIX.c │ │ ├── find_pred_coefs_FIX.c │ │ ├── k2a_FIX.c │ │ ├── k2a_Q16_FIX.c │ │ ├── main_FIX.h │ │ ├── noise_shape_analysis_FIX.c │ │ ├── pitch_analysis_core_FIX.c │ │ ├── process_gains_FIX.c │ │ ├── regularize_correlations_FIX.c │ │ ├── residual_energy16_FIX.c │ │ ├── residual_energy_FIX.c │ │ ├── schur64_FIX.c │ │ ├── schur_FIX.c │ │ ├── structs_FIX.h │ │ ├── vector_ops_FIX.c │ │ └── warped_autocorrelation_FIX.c │ ├── float │ │ ├── LPC_analysis_filter_FLP.c │ │ ├── LPC_inv_pred_gain_FLP.c │ │ ├── LTP_analysis_filter_FLP.c │ │ ├── LTP_scale_ctrl_FLP.c │ │ ├── SigProc_FLP.h │ │ ├── apply_sine_window_FLP.c │ │ ├── autocorrelation_FLP.c │ │ ├── burg_modified_FLP.c │ │ ├── bwexpander_FLP.c │ │ ├── corrMatrix_FLP.c │ │ ├── encode_frame_FLP.c │ │ ├── energy_FLP.c │ │ ├── find_LPC_FLP.c │ │ ├── find_LTP_FLP.c │ │ ├── find_pitch_lags_FLP.c │ │ ├── find_pred_coefs_FLP.c │ │ ├── inner_product_FLP.c │ │ ├── k2a_FLP.c │ │ ├── main_FLP.h │ │ ├── noise_shape_analysis_FLP.c │ │ ├── pitch_analysis_core_FLP.c │ │ ├── process_gains_FLP.c │ │ ├── regularize_correlations_FLP.c │ │ ├── residual_energy_FLP.c │ │ ├── scale_copy_vector_FLP.c │ │ ├── scale_vector_FLP.c │ │ ├── schur_FLP.c │ │ ├── sort_FLP.c │ │ ├── structs_FLP.h │ │ ├── warped_autocorrelation_FLP.c │ │ └── wrappers_FLP.c │ ├── gain_quant.c │ ├── init_decoder.c │ ├── init_encoder.c │ ├── inner_prod_aligned.c │ ├── interpolate.c │ ├── lin2log.c │ ├── log2lin.c │ ├── macros.h │ ├── main.h │ ├── pitch_est_defines.h │ ├── pitch_est_tables.c │ ├── process_NLSFs.c │ ├── quant_LTP_gains.c │ ├── resampler.c │ ├── resampler_down2.c │ ├── resampler_down2_3.c │ ├── resampler_private.h │ ├── resampler_private_AR2.c │ ├── resampler_private_IIR_FIR.c │ ├── resampler_private_down_FIR.c │ ├── resampler_private_up2_HQ.c │ ├── resampler_rom.c │ ├── resampler_rom.h │ ├── resampler_structs.h │ ├── shell_coder.c │ ├── sigm_Q15.c │ ├── sort.c │ ├── stereo_LR_to_MS.c │ ├── stereo_MS_to_LR.c │ ├── stereo_decode_pred.c │ ├── stereo_encode_pred.c │ ├── stereo_find_predictor.c │ ├── stereo_quant_pred.c │ ├── structs.h │ ├── sum_sqr_shift.c │ ├── table_LSF_cos.c │ ├── tables.h │ ├── tables_LTP.c │ ├── tables_NLSF_CB_NB_MB.c │ ├── tables_NLSF_CB_WB.c │ ├── tables_gain.c │ ├── tables_other.c │ ├── tables_pitch_lag.c │ ├── tables_pulses_per_block.c │ ├── tuning_parameters.h │ └── typedef.h ├── silk_headers.mk ├── silk_sources.mk ├── src │ ├── analysis.c │ ├── analysis.h │ ├── mapping_matrix.c │ ├── mapping_matrix.h │ ├── mlp.c │ ├── mlp.h │ ├── mlp_data.c │ ├── opus.c │ ├── opus_decoder.c │ ├── opus_encoder.c │ ├── opus_multistream.c │ ├── opus_multistream_decoder.c │ ├── opus_multistream_encoder.c │ ├── opus_private.h │ ├── opus_projection_decoder.c │ ├── opus_projection_encoder.c │ ├── repacketizer.c │ ├── repacketizer_demo.c │ └── tansig_table.h ├── test-driver └── win32 │ ├── VS2015 │ ├── common.props │ ├── opus.sln │ ├── opus.vcxproj │ ├── opus.vcxproj.filters │ ├── opus_demo.vcxproj │ ├── opus_demo.vcxproj.filters │ ├── test_opus_api.vcxproj │ ├── test_opus_api.vcxproj.filters │ ├── test_opus_decode.vcxproj │ ├── test_opus_decode.vcxproj.filters │ ├── test_opus_encode.vcxproj │ └── test_opus_encode.vcxproj.filters │ ├── config.h │ └── genversion.bat ├── opus.h ├── opus_config.h ├── opus_custom.h ├── opus_defines.h ├── opus_multistream.h ├── opus_projection.h ├── opus_types.h ├── os_support.h ├── pitch.h ├── pitch_est_defines.h ├── quant_bands.h ├── rate.h ├── resampler_private.h ├── resampler_rom.h ├── resampler_structs.h ├── silk ├── API.h ├── Inlines.h ├── MacroCount.h ├── MacroDebug.h ├── NSQ.h ├── PLC.h ├── SigProc_FIX.h ├── control.h ├── debug.h ├── define.h ├── errors.h ├── macros.h ├── main.h ├── pitch_est_defines.h ├── resampler_private.h ├── resampler_rom.h ├── resampler_structs.h ├── structs.h ├── tables.h ├── tuning_parameters.h └── typedef.h ├── stack_alloc.h ├── static_modes_fixed.h ├── static_modes_fixed_arm_ne10.h ├── static_modes_float.h ├── static_modes_float_arm_ne10.h ├── structs.h ├── structs_FIX.h ├── structs_FLP.h ├── tables.h ├── tuning_parameters.h ├── typedef.h └── vq.h /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | build/ -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16) 2 | 3 | # set the project name 4 | project(arduino_libopus) 5 | 6 | # lots of warnings and all warnings as errors 7 | ## add_compile_options(-Wall -Wextra ) 8 | set(CMAKE_CXX_STANDARD 17) 9 | 10 | file(GLOB_RECURSE SRC_LIST_C CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/src/*.c" ) 11 | 12 | # define libraries 13 | add_library (arduino_libopus ${SRC_LIST_C}) 14 | 15 | # prevent compile errors 16 | target_compile_options(arduino_libopus PRIVATE -DARDUINO -DHAVE_CONFIG_H -Wno-stringop-overread) 17 | 18 | 19 | # define location for header files 20 | target_include_directories(arduino_libopus PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src ) 21 | 22 | -------------------------------------------------------------------------------- /library.properties: -------------------------------------------------------------------------------- 1 | name=libopus 2 | version=1.3.2 3 | author=opus 4 | maintainer=Phil Schatzmann 5 | sentence=OPUS Codec 6 | paragraph=OPUS Codec as Arduino Library 7 | category=Signal Input/Output 8 | url=https://github.com/pschatzmann/arduino-libopus.git 9 | architectures=* 10 | -------------------------------------------------------------------------------- /resolvesymlinks.py: -------------------------------------------------------------------------------- 1 | import os 2 | from pathlib import Path 3 | 4 | 5 | def prefix(path): 6 | n = path.count("/") 7 | if n==1: 8 | return "../" 9 | if n==2: 10 | return "../../" 11 | if n==3: 12 | return "../../../" 13 | if n==4: 14 | return "../../../../" 15 | 16 | 17 | def replace(path, newPath): 18 | # delete file 19 | os.unlink(path) 20 | # create new file 21 | content = "#pragma once\n// link to original location\n#include \""+prefix(path)+newPath+"\"\n\n" 22 | with open(path, "w") as text_file: 23 | text_file.write(content) 24 | 25 | working_dir = os.getcwd()+"/" 26 | for path, currentDirectory, files in os.walk("src"): 27 | for file in files: 28 | p = os.path.join(path, file); 29 | if (Path(p).is_symlink()): 30 | linkedPath = str(os.path.realpath(p)).replace(working_dir,"") 31 | print(p + " ->" + linkedPath); 32 | replace(p, linkedPath) 33 | -------------------------------------------------------------------------------- /src/API.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/API.h" 4 | 5 | -------------------------------------------------------------------------------- /src/Inlines.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/Inlines.h" 4 | 5 | -------------------------------------------------------------------------------- /src/MacroCount.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/MacroCount.h" 4 | 5 | -------------------------------------------------------------------------------- /src/MacroDebug.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/MacroDebug.h" 4 | 5 | -------------------------------------------------------------------------------- /src/NSQ.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/NSQ.h" 4 | 5 | -------------------------------------------------------------------------------- /src/PLC.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/PLC.h" 4 | 5 | -------------------------------------------------------------------------------- /src/SigProc_FIX.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/SigProc_FIX.h" 4 | 5 | -------------------------------------------------------------------------------- /src/SigProc_FLP.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/float/SigProc_FLP.h" 4 | 5 | -------------------------------------------------------------------------------- /src/_kiss_fft_guts.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/_kiss_fft_guts.h" 4 | 5 | -------------------------------------------------------------------------------- /src/arch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/arch.h" 4 | 5 | -------------------------------------------------------------------------------- /src/bands.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/bands.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/celt.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/_kiss_fft_guts.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/_kiss_fft_guts.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/arch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/arch.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/bands.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/bands.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/celt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/celt.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/celt_lpc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/celt_lpc.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/cpu_support.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/cpu_support.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/cwrs.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/cwrs.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/ecintrin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/ecintrin.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/entcode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/entcode.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/entdec.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/entdec.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/entenc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/entenc.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/fixed_debug.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/fixed_debug.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/fixed_generic.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/fixed_generic.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/float_cast.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/float_cast.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/kiss_fft.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/kiss_fft.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/laplace.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/laplace.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/mathops.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/mathops.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/mdct.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/mdct.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/mfrngcod.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/mfrngcod.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/modes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/modes.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/os_support.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/os_support.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/pitch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/pitch.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/quant_bands.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/quant_bands.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/rate.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/rate.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/stack_alloc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/stack_alloc.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/static_modes_fixed.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/static_modes_fixed.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/static_modes_fixed_arm_ne10.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/static_modes_fixed_arm_ne10.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/static_modes_float.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/static_modes_float.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/static_modes_float_arm_ne10.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/static_modes_float_arm_ne10.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt/vq.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/celt/vq.h" 4 | 5 | -------------------------------------------------------------------------------- /src/celt_lpc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/celt_lpc.h" 4 | 5 | -------------------------------------------------------------------------------- /src/control.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/control.h" 4 | 5 | -------------------------------------------------------------------------------- /src/cpu_support.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/cpu_support.h" 4 | 5 | -------------------------------------------------------------------------------- /src/cwrs.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/cwrs.h" 4 | 5 | -------------------------------------------------------------------------------- /src/debug.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/debug.h" 4 | 5 | -------------------------------------------------------------------------------- /src/define.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/define.h" 4 | 5 | -------------------------------------------------------------------------------- /src/ecintrin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/ecintrin.h" 4 | 5 | -------------------------------------------------------------------------------- /src/entcode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/entcode.h" 4 | 5 | -------------------------------------------------------------------------------- /src/entdec.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/entdec.h" 4 | 5 | -------------------------------------------------------------------------------- /src/entenc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/entenc.h" 4 | 5 | -------------------------------------------------------------------------------- /src/errors.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/silk/errors.h" 4 | 5 | -------------------------------------------------------------------------------- /src/fixed/main_FIX.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/silk/fixed/main_FIX.h" 4 | 5 | -------------------------------------------------------------------------------- /src/fixed/structs_FIX.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/silk/fixed/structs_FIX.h" 4 | 5 | -------------------------------------------------------------------------------- /src/fixed_debug.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/fixed_debug.h" 4 | 5 | -------------------------------------------------------------------------------- /src/fixed_generic.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/fixed_generic.h" 4 | 5 | -------------------------------------------------------------------------------- /src/float/SigProc_FLP.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/silk/float/SigProc_FLP.h" 4 | 5 | -------------------------------------------------------------------------------- /src/float/main_FLP.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/silk/float/main_FLP.h" 4 | 5 | -------------------------------------------------------------------------------- /src/float/structs_FLP.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../../src/opus-1.3.1/silk/float/structs_FLP.h" 4 | 5 | -------------------------------------------------------------------------------- /src/float_cast.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/float_cast.h" 4 | 5 | -------------------------------------------------------------------------------- /src/kiss_fft.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/kiss_fft.h" 4 | 5 | -------------------------------------------------------------------------------- /src/laplace.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // link to original location 3 | #include "../src/opus-1.3.1/celt/laplace.h" 4 | 5 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/fish_xiph_org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/fish_xiph_org.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | apidocdir = $(htmldir)/libogg 4 | 5 | dist_apidoc_DATA = bitpacking.html datastructures.html decoding.html encoding.html\ 6 | general.html index.html ogg_iovec_t.html ogg_packet.html ogg_packet_clear.html\ 7 | ogg_page.html ogg_page_bos.html ogg_page_checksum_set.html\ 8 | ogg_page_continued.html ogg_page_eos.html ogg_page_granulepos.html\ 9 | ogg_page_packets.html ogg_page_pageno.html ogg_page_serialno.html\ 10 | ogg_page_version.html ogg_stream_check.html ogg_stream_clear.html ogg_stream_destroy.html\ 11 | ogg_stream_eos.html ogg_stream_flush.html ogg_stream_flush_fill.html ogg_stream_init.html\ 12 | ogg_stream_iovecin.html ogg_stream_packetin.html ogg_stream_packetout.html\ 13 | ogg_stream_packetpeek.html ogg_stream_pagein.html\ 14 | ogg_stream_pageout.html ogg_stream_pageout_fill.html ogg_stream_reset.html\ 15 | ogg_stream_reset_serialno.html ogg_stream_state.html\ 16 | ogg_sync_buffer.html ogg_sync_check.html ogg_sync_clear.html ogg_sync_destroy.html\ 17 | ogg_sync_init.html ogg_sync_pageout.html ogg_sync_pageseek.html\ 18 | ogg_sync_reset.html ogg_sync_state.html ogg_sync_wrote.html\ 19 | oggpack_adv.html oggpack_adv1.html oggpack_bits.html\ 20 | oggpack_buffer.html oggpack_bytes.html oggpack_get_buffer.html\ 21 | oggpack_look.html oggpack_look1.html oggpack_read.html\ 22 | oggpack_read1.html oggpack_readinit.html oggpack_reset.html\ 23 | oggpack_write.html oggpack_writealign.html oggpack_writecheck.html oggpack_writeclear.html\ 24 | oggpack_writecopy.html oggpack_writeinit.html oggpack_writetrunc.html\ 25 | overview.html reference.html style.css 26 | 27 | update-doc-version: 28 | @YEAR=$$(date +%Y); DAY=$$(date +%Y%m%d); \ 29 | for f in $(srcdir)/*.html; do \ 30 | sed -e "s/2000-[0-9]\{4\} Xiph.Org/2000-$$YEAR Xiph.Org/g" \ 31 | -e "s/libogg release [0-9. -]\+/libogg release $(VERSION) - $$DAY/g"\ 32 | < $$f > $$f.tmp; \ 33 | if diff -q $$f $$f.tmp > /dev/null; then \ 34 | rm $$f.tmp; \ 35 | else \ 36 | mv $$f.tmp $$f; \ 37 | fi; \ 38 | done; 39 | 40 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/datastructures.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - Base Data Structures 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

libogg documentation

libogg release 1.3.5 - 20210603

15 | 16 |

Base Data Structures

17 |

Libogg uses several data structures to hold data and state information. 18 |

19 | All the libogg specific data structures are declared in "ogg/ogg.h". 20 |

21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
datatypepurpose
ogg_pageThis structure encapsulates data into one ogg bitstream page.
ogg_stream_stateThis structure contains current encode/decode data for a logical bitstream.
ogg_packetThis structure encapsulates the data and metadata for a single Ogg packet.
ogg_sync_stateContains bitstream synchronization information.
44 | 45 |

46 |


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

copyright © 2000-2021 Xiph.Org Foundation

Ogg Container Format

libogg documentation

libogg release 1.3.5 - 20210603

56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/ogg_page_packets.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_page_packets 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_page_packets

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    Returns the number of packets that are completed on this page. If the 21 | leading packet is begun on a previous page, but ends on this page, it's 22 | counted. 23 |

    24 |

    25 | 26 | 27 | 33 | 34 |
    28 |
    
    29 | int ogg_page_packets(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 | If a page consists of a packet begun on a previous page, and a new packet 46 | begun (but not completed) on this page, the return will be:
    47 |
    48 | ogg_page_packets(page) will return 1,
    49 | ogg_page_continued(paged) will return non-zero.
    50 |

    51 | If a page happens to be a single packet that was begun on a previous page, and 52 | spans to the next page (in the case of a three or more page packet), the 53 | return will be:
    54 |
    55 | ogg_page_packets(page) will return 0,
    56 | ogg_page_continued(page) will return non-zero.
    57 |
    58 |

    59 | 60 |

    61 |


    62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    71 | 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/ogg_stream_destroy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_stream_destroy 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_stream_destroy

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function frees the internal memory used by 21 | the ogg_stream_state struct as 22 | well as the structure itself. 23 | 24 |

    This should be called when you are done working with an ogg stream. 25 | It can also be called to make sure that the struct does not exist.

    26 | 27 |

    It calls free() on its argument, so if the ogg_stream_state 28 | is not malloc()'d or will otherwise be freed by your own code, use 29 | ogg_stream_clear instead.

    30 | 31 |

    32 | 33 | 34 | 39 | 40 |
    35 |
    
    36 | int ogg_stream_destroy(ogg_stream_state *os);
    37 | 
    38 |
    41 | 42 |

    Parameters

    43 |
    44 |
    os
    45 |
    Pointer to the ogg_stream_state struct to be destroyed.
    46 |
    47 | 48 | 49 |

    Return Values

    50 |
    51 |
  • 52 | 0 is always returned.
  • 53 |
    54 |

    55 | 56 |

    57 |


    58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/ogg_stream_init.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_stream_init 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_stream_init

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function is used to initialize an ogg_stream_state struct and allocates appropriate memory in preparation for encoding or decoding. 21 |

    It also assigns the stream a given serial number. 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | int ogg_stream_init(ogg_stream_state *os,int serialno);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    os
    36 |
    Pointer to the ogg_stream_state struct that we will be initializing.
    37 |
    serialno
    38 |
    Serial number that we will attach to this stream.
    39 |
    40 | 41 | 42 |

    Return Values

    43 |
    44 |
  • 45 | 0 if successful
  • 46 |
  • 47 | -1 if unsuccessful.
  • 48 |
    49 |

    50 | 51 |

    52 |


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

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

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

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_stream_packetin

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function submits a packet to the bitstream for page 21 | encapsulation. After this is called, more packets can be submitted, 22 | or pages can be written out.

    23 | 24 |

    In a typical encoding situation, this should be used after filling a 25 | packet with data. 26 | The data in the packet is copied into the internal storage managed by 27 | the ogg_stream_state, so the caller 28 | is free to alter the contents of op after this call has returned. 29 | 30 |

    31 | 32 | 33 | 38 | 39 |
    34 |
    
    35 | int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op);
    36 | 
    37 |
    40 | 41 |

    Parameters

    42 |
    43 |
    os
    44 |
    Pointer to a previously declared ogg_stream_state struct.
    45 |
    op
    46 |
    Pointer to the packet we are putting into the bitstream. 47 |
    48 | 49 | 50 |

    Return Values

    51 |
    52 |
  • 53 | 0 returned on success. -1 returned in the event of internal error.
  • 54 |
    55 |

    56 | 57 |

    58 |


    59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    68 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/ogg_stream_reset_serialno.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_stream_reset_serialno 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 reinitializes the values in the 21 | ogg_stream_state, 22 | just like ogg_stream_reset(). 23 | Additionally, it sets the stream serial number to the given value.

    24 | 25 |

    26 | 27 | 28 | 33 | 34 |
    29 |
    
    30 | int ogg_stream_reset_serialno(ogg_stream_state *os, int serialno);
    31 | 
    32 |
    35 | 36 |

    Parameters

    37 |
    38 |
    os
    39 |
    Pointer to the ogg_stream_state struct to be reset.
    40 |
    serialno
    41 |
    New stream serial number to use
    42 |
    43 | 44 | 45 |

    Return Values

    46 |
    47 |
  • 48 | 0 indicates success. nonzero is returned on internal error.
  • 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 | 68 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/ogg_sync_clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_sync_clear 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_sync_clear

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function is used to free the internal storage of an ogg_sync_state struct and resets the struct to the initial state. To free the entire struct, ogg_sync_destroy should be used instead. In situations where the struct needs to be reset but the internal storage does not need to be freed, ogg_sync_reset should be used. 21 | 22 |

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

    Parameters

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

    Return Values

    41 |
    42 |
  • 43 | 0 is always 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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/ogg_sync_destroy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - ogg_sync_destroy 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    ogg_sync_destroy

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function is used to destroy an ogg_sync_state struct and free all memory used.

    21 | 22 |

    Note this calls free() on its argument so you should only use this 23 | function if you've allocated the ogg_sync_state on the heap. If it is 24 | allocated on the stack, or it will otherwise be freed by your 25 | own code, use ogg_sync_clear instead 26 | to release just the internal memory.

    27 | 28 |

    29 | 30 | 31 | 36 | 37 |
    32 |
    
    33 | int ogg_sync_destroy(ogg_sync_state *oy);
    34 | 
    35 |
    38 | 39 |

    Parameters

    40 |
    41 |
    oy
    42 |
    Pointer to a previously declared ogg_sync_state struct.
    43 |
    44 | 45 | 46 |

    Return Values

    47 |
    48 |
  • 49 | 0 is always returned.
  • 50 |
    51 |

    52 | 53 |

    54 |


    55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/oggpack_bytes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_bytes 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_bytes

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function returns the total number of bytes behind the current 21 | access point in the oggpack_buffer. 22 | For write-initialized buffers, this is the number of complete bytes 23 | written so far. For read-initialized buffers, it is the number of 24 | complete bytes that have been read so far. 25 |

    The return value is the number of complete bytes in the buffer. 26 | There may be extra (<8) bits. 27 |

    28 | 29 | 30 | 35 | 36 |
    31 |
    
    32 | long oggpack_bytes(oggpack_buffer *b);
    33 | 
    34 |
    37 | 38 |

    Parameters

    39 |
    40 |
    b
    41 |
    oggpack_buffer struct to be checked.
    42 |
    43 | 44 | 45 |

    Return Values

    46 |
    47 |
  • 48 | n is the total number of bytes within the current 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 | 68 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/oggpack_look.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_look 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_look

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function looks at a specified number of bits inside the buffer without advancing the location pointer. 21 |

    The specified number of bits are read, starting from the location pointer. 22 |

    This function can be used to read 32 or fewer bits. 23 | 24 |

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

    Parameters

    36 |
    37 |
    b
    38 |
    Pointer to oggpack_buffer to be read.
    39 |
    bits
    40 |
    Number of bits to look at. For this function, must be 32 or fewer.
    41 |
    42 | 43 | 44 |

    Return Values

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

    50 | 51 |

    52 |


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

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/oggpack_readinit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_readinit 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_readinit

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function takes an ordinary buffer and prepares an oggpack_buffer for reading using the Ogg bitpacking functions. 21 | 22 |

    23 | 24 | 25 | 30 | 31 |
    26 |
    
    27 | void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes);
    28 | 
    29 |
    32 | 33 |

    Parameters

    34 |
    35 |
    b
    36 |
    Pointer to oggpack_buffer to be initialized with some extra markers to ease bit navigation and manipulation.
    37 |
    buf
    38 |
    Original data buffer, to be inserted into the oggpack_buffer so that it can be read using bitpacking functions. 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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/oggpack_write.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_write 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_write

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function writes bits into an oggpack_buffer. 21 |

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

    Only 32 bits can be written at a time. 23 | 24 |

    25 | 26 | 27 | 32 | 33 |
    28 |
    
    29 | void  oggpack_write(oggpack_buffer *b,unsigned long value,int bits);
    30 | 
    31 |
    34 | 35 |

    Parameters

    36 |
    37 |
    b
    38 |
    Buffer to be used for writing.
    39 |
    value
    40 |
    The data to be written into the buffer. This must be 32 bits or fewer.
    41 |
    bits
    42 |
    The number of bits being written into the buffer.
    43 |
    44 | 45 | 46 |

    Return Values

    47 |
    48 |
  • 49 | No values are returned.
  • 50 |
    51 |

    52 | 53 |

    54 |


    55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/libogg/oggpack_writecopy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | libogg - function - oggpack_writecopy 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

    libogg documentation

    libogg release 1.3.5 - 20210603

    15 | 16 |

    oggpack_writecopy

    17 | 18 |

    declared in "ogg/ogg.h";

    19 | 20 |

    This function copies a sequence of bits from a source buffer into an 21 | oggpack_buffer.

    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_writecopy(oggpack_buffer *b, void *source, long bits);
    31 | 
    32 |
    35 | 36 |

    Parameters

    37 |
    38 |
    b
    39 |
    Buffer to be used for writing.
    40 |
    source
    41 |
    A pointer to the data to be written into the buffer.
    42 |
    bits
    43 |
    The number of bits to be copied into the buffer.
    44 |
    45 | 46 | 47 |

    Return Values

    48 |
    49 |
  • 50 | No values are returned.
  • 51 |
    52 |

    53 | 54 |

    55 |


    56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 |

    copyright © 2000-2021 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.5 - 20210603

    65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/multiplex1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/multiplex1.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/packets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/packets.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/pages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/pages.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/stream.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/vorbisword2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/vorbisword2.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/white-ogg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/white-ogg.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/doc/white-xifish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/libogg-1.3.5/doc/white-xifish.png -------------------------------------------------------------------------------- /src/libogg-1.3.5/include/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | SUBDIRS = ogg 4 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/libogg-1.3.5/include/ogg/config_types.h: -------------------------------------------------------------------------------- 1 | #ifndef __CONFIG_TYPES_H__ 2 | #define __CONFIG_TYPES_H__ 3 | 4 | # include 5 | typedef int16_t ogg_int16_t; 6 | typedef uint16_t ogg_uint16_t; 7 | typedef int32_t ogg_int32_t; 8 | typedef uint32_t ogg_uint32_t; 9 | typedef int64_t ogg_int64_t; 10 | typedef uint64_t ogg_uint64_t; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/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 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/AUTHORS: -------------------------------------------------------------------------------- 1 | Conrad Parker 2 | - Design, general implementation 3 | 4 | Shane Stephens 5 | - Calculated granulepos, seeking improvements 6 | 7 | Silvia Pfeiffer 8 | - Design, MS Windows porting 9 | 10 | Andre Pang 11 | - Design, Mac OS X porting 12 | 13 | David Kuehling 14 | - oggzrip tool 15 | 16 | Tahseen Mohammad 17 | - Skeleton support in oggzinfo 18 | 19 | Kangyuan Niu 20 | - oggz-comment tool 21 | 22 | Ian Malone 23 | - oggz_comment_generate(), oggz_comment_set_vendor(), 24 | oggz_packet_destroy(), FLAC header fixes 25 | 26 | ogg.k.ogg.k 27 | - Kate support, many bugfixes 28 | 29 | Mike Smith 30 | - examples/fix-eos.c, page-level validation in oggz-validate 31 | 32 | Ralph Giles 33 | - Build system fixes 34 | 35 | Erik de Castro Lopo 36 | - compiler flags and warnings 37 | 38 | Thomas van der Stichele 39 | - build system fixes, uninstalled support 40 | 41 | Colin Ward 42 | - Symbian build system 43 | 44 | Marcin Lubonski 45 | Alex Krumm-Heller 46 | Zentaro Kavanagh 47 | - MS Windows porting and packaging, Windows specific bugfixes. 48 | 49 | Angus Lees 50 | Jamie Wilkinson 51 | John Ferlito 52 | - Debian packaging 53 | 54 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (C) 2003 CSIRO Australia 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 CSIRO 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 A 21 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR 22 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 25 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 26 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/NEWS -------------------------------------------------------------------------------- /src/liboggz-1.1.1/PATCHES: -------------------------------------------------------------------------------- 1 | Generating patches 2 | ------------------ 3 | 4 | First ensure you have an up-to-date checkout of the git repository. 5 | liboggz is maintained in git at git://git.xiph.org/liboggz.git 6 | 7 | Please generate patches using git-format-patch. You'll just need to commit 8 | your changes to your local copy first: 9 | 10 | $ git commit -a 11 | 12 | then do: 13 | 14 | $ git format-patch -1 15 | 16 | which will generate a patch file with your attribution as the committer 17 | name and your own commit message. That file can then be applied to another 18 | (eg. upstream) git tree using "git am" to preserve that info. 19 | 20 | Mail that file directly or as an attachment to ogg-dev@xiph.org. 21 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/README.symbian: -------------------------------------------------------------------------------- 1 | The symbian/ directory contains the following files for Symbian's abuild tool: 2 | 3 | bld.inf Component definition file 4 | liboggz.mmp Project specification file 5 | opus_config.h Configuration options for both emulator and device builds 6 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/README.win32: -------------------------------------------------------------------------------- 1 | The /Win32 directory contains everything necessary to compile liboggz 2 | under windows and create: 3 | 4 | - liboggz.dll 5 | - oggzdump.exe 6 | - oggzinfo.exe 7 | - oggzmerge.exe 8 | - oggzrip.exe 9 | - oggzscan.exe 10 | - oggzvalidate.exe 11 | 12 | Building with the Makefile 13 | ========================== 14 | 15 | Here's what you need to do: 16 | 17 | 1) Install libogg.dll. 18 | (you can get it from http://www.xiph.org/ogg/vorbis/ ). 19 | 20 | 2) cd win32 subdirectory 21 | 22 | 3) Use "nmake" to create library and executable. 23 | 24 | 4) Install oggzdump, oggzinfo, oggzed, liboggz.dll and the 25 | include files from the /include/oggz/ directory. 26 | 27 | 28 | Visual Studio.NET 2003 Installation 29 | =================================== 30 | 31 | IMPORTANT: The solution files were built for VS.NET 2003 and can't be 32 | opened by VS.NET 2002. If you use VS.NET 2002 you should use the VS6 33 | workspace files and they will be automatically converted to the new 34 | format. 35 | 36 | Also included in the solution is a setup and deployment project that 37 | will package and create an installer for the binary output of this 38 | project. 39 | 40 | You will need to install the libogg library separately. If you wish to 41 | create a debug build and wish to have the debugger load the symbols 42 | for this library, you should also include the project source files. By 43 | default the compiler and linker will look for them in the same parent 44 | directory as liboggz. However you can install them wherever you choose 45 | and must modify the include directories for the linker and compiler in 46 | your projects properties. 47 | 48 | 49 | Visual Studio Version 6 Installation 50 | ==================================== 51 | NOTE: For lack of platform, we were not able to keep the Visual 52 | Studio Version 6 project files up-to-date. Send us an updated version 53 | if you're using these. 54 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/apache-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PATH="/bin:/usr/bin:/sbin:/usr/sbin" 4 | 5 | if dpkg -l apache2 >/dev/null 2>&1; then 6 | DAEMON="apache2" 7 | cp apache/oggz-chop.conf /etc/apache2/conf.d/ 8 | elif dpkg -l apache >/dev/null 2>&1; then 9 | DAEMON="apache" 10 | cp apache/oggz-chop.conf /etc/apache/conf.d 11 | else 12 | echo 1>&2 "Error: Neither apache2 or apache are installed" 13 | exit 1 14 | fi 15 | 16 | invoke-rc.d $DAEMON reload || true 17 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/apache/oggz-chop.conf.in: -------------------------------------------------------------------------------- 1 | 2 | ScriptAlias /oggz-chop @BINDIR@/oggz-chop 3 | Action application/ogg /oggz-chop 4 | Action video/ogg /oggz-chop 5 | Action audio/ogg /oggz-chop 6 | 7 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/forcefeed.fig: -------------------------------------------------------------------------------- 1 | #FIG 3.2 2 | Landscape 3 | Center 4 | Metric 5 | A4 6 | 100.00 7 | Single 8 | -2 9 | 1200 2 10 | 5 1 0 1 0 7 50 -1 -1 0.000 0 0 1 0 3340.746 4830.112 2700 3780 3330 3600 4050 3825 11 | 0 0 1.00 35.28 70.56 12 | 5 1 0 1 0 7 50 -1 -1 0.000 0 0 1 0 3375.000 3975.000 4050 4680 3330 4950 2700 4680 13 | 0 0 1.00 35.28 70.56 14 | 6 630 3690 2430 4860 15 | 4 0 0 50 -1 7 12 0.0000 4 180 915 810 4140 produce()\001 16 | 4 0 0 50 -1 7 12 0.0000 4 180 1620 810 4500 oggz_write_feed()\001 17 | 4 0 0 50 -1 7 12 0.0000 4 165 60 630 3870 {\001 18 | 4 0 0 50 -1 7 12 0.0000 4 165 60 630 4770 }\001 19 | -6 20 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 21 | 2250 1980 2250 1620 1980 1620 1980 1980 2250 1980 22 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 23 | 2700 1980 2700 1620 2430 1620 2430 1980 2700 1980 24 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 25 | 3150 1980 3150 1620 2880 1620 2880 1980 3150 1980 26 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 27 | 3600 1980 3600 1620 3330 1620 3330 1980 3600 1980 28 | 2 1 1 1 0 7 50 -1 -1 4.000 0 0 -1 1 0 2 29 | 0 0 1.00 60.00 120.00 30 | 3600 1980 4950 3600 31 | 2 1 1 1 0 7 50 -1 -1 4.000 0 0 -1 1 0 2 32 | 0 0 1.00 60.00 120.00 33 | 1350 3600 1980 1980 34 | 2 2 1 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 35 | 1800 1350 4950 1350 4950 2250 1800 2250 1800 1350 36 | 2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 37 | 450 3600 2700 3600 2700 4950 450 4950 450 3600 38 | 2 2 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5 39 | 4050 3600 6300 3600 6300 4950 4050 4950 4050 3600 40 | 4 0 0 50 -1 7 12 0.0000 4 180 1245 5130 1830 Packet queue\001 41 | 4 0 0 50 -1 7 12 0.0000 4 180 660 5130 1620 liboggz\001 42 | 4 0 0 50 -1 7 12 0.0000 4 180 1500 2790 5220 zero-length write\001 43 | 4 0 0 50 -1 7 12 0.0000 4 180 1335 2790 3420 nothing to feed\001 44 | 4 0 0 50 -1 7 12 0.0000 4 180 1125 4500 4230 oggz_write()\001 45 | 4 0 0 50 -1 7 12 0.0000 4 165 960 4500 4500 consume()\001 46 | 4 0 0 50 -1 7 12 0.0000 4 165 60 4320 3960 {\001 47 | 4 0 0 50 -1 7 12 0.0000 4 165 60 4320 4770 }\001 48 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/forcefeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/doc/forcefeed.png -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/hungry.fig: -------------------------------------------------------------------------------- 1 | #FIG 3.2 2 | Landscape 3 | Center 4 | Metric 5 | A4 6 | 100.00 7 | Single 8 | -2 9 | 1200 2 10 | 5 1 0 1 0 7 50 -1 -1 4.000 0 1 1 0 3910.714 1686.429 4410 1620 3420 1800 4320 1980 11 | 0 0 1.00 60.00 120.00 12 | 2 2 0 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 13 | 900 1080 3240 1080 3240 2430 900 2430 900 1080 14 | 2 1 1 1 0 7 50 -1 -1 4.000 0 0 -1 1 0 2 15 | 0 0 1.00 60.00 120.00 16 | 3240 1800 4680 1800 17 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 18 | 4950 1890 4950 1530 4680 1530 4680 1890 4950 1890 19 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 20 | 5400 1890 5400 1530 5130 1530 5130 1890 5400 1890 21 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 22 | 5850 1890 5850 1530 5580 1530 5580 1890 5850 1890 23 | 2 4 1 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5 24 | 6300 1890 6300 1530 6030 1530 6030 1890 6300 1890 25 | 2 1 1 1 0 7 50 -1 -1 4.000 0 0 -1 1 0 2 26 | 0 0 1.00 60.00 120.00 27 | 6300 1890 7650 3510 28 | 2 2 1 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 29 | 4500 1260 7650 1260 7650 2160 4500 2160 4500 1260 30 | 2 2 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5 31 | 6570 3510 8730 3510 8730 4860 6570 4860 6570 3510 32 | 4 0 0 50 -1 7 12 0.0000 4 180 915 1276 1620 produce()\001 33 | 4 0 0 50 -1 7 12 0.0000 4 165 60 1089 1350 {\001 34 | 4 0 0 50 -1 7 12 0.0000 4 180 1440 900 900 hungry callback\001 35 | 4 0 0 50 -1 7 12 0.0000 4 165 60 1089 2250 }\001 36 | 4 0 0 50 -1 7 12 0.0000 4 180 1620 1276 1980 oggz_write_feed()\001 37 | 4 0 0 50 -1 7 12 0.0000 4 180 1875 3510 2430 packet queue empty\001 38 | 4 0 0 50 -1 7 12 0.0000 4 180 1245 7830 1740 Packet queue\001 39 | 4 0 0 50 -1 7 12 0.0000 4 180 660 7830 1530 liboggz\001 40 | 4 0 0 50 -1 7 12 0.0000 4 180 1125 7200 4140 oggz_write()\001 41 | 4 0 0 50 -1 7 12 0.0000 4 165 960 7200 4410 consume()\001 42 | 4 0 0 50 -1 7 12 0.0000 4 165 60 7020 4680 }\001 43 | 4 0 0 50 -1 7 12 0.0000 4 165 60 7020 3870 {\001 44 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/hungry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/doc/hungry.png -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/annotated.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: Data Structures 6 | 7 | 8 | 9 | 10 | 11 | 27 |
    28 |

    Data Structures

    Here are the data structures with brief descriptions: 29 | 30 |
    OggzCommentA comment
    31 |
    32 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  33 | 34 | doxygen 1.6.3
    35 | 36 | 37 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: Alphabetical List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
    28 |

    Data Structure Index

    29 | 30 |
      O  
    31 |
    OggzComment   
    32 |
    33 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  34 | 35 | doxygen 1.6.3
    36 | 37 | 38 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/doc/liboggz/html/doxygen.png -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/functions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: Data Fields 6 | 7 | 8 | 9 | 10 | 11 | 33 |
    34 | Here is a list of all documented struct and union fields with links to the struct/union documentation for each field: 42 |
    43 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  44 | 45 | doxygen 1.6.3
    46 | 47 | 48 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/functions_vars.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: Data Fields - Variables 6 | 7 | 8 | 9 | 10 | 11 | 33 |
    34 |   42 |
    43 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  44 | 45 | doxygen 1.6.3
    46 | 47 | 48 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/group__install.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: Installation 6 | 7 | 8 | 9 | 10 | 11 | 21 |
    22 |

    Installation

    23 |
    24 |

    25 | INSTALL

    26 |
    27 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  28 | 29 | doxygen 1.6.3
    30 | 31 | 32 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/modules.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: Module Index 6 | 7 | 8 | 9 | 10 | 11 | 21 | 36 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  37 | 38 | doxygen 1.6.3
    39 | 40 | 41 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/oggz__off__t_8h.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | liboggz: oggz_off_t.h File Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
    28 |

    oggz_off_t.h File Reference

    29 |

    Architecture-dependent type and printf format for file position. 30 | More...

    31 | #include <oggz/oggz_off_t_generated.h>
    32 | 33 |

    Go to the source code of this file.

    34 | 35 |
    36 |

    Detailed Description

    37 |

    Architecture-dependent type and printf format for file position.

    38 |

    Allows Large File Sizes on systems supporting 64-bit off_t types.

    39 |
    40 |
    Generated on Sat Apr 24 09:13:55 2010 for liboggz by  41 | 42 | doxygen 1.6.3
    43 | 44 | 45 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/tab_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/doc/liboggz/html/tab_b.gif -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/tab_l.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/doc/liboggz/html/tab_l.gif -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/html/tab_r.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pschatzmann/arduino-libopus/84e9d5835ad296d780d9553f1b9a29630ebe79a4/src/liboggz-1.1.1/doc/liboggz/html/tab_r.gif -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/Makefile: -------------------------------------------------------------------------------- 1 | all: clean refman.dvi 2 | 3 | ps: refman.ps 4 | 5 | pdf: refman.pdf 6 | 7 | ps_2on1: refman_2on1.ps 8 | 9 | pdf_2on1: refman_2on1.pdf 10 | 11 | refman.ps: refman.dvi 12 | dvips -o refman.ps refman.dvi 13 | 14 | refman.pdf: refman.ps 15 | ps2pdf refman.ps refman.pdf 16 | 17 | refman.dvi: refman.tex doxygen.sty 18 | echo "Running latex..." 19 | latex refman.tex 20 | echo "Running makeindex..." 21 | makeindex refman.idx 22 | echo "Rerunning latex...." 23 | latex refman.tex 24 | latex_count=5 ; \ 25 | while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ 26 | do \ 27 | echo "Rerunning latex...." ;\ 28 | latex refman.tex ;\ 29 | latex_count=`expr $$latex_count - 1` ;\ 30 | done 31 | 32 | refman_2on1.ps: refman.ps 33 | psnup -2 refman.ps >refman_2on1.ps 34 | 35 | refman_2on1.pdf: refman_2on1.ps 36 | ps2pdf refman_2on1.ps refman_2on1.pdf 37 | 38 | clean: 39 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf 40 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/annotated.tex: -------------------------------------------------------------------------------- 1 | \section{Data Structures} 2 | Here are the data structures with brief descriptions:\begin{DoxyCompactList} 3 | \item\contentsline{section}{{\bf OggzComment} (A comment )}{\pageref{structOggzComment}}{} 4 | \end{DoxyCompactList} 5 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/files.tex: -------------------------------------------------------------------------------- 1 | \section{File List} 2 | Here is a list of all documented files with brief descriptions:\begin{DoxyCompactList} 3 | \item\contentsline{section}{{\bf oggz.h} (The liboggz C API )}{\pageref{oggz_8h}}{} 4 | \item\contentsline{section}{{\bf oggz\_\-comments.h} (Reading of comments )}{\pageref{oggz__comments_8h}}{} 5 | \item\contentsline{section}{{\bf oggz\_\-constants.h} (General constants used by liboggz )}{\pageref{oggz__constants_8h}}{} 6 | \item\contentsline{section}{{\bf oggz\_\-deprecated.h} (Deprecated interfaces )}{\pageref{oggz__deprecated_8h}}{} 7 | \item\contentsline{section}{{\bf oggz\_\-io.h} (Overriding the functions used for input and output of raw data )}{\pageref{oggz__io_8h}}{} 8 | \item\contentsline{section}{{\bf oggz\_\-off\_\-t.h} (Architecture-\/dependent type and printf format for file position )}{\pageref{oggz__off__t_8h}}{} 9 | \item\contentsline{section}{{\bf oggz\_\-read.h} (Interfaces for reading Ogg files and streams )}{\pageref{oggz__read_8h}}{} 10 | \item\contentsline{section}{{\bf oggz\_\-seek.h} (Seeking within files )}{\pageref{oggz__seek_8h}}{} 11 | \item\contentsline{section}{{\bf oggz\_\-stream.h} (Interfaces for querying Ogg streams )}{\pageref{oggz__stream_8h}}{} 12 | \item\contentsline{section}{{\bf oggz\_\-table.h} (A lookup table )}{\pageref{oggz__table_8h}}{} 13 | \item\contentsline{section}{{\bf oggz\_\-write.h} (Interfaces for writing Ogg files and streams )}{\pageref{oggz__write_8h}}{} 14 | \end{DoxyCompactList} 15 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/group__building.tex: -------------------------------------------------------------------------------- 1 | \section{Building against liboggz} 2 | \label{group__building}\index{Building against liboggz@{Building against liboggz}} 3 | \subsection{Using GNU autoconf}\label{group__building_autoconf} 4 | If you are using GNU autoconf, you do not need to call pkg-\/config directly. Use the following macro to determine if liboggz is available: 5 | 6 | 7 | \begin{DoxyPre} 8 | PKG\_CHECK\_MODULES(OGGZ, oggz >= 0.6.0, 9 | HAVE\_OGGZ="yes", HAVE\_OGGZ="no") 10 | if test "x$HAVE\_OGGZ" = "xyes" ; then 11 | AC\_SUBST(OGGZ\_CFLAGS) 12 | AC\_SUBST(OGGZ\_LIBS) 13 | fi 14 | \end{DoxyPre} 15 | 16 | 17 | If liboggz is found, HAVE\_\-OGGZ will be set to \char`\"{}yes\char`\"{}, and the autoconf variables OGGZ\_\-CFLAGS and OGGZ\_\-LIBS will be set appropriately.\subsection{Determining compiler options with pkg-\/config}\label{group__building_pkg-config} 18 | If you are not using GNU autoconf in your project, you can use the pkg-\/config tool directly to determine the correct compiler options. 19 | 20 | 21 | \begin{DoxyPre} 22 | OGGZ\_CFLAGS=`pkg-config --cflags oggz`\end{DoxyPre} 23 | 24 | 25 | 26 | \begin{DoxyPre} OGGZ\_LIBS=`pkg-config --libs oggz` 27 | \end{DoxyPre} 28 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/group__force__feed.tex: -------------------------------------------------------------------------------- 1 | \section{Writing by force feeding Oggz} 2 | \label{group__force__feed}\index{Writing by force feeding Oggz@{Writing by force feeding Oggz}} 3 | 4 | 5 | Force feeding involves synchronously: 6 | \begin{DoxyItemize} 7 | \item Creating an {\itshape ogg\_\-packet\/} structure 8 | \item Adding it to the packet queue with \doxyref{oggz\_\-write\_\-feed()}{p.}{group__write__api_ga6ccaceb107db1fd2eae047dbdbaa5889} 9 | \item Calling \doxyref{oggz\_\-write()}{p.}{group__write__api_ga3c97d94ea425d64546adf9c368b71904} or \doxyref{oggz\_\-write\_\-output()}{p.}{group__write__api_ga5606dff01964caec4582eb172fde0c1c}, repeatedly as necessary, to generate the Ogg bitstream. 10 | \end{DoxyItemize} 11 | 12 | 13 | Force feeding involves synchronously: 14 | \begin{DoxyItemize} 15 | \item Creating an {\itshape ogg\_\-packet\/} structure 16 | \item Adding it to the packet queue with \doxyref{oggz\_\-write\_\-feed()}{p.}{group__write__api_ga6ccaceb107db1fd2eae047dbdbaa5889} 17 | \item Calling \doxyref{oggz\_\-write()}{p.}{group__write__api_ga3c97d94ea425d64546adf9c368b71904} or \doxyref{oggz\_\-write\_\-output()}{p.}{group__write__api_ga5606dff01964caec4582eb172fde0c1c}, repeatedly as necessary, to generate the Ogg bitstream. 18 | \end{DoxyItemize}This process is illustrated in the following diagram: 19 | 20 | 21 | \begin{DoxyImage} 22 | \includegraphics[width=10cm]{forcefeed} 23 | \caption{Force Feeding Oggz} 24 | \end{DoxyImage} 25 | 26 | 27 | The following example code generates a stream of ten packets, each containing a single byte ('A', 'B', ... , 'J'): 28 | 29 | 30 | \begin{DoxyCodeInclude} 31 | \end{DoxyCodeInclude} 32 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/group__hungry.tex: -------------------------------------------------------------------------------- 1 | \section{Writing with OggzHungry callbacks} 2 | \label{group__hungry}\index{Writing with OggzHungry callbacks@{Writing with OggzHungry callbacks}} 3 | 4 | 5 | You can add packets to the Oggz packet queue only when it is \char`\"{}hungry\char`\"{} by providing an OggzHungry callback. 6 | 7 | 8 | You can add packets to the Oggz packet queue only when it is \char`\"{}hungry\char`\"{} by providing an OggzHungry callback. An OggzHungry callback will: 9 | \begin{DoxyItemize} 10 | \item Create an {\itshape ogg\_\-packet\/} structure 11 | \item Add it to the packet queue with \doxyref{oggz\_\-write\_\-feed()}{p.}{group__write__api_ga6ccaceb107db1fd2eae047dbdbaa5889} 12 | \end{DoxyItemize} 13 | 14 | Once you have set such a callback with \doxyref{oggz\_\-write\_\-set\_\-hungry\_\-callback()}{p.}{group__write__api_gaf362c030bc7a7f57cb23f2b863a59389}, simply call \doxyref{oggz\_\-write()}{p.}{group__write__api_ga3c97d94ea425d64546adf9c368b71904} or \doxyref{oggz\_\-write\_\-output()}{p.}{group__write__api_ga5606dff01964caec4582eb172fde0c1c} repeatedly, and Oggz will call your callback to provide packets when it is hungry. 15 | 16 | This process is illustrated in the following diagram: 17 | 18 | 19 | \begin{DoxyImage} 20 | \includegraphics[width=10cm]{hungry} 21 | \caption{Using OggzHungry} 22 | \end{DoxyImage} 23 | 24 | 25 | The following example code generates a stream of ten packets, each containing a single byte ('A', 'B', ... , 'J'): 26 | 27 | 28 | \begin{DoxyCodeInclude} 29 | \end{DoxyCodeInclude} 30 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/group__install.tex: -------------------------------------------------------------------------------- 1 | \section{Installation} 2 | \label{group__install}\index{Installation@{Installation}} 3 | \subsection{INSTALL}\label{group__install_install} 4 | 5 | \begin{DoxyCodeInclude} 6 | \end{DoxyCodeInclude} 7 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/group__seek__semantics.tex: -------------------------------------------------------------------------------- 1 | \section{Semantics of seeking in Ogg bitstreams} 2 | \label{group__seek__semantics}\index{Semantics of seeking in Ogg bitstreams@{Semantics of seeking in Ogg bitstreams}} 3 | \subsection{Introduction}\label{group__seek__semantics_seek_semantics_intro} 4 | [$\ast$$\ast$$\ast$ This line works around a bug in doxygen $\ast$$\ast$$\ast$] 5 | 6 | [$\ast$$\ast$$\ast$ This line works around a bug in doxygen $\ast$$\ast$$\ast$] 7 | 8 | The seeking semantics of the Ogg file format were outlined by Monty in {\tt a post to theora-\/dev} in September 2002. Quoting from that post, we have the following assumptions: 9 | 10 | 11 | \begin{DoxyItemize} 12 | \item Ogg is not a non-\/linear format. ... It is a media transport format designed to do nothing more than deliver content, in a stream, and have all the pieces arrive on time and in sync. 13 | \item The Ogg layer does not know the specifics of the codec data it's multiplexing into a stream. It knows nothing beyond 'Oooo, packets!', that the packets belong to different buckets, that the packets go in order, and that packets have position markers. Ogg does not even have a concept of 'time'; it only knows about the sequentially increasing, unitless position markers. It is up to higher layers which have access to the codec APIs to assign and convert units of framing or time. 14 | \end{DoxyItemize} 15 | 16 | (For more details on the structure of Ogg streams, see the \doxyref{Ogg Basics }{p.}{group__basics} section). 17 | 18 | For data such as media, for which it is possible to provide a mapping such as 'time', Oggz can efficiently navigate through an Ogg stream by use of an OggzMetric callback, thus allowing automatic seeking to points in 'time'. 19 | 20 | For common codecs you can ask Oggz to set this for you automatically by instantiating the OGGZ handle with the OGGZ\_\-AUTO flag set. For others you can specify a multiplier with \doxyref{oggz\_\-set\_\-metric\_\-linear()}{p.}{oggz__deprecated_8h_a12f232bca448853e66a1226ddccff7e0}, or a generic non-\/linear metric with \doxyref{oggz\_\-set\_\-metric()}{p.}{group__metric_ga5a630e8dcd04e1dd6601d8f56f0af3f6}. -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/index.tex: -------------------------------------------------------------------------------- 1 | \section{Oggz makes programming with Ogg easy!}\label{index_intro} 2 | This is the documentation for the Oggz C API. Oggz provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at {\tt Xiph.Org}, originally to support the Ogg Vorbis audio format. 3 | 4 | liboggz supports the flexibility afforded by the Ogg file format while presenting the following API niceties: 5 | 6 | 7 | \begin{DoxyItemize} 8 | \item Strict adherence to the formatting requirements of Ogg \doxyref{bitstreams }{p.}{group__basics}, to ensure that only valid bitstreams are generated 9 | \item A simple, callback based open/read/close or open/write/close \doxyref{interface }{p.}{oggz_8h} to raw Ogg files 10 | \item A customisable \doxyref{seeking }{p.}{group__seek__api} abstraction for seeking on multitrack Ogg data 11 | \item A packet queue for feeding incoming packets for writing, with callback based notification when this queue is empty 12 | \item A means of overriding the \doxyref{IO functions }{p.}{oggz__io_8h} used by Oggz, for easier integration with media frameworks and similar systems. 13 | \item A handy \doxyref{table }{p.}{oggz__table_8h} structure for storing information on each logical bitstream 14 | \end{DoxyItemize}\subsection{Contents}\label{index_contents} 15 | 16 | \begin{DoxyItemize} 17 | \item \doxyref{Basics }{p.}{group__basics}: Information about Ogg required to understand liboggz 18 | \end{DoxyItemize} 19 | 20 | 21 | \begin{DoxyItemize} 22 | \item \doxyref{oggz.h }{p.}{oggz_8h}: Documentation of the Oggz C API 23 | \end{DoxyItemize} 24 | 25 | 26 | \begin{DoxyItemize} 27 | \item \doxyref{Configuration }{p.}{group__configuration}: Customizing liboggz to only read or write. 28 | \end{DoxyItemize} 29 | 30 | 31 | \begin{DoxyItemize} 32 | \item \doxyref{Building }{p.}{group__building}: Information related to building software that uses liboggz. 33 | \end{DoxyItemize}\section{Licensing}\label{index_Licensing} 34 | liboggz is provided under the following BSD-\/style open source license: 35 | 36 | 37 | \begin{DoxyCodeInclude} 38 | \end{DoxyCodeInclude} 39 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/modules.tex: -------------------------------------------------------------------------------- 1 | \section{Modules} 2 | Here is a list of all modules:\begin{DoxyCompactList} 3 | \item \contentsline{section}{Ogg basics}{\pageref{group__basics}}{} 4 | \item \contentsline{section}{Configuration}{\pageref{group__configuration}}{} 5 | \item \contentsline{section}{Installation}{\pageref{group__install}}{} 6 | \item \contentsline{section}{Building against liboggz}{\pageref{group__building}}{} 7 | \item \contentsline{section}{Oggz Read API}{\pageref{group__read__api}}{} 8 | \item \contentsline{section}{Oggz Seek API}{\pageref{group__seek__api}}{} 9 | \item \contentsline{section}{Semantics of seeking in Ogg bitstreams}{\pageref{group__seek__semantics}}{} 10 | \item \contentsline{section}{Using OggzMetric}{\pageref{group__metric}}{} 11 | \item \contentsline{section}{Writing by force feeding Oggz}{\pageref{group__force__feed}}{} 12 | \item \contentsline{section}{Writing with OggzHungry callbacks}{\pageref{group__hungry}}{} 13 | \item \contentsline{section}{Oggz Write API}{\pageref{group__write__api}}{} 14 | \end{DoxyCompactList} 15 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/oggz__off__t_8h.tex: -------------------------------------------------------------------------------- 1 | \section{oggz\_\-off\_\-t.h File Reference} 2 | \label{oggz__off__t_8h}\index{oggz\_\-off\_\-t.h@{oggz\_\-off\_\-t.h}} 3 | 4 | 5 | Architecture-\/dependent type and printf format for file position. 6 | 7 | 8 | {\ttfamily \#include $<$oggz/oggz\_\-off\_\-t\_\-generated.h$>$}\par 9 | 10 | 11 | \subsection{Detailed Description} 12 | Architecture-\/dependent type and printf format for file position. Allows Large File Sizes on systems supporting 64-\/bit off\_\-t types. -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/oggz__packet_8h.tex: -------------------------------------------------------------------------------- 1 | \section{oggz\_\-packet.h File Reference} 2 | \label{oggz__packet_8h}\index{oggz\_\-packet.h@{oggz\_\-packet.h}} 3 | 4 | 5 | Packet positioning. 6 | 7 | 8 | \subsection*{Data Structures} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | struct {\bf oggz\_\-position} 12 | \begin{DoxyCompactList}\small\item\em The position of an \doxyref{oggz\_\-packet}{p.}{structoggz__packet}. \item\end{DoxyCompactList}\item 13 | struct {\bf oggz\_\-packet} 14 | \begin{DoxyCompactList}\small\item\em An ogg\_\-packet and its position in the stream. \item\end{DoxyCompactList}\end{DoxyCompactItemize} 15 | 16 | 17 | \subsection{Detailed Description} 18 | Packet positioning. \doxyref{oggz\_\-packet}{p.}{structoggz__packet} derives from ogg\_\-packet, and includes position information. This positioning information can be copied and used for subsequent calls to \doxyref{oggz\_\-seek\_\-position()}{p.}{group__seek__api_gaaba5386651a013d26adfca8dc5952d67}. -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/oggz__write_8h.tex: -------------------------------------------------------------------------------- 1 | \section{oggz\_\-write.h File Reference} 2 | \label{oggz__write_8h}\index{oggz\_\-write.h@{oggz\_\-write.h}} 3 | 4 | 5 | Interfaces for writing Ogg files and streams. 6 | 7 | 8 | \subsection*{Typedefs} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | typedef int($\ast$ {\bf OggzWriteHungry} )({\bf OGGZ} $\ast$oggz, int empty, void $\ast$user\_\-data) 12 | \begin{DoxyCompactList}\small\item\em This is the signature of a callback which Oggz will call when {\itshape oggz\/} is \doxyref{hungry }{p.}{group__hungry}. \item\end{DoxyCompactList}\end{DoxyCompactItemize} 13 | \subsection*{Functions} 14 | \begin{DoxyCompactItemize} 15 | \item 16 | int {\bf oggz\_\-write\_\-set\_\-hungry\_\-callback} ({\bf OGGZ} $\ast$oggz, {\bf OggzWriteHungry} hungry, int only\_\-when\_\-empty, void $\ast$user\_\-data) 17 | \begin{DoxyCompactList}\small\item\em Set a callback for Oggz to call when {\itshape oggz\/} is \doxyref{hungry }{p.}{group__hungry}. \item\end{DoxyCompactList}\item 18 | int {\bf oggz\_\-write\_\-feed} ({\bf OGGZ} $\ast$oggz, ogg\_\-packet $\ast$op, long serialno, int flush, int $\ast$guard) 19 | \begin{DoxyCompactList}\small\item\em Add a packet to {\itshape oggz's\/} packet queue. \item\end{DoxyCompactList}\item 20 | long {\bf oggz\_\-write\_\-output} ({\bf OGGZ} $\ast$oggz, unsigned char $\ast$buf, long n) 21 | \begin{DoxyCompactList}\small\item\em Output data from an OGGZ handle. \item\end{DoxyCompactList}\item 22 | long {\bf oggz\_\-write} ({\bf OGGZ} $\ast$oggz, long n) 23 | \begin{DoxyCompactList}\small\item\em Write n bytes from an OGGZ handle. \item\end{DoxyCompactList}\item 24 | long {\bf oggz\_\-write\_\-get\_\-next\_\-page\_\-size} ({\bf OGGZ} $\ast$oggz) 25 | \begin{DoxyCompactList}\small\item\em Query the number of bytes in the next page to be written. \item\end{DoxyCompactList}\end{DoxyCompactItemize} 26 | 27 | 28 | \subsection{Detailed Description} 29 | Interfaces for writing Ogg files and streams. -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/refman.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{book} 2 | \usepackage{a4wide} 3 | \usepackage{makeidx} 4 | \usepackage{graphicx} 5 | \usepackage{multicol} 6 | \usepackage{float} 7 | \usepackage{listings} 8 | \usepackage{color} 9 | \usepackage{textcomp} 10 | \usepackage{alltt} 11 | \usepackage[utf8]{inputenc} 12 | \usepackage{doxygen} 13 | \lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } 14 | \makeindex 15 | \setcounter{tocdepth}{3} 16 | \renewcommand{\footrulewidth}{0.4pt} 17 | \begin{document} 18 | \begin{titlepage} 19 | \vspace*{7cm} 20 | \begin{center} 21 | {\Large liboggz \\[1ex]\large 1.0.1 }\\ 22 | \vspace*{1cm} 23 | {\large Generated by Doxygen 1.6.3}\\ 24 | \vspace*{0.5cm} 25 | {\small Sat Apr 24 09:13:55 2010}\\ 26 | \end{center} 27 | \end{titlepage} 28 | \clearemptydoublepage 29 | \pagenumbering{roman} 30 | \tableofcontents 31 | \clearemptydoublepage 32 | \pagenumbering{arabic} 33 | \chapter{Main Page} 34 | \label{index}\input{index} 35 | \chapter{Module Index} 36 | \input{modules} 37 | \chapter{Data Structure Index} 38 | \input{annotated} 39 | \chapter{File Index} 40 | \input{files} 41 | \chapter{Module Documentation} 42 | \input{group__basics} 43 | \include{group__configuration} 44 | \include{group__install} 45 | \include{group__building} 46 | \include{group__read__api} 47 | \include{group__seek__api} 48 | \include{group__seek__semantics} 49 | \include{group__metric} 50 | \include{group__force__feed} 51 | \include{group__hungry} 52 | \include{group__write__api} 53 | \chapter{Data Structure Documentation} 54 | \input{structOggzComment} 55 | \chapter{File Documentation} 56 | \input{oggz_8h} 57 | \include{oggz__comments_8h} 58 | \include{oggz__constants_8h} 59 | \include{oggz__deprecated_8h} 60 | \include{oggz__io_8h} 61 | \include{oggz__off__t_8h} 62 | \include{oggz__read_8h} 63 | \include{oggz__seek_8h} 64 | \include{oggz__stream_8h} 65 | \include{oggz__table_8h} 66 | \include{oggz__write_8h} 67 | \printindex 68 | \end{document} 69 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/structOggzComment.tex: -------------------------------------------------------------------------------- 1 | \section{OggzComment Struct Reference} 2 | \label{structOggzComment}\index{OggzComment@{OggzComment}} 3 | 4 | 5 | A comment. 6 | 7 | 8 | 9 | 10 | {\ttfamily \#include $<$oggz\_\-comments.h$>$} 11 | 12 | \subsection*{Data Fields} 13 | \begin{DoxyCompactItemize} 14 | \item 15 | char $\ast$ {\bf name} 16 | \begin{DoxyCompactList}\small\item\em The name of the comment, eg. \item\end{DoxyCompactList}\item 17 | char $\ast$ {\bf value}\label{structOggzComment_ae300da8b29b69ea083b47035e944f9bb} 18 | 19 | \begin{DoxyCompactList}\small\item\em The value of the comment, as UTF-\/8. \item\end{DoxyCompactList}\end{DoxyCompactItemize} 20 | 21 | 22 | \subsection{Detailed Description} 23 | A comment. 24 | 25 | \subsection{Field Documentation} 26 | \index{OggzComment@{OggzComment}!name@{name}} 27 | \index{name@{name}!OggzComment@{OggzComment}} 28 | \subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf OggzComment::name}}\label{structOggzComment_af1b4e3c3e42e17054b6164bbdee5a37f} 29 | 30 | 31 | The name of the comment, eg. 32 | 33 | \char`\"{}AUTHOR\char`\"{} 34 | 35 | The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} 36 | \item 37 | {\bf oggz\_\-comments.h}\end{DoxyCompactItemize} 38 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/liboggz/latex/structoggz__packet.tex: -------------------------------------------------------------------------------- 1 | \section{oggz\_\-packet Struct Reference} 2 | \label{structoggz__packet}\index{oggz\_\-packet@{oggz\_\-packet}} 3 | 4 | 5 | An ogg\_\-packet and its position in the stream. 6 | 7 | 8 | 9 | 10 | {\ttfamily \#include $<$oggz\_\-packet.h$>$} 11 | 12 | \subsection*{Data Fields} 13 | \begin{DoxyCompactItemize} 14 | \item 15 | ogg\_\-packet {\bf op}\label{structoggz__packet_a36cb056219e68a383e7139ce0a2ff715} 16 | 17 | \begin{DoxyCompactList}\small\item\em The ogg\_\-packet structure, defined in $<$ogg/ogg.h$>$ \item\end{DoxyCompactList}\item 18 | {\bf oggz\_\-position} {\bf pos}\label{structoggz__packet_a71d24b8fa94acf2511c0c6f7b24de546} 19 | 20 | \begin{DoxyCompactList}\small\item\em Its position. \item\end{DoxyCompactList}\end{DoxyCompactItemize} 21 | 22 | 23 | \subsection{Detailed Description} 24 | An ogg\_\-packet and its position in the stream. 25 | 26 | The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} 27 | \item 28 | {\bf oggz\_\-packet.h}\end{DoxyCompactItemize} 29 | -------------------------------------------------------------------------------- /src/liboggz-1.1.1/doc/oggz-codecs.1: -------------------------------------------------------------------------------- 1 | .TH "oggz-codecs" "1" 2 | .SH "NAME" 3 | oggz-codecs \(em List codecs in one or more Ogg files and their bitstreams. 4 | 5 | .SH "SYNOPSIS" 6 | .PP 7 | \fBoggz-codecs\fR [\-a | \-\-all ] [\-m | \-\-mime ] [\-1 | \-\-one\-per\-line] filename \&... 8 | .PP 9 | \fBoggz-codecs\fR [\-h | \-\-help ] [\-v | \-\-version ] 10 | .SH "Description" 11 | .PP 12 | \fBoggz-codecs\fR displays a list of codecs found in one or more Ogg files 13 | and their bitstreams. The default comma-separated output is designed for use 14 | in an HTML5