openjpeg/doxygen/metadata__manager_8c.html

532 lines
36 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.9.1"/>
<title>OpenJPEG: metadata_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 style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<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_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_6ec2d9a1b37a1187cc46aeaf3b19e1b3.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">metadata_manager.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="metadata__manager_8h_source.html">metadata_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 />
<code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;limits.h&gt;</code><br />
<code>#include &lt;assert.h&gt;</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="metadata__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="metadata__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="metadata__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:a109c77c889ca43e454720f61692bd960"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a109c77c889ca43e454720f61692bd960">gene_metadatalist</a> (void)</td></tr>
<tr class="memdesc:a109c77c889ca43e454720f61692bd960"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate a metadata list <a href="#a109c77c889ca43e454720f61692bd960">More...</a><br /></td></tr>
<tr class="separator:a109c77c889ca43e454720f61692bd960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03c8182628aa31f07dbca72fe966676a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist</a> (int fd)</td></tr>
<tr class="memdesc:a03c8182628aa31f07dbca72fe966676a"><td class="mdescLeft">&#160;</td><td class="mdescRight">construct metadata-bin list of JP2 file <a href="#a03c8182628aa31f07dbca72fe966676a">More...</a><br /></td></tr>
<tr class="separator:a03c8182628aa31f07dbca72fe966676a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf53c8e8dc223c54970487cafe2ba7eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist</a> (<a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> **list)</td></tr>
<tr class="memdesc:aaf53c8e8dc223c54970487cafe2ba7eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete metadata list <a href="#aaf53c8e8dc223c54970487cafe2ba7eb">More...</a><br /></td></tr>
<tr class="separator:aaf53c8e8dc223c54970487cafe2ba7eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a528be86459211df60b9a9bb8a78bb83e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a528be86459211df60b9a9bb8a78bb83e">gene_metadata</a> (<a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> idx, <a class="el" href="box__manager_8h.html#a8216a321224a5eceda1d802a47bed784">boxlist_param_t</a> *boxlist, <a class="el" href="placeholder__manager_8h.html#a46dfe70796e3ba3ef779920b98b89abf">placeholderlist_param_t</a> *phldlist, <a class="el" href="metadata__manager_8h.html#a1e207f8308863e376721821288d9e340">boxcontents_param_t</a> *boxcontents)</td></tr>
<tr class="memdesc:a528be86459211df60b9a9bb8a78bb83e"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate a metadata bin <a href="#a528be86459211df60b9a9bb8a78bb83e">More...</a><br /></td></tr>
<tr class="separator:a528be86459211df60b9a9bb8a78bb83e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9773ca1d84f23c695b20e6787a4cfd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#ad9773ca1d84f23c695b20e6787a4cfd6">delete_metadata</a> (<a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> **metadata)</td></tr>
<tr class="memdesc:ad9773ca1d84f23c695b20e6787a4cfd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete a metadata bin <a href="#ad9773ca1d84f23c695b20e6787a4cfd6">More...</a><br /></td></tr>
<tr class="separator:ad9773ca1d84f23c695b20e6787a4cfd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e410fd79f45c942e025e1d43b4ddd04"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a8e410fd79f45c942e025e1d43b4ddd04">insert_metadata_into_list</a> (<a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> *metabin, <a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *metadatalist)</td></tr>
<tr class="memdesc:a8e410fd79f45c942e025e1d43b4ddd04"><td class="mdescLeft">&#160;</td><td class="mdescRight">insert a metadata-bin into list <a href="#a8e410fd79f45c942e025e1d43b4ddd04">More...</a><br /></td></tr>
<tr class="separator:a8e410fd79f45c942e025e1d43b4ddd04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd75507e2f6c8ea99e1a2c8c19acc329"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#abd75507e2f6c8ea99e1a2c8c19acc329">print_metadata</a> (<a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> *metadata)</td></tr>
<tr class="memdesc:abd75507e2f6c8ea99e1a2c8c19acc329"><td class="mdescLeft">&#160;</td><td class="mdescRight">print metadata-bin parameters <a href="#abd75507e2f6c8ea99e1a2c8c19acc329">More...</a><br /></td></tr>
<tr class="separator:abd75507e2f6c8ea99e1a2c8c19acc329"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec018d5900f7a94fed49db0d823e508"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata</a> (<a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *list)</td></tr>
<tr class="memdesc:a8ec018d5900f7a94fed49db0d823e508"><td class="mdescLeft">&#160;</td><td class="mdescRight">print all metadata parameters <a href="#a8ec018d5900f7a94fed49db0d823e508">More...</a><br /></td></tr>
<tr class="separator:a8ec018d5900f7a94fed49db0d823e508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3927fecb71393fb1f3c7d6bdbbec054"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#a1e207f8308863e376721821288d9e340">boxcontents_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#aa3927fecb71393fb1f3c7d6bdbbec054">gene_boxcontents</a> (<a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> length)</td></tr>
<tr class="memdesc:aa3927fecb71393fb1f3c7d6bdbbec054"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate box contents <a href="#aa3927fecb71393fb1f3c7d6bdbbec054">More...</a><br /></td></tr>
<tr class="separator:aa3927fecb71393fb1f3c7d6bdbbec054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9f592ed4b91fe15b7b5f97972760eb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#ab9f592ed4b91fe15b7b5f97972760eb6">search_metadata</a> (<a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> idx, <a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *list)</td></tr>
<tr class="memdesc:ab9f592ed4b91fe15b7b5f97972760eb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">search a metadata bin by index <a href="#ab9f592ed4b91fe15b7b5f97972760eb6">More...</a><br /></td></tr>
<tr class="separator:ab9f592ed4b91fe15b7b5f97972760eb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ebaeb53c239a6b5e0d8f77ea88ffac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a17ebaeb53c239a6b5e0d8f77ea88ffac">search_metadataidx</a> (char boxtype[4], <a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *list)</td></tr>
<tr class="memdesc:a17ebaeb53c239a6b5e0d8f77ea88ffac"><td class="mdescLeft">&#160;</td><td class="mdescRight">search a metadata index by box-type <a href="#a17ebaeb53c239a6b5e0d8f77ea88ffac">More...</a><br /></td></tr>
<tr class="separator:a17ebaeb53c239a6b5e0d8f77ea88ffac"><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="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist()</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">
<p>Referenced by <a class="el" href="metadata__manager_8h.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata()</a>, and <a class="el" href="metadata__manager_8h.html#abd75507e2f6c8ea99e1a2c8c19acc329">print_metadata()</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a03c8182628aa31f07dbca72fe966676a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a>* const_metadatalist </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>fd</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>construct metadata-bin list of JP2 file </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">fd</td><td>file descriptor </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated metadata-bin list </dd></dl>
<p>References <a class="el" href="box__manager_8c.html#a77ada7ec552ad6aecf1de5ecb1ec27bb">delete_box_in_list()</a>, <a class="el" href="metadata__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="structbox__param.html#ab6a91091b8afeb3d5cea812a3c6b19a3">box_param::fd</a>, <a class="el" href="structboxlist__param.html#af63af9b68990700ca5e5a464ddb18dc4">boxlist_param::first</a>, <a class="el" href="metadata__manager_8c.html#aa3927fecb71393fb1f3c7d6bdbbec054">gene_boxcontents()</a>, <a class="el" href="metadata__manager_8c.html#a528be86459211df60b9a9bb8a78bb83e">gene_metadata()</a>, <a class="el" href="metadata__manager_8c.html#a109c77c889ca43e454720f61692bd960">gene_metadatalist()</a>, <a class="el" href="placeholder__manager_8c.html#ab98bea9b6be61f2e65a04df5745d9eb7">gene_placeholder()</a>, <a class="el" href="placeholder__manager_8c.html#a8873baefe7dc20da6b09381596c7586a">gene_placeholderlist()</a>, <a class="el" href="box__manager_8c.html#a0c5e97f8df3073b59d319c237844d3fd">get_boxstructure()</a>, <a class="el" href="box__manager_8c.html#a177899ef17695f68a34abaff3795175c">get_DBoxlen()</a>, <a class="el" href="box__manager_8c.html#aa6d6dd0304ffedcb0c67ef23cf62e38a">get_DBoxoff()</a>, <a class="el" href="byte__manager_8c.html#a955af5bd7b57f186c3174728fa160ff0">get_filesize()</a>, <a class="el" href="metadata__manager_8c.html#a8e410fd79f45c942e025e1d43b4ddd04">insert_metadata_into_list()</a>, <a class="el" href="placeholder__manager_8c.html#a23cb07d4d4e4d33f647940dd4a2e1db6">insert_placeholder_into_list()</a>, <a class="el" href="structbox__param.html#a8d5dba02e64d6c60e2805ee5c62c2d41">box_param::next</a>, and <a class="el" href="structbox__param.html#a24767e2a946d939983ba55efa8fdfb7a">box_param::type</a>.</p>
<p>Referenced by <a class="el" href="index__manager_8h.html#aeda761f27ce8cb0ed202d0ea2aa64c7e">parse_jp2file()</a>.</p>
</div>
</div>
<a class="anchor" id="ad9773ca1d84f23c695b20e6787a4cfd6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_metadata </td>
<td>(</td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> **&#160;</td>
<td class="paramname"><em>metadata</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete a metadata bin </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">metadata</td><td>address of the deleting metadata bin pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="box__manager_8c.html#ad72e15be902a7c0cdfee23468250fff5">delete_boxlist()</a>, and <a class="el" href="placeholder__manager_8c.html#ae240bdf53c49b2b81e40c583c26cbdb3">delete_placeholderlist()</a>.</p>
<p>Referenced by <a class="el" href="metadata__manager_8h.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist()</a>.</p>
</div>
</div>
<a class="anchor" id="aaf53c8e8dc223c54970487cafe2ba7eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_metadatalist </td>
<td>(</td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> **&#160;</td>
<td class="paramname"><em>list</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete metadata list </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">list</td><td>address of the metadata list pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="metadata__manager_8c.html#ad9773ca1d84f23c695b20e6787a4cfd6">delete_metadata()</a>, and <a class="el" href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a>.</p>
<p>Referenced by <a class="el" href="cache__manager_8h.html#aa552e4ceb9be91d6b502419e406907fd">delete_cache()</a>, <a class="el" href="index__manager_8h.html#a8547a6683f5846c256ed1a0b5a55ad29">delete_index()</a>, <a class="el" href="openjpip_8h.html#ab156b0a2b84b452a759cd7657a4f3585">destroy_jpipdecoder()</a>, and <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
</div>
</div>
<a class="anchor" id="aa3927fecb71393fb1f3c7d6bdbbec054"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="metadata__manager_8h.html#a1e207f8308863e376721821288d9e340">boxcontents_param_t</a>* gene_boxcontents </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate box contents </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the box contents </dd></dl>
<p>References <a class="el" href="structboxcontents__param.html#aa758864b66702471066a2799982ed7ca">boxcontents_param::length</a>, and <a class="el" href="structboxcontents__param.html#a12c1d794a19e0ad0f1ad98933c23e43a">boxcontents_param::offset</a>.</p>
<p>Referenced by <a class="el" href="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist()</a>, and <a class="el" href="msgqueue__manager_8c.html#a91a6fb25233e9236413ed7b9782cb380">parse_metadata()</a>.</p>
</div>
</div>
<a class="anchor" id="a528be86459211df60b9a9bb8a78bb83e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a>* gene_metadata </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a>&#160;</td>
<td class="paramname"><em>idx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="box__manager_8h.html#a8216a321224a5eceda1d802a47bed784">boxlist_param_t</a> *&#160;</td>
<td class="paramname"><em>boxlist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="placeholder__manager_8h.html#a46dfe70796e3ba3ef779920b98b89abf">placeholderlist_param_t</a> *&#160;</td>
<td class="paramname"><em>phldlist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#a1e207f8308863e376721821288d9e340">boxcontents_param_t</a> *&#160;</td>
<td class="paramname"><em>boxcontents</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate a metadata bin </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">idx</td><td>metadata-bin index </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">boxlist</td><td>box list pointer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">phldlist</td><td>placeholder list pointer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">boxcontents</td><td>boxcontents pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated metadata bin </dd></dl>
<p>References <a class="el" href="structmetadata__param.html#a7f99c3fb9a9d261ac2702ca072ac1d39">metadata_param::boxcontents</a>, <a class="el" href="structmetadata__param.html#a6f3009ef13d7ca39c04f41ac65357f8e">metadata_param::boxlist</a>, <a class="el" href="structmetadata__param.html#a541d51009050cd84ea43cfbbf62db97a">metadata_param::idx</a>, <a class="el" href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a>, and <a class="el" href="structmetadata__param.html#aa5082ed5ed90e294b87dfe8a5d2c8d86">metadata_param::placeholderlist</a>.</p>
<p>Referenced by <a class="el" href="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist()</a>, and <a class="el" href="msgqueue__manager_8h.html#a804b7467d1c130ece21fee3e6be15732">parse_metamsg()</a>.</p>
</div>
</div>
<a class="anchor" id="a109c77c889ca43e454720f61692bd960"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a>* gene_metadatalist </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 metadata list </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated metadata list </dd></dl>
<p>References <a class="el" href="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a>, and <a class="el" href="structmetadatalist__param.html#aad4c3e25c058c90fd21bf232527c7391">metadatalist_param::last</a>.</p>
<p>Referenced by <a class="el" href="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist()</a>, <a class="el" href="cache__manager_8h.html#ae673ba42122433300afa3581ed4eb5af">gene_cache()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>, and <a class="el" href="openjpip_8h.html#a1e7187bd7a446489759e2ea37c35cdf9">init_jpipdecoder()</a>.</p>
</div>
</div>
<a class="anchor" id="a8e410fd79f45c942e025e1d43b4ddd04"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void insert_metadata_into_list </td>
<td>(</td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> *&#160;</td>
<td class="paramname"><em>metabin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *&#160;</td>
<td class="paramname"><em>metadatalist</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>insert a metadata-bin into list </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">metabin</td><td>metadata-bin pointer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">metadatalist</td><td>metadata list pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a>, <a class="el" href="structmetadatalist__param.html#aad4c3e25c058c90fd21bf232527c7391">metadatalist_param::last</a>, and <a class="el" href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a>.</p>
<p>Referenced by <a class="el" href="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist()</a>, and <a class="el" href="msgqueue__manager_8h.html#a804b7467d1c130ece21fee3e6be15732">parse_metamsg()</a>.</p>
</div>
</div>
<a class="anchor" id="a8ec018d5900f7a94fed49db0d823e508"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_allmetadata </td>
<td>(</td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *&#160;</td>
<td class="paramname"><em>list</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print all metadata parameters </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">list</td><td>metadata list pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a>, <a class="el" href="metadata__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a>, and <a class="el" href="metadata__manager_8c.html#abd75507e2f6c8ea99e1a2c8c19acc329">print_metadata()</a>.</p>
<p>Referenced by <a class="el" href="openjpip_8h.html#a33462880bc3c9bca15ac1086d73e4080">output_log()</a>, and <a class="el" href="index__manager_8h.html#acba4fd559491e3b10a80e0d14839c8bf">print_index()</a>.</p>
</div>
</div>
<a class="anchor" id="abd75507e2f6c8ea99e1a2c8c19acc329"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_metadata </td>
<td>(</td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a> *&#160;</td>
<td class="paramname"><em>metadata</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print metadata-bin parameters </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">metadata</td><td>metadata-bin pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structmetadata__param.html#a7f99c3fb9a9d261ac2702ca072ac1d39">metadata_param::boxcontents</a>, <a class="el" href="structmetadata__param.html#a6f3009ef13d7ca39c04f41ac65357f8e">metadata_param::boxlist</a>, <a class="el" href="structmetadata__param.html#a541d51009050cd84ea43cfbbf62db97a">metadata_param::idx</a>, <a class="el" href="structboxcontents__param.html#aa758864b66702471066a2799982ed7ca">boxcontents_param::length</a>, <a class="el" href="metadata__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structboxcontents__param.html#a12c1d794a19e0ad0f1ad98933c23e43a">boxcontents_param::offset</a>, <a class="el" href="structmetadata__param.html#aa5082ed5ed90e294b87dfe8a5d2c8d86">metadata_param::placeholderlist</a>, <a class="el" href="box__manager_8c.html#a29a36ad1d80050083acd21c1131eea59">print_allbox()</a>, and <a class="el" href="placeholder__manager_8c.html#a84052c7972d32e6fa2b3f9ed351805b2">print_allplaceholder()</a>.</p>
<p>Referenced by <a class="el" href="metadata__manager_8h.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata()</a>.</p>
</div>
</div>
<a class="anchor" id="ab9f592ed4b91fe15b7b5f97972760eb6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a>* search_metadata </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a>&#160;</td>
<td class="paramname"><em>idx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *&#160;</td>
<td class="paramname"><em>list</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>search a metadata bin by index </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">idx</td><td>index </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">list</td><td>metadata-bin list pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>found metadata-bin pointer </dd></dl>
<p>References <a class="el" href="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a>, <a class="el" href="structmetadata__param.html#a541d51009050cd84ea43cfbbf62db97a">metadata_param::idx</a>, and <a class="el" href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a>.</p>
<p>Referenced by <a class="el" href="msgqueue__manager_8h.html#a8b6b00d2ba2bad2a483aed202cf25610">enqueue_metadata()</a>.</p>
</div>
</div>
<a class="anchor" id="a17ebaeb53c239a6b5e0d8f77ea88ffac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> search_metadataidx </td>
<td>(</td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>boxtype</em>[4], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a> *&#160;</td>
<td class="paramname"><em>list</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>search a metadata index by box-type </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">boxtype</td><td>box-type </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">list</td><td>metadata-bin list pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>found metadata-bin index, if not found, -1 </dd></dl>
<p>References <a class="el" href="structmetadata__param.html#a6f3009ef13d7ca39c04f41ac65357f8e">metadata_param::boxlist</a>, <a class="el" href="structboxlist__param.html#af63af9b68990700ca5e5a464ddb18dc4">boxlist_param::first</a>, <a class="el" href="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a>, <a class="el" href="structplaceholderlist__param.html#a74e2305307cdf8dc81757edeaef3efb7">placeholderlist_param::first</a>, <a class="el" href="structmetadata__param.html#a541d51009050cd84ea43cfbbf62db97a">metadata_param::idx</a>, <a class="el" href="structbox__param.html#a8d5dba02e64d6c60e2805ee5c62c2d41">box_param::next</a>, <a class="el" href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a>, <a class="el" href="structplaceholder__param.html#ada93388974300217fc48d461e665d70f">placeholder_param::next</a>, <a class="el" href="structplaceholder__param.html#ab93cef245c48fc559277a34ce7693787">placeholder_param::OrigBH</a>, <a class="el" href="structplaceholder__param.html#ae8fe4ee73f3224150005fc2202d414bb">placeholder_param::OrigID</a>, <a class="el" href="structmetadata__param.html#aa5082ed5ed90e294b87dfe8a5d2c8d86">metadata_param::placeholderlist</a>, and <a class="el" href="structbox__param.html#a24767e2a946d939983ba55efa8fdfb7a">box_param::type</a>.</p>
<p>Referenced by <a class="el" href="jpip__parser_8c.html#a3667c198e1b09009f4b3a7b1c2e531ce">enqueue_metabins()</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.9.1
</small></address>
</body>
</html>