1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libmpcdec: include/mpcdec/huffman.h File Reference</title>
<link href="custom.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">include</a> » <a class="el" href="dir_000001.html">mpcdec</a></div>
<h1>huffman.h File Reference</h1><code>#include "mpcdec/config_types.h"</code><br>
<code>#include "<a class="el" href="decoder_8h-source.html">decoder.h</a>"</code><br>
<p>
<a href="huffman_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structhuffman__type__t.html">huffman_type_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Huffman table entry. <a href="structhuffman__type__t.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="huffman.h::HuffmanTyp" ref="a0" args="" -->
typedef <a class="el" href="structhuffman__type__t.html">huffman_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="huffman_8h.html#a0">HuffmanTyp</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Huffman table entry. <br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="huffman_8h.html#a1">mpc_decoder_resort_huff_tables</a> (const mpc_uint32_t elements, <a class="el" href="structhuffman__type__t.html">HuffmanTyp</a> *Table, const mpc_int32_t offset)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sorts huffman-tables by codeword. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2"></a><!-- doxytag: member="huffman.h::mpc_decoder_init_huffman_sv6" ref="a2" args="(struct mpc_decoder_t *d)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="huffman_8h.html#a2">mpc_decoder_init_huffman_sv6</a> (struct <a class="el" href="structmpc__decoder__t.html">mpc_decoder_t</a> *d)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes sv6 huffman decoding structures. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3"></a><!-- doxytag: member="huffman.h::mpc_decoder_init_huffman_sv6_tables" ref="a3" args="(struct mpc_decoder_t *d)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="huffman_8h.html#a3">mpc_decoder_init_huffman_sv6_tables</a> (struct <a class="el" href="structmpc__decoder__t.html">mpc_decoder_t</a> *d)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes sv6 huffman decoding tables. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4"></a><!-- doxytag: member="huffman.h::mpc_decoder_init_huffman_sv7" ref="a4" args="(struct mpc_decoder_t *d)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="huffman_8h.html#a4">mpc_decoder_init_huffman_sv7</a> (struct <a class="el" href="structmpc__decoder__t.html">mpc_decoder_t</a> *d)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes sv7 huffman decoding structures. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5"></a><!-- doxytag: member="huffman.h::mpc_decoder_init_huffman_sv7_tables" ref="a5" args="(struct mpc_decoder_t *d)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="huffman_8h.html#a5">mpc_decoder_init_huffman_sv7_tables</a> (struct <a class="el" href="structmpc__decoder__t.html">mpc_decoder_t</a> *d)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes sv7 huffman decoding tables. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Data structures and functions for huffman coding.
<p>
Definition in file <a class="el" href="huffman_8h-source.html">huffman.h</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a1"></a><!-- doxytag: member="huffman.h::mpc_decoder_resort_huff_tables" ref="a1" args="(const mpc_uint32_t elements, HuffmanTyp *Table, const mpc_int32_t offset)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">void mpc_decoder_resort_huff_tables </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const mpc_uint32_t </td>
<td class="mdname" nowrap> <em>elements</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="structhuffman__type__t.html">HuffmanTyp</a> * </td>
<td class="mdname" nowrap> <em>Table</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const mpc_int32_t </td>
<td class="mdname" nowrap> <em>offset</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Sorts huffman-tables by codeword.
<p>
offset resulting value. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>elements</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>Table</em> </td><td>table to sort </td></tr>
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>offset of resulting sort </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mpc__decoder_8c-source.html#l00187">187</a> of file <a class="el" href="mpc__decoder_8c-source.html">mpc_decoder.c</a>.
<p>
References <a class="el" href="huffman_8h-source.html#l00053">huffman_type_t::Code</a>, <a class="el" href="huffman_8h-source.html#l00054">huffman_type_t::Length</a>, and <a class="el" href="huffman_8h-source.html#l00055">huffman_type_t::Value</a>.
<p>
Referenced by <a class="el" href="huffsv46_8c-source.html#l00043">mpc_decoder_init_huffman_sv6()</a>, and <a class="el" href="huffsv7_8c-source.html#l00043">mpc_decoder_init_huffman_sv7()</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 23 16:35:24 2005 for libmpcdec by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>
|