openjpeg/doxygen/cachemodel__manager_8c.html

365 lines
27 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: cachemodel_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">cachemodel_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="cachemodel__manager_8h_source.html">cachemodel_manager.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="faixbox__manager_8h_source.html">faixbox_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="cachemodel__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="cachemodel__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="cachemodel__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:aa9ed9725968b7cad5746bf371185ddf6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#aa9ed9725968b7cad5746bf371185ddf6">gene_cachemodellist</a> (void)</td></tr>
<tr class="memdesc:aa9ed9725968b7cad5746bf371185ddf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate a cache model list <a href="#aa9ed9725968b7cad5746bf371185ddf6">More...</a><br /></td></tr>
<tr class="separator:aa9ed9725968b7cad5746bf371185ddf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8536ce465d342e4cd99e618c4c20e6d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#a8536ce465d342e4cd99e618c4c20e6d7">gene_cachemodel</a> (<a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> *cachemodellist, <a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *target, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> reqJPP)</td></tr>
<tr class="memdesc:a8536ce465d342e4cd99e618c4c20e6d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate a cache model under a list <a href="#a8536ce465d342e4cd99e618c4c20e6d7">More...</a><br /></td></tr>
<tr class="separator:a8536ce465d342e4cd99e618c4c20e6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a269ce98f85275b2b6348aae150108c5b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#a269ce98f85275b2b6348aae150108c5b">print_cachemodel</a> (<a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> cachemodel)</td></tr>
<tr class="memdesc:a269ce98f85275b2b6348aae150108c5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">print cache model <a href="#a269ce98f85275b2b6348aae150108c5b">More...</a><br /></td></tr>
<tr class="separator:a269ce98f85275b2b6348aae150108c5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a82ae2092fee5a1f9edf2b6151de4ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#a3a82ae2092fee5a1f9edf2b6151de4ae">search_cachemodel</a> (<a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *target, <a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> *cachemodellist)</td></tr>
<tr class="memdesc:a3a82ae2092fee5a1f9edf2b6151de4ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">search a cache model of a target <a href="#a3a82ae2092fee5a1f9edf2b6151de4ae">More...</a><br /></td></tr>
<tr class="separator:a3a82ae2092fee5a1f9edf2b6151de4ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fa4daab45ddfe9a30fc29a5d5821572"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#a2fa4daab45ddfe9a30fc29a5d5821572">delete_cachemodellist</a> (<a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> **cachemodellist)</td></tr>
<tr class="memdesc:a2fa4daab45ddfe9a30fc29a5d5821572"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete cachemodel list <a href="#a2fa4daab45ddfe9a30fc29a5d5821572">More...</a><br /></td></tr>
<tr class="separator:a2fa4daab45ddfe9a30fc29a5d5821572"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4beb279f2f89ebfea569a93368ddcffa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#a4beb279f2f89ebfea569a93368ddcffa">delete_cachemodel</a> (<a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> **cachemodel)</td></tr>
<tr class="memdesc:a4beb279f2f89ebfea569a93368ddcffa"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete a cache model <a href="#a4beb279f2f89ebfea569a93368ddcffa">More...</a><br /></td></tr>
<tr class="separator:a4beb279f2f89ebfea569a93368ddcffa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a100d5835680e609531af22213616ce97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cachemodel__manager_8c.html#a100d5835680e609531af22213616ce97">is_allsent</a> (<a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> cachemodel)</td></tr>
<tr class="memdesc:a100d5835680e609531af22213616ce97"><td class="mdescLeft">&#160;</td><td class="mdescRight">check if all data has been sent <a href="#a100d5835680e609531af22213616ce97">More...</a><br /></td></tr>
<tr class="separator:a100d5835680e609531af22213616ce97"><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">
</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">
<p>Referenced by <a class="el" href="cachemodel__manager_8h.html#a4beb279f2f89ebfea569a93368ddcffa">delete_cachemodel()</a>, <a class="el" href="cachemodel__manager_8h.html#a8536ce465d342e4cd99e618c4c20e6d7">gene_cachemodel()</a>, and <a class="el" href="cachemodel__manager_8h.html#a269ce98f85275b2b6348aae150108c5b">print_cachemodel()</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a4beb279f2f89ebfea569a93368ddcffa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_cachemodel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> **&#160;</td>
<td class="paramname"><em>cachemodel</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete a cache model </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">cachemodel</td><td>address of the cachemodel pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="cachemodel__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="target__manager_8c.html#a22963b6f86858c316cb3ef865deef531">unrefer_target()</a>.</p>
<p>Referenced by <a class="el" href="cachemodel__manager_8h.html#a2fa4daab45ddfe9a30fc29a5d5821572">delete_cachemodellist()</a>, and <a class="el" href="msgqueue__manager_8h.html#aff1807285e0f47bbea20d5a6473dd08f">delete_msgqueue()</a>.</p>
</div>
</div>
<a class="anchor" id="a2fa4daab45ddfe9a30fc29a5d5821572"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_cachemodellist </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> **&#160;</td>
<td class="paramname"><em>cachemodellist</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete cachemodel list </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">cachemodellist</td><td>address of the cachemodel list pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="cachemodel__manager_8c.html#a4beb279f2f89ebfea569a93368ddcffa">delete_cachemodel()</a>, <a class="el" href="structcachemodel__param.html#a6bfd52e715d76d87c19a8bbee8e84fee">cachemodel_param::next</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
<p>Referenced by <a class="el" href="session__manager_8h.html#a8a988f84471ec85e0c4b586d0b976dee">delete_session()</a>, and <a class="el" href="session__manager_8h.html#a1966edbca375ecbe0f673f3768f95e8e">delete_sessionlist()</a>.</p>
</div>
</div>
<a class="anchor" id="a8536ce465d342e4cd99e618c4c20e6d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a>* gene_cachemodel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> *&#160;</td>
<td class="paramname"><em>cachemodellist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *&#160;</td>
<td class="paramname"><em>target</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>reqJPP</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate a cache model under a list </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">cachemodellist</td><td>cachemodel list to insert the generated cache model, NULL for stateless </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>pointer the reference target </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reqJPP</td><td>if JPP-stream is desired true, JPT-stream false </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated cache model </dd></dl>
<p>References <a class="el" href="structtarget__param.html#aac158d4d55987cda9053b81a17786c12">target_param::codeidx</a>, <a class="el" href="struct_s_i_zmarker__param.html#a8de864778880574d3b7c27dd13462a85">SIZmarker_param::Csiz</a>, <a class="el" href="structcachemodellist__param.html#ab6ea5db7ee4bc86522cb07f9f29f243c">cachemodellist_param::first</a>, <a class="el" href="faixbox__manager_8c.html#a342c04b082e9806b27b56ae99e504389">get_m()</a>, <a class="el" href="faixbox__manager_8c.html#a9dc6a52e3b73d819c3cca6ee29c1485d">get_nmax()</a>, <a class="el" href="structcachemodel__param.html#a0d0d925e52b45b30af4ce953db1a0c72">cachemodel_param::jppstream</a>, <a class="el" href="structtarget__param.html#acc3f7e29483871762e9be2765d7017a4">target_param::jppstream</a>, <a class="el" href="structtarget__param.html#a40a29d6013b5b62fd489c41cbc2a93a8">target_param::jptstream</a>, <a class="el" href="structcachemodellist__param.html#a230686ed9a04c0d53828b7450b779ea2">cachemodellist_param::last</a>, <a class="el" href="cachemodel__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structcachemodel__param.html#a96fd953f6bb010c2bad2f4020e222c77">cachemodel_param::mhead_model</a>, <a class="el" href="structcachemodel__param.html#a6bfd52e715d76d87c19a8bbee8e84fee">cachemodel_param::next</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structcachemodel__param.html#a0466bae42d0c58d160eba44a877e5761">cachemodel_param::pp_model</a>, <a class="el" href="structindex__param.html#a7400fd13418cd272c8049388721688aa">index_param::precpacket</a>, <a class="el" href="target__manager_8c.html#a7b08bd1ea87c9daba4d249892c39aba1">refer_target()</a>, <a class="el" href="structindex__param.html#ac0cfeb5e5e37084dbf91cd4df98948be">index_param::SIZ</a>, <a class="el" href="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a>, <a class="el" href="structcachemodel__param.html#a312855041868dadb7818b652c02e5711">cachemodel_param::th_model</a>, <a class="el" href="structindex__param.html#abbf2b7d27ed7e860fd67ba9a58af1514">index_param::tilepart</a>, and <a class="el" href="structcachemodel__param.html#a5862422cdc2fff031cce285337a734fd">cachemodel_param::tp_model</a>.</p>
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a81aa485be8deb8d4878b30486c0006cd">gene_JPIPstream()</a>, and <a class="el" href="jpip__parser_8h.html#a0a8093084853869a255f8f7f178e2e37">open_channel()</a>.</p>
</div>
</div>
<a class="anchor" id="aa9ed9725968b7cad5746bf371185ddf6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a>* gene_cachemodellist </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate a cache model list </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated cache model list </dd></dl>
<p>References <a class="el" href="structcachemodellist__param.html#ab6ea5db7ee4bc86522cb07f9f29f243c">cachemodellist_param::first</a>, <a class="el" href="structcachemodellist__param.html#a230686ed9a04c0d53828b7450b779ea2">cachemodellist_param::last</a>, and <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
<p>Referenced by <a class="el" href="session__manager_8h.html#adf5841c3d4f97b49c02bfa9919aa5eea">gene_session()</a>.</p>
</div>
</div>
<a class="anchor" id="a100d5835680e609531af22213616ce97"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> is_allsent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a>&#160;</td>
<td class="paramname"><em>cachemodel</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>check if all data has been sent </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">cachemodel</td><td>cache model </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if sent all, false otherwise </dd></dl>
<p>References <a class="el" href="structtarget__param.html#aac158d4d55987cda9053b81a17786c12">target_param::codeidx</a>, <a class="el" href="struct_s_i_zmarker__param.html#a8de864778880574d3b7c27dd13462a85">SIZmarker_param::Csiz</a>, <a class="el" href="faixbox__manager_8c.html#a9dc6a52e3b73d819c3cca6ee29c1485d">get_nmax()</a>, <a class="el" href="structcachemodel__param.html#a0d0d925e52b45b30af4ce953db1a0c72">cachemodel_param::jppstream</a>, <a class="el" href="structcachemodel__param.html#a96fd953f6bb010c2bad2f4020e222c77">cachemodel_param::mhead_model</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structcachemodel__param.html#a0466bae42d0c58d160eba44a877e5761">cachemodel_param::pp_model</a>, <a class="el" href="structindex__param.html#a7400fd13418cd272c8049388721688aa">index_param::precpacket</a>, <a class="el" href="structindex__param.html#ac0cfeb5e5e37084dbf91cd4df98948be">index_param::SIZ</a>, <a class="el" href="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a>, <a class="el" href="structcachemodel__param.html#a312855041868dadb7818b652c02e5711">cachemodel_param::th_model</a>, <a class="el" href="structindex__param.html#abbf2b7d27ed7e860fd67ba9a58af1514">index_param::tilepart</a>, <a class="el" href="structcachemodel__param.html#a5862422cdc2fff031cce285337a734fd">cachemodel_param::tp_model</a>, <a class="el" href="struct_s_i_zmarker__param.html#a79168a3b2807f62ba9efd85676e4ca7c">SIZmarker_param::XTnum</a>, and <a class="el" href="struct_s_i_zmarker__param.html#a5a9e6d3f2d4918549184415e4b19eea0">SIZmarker_param::YTnum</a>.</p>
</div>
</div>
<a class="anchor" id="a269ce98f85275b2b6348aae150108c5b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_cachemodel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a>&#160;</td>
<td class="paramname"><em>cachemodel</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print cache model </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">cachemodel</td><td>cache model </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structtarget__param.html#aac158d4d55987cda9053b81a17786c12">target_param::codeidx</a>, <a class="el" href="struct_s_i_zmarker__param.html#a8de864778880574d3b7c27dd13462a85">SIZmarker_param::Csiz</a>, <a class="el" href="faixbox__manager_8c.html#a9dc6a52e3b73d819c3cca6ee29c1485d">get_nmax()</a>, <a class="el" href="cachemodel__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structcachemodel__param.html#a96fd953f6bb010c2bad2f4020e222c77">cachemodel_param::mhead_model</a>, <a class="el" href="structcachemodel__param.html#a0466bae42d0c58d160eba44a877e5761">cachemodel_param::pp_model</a>, <a class="el" href="structindex__param.html#a7400fd13418cd272c8049388721688aa">index_param::precpacket</a>, <a class="el" href="structindex__param.html#ac0cfeb5e5e37084dbf91cd4df98948be">index_param::SIZ</a>, <a class="el" href="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a>, <a class="el" href="structtarget__param.html#a9b60d04127436a18e722d871e7c0044f">target_param::targetname</a>, <a class="el" href="structcachemodel__param.html#a312855041868dadb7818b652c02e5711">cachemodel_param::th_model</a>, <a class="el" href="structindex__param.html#abbf2b7d27ed7e860fd67ba9a58af1514">index_param::tilepart</a>, <a class="el" href="structcachemodel__param.html#a5862422cdc2fff031cce285337a734fd">cachemodel_param::tp_model</a>, <a class="el" href="struct_s_i_zmarker__param.html#a79168a3b2807f62ba9efd85676e4ca7c">SIZmarker_param::XTnum</a>, and <a class="el" href="struct_s_i_zmarker__param.html#a5a9e6d3f2d4918549184415e4b19eea0">SIZmarker_param::YTnum</a>.</p>
</div>
</div>
<a class="anchor" id="a3a82ae2092fee5a1f9edf2b6151de4ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a>* search_cachemodel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *&#160;</td>
<td class="paramname"><em>target</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a> *&#160;</td>
<td class="paramname"><em>cachemodellist</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>search a cache model of a target </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>referring target </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cachemodellist</td><td>cache model list </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>found cache model pointer </dd></dl>
<p>References <a class="el" href="structcachemodellist__param.html#ab6ea5db7ee4bc86522cb07f9f29f243c">cachemodellist_param::first</a>, <a class="el" href="structcachemodel__param.html#a6bfd52e715d76d87c19a8bbee8e84fee">cachemodel_param::next</a>, and <a class="el" href="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a>.</p>
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a0a8093084853869a255f8f7f178e2e37">open_channel()</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>