Commit libvorbis documentation patch from John Stumpo; adds complete
authorMonty <xiphmont@xiph.org>
Mon, 1 Nov 2010 18:47:53 +0000 (18:47 +0000)
committerMonty <xiphmont@xiph.org>
Mon, 1 Nov 2010 18:47:53 +0000 (18:47 +0000)
docs to libvorbis, moves a few pages from the vorbisfile and
libvorbisenc docs into the new libvorbis doc tree.

svn path=/trunk/vorbis/; revision=17581

20 files changed:
configure.ac
doc/Makefile.am
doc/index.html
doc/vorbisenc/Makefile.am
doc/vorbisenc/examples.html
doc/vorbisenc/reference.html
doc/vorbisenc/vorbis_encode_ctl.html
doc/vorbisenc/vorbis_encode_init.html
doc/vorbisenc/vorbis_encode_init_vbr.html
doc/vorbisenc/vorbis_encode_setup_init.html
doc/vorbisenc/vorbis_encode_setup_managed.html
doc/vorbisenc/vorbis_encode_setup_vbr.html
doc/vorbisfile/Makefile.am
doc/vorbisfile/chainingexample.html
doc/vorbisfile/datastructures.html
doc/vorbisfile/fileinfo.html
doc/vorbisfile/initialization.html
doc/vorbisfile/ov_comment.html
doc/vorbisfile/ov_info.html
doc/vorbisfile/reference.html

index 9b04a28..030d768 100644 (file)
@@ -281,7 +281,7 @@ lib/books/Makefile
 lib/books/coupled/Makefile
 lib/books/uncoupled/Makefile
 lib/books/floor/Makefile
-doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile
+doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile doc/libvorbis/Makefile
 doc/Doxyfile
 include/Makefile include/vorbis/Makefile
 examples/Makefile
index 2837a2c..2870528 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this with automake to create Makefile.in
 
-SUBDIRS = vorbisfile vorbisenc
+SUBDIRS = libvorbis vorbisfile vorbisenc
 
 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
 
index bcf18c0..2f07861 100644 (file)
@@ -91,7 +91,7 @@ audio in an RTP payload format</a></li>
 <h2>Ogg Vorbis programming documents</h2>
 
 <ul>
-<li>Programming with libvorbis</li>
+<li><a href="libvorbis/index.html">Programming with libvorbis</a></li>
 <li><a href="vorbisfile/index.html">Programming with vorbisfile</a></li>
 <li><a href="vorbisenc/index.html">Programming with vorbisenc</a></li>
 </ul>
index f7eb4a9..bbab3c5 100644 (file)
@@ -2,10 +2,10 @@
 
 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisenc
 
-doc_DATA = changes.html examples.html index.html ov_ectl_ratemanage2_arg.html \
-       ov_ectl_ratemanage_arg.html overview.html reference.html style.css\
+doc_DATA = changes.html examples.html index.html ovectl_ratemanage2_arg.html \
+       ovectl_ratemanage_arg.html overview.html reference.html style.css\
        vorbis_encode_ctl.html vorbis_encode_init.html vorbis_encode_setup_init.html \
-       vorbis_encode_setup_managed.html vorbis_encode_setup_vbr.html vorbis_info.html \
+       vorbis_encode_setup_managed.html vorbis_encode_setup_vbr.html \
        vorbis_encode_init_vbr.html
 
 EXTRA_DIST = $(doc_DATA)
index 75f50ff..c553ea3 100644 (file)
@@ -21,7 +21,7 @@ always produce the most consistent quality output as well as the
 highest quality for a the bits used. 
 
 <p>The following code examples prepare a
-<a href="vorbis_info.html">vorbis_info</a> structure for encoding
+<a href="../libvorbis/vorbis_info.html">vorbis_info</a> structure for encoding
 use with libvorbis.<p>
 
 <h2>Example: encoding using a VBR quality mode</h2>
index 9bda280..294fac0 100644 (file)
@@ -18,9 +18,9 @@
 <h2>Data Structures</h2>
 
 <p>
-<a href="vorbis_info.html">vorbis_info</a><br>
-<a href="ov_ectl_ratemanage_arg.html">ov_ectl_ratemanage_arg</a><br>
-<a href="ov_ectl_ratemanage2_arg.html">ov_ectl_ratemanage2_arg</a><br>
+<a href="../libvorbis/vorbis_info.html">vorbis_info</a> (from <a href="../libvorbis/index.html">libvorbis</a>)<br>
+<a href="ovectl_ratemanage_arg.html">ovectl_ratemanage_arg</a><br>
+<a href="ovectl_ratemanage2_arg.html">ovectl_ratemanage2_arg</a><br>
 </p>
 
 <h2>Encoder Setup</h2>
 <a href="vorbis_encode_setup_vbr.html">vorbis_encode_setup_vbr()</a><br>
 </p>
 
-<h2>Encoding</h2>
-
-<p>
-<a href="vorbis_analysis_init.html">vorbis_analysis_init()</a><br>
-<a href="vorbis_block_init.html">vorbis_block_init()</a><br>
-</p>
-
-<p>
-<a href="vorbis_analysis_headerout.html">vorbis_analysis_headerout()</a><br>
-</p>
-
-<p>
-<a href="vorbis_analysis_buffer.html">vorbis_analysis_buffer()</a><br>
-<a href="vorbis_analysis_wrote.html">vorbis_analysis_wrote()</a><br>
-<a href="vorbis_analysis_blockout.html">vorbis_analysis_blockout()</a><br>
-</p>
-<p>
-<a href="vorbis_analysis.html">vorbis_analysis()</a><br>
-<a href="vorbis_bitrate_addblock.html">vorbis_bitrate_addblock()</a><br>
-<a href="vorbis_bitrate_flushpacket.html">vorbis_bitrate_flushpacket()</a><br>
-</p>
+<p>The actual encoding is done using the <a href="../libvorbis/index.html">libvorbis API</a>.</p>
 
 <br>
 <br>
index ca337da..87ee289 100644 (file)
@@ -46,7 +46,7 @@ extern int vorbis_encode_ctl(vorbis_info *vi,int request,void *arg);
 <h3>Parameters</h3>
 <dl>
 <dt><i>vi</i></dt>
-<dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct.</dd><p>
+<dd>Pointer to an initialized <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct.</dd><p>
 <dt><i>request</i></dt>
 <dd>Specifies the desired action; possible request fields are detailed below.</dd><p>
 <dt><i>arg</i></dt>
index f279775..71c4e55 100644 (file)
@@ -18,7 +18,7 @@
 <p><i>declared in "vorbis/vorbisenc.h";</i></p>
 
 <p>This is the primary function within libvorbisenc for setting up managed bitrate modes.
-<p>Before this function is called, the <a href="vorbis_info.html">vorbis_info</a> struct should be initialized by using vorbis_info_init() from the libvorbis API.  After encoding, vorbis_info_clear should be called.
+<p>Before this function is called, the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct should be initialized by using vorbis_info_init() from the libvorbis API.  After encoding, vorbis_info_clear should be called.
 <p>The max_bitrate, nominal_bitrate, and min_bitrate settings are used to set constraints for the encoded file.  This function uses these settings to select the appropriate encoding mode and set it up.
 <p>
 <br><br>
@@ -26,7 +26,7 @@
 <tr bgcolor=#cccccc>
        <td>
 <pre><b>
-extern int vorbis_encode_init(<a href="vorbis_info.html">vorbis_info</a> *vi,
+extern int vorbis_encode_init(<a href="../libvorbis/vorbis_info.html">vorbis_info</a> *vi,
                              long channels,
                              long rate,
                              
@@ -42,7 +42,7 @@ extern int vorbis_encode_init(<a href="vorbis_info.html">vorbis_info</a> *vi,
 <h3>Parameters</h3>
 <dl>
 <dt><i>vi</i></dt>
-<dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct.</dd>
+<dd>Pointer to an initialized <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct.</dd>
 <dt><i>channels</i></dt>
 <dd>The number of channels to be encoded.</dd>
 <dt><i>rate</i></dt>
index 92f9a23..07c48ab 100644 (file)
 <p><i>declared in "vorbis/vorbisenc.h";</i></p>
 
 <p>This is the primary function within libvorbisenc for setting up variable bitrate ("quality" based) modes.
-<p>Before this function is called, the <a href="vorbis_info.html">vorbis_info</a> struct should be initialized by using vorbis_info_init() from the libvorbis API.  After encoding, vorbis_info_clear should be called.
+<p>Before this function is called, the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct should be initialized by using vorbis_info_init() from the libvorbis API.  After encoding, vorbis_info_clear should be called.
 <p>
 <br><br>
 <table border=0 color=black cellspacing=0 cellpadding=7>
 <tr bgcolor=#cccccc>
        <td>
 <pre><b>
-extern int vorbis_encode_init_vbr(<a href="vorbis_info.html">vorbis_info</a> *vi,
+extern int vorbis_encode_init_vbr(<a href="../libvorbis/vorbis_info.html">vorbis_info</a> *vi,
                              long channels,
                              long rate,
                              
@@ -39,7 +39,7 @@ extern int vorbis_encode_init_vbr(<a href="vorbis_info.html">vorbis_info</a> *vi
 <h3>Parameters</h3>
 <dl>
 <dt><i>vi</i></dt>
-<dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct.</dd>
+<dd>Pointer to an initialized <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct.</dd>
 <dt><i>channels</i></dt>
 <dd>The number of channels to be encoded.</dd>
 <dt><i>rate</i></dt>
index 7d18655..c76f2ea 100644 (file)
@@ -20,7 +20,7 @@
 <p>This function performs the last stage of three-step encoding setup, as described in the API overview under <a href="overview.html#BBR">managed bitrate modes</a>.
 
 <p>Before this function is called, the <a
-href="vorbis_info.html">vorbis_info</a> struct should be initialized
+href="../libvorbis/vorbis_info.html">vorbis_info</a> struct should be initialized
 by using vorbis_info_init() from the libvorbis API, one of <a
 href="vorbis_encode_setup_managed.html">vorbis_encode_setup_managed()</a>
 or <a
@@ -38,7 +38,7 @@ After encoding, vorbis_info_clear should be called.
 <tr bgcolor=#cccccc>
        <td>
 <pre><b>
-extern int vorbis_encode_setup_init(<a href="vorbis_info.html">vorbis_info</a> *vi);
+extern int vorbis_encode_setup_init(<a href="../libvorbis/vorbis_info.html">vorbis_info</a> *vi);
 
 </b></pre>
        </td>
@@ -48,7 +48,7 @@ extern int vorbis_encode_setup_init(<a href="vorbis_info.html">vorbis_info</a> *
 <h3>Parameters</h3>
 <dl>
 <dt><i>vi</i></dt>
-<dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct.</dd>
+<dd>Pointer to an initialized <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct.</dd>
 </dl>
 
 
index 6e8d8c7..e00d767 100644 (file)
@@ -27,7 +27,7 @@ href="vorbis_encode_setup_init.html">vorbis_encode_setup_init()</a> to
 complete the setup process.
 
 <p>Before this function is called, the <a
-href="vorbis_info.html">vorbis_info</a> struct should be initialized
+href="../libvorbis/vorbis_info.html">vorbis_info</a> struct should be initialized
 by using vorbis_info_init() from the libvorbis API.  After encoding,
 vorbis_info_clear should be called.
 
@@ -40,7 +40,7 @@ settings to select the appropriate encoding mode and set it up.
 <tr bgcolor=#cccccc>
        <td>
 <pre><b>
-extern int vorbis_encode_init(<a href="vorbis_info.html">vorbis_info</a> *vi,
+extern int vorbis_encode_init(<a href="../libvorbis/vorbis_info.html">vorbis_info</a> *vi,
                              long channels,
                              long rate,
                              
@@ -56,7 +56,7 @@ extern int vorbis_encode_init(<a href="vorbis_info.html">vorbis_info</a> *vi,
 <h3>Parameters</h3>
 <dl>
 <dt><i>vi</i></dt>
-<dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct.</dd>
+<dd>Pointer to an initialized <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct.</dd>
 <dt><i>channels</i></dt>
 <dd>The number of channels to be encoded.</dd>
 <dt><i>rate</i></dt>
index 6c9a698..a25f3c1 100644 (file)
@@ -27,14 +27,14 @@ calling <a
 href="vorbis_encode_setup_init.html">vorbis_encode_setup_init()</a> to
 complete the setup process.
 
-<p>Before this function is called, the <a href="vorbis_info.html">vorbis_info</a> struct should be initialized by using vorbis_info_init() from the libvorbis API.  After encoding, vorbis_info_clear should be called.
+<p>Before this function is called, the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct should be initialized by using vorbis_info_init() from the libvorbis API.  After encoding, vorbis_info_clear should be called.
 <p>
 <br><br>
 <table border=0 color=black cellspacing=0 cellpadding=7>
 <tr bgcolor=#cccccc>
        <td>
 <pre><b>
-extern int vorbis_encode_init_vbr(<a href="vorbis_info.html">vorbis_info</a> *vi,
+extern int vorbis_encode_init_vbr(<a href="../libvorbis/vorbis_info.html">vorbis_info</a> *vi,
                              long channels,
                              long rate,
                              
@@ -48,7 +48,7 @@ extern int vorbis_encode_init_vbr(<a href="vorbis_info.html">vorbis_info</a> *vi
 <h3>Parameters</h3>
 <dl>
 <dt><i>vi</i></dt>
-<dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct.</dd>
+<dd>Pointer to an initialized <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct.</dd>
 <dt><i>channels</i></dt>
 <dd>The number of channels to be encoded.</dd>
 <dt><i>rate</i></dt>
index 785762f..fb27d44 100644 (file)
@@ -17,9 +17,9 @@ doc_DATA = OggVorbis_File.html callbacks.html chaining_example_c.html\
        ov_streams.html ov_test.html ov_test_callbacks.html ov_test_open.html\
        ov_time_seek.html ov_time_seek_lap.html ov_time_seek_page.html\
        ov_time_seek_page_lap.html ov_time_tell.html ov_time_total.html\
-       overview.html reference.html return.html seekexample.html seeking.html\
+       overview.html reference.html seekexample.html seeking.html\
        seeking_example_c.html seeking_test_c.html seekingexample.html\
-       style.css threads.html vorbis_comment.html vorbis_info.html\
+       style.css threads.html\
        vorbisfile_example_c.html
 
 EXTRA_DIST = $(doc_DATA)
index e2c313e..8ce1f39 100644 (file)
@@ -116,7 +116,7 @@ First we check to make sure the stream is seekable using <a href="ov_seekable.ht
 
 <p>Now we're going to iterate through each logical bitstream and print information about that bitstream.
 
-<p>We use <a href="ov_info.html">ov_info</a> to pull out the <a href="vorbis_info.html">vorbis_info</a> struct for each logical bitstream.  This struct contains bitstream-specific info.
+<p>We use <a href="ov_info.html">ov_info</a> to pull out the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct for each logical bitstream.  This struct contains bitstream-specific info.
 
 <p><a href="ov_serialnumber.html">ov_serialnumber</a> retrieves the unique serial number for the logical bistream.  <a href="ov_raw_total.html">ov_raw_total</a> gives the total compressed bytes for the logical bitstream, and <a href="ov_time_total.html">ov_time_total</a> gives the total time in the logical bitstream.
 
index d3294a3..a746692 100644 (file)
        a pointer to the physical file or bitstream and various information about that bitstream.</td>
 </tr>
 <tr valign=top>
-<td><a href="vorbis_comment.html">vorbis_comment</a></td>
+<td><a href="../libvorbis/vorbis_comment.html">vorbis_comment</a></td>
        <td>This structure contains the file comments. It contains 
        a pointer to unlimited user comments, information about the number of comments, and a vendor description.</td>
 </tr>
 <tr valign=top>
-<td><a href="vorbis_info.html">vorbis_info</a></td>
+<td><a href="../libvorbis/vorbis_info.html">vorbis_info</a></td>
        <td>This structure contains encoder-related information about the bitstream.  It includes encoder info, channel info, and bitrate limits.</td>
 </tr>
 <tr valign=top>
index 8b92d90..492db13 100644 (file)
@@ -70,11 +70,11 @@ All libvorbisfile file information routines are declared in "vorbis/vorbisfile.h
 </tr>\r
 <tr valign=top>\r
        <td><a href="ov_info.html">ov_info</a></td>\r
-       <td>Returns the <a href="vorbis_info.html">vorbis_info</a> struct for a specific bitstream section.</td>\r
+       <td>Returns the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct for a specific bitstream section.</td>\r
 </tr>\r
 <tr valign=top>\r
        <td><a href="ov_comment.html">ov_comment</a></td>\r
-       <td>Returns attached <a href="vorbis_comment.html">comments</a> for the current bitstream.</td>\r
+       <td>Returns attached <a href="../libvorbis/vorbis_comment.html">comments</a> for the current bitstream.</td>\r
 </tr>\r
 </table>\r
 \r
index c49b4e7..6dcedde 100644 (file)
@@ -19,7 +19,7 @@ initialized before decoding and cleared when decoding is finished.
 The simplest possible case is to use <a
 href="ov_fopen.html">ov_fopen()</a> to open the file for access, check
 it for Vorbis content, and prepare it for playback.  A successful <a
-href="return.html">return code</a> from <a
+href="../libvorbis/return.html">return code</a> from <a
 href="ov_fopen.html">ov_fopen()</a> indicates the file is ready for use.
 Once the file is no longer needed, <a
 href="ov_clear.html">ov_clear()</a> is used to close the file and
@@ -69,7 +69,7 @@ All libvorbisfile initialization and deallocation routines are declared in "vorb
 is an Ogg Vorbis file or not.  A successful return indicates that the
 file appears to be an Ogg Vorbis file, but the <a
 href="OggVorbis_File.html">OggVorbis_File</a> struct is not yet fully
-initialized for actual decoding.  After a <a href="return.html">successful return</a>, the file
+initialized for actual decoding.  After a <a href="../libvorbis/return.html">successful return</a>, the file
 may be closed using <a href="ov_clear.html">ov_clear()</a> or fully
 opened for decoding using <a
 href="ov_test_open.html">ov_test_open()</a>.<p> This call is intended to
index 740ecab..c433905 100644 (file)
@@ -18,7 +18,7 @@
 
 <p><i>declared in "vorbis/vorbisfile.h";</i></p>
 
-<p>Returns a pointer to the <a href="vorbis_comment.html">vorbis_comment</a> struct for the specified bitstream.  For nonseekable streams, returns the struct for the current bitstream.
+<p>Returns a pointer to the <a href="../libvorbis/vorbis_comment.html">vorbis_comment</a> struct for the specified bitstream.  For nonseekable streams, returns the struct for the current bitstream.
 <p>
 
 <br><br>
@@ -38,7 +38,7 @@ vorbis_comment *ov_comment(OggVorbis_File *vf,int link);
 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile
 functions.</dd>
 <dt><i>i</i></dt>
-<dd>Link to the desired logical bitstream.  For nonseekable files, this argument is ignored.  To retrieve the <a href="vorbis_comment.html">vorbis_comment</a> struct for the current bitstream, this parameter should be set to -1.</dd>
+<dd>Link to the desired logical bitstream.  For nonseekable files, this argument is ignored.  To retrieve the <a href="../libvorbis/vorbis_comment.html">vorbis_comment</a> struct for the current bitstream, this parameter should be set to -1.</dd>
 </dl>
 
 
index c9cc062..d609456 100644 (file)
@@ -17,7 +17,7 @@
 
 <p><i>declared in "vorbis/vorbisfile.h";</i></p>
 
-<p>Returns the <a href="vorbis_info.html">vorbis_info</a> struct for the specified bitstream.  For nonseekable files, always returns the current vorbis_info struct.
+<p>Returns the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct for the specified bitstream.  For nonseekable files, always returns the current vorbis_info struct.
 
 <br><br>
 <table border=0 color=black cellspacing=0 cellpadding=7>
@@ -36,7 +36,7 @@ vorbis_info *ov_info(<a href="OggVorbis_File.html">OggVorbis_File</a> *vf,int li
 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile
 functions. </dd>
 <dt><i>i</i></dt>
-<dd>Link to the desired logical bitstream.  For nonseekable files, this argument is ignored.  To retrieve the <a href="vorbis_info.html">vorbis_info</a> struct for the current bitstream, this parameter should be set to -1.</dd>
+<dd>Link to the desired logical bitstream.  For nonseekable files, this argument is ignored.  To retrieve the <a href="../libvorbis/vorbis_info.html">vorbis_info</a> struct for the current bitstream, this parameter should be set to -1.</dd>
 </dl>
 
 
index c18ab2b..e922f7e 100644 (file)
 <p>
 <b>Data Structures</b><br>
 <a href="OggVorbis_File.html">OggVorbis_File</a><br>
-<a href="vorbis_comment.html">vorbis_comment</a><br>
-<a href="vorbis_info.html">vorbis_info</a><br>
 <a href="ov_callbacks.html">ov_callbacks</a><br>
 <br>
+<b>Data Structures from <a href="../libvorbis/index.html">libvorbis</a></b><br>
+<a href="../libvorbis/vorbis_comment.html">vorbis_comment</a><br>
+<a href="../libvorbis/vorbis_info.html">vorbis_info</a><br>
+<br>
 <b>Setup/Teardown</b><br>
 <a href="ov_fopen.html">ov_fopen()</a><br>
 <a href="ov_open.html">ov_open()</a><br>
@@ -64,7 +66,7 @@
 <a href="ov_info.html">ov_info()</a><br>
 <a href="ov_comment.html">ov_comment()</a><br>
 <br>
-<b><a href="return.html">Return Codes</a></b><br>
+<b><a href="../libvorbis/return.html">Return Codes</a> (from <a href="../libvorbis/index.html">libvorbis</a>)</b><br>
 
 
 <br><br>