104 lines
3.3 KiB
HTML
104 lines
3.3 KiB
HTML
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<title>libogg - Bitpacking Functions</title>
|
||
|
<link rel=stylesheet href="style.css" type="text/css">
|
||
|
</head>
|
||
|
|
||
|
<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
|
||
|
<table border=0 width=100%>
|
||
|
<tr>
|
||
|
<td><p class=tiny>libogg documentation</p></td>
|
||
|
<td align=right><p class=tiny>libogg release 1.3.2 - 20140527</p></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<h1>Bitpacking Functions</h1>
|
||
|
<p>Libogg contains a basic bitpacking library that is useful for manipulating data within a buffer.
|
||
|
<p>
|
||
|
All the <b>libogg</b> specific functions are declared in "ogg/ogg.h".
|
||
|
<p>
|
||
|
|
||
|
<table border=1 color=black width=50% cellspacing=0 cellpadding=7>
|
||
|
<tr bgcolor=#cccccc>
|
||
|
<td><b>function</b></td>
|
||
|
<td><b>purpose</b></td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_writeinit.html">oggpack_writeinit</a></td>
|
||
|
<td>Initializes a buffer for writing using this bitpacking library.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_writecheck.html">oggpack_writecheck</a></td>
|
||
|
<td>Asynchronously checks error status of bitpacker write buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_reset.html">oggpack_reset</a></td>
|
||
|
<td>Clears and resets the buffer to the initial position.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_writeclear.html">oggpack_writeclear</a></td>
|
||
|
<td>Frees the memory used by the buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_readinit.html">oggpack_readinit</a></td>
|
||
|
<td>Initializes a buffer for reading using this bitpacking library.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_write.html">oggpack_write</a></td>
|
||
|
<td>Writes bytes to the specified location within the buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_look.html">oggpack_look</a></td>
|
||
|
<td>Look at a specified number of bits, <=32, without advancing the location pointer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_look1.html">oggpack_look1</a></td>
|
||
|
<td>Looks at one bit without advancing the location pointer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_adv.html">oggpack_adv</a></td>
|
||
|
<td>Advances the location pointer by a specified number of bits.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_adv1.html">oggpack_adv1</a></td>
|
||
|
<td>Advances the location pointer by one bit.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_read.html">oggpack_read</a></td>
|
||
|
<td>Reads a specified number of bits from the buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_read1.html">oggpack_read1</a></td>
|
||
|
<td>Reads one bit from the buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_bytes.html">oggpack_bytes</a></td>
|
||
|
<td>Returns the total number of bytes contained within the buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_bits.html">oggpack_bits</a></td>
|
||
|
<td>Returns the total number of bits contained within the buffer.</td>
|
||
|
</tr>
|
||
|
<tr valign=top>
|
||
|
<td><a href="oggpack_get_buffer.html">oggpack_get_buffer</a></td>
|
||
|
<td>Returns a pointer to the buffer encapsulated within the <a href="oggpack_buffer.html">oggpack_buffer</a> struct.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br><br>
|
||
|
<hr noshade>
|
||
|
<table border=0 width=100%>
|
||
|
<tr valign=top>
|
||
|
<td><p class=tiny>copyright © 2000-2014 Xiph.Org</p></td>
|
||
|
<td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
|
||
|
</tr><tr>
|
||
|
<td><p class=tiny>libogg documentation</p></td>
|
||
|
<td align=right><p class=tiny>libogg release 1.3.2 - 20140527</p></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|