4 <title>libogg - General Functions</title>
5 <link rel=stylesheet href="style.css" type="text/css">
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
11 <td><p class=tiny>libogg documentation</p></td>
12 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
16 <h1>General Functions</h1>
17 <p>Libogg contains several functions which are generally useful when using Ogg streaming, whether encoding or decoding.
19 All the <b>libogg</b> specific functions are declared in "ogg/ogg.h".
21 <p>These functions can be used to manipulate some of the basic elements of Ogg - streams and pages. Streams and pages are important during both the encode and decode process.
24 <table border=1 color=black width=50% cellspacing=0 cellpadding=7>
26 <td><b>function</b></td>
27 <td><b>purpose</b></td>
30 <td><a href="ogg_stream_init.html">ogg_stream_init</a></td>
31 <td>Initializes an Ogg bitstream.</td>
34 <td><a href="ogg_stream_clear.html">ogg_stream_clear</a></td>
35 <td>Clears the storage within the Ogg stream, but does not free the stream itself.<td>
38 <td><a href="ogg_stream_reset.html">ogg_stream_reset</a></td>
39 <td>Resets the stream status to its initial position.</td>
42 <td><a href="ogg_stream_destroy.html">ogg_stream_destroy</a></td>
43 <td>Frees the entire Ogg stream.</td>
46 <td><a href="ogg_stream_eos.html">ogg_stream_eos</a></td>
47 <td>Indicates whether we are at the end of the stream.</td>
50 <td><a href="ogg_page_version.html">ogg_page_version</a></td>
51 <td>Returns the version of ogg_page that this stream/page uses</td>
54 <td><a href="ogg_page_continued.html">ogg_page_continued</a></td>
55 <td>Indicates if the current page contains a continued packet from the last page.</td>
58 <td><a href="ogg_page_packets.html">ogg_page_packets</a></td>
59 <td>Indicates the number of packets contained in a page.</td>
62 <td><a href="ogg_page_bos.html">ogg_page_bos</a></td>
63 <td>Indicates if the current page is the beginning of the stream.</td>
66 <td><a href="ogg_page_eos.html">ogg_page_eos</a></td>
67 <td>Indicates if the current page is the end of the stream.</td>
70 <td><a href="ogg_page_granulepos.html">ogg_page_granulepos</a></td>
71 <td>Returns the precise playback location of this page.</td>
74 <td><a href="ogg_page_serialno.html">ogg_page_serialno</a></td>
75 <td>Returns the unique serial number of the logical bitstream associated with this page.</td>
78 <td><a href="ogg_page_pageno.html">ogg_page_pageno</a></td>
79 <td>Returns the sequential page number for this page.</td>
82 <td><a href="ogg_packet_clear.html">ogg_packet_clear</a><td>
83 <td>Clears the ogg_packet structure.</td>
86 <td><a href="ogg_page_checksum_set.html">ogg_page_checksum_set</a></td>
87 <td>Checksums an ogg_page.</td>
93 <table border=0 width=100%>
95 <td><p class=tiny>copyright © 2000 xiph.org</p></td>
96 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a><br><a href="mailto:team@xiph.org">team@xiph.org</a></p></td>
98 <td><p class=tiny>libogg documentation</p></td>
99 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>