openjpeg/doxygen/manfbox__manager_8c.html

259 lines
15 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OpenJPEG: manfbox_manager.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.4.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54d80c9412497e935deb5677b5fae801.html">openjpip</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">manfbox_manager.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;<a class="el" href="manfbox__manager_8h_source.html">manfbox_manager.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>&#160;&#160;&#160;stdout</td></tr>
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>&#160;&#160;&#160;stderr</td></tr>
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>&#160;&#160;&#160;stderr</td></tr>
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7c8a7b0c84e1ad9d858c16ed4888b7f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#a7c8a7b0c84e1ad9d858c16ed4888b7f1">gene_manfbox</a> (<a class="el" href="box__manager_8h.html#aabc1b43d57961c0e224a518c8b8ca09b">box_param_t</a> *box)</td></tr>
<tr class="memdesc:a7c8a7b0c84e1ad9d858c16ed4888b7f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate manifest box <a href="#a7c8a7b0c84e1ad9d858c16ed4888b7f1">More...</a><br /></td></tr>
<tr class="separator:a7c8a7b0c84e1ad9d858c16ed4888b7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79f039f4170fa5673abd188e4649b717"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#a79f039f4170fa5673abd188e4649b717">delete_manfbox</a> (<a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> **manf)</td></tr>
<tr class="memdesc:a79f039f4170fa5673abd188e4649b717"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete manifest box <a href="#a79f039f4170fa5673abd188e4649b717">More...</a><br /></td></tr>
<tr class="separator:a79f039f4170fa5673abd188e4649b717"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afffa66277d7b16d789f1c78683f7fc53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#afffa66277d7b16d789f1c78683f7fc53">print_manfbox</a> (<a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> *manf)</td></tr>
<tr class="memdesc:afffa66277d7b16d789f1c78683f7fc53"><td class="mdescLeft">&#160;</td><td class="mdescRight">print manf box parameters <a href="#afffa66277d7b16d789f1c78683f7fc53">More...</a><br /></td></tr>
<tr class="separator:afffa66277d7b16d789f1c78683f7fc53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6574f4f07559e5bffc3fafc4a8689249"><td class="memItemLeft" align="right" valign="top"><a class="el" href="boxheader__manager_8h.html#a52219183b1007413e580aa9ba6504669">boxheader_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="manfbox__manager_8c.html#a6574f4f07559e5bffc3fafc4a8689249">search_boxheader</a> (const char type[], <a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> *manf)</td></tr>
<tr class="memdesc:a6574f4f07559e5bffc3fafc4a8689249"><td class="mdescLeft">&#160;</td><td class="mdescRight">search a boxheader by box type from manifest box <a href="#a6574f4f07559e5bffc3fafc4a8689249">More...</a><br /></td></tr>
<tr class="separator:a6574f4f07559e5bffc3fafc4a8689249"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FCGI_stderr&#160;&#160;&#160;stderr</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="manfbox__manager_8h.html#a6574f4f07559e5bffc3fafc4a8689249">search_boxheader()</a>.</p>
</div>
</div>
<a class="anchor" id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FCGI_stdout&#160;&#160;&#160;stdout</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a31c99676da88bb0bcdb350710f00fa96"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define logstream&#160;&#160;&#160;stderr</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a79f039f4170fa5673abd188e4649b717"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_manfbox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> **&#160;</td>
<td class="paramname"><em>manf</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete manifest box </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">manf</td><td>addressof the manfbox pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structboxheader__param.html#a24a521b8c32b65e2354e67191c14f232">boxheader_param::next</a>.</p>
<p>Referenced by <a class="el" href="index__manager_8c.html#a1bca84a98c266c9da610ebbb5d17e83c">set_cidxdata()</a>, <a class="el" href="index__manager_8c.html#a781af2c59898ceecdffb70004cfaf018">set_ppixdata()</a>, and <a class="el" href="index__manager_8c.html#a5d8213c96df9c2e64b42bfc0f3003141">set_thixdata()</a>.</p>
</div>
</div>
<a class="anchor" id="a7c8a7b0c84e1ad9d858c16ed4888b7f1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a>* gene_manfbox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="box__manager_8h.html#aabc1b43d57961c0e224a518c8b8ca09b">box_param_t</a> *&#160;</td>
<td class="paramname"><em>box</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate manifest box </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">box</td><td>pointer to the reference manf box </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>generated manfbox </dd></dl>
<p>References <a class="el" href="structmanfbox__param.html#a84984a1b9a534a0c88d0667ffe6db3df">manfbox_param::first</a>, <a class="el" href="boxheader__manager_8c.html#acef0f9dedbcfe391a86a87b5693fda5a">gene_childboxheader()</a>, <a class="el" href="box__manager_8c.html#a177899ef17695f68a34abaff3795175c">get_DBoxlen()</a>, <a class="el" href="structboxheader__param.html#aabf782e3d43e158e4477308c11670ac4">boxheader_param::headlen</a>, and <a class="el" href="structboxheader__param.html#a24a521b8c32b65e2354e67191c14f232">boxheader_param::next</a>.</p>
<p>Referenced by <a class="el" href="index__manager_8c.html#a1bca84a98c266c9da610ebbb5d17e83c">set_cidxdata()</a>, <a class="el" href="index__manager_8c.html#a781af2c59898ceecdffb70004cfaf018">set_ppixdata()</a>, and <a class="el" href="index__manager_8c.html#a5d8213c96df9c2e64b42bfc0f3003141">set_thixdata()</a>.</p>
</div>
</div>
<a class="anchor" id="afffa66277d7b16d789f1c78683f7fc53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_manfbox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> *&#160;</td>
<td class="paramname"><em>manf</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print manf box parameters </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">manf</td><td>manf box pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structmanfbox__param.html#a84984a1b9a534a0c88d0667ffe6db3df">manfbox_param::first</a>, <a class="el" href="structboxheader__param.html#a24a521b8c32b65e2354e67191c14f232">boxheader_param::next</a>, and <a class="el" href="boxheader__manager_8c.html#a366e577597bfcd3e2d8c6db97f802a26">print_boxheader()</a>.</p>
</div>
</div>
<a class="anchor" id="a6574f4f07559e5bffc3fafc4a8689249"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="boxheader__manager_8h.html#a52219183b1007413e580aa9ba6504669">boxheader_param_t</a>* search_boxheader </td>
<td>(</td>
<td class="paramtype">const char&#160;</td>
<td class="paramname"><em>type</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="manfbox__manager_8h.html#aeee69ac5ac0899069b9a8fa454d64f6b">manfbox_param_t</a> *&#160;</td>
<td class="paramname"><em>manf</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>search a boxheader by box type from manifest box </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>box type </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">manf</td><td>manf box pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>found box pointer </dd></dl>
<p>References <a class="el" href="manfbox__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="structmanfbox__param.html#a84984a1b9a534a0c88d0667ffe6db3df">manfbox_param::first</a>, <a class="el" href="structboxheader__param.html#a24a521b8c32b65e2354e67191c14f232">boxheader_param::next</a>, and <a class="el" href="structboxheader__param.html#ad64aefab7bef517b0bfe152352f89d99">boxheader_param::type</a>.</p>
<p>Referenced by <a class="el" href="index__manager_8c.html#a1bca84a98c266c9da610ebbb5d17e83c">set_cidxdata()</a>, and <a class="el" href="index__manager_8c.html#a781af2c59898ceecdffb70004cfaf018">set_ppixdata()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>