openjpeg/doxygen/mhixbox__manager_8c.html

299 lines
19 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: mhixbox_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.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></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">mhixbox_manager.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &quot;<a class="el" href="mhixbox__manager_8h_source.html">mhixbox_manager.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="opj__inttypes_8h_source.html">opj_inttypes.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="mhixbox__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="mhixbox__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="mhixbox__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:ab3cc1c5943e32e078257f5b386f6b32b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mhixbox__manager_8c.html#ab3cc1c5943e32e078257f5b386f6b32b">gene_mhixbox</a> (<a class="el" href="box__manager_8h.html#a595fedb372a3046632dab041d6b9577c">box_param_t</a> *box)</td></tr>
<tr class="memdesc:ab3cc1c5943e32e078257f5b386f6b32b"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate mhix box <a href="mhixbox__manager_8c.html#ab3cc1c5943e32e078257f5b386f6b32b">More...</a><br /></td></tr>
<tr class="separator:ab3cc1c5943e32e078257f5b386f6b32b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a694ec5436b961330f721653a4b3927cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="mhixbox__manager_8h.html#aa9bb27f2d24e0faf918b55753e33c115">markeridx_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mhixbox__manager_8c.html#a694ec5436b961330f721653a4b3927cd">search_markeridx</a> (<a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> code, <a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> *mhix)</td></tr>
<tr class="memdesc:a694ec5436b961330f721653a4b3927cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">search a marker index by marker code from mhix box <a href="mhixbox__manager_8c.html#a694ec5436b961330f721653a4b3927cd">More...</a><br /></td></tr>
<tr class="separator:a694ec5436b961330f721653a4b3927cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2639dde4d8531a6c04887b46cded28c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mhixbox__manager_8c.html#a2639dde4d8531a6c04887b46cded28c5">print_mhixbox</a> (<a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> *mhix)</td></tr>
<tr class="memdesc:a2639dde4d8531a6c04887b46cded28c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">print mhix box parameters <a href="mhixbox__manager_8c.html#a2639dde4d8531a6c04887b46cded28c5">More...</a><br /></td></tr>
<tr class="separator:a2639dde4d8531a6c04887b46cded28c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a0d2a8641d9069cfc200df0fa55632"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mhixbox__manager_8c.html#a34a0d2a8641d9069cfc200df0fa55632">print_markeridx</a> (<a class="el" href="mhixbox__manager_8h.html#aa9bb27f2d24e0faf918b55753e33c115">markeridx_param_t</a> *markeridx)</td></tr>
<tr class="memdesc:a34a0d2a8641d9069cfc200df0fa55632"><td class="mdescLeft">&#160;</td><td class="mdescRight">print marker index parameters <a href="mhixbox__manager_8c.html#a34a0d2a8641d9069cfc200df0fa55632">More...</a><br /></td></tr>
<tr class="separator:a34a0d2a8641d9069cfc200df0fa55632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93e96cdf2beb6d3a4d5f30e462e2c079"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mhixbox__manager_8c.html#a93e96cdf2beb6d3a4d5f30e462e2c079">delete_mhixbox</a> (<a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> **mhix)</td></tr>
<tr class="memdesc:a93e96cdf2beb6d3a4d5f30e462e2c079"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete mhix box <a href="mhixbox__manager_8c.html#a93e96cdf2beb6d3a4d5f30e462e2c079">More...</a><br /></td></tr>
<tr class="separator:a93e96cdf2beb6d3a4d5f30e462e2c079"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77b5d5af2adb2cfa7ec785b592fc4074">&#9670;&nbsp;</a></span>FCGI_stderr</h2>
<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">
</div>
</div>
<a id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac322e421aefb8ec9ccc10bef953e3d82">&#9670;&nbsp;</a></span>FCGI_stdout</h2>
<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 id="a31c99676da88bb0bcdb350710f00fa96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31c99676da88bb0bcdb350710f00fa96">&#9670;&nbsp;</a></span>logstream</h2>
<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 id="a93e96cdf2beb6d3a4d5f30e462e2c079"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93e96cdf2beb6d3a4d5f30e462e2c079">&#9670;&nbsp;</a></span>delete_mhixbox()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_mhixbox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> **&#160;</td>
<td class="paramname"><em>mhix</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete mhix box </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">mhix</td><td>address of the mhix box pointer </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structmarkeridx__param.html#a96fec3389030014de88eeedc0ec41bf9">markeridx_param::next</a>.</p>
<p class="reference">Referenced by <a class="el" href="index__manager_8h.html#a8547a6683f5846c256ed1a0b5a55ad29">delete_index()</a>, and <a class="el" href="index__manager_8c.html#a73ddf4f40d7da955735a4fdb9b2c1d80">set_mainmhixdata()</a>.</p>
</div>
</div>
<a id="ab3cc1c5943e32e078257f5b386f6b32b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3cc1c5943e32e078257f5b386f6b32b">&#9670;&nbsp;</a></span>gene_mhixbox()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a>* gene_mhixbox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="box__manager_8h.html#a595fedb372a3046632dab041d6b9577c">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 mhix 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 mhix box </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>generated mhixbox pointer </dd></dl>
<p class="reference">References <a class="el" href="structmarkeridx__param.html#a67f2cbaad816454e3137ad669289f4f0">markeridx_param::code</a>, <a class="el" href="box__manager_8c.html#a28a029e965842146cac12fcf05757c66">fetch_DBox2bytebigendian()</a>, <a class="el" href="box__manager_8c.html#a46342c34b100e9174966f70bf36936ef">fetch_DBox8bytebigendian()</a>, <a class="el" href="structmhixbox__param.html#a51b8cd55ab497445287933e5be101584">mhixbox_param::first</a>, <a class="el" href="box__manager_8c.html#a177899ef17695f68a34abaff3795175c">get_DBoxlen()</a>, <a class="el" href="structmarkeridx__param.html#ab8f8d7d018e9a8030a231cbfad67ca92">markeridx_param::length</a>, <a class="el" href="structmarkeridx__param.html#a96fec3389030014de88eeedc0ec41bf9">markeridx_param::next</a>, <a class="el" href="structmarkeridx__param.html#af25341650e6cb6e073ca9ed12fcd86ae">markeridx_param::num_remain</a>, <a class="el" href="structmarkeridx__param.html#af6076115fd1d74ad8ff0faaa12c35913">markeridx_param::offset</a>, and <a class="el" href="structmhixbox__param.html#ab48436449e3e05c4e44a246b095afdd9">mhixbox_param::tlen</a>.</p>
<p class="reference">Referenced by <a class="el" href="index__manager_8c.html#a73ddf4f40d7da955735a4fdb9b2c1d80">set_mainmhixdata()</a>, and <a class="el" href="index__manager_8c.html#a5d8213c96df9c2e64b42bfc0f3003141">set_thixdata()</a>.</p>
</div>
</div>
<a id="a34a0d2a8641d9069cfc200df0fa55632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34a0d2a8641d9069cfc200df0fa55632">&#9670;&nbsp;</a></span>print_markeridx()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_markeridx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="mhixbox__manager_8h.html#aa9bb27f2d24e0faf918b55753e33c115">markeridx_param_t</a> *&#160;</td>
<td class="paramname"><em>markeridx</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print marker index parameters </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">markeridx</td><td>marker index pointer </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structmarkeridx__param.html#a67f2cbaad816454e3137ad669289f4f0">markeridx_param::code</a>, <a class="el" href="structmarkeridx__param.html#ab8f8d7d018e9a8030a231cbfad67ca92">markeridx_param::length</a>, <a class="el" href="mhixbox__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structmarkeridx__param.html#af25341650e6cb6e073ca9ed12fcd86ae">markeridx_param::num_remain</a>, and <a class="el" href="structmarkeridx__param.html#af6076115fd1d74ad8ff0faaa12c35913">markeridx_param::offset</a>.</p>
</div>
</div>
<a id="a2639dde4d8531a6c04887b46cded28c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2639dde4d8531a6c04887b46cded28c5">&#9670;&nbsp;</a></span>print_mhixbox()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_mhixbox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> *&#160;</td>
<td class="paramname"><em>mhix</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print mhix box parameters </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mhix</td><td>mhix box pointer </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structmarkeridx__param.html#a67f2cbaad816454e3137ad669289f4f0">markeridx_param::code</a>, <a class="el" href="structmhixbox__param.html#a51b8cd55ab497445287933e5be101584">mhixbox_param::first</a>, <a class="el" href="structmarkeridx__param.html#ab8f8d7d018e9a8030a231cbfad67ca92">markeridx_param::length</a>, <a class="el" href="mhixbox__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structmarkeridx__param.html#a96fec3389030014de88eeedc0ec41bf9">markeridx_param::next</a>, <a class="el" href="structmarkeridx__param.html#af25341650e6cb6e073ca9ed12fcd86ae">markeridx_param::num_remain</a>, <a class="el" href="structmarkeridx__param.html#af6076115fd1d74ad8ff0faaa12c35913">markeridx_param::offset</a>, and <a class="el" href="structmhixbox__param.html#ab48436449e3e05c4e44a246b095afdd9">mhixbox_param::tlen</a>.</p>
<p class="reference">Referenced by <a class="el" href="index__manager_8h.html#acba4fd559491e3b10a80e0d14839c8bf">print_index()</a>.</p>
</div>
</div>
<a id="a694ec5436b961330f721653a4b3927cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a694ec5436b961330f721653a4b3927cd">&#9670;&nbsp;</a></span>search_markeridx()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="mhixbox__manager_8h.html#aa9bb27f2d24e0faf918b55753e33c115">markeridx_param_t</a>* search_markeridx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a>&#160;</td>
<td class="paramname"><em>code</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="mhixbox__manager_8h.html#acae6f94e6b78afb76d95e3c66e1e3555">mhixbox_param_t</a> *&#160;</td>
<td class="paramname"><em>mhix</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>search a marker index by marker code from mhix box </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">code</td><td>marker code </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">mhix</td><td>mhix box pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>found marker index pointer </dd></dl>
<p class="reference">References <a class="el" href="structmarkeridx__param.html#a67f2cbaad816454e3137ad669289f4f0">markeridx_param::code</a>, <a class="el" href="mhixbox__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="structmhixbox__param.html#a51b8cd55ab497445287933e5be101584">mhixbox_param::first</a>, and <a class="el" href="structmarkeridx__param.html#a96fec3389030014de88eeedc0ec41bf9">markeridx_param::next</a>.</p>
<p class="reference">Referenced by <a class="el" href="index__manager_8c.html#a73ddf4f40d7da955735a4fdb9b2c1d80">set_mainmhixdata()</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.17
</small></address>
</body>
</html>