551 lines
37 KiB
HTML
551 lines
37 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: 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 id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <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&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> |
|
|
<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 "<a class="el" href="metadata__manager_8h_source.html">metadata_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="opj__inttypes_8h_source.html">opj_inttypes.h</a>"</code><br />
|
|
<code>#include <stdio.h></code><br />
|
|
<code>#include <stdlib.h></code><br />
|
|
<code>#include <string.h></code><br />
|
|
<code>#include <limits.h></code><br />
|
|
<code>#include <assert.h></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>   stdout</td></tr>
|
|
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>   stderr</td></tr>
|
|
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="metadata__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>   stderr</td></tr>
|
|
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2"> </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> * </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"> </td><td class="mdescRight">generate a metadata list <a href="metadata__manager_8c.html#a109c77c889ca43e454720f61692bd960">More...</a><br /></td></tr>
|
|
<tr class="separator:a109c77c889ca43e454720f61692bd960"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a03c8182628aa31f07dbca72fe966676a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> * </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"> </td><td class="mdescRight">construct metadata-bin list of JP2 file <a href="metadata__manager_8c.html#a03c8182628aa31f07dbca72fe966676a">More...</a><br /></td></tr>
|
|
<tr class="separator:a03c8182628aa31f07dbca72fe966676a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf53c8e8dc223c54970487cafe2ba7eb"><td class="memItemLeft" align="right" valign="top">void </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> **list)</td></tr>
|
|
<tr class="memdesc:aaf53c8e8dc223c54970487cafe2ba7eb"><td class="mdescLeft"> </td><td class="mdescRight">delete metadata list <a href="metadata__manager_8c.html#aaf53c8e8dc223c54970487cafe2ba7eb">More...</a><br /></td></tr>
|
|
<tr class="separator:aaf53c8e8dc223c54970487cafe2ba7eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a528be86459211df60b9a9bb8a78bb83e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> * </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#a9b2ee705f70b639fbcc19a6d6f73da6a">boxlist_param_t</a> *boxlist, <a class="el" href="placeholder__manager_8h.html#a7151bc2909fa7090096d2756835be9fa">placeholderlist_param_t</a> *phldlist, <a class="el" href="metadata__manager_8h.html#aa301f0ee5afde8f1a91886f5268c508c">boxcontents_param_t</a> *boxcontents)</td></tr>
|
|
<tr class="memdesc:a528be86459211df60b9a9bb8a78bb83e"><td class="mdescLeft"> </td><td class="mdescRight">generate a metadata bin <a href="metadata__manager_8c.html#a528be86459211df60b9a9bb8a78bb83e">More...</a><br /></td></tr>
|
|
<tr class="separator:a528be86459211df60b9a9bb8a78bb83e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9773ca1d84f23c695b20e6787a4cfd6"><td class="memItemLeft" align="right" valign="top">void </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#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> **metadata)</td></tr>
|
|
<tr class="memdesc:ad9773ca1d84f23c695b20e6787a4cfd6"><td class="mdescLeft"> </td><td class="mdescRight">delete a metadata bin <a href="metadata__manager_8c.html#ad9773ca1d84f23c695b20e6787a4cfd6">More...</a><br /></td></tr>
|
|
<tr class="separator:ad9773ca1d84f23c695b20e6787a4cfd6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e410fd79f45c942e025e1d43b4ddd04"><td class="memItemLeft" align="right" valign="top">void </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#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> *metabin, <a class="el" href="metadata__manager_8h.html#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> *metadatalist)</td></tr>
|
|
<tr class="memdesc:a8e410fd79f45c942e025e1d43b4ddd04"><td class="mdescLeft"> </td><td class="mdescRight">insert a metadata-bin into list <a href="metadata__manager_8c.html#a8e410fd79f45c942e025e1d43b4ddd04">More...</a><br /></td></tr>
|
|
<tr class="separator:a8e410fd79f45c942e025e1d43b4ddd04"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abd75507e2f6c8ea99e1a2c8c19acc329"><td class="memItemLeft" align="right" valign="top">void </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#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> *metadata)</td></tr>
|
|
<tr class="memdesc:abd75507e2f6c8ea99e1a2c8c19acc329"><td class="mdescLeft"> </td><td class="mdescRight">print metadata-bin parameters <a href="metadata__manager_8c.html#abd75507e2f6c8ea99e1a2c8c19acc329">More...</a><br /></td></tr>
|
|
<tr class="separator:abd75507e2f6c8ea99e1a2c8c19acc329"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ec018d5900f7a94fed49db0d823e508"><td class="memItemLeft" align="right" valign="top">void </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> *list)</td></tr>
|
|
<tr class="memdesc:a8ec018d5900f7a94fed49db0d823e508"><td class="mdescLeft"> </td><td class="mdescRight">print all metadata parameters <a href="metadata__manager_8c.html#a8ec018d5900f7a94fed49db0d823e508">More...</a><br /></td></tr>
|
|
<tr class="separator:a8ec018d5900f7a94fed49db0d823e508"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3927fecb71393fb1f3c7d6bdbbec054"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#aa301f0ee5afde8f1a91886f5268c508c">boxcontents_param_t</a> * </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"> </td><td class="mdescRight">generate box contents <a href="metadata__manager_8c.html#aa3927fecb71393fb1f3c7d6bdbbec054">More...</a><br /></td></tr>
|
|
<tr class="separator:aa3927fecb71393fb1f3c7d6bdbbec054"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab9f592ed4b91fe15b7b5f97972760eb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="metadata__manager_8h.html#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> * </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> *list)</td></tr>
|
|
<tr class="memdesc:ab9f592ed4b91fe15b7b5f97972760eb6"><td class="mdescLeft"> </td><td class="mdescRight">search a metadata bin by index <a href="metadata__manager_8c.html#ab9f592ed4b91fe15b7b5f97972760eb6">More...</a><br /></td></tr>
|
|
<tr class="separator:ab9f592ed4b91fe15b7b5f97972760eb6"><td class="memSeparator" colspan="2"> </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> </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> *list)</td></tr>
|
|
<tr class="memdesc:a17ebaeb53c239a6b5e0d8f77ea88ffac"><td class="mdescLeft"> </td><td class="mdescRight">search a metadata index by box-type <a href="metadata__manager_8c.html#a17ebaeb53c239a6b5e0d8f77ea88ffac">More...</a><br /></td></tr>
|
|
<tr class="separator:a17ebaeb53c239a6b5e0d8f77ea88ffac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a77b5d5af2adb2cfa7ec785b592fc4074">◆ </a></span>FCGI_stderr</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stderr   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac322e421aefb8ec9ccc10bef953e3d82">◆ </a></span>FCGI_stdout</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stdout   stdout</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a31c99676da88bb0bcdb350710f00fa96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31c99676da88bb0bcdb350710f00fa96">◆ </a></span>logstream</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define logstream   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a03c8182628aa31f07dbca72fe966676a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a03c8182628aa31f07dbca72fe966676a">◆ </a></span>const_metadatalist()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="metadata__manager_8h.html#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a>* const_metadatalist </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </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 class="reference">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 class="reference">Referenced by <a class="el" href="index__manager_8h.html#aeda761f27ce8cb0ed202d0ea2aa64c7e">parse_jp2file()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad9773ca1d84f23c695b20e6787a4cfd6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad9773ca1d84f23c695b20e6787a4cfd6">◆ </a></span>delete_metadata()</h2>
|
|
|
|
<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#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> ** </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 class="reference">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 class="reference">Referenced by <a class="el" href="metadata__manager_8h.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaf53c8e8dc223c54970487cafe2ba7eb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaf53c8e8dc223c54970487cafe2ba7eb">◆ </a></span>delete_metadatalist()</h2>
|
|
|
|
<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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> ** </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 class="reference">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 class="reference">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 id="aa3927fecb71393fb1f3c7d6bdbbec054"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa3927fecb71393fb1f3c7d6bdbbec054">◆ </a></span>gene_boxcontents()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="metadata__manager_8h.html#aa301f0ee5afde8f1a91886f5268c508c">boxcontents_param_t</a>* gene_boxcontents </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> </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> </td>
|
|
<td class="paramname"><em>length</em> </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 class="reference">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 class="reference">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 id="a528be86459211df60b9a9bb8a78bb83e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a528be86459211df60b9a9bb8a78bb83e">◆ </a></span>gene_metadata()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="metadata__manager_8h.html#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a>* gene_metadata </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> </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#a9b2ee705f70b639fbcc19a6d6f73da6a">boxlist_param_t</a> * </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#a7151bc2909fa7090096d2756835be9fa">placeholderlist_param_t</a> * </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#aa301f0ee5afde8f1a91886f5268c508c">boxcontents_param_t</a> * </td>
|
|
<td class="paramname"><em>boxcontents</em> </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 class="reference">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 class="reference">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 id="a109c77c889ca43e454720f61692bd960"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a109c77c889ca43e454720f61692bd960">◆ </a></span>gene_metadatalist()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="metadata__manager_8h.html#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a>* gene_metadatalist </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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 class="reference">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 class="reference">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 id="a8e410fd79f45c942e025e1d43b4ddd04"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8e410fd79f45c942e025e1d43b4ddd04">◆ </a></span>insert_metadata_into_list()</h2>
|
|
|
|
<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#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> * </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> * </td>
|
|
<td class="paramname"><em>metadatalist</em> </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 class="reference">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 class="reference">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 id="a8ec018d5900f7a94fed49db0d823e508"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ec018d5900f7a94fed49db0d823e508">◆ </a></span>print_allmetadata()</h2>
|
|
|
|
<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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> * </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 class="reference">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 class="reference">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 id="abd75507e2f6c8ea99e1a2c8c19acc329"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abd75507e2f6c8ea99e1a2c8c19acc329">◆ </a></span>print_metadata()</h2>
|
|
|
|
<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#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a> * </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 class="reference">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 class="reference">Referenced by <a class="el" href="metadata__manager_8h.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab9f592ed4b91fe15b7b5f97972760eb6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab9f592ed4b91fe15b7b5f97972760eb6">◆ </a></span>search_metadata()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="metadata__manager_8h.html#a9193b889da44cc1e4051f5c6ba3d4832">metadata_param_t</a>* search_metadata </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> * </td>
|
|
<td class="paramname"><em>list</em> </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 class="reference">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 class="reference">Referenced by <a class="el" href="msgqueue__manager_8h.html#a8b6b00d2ba2bad2a483aed202cf25610">enqueue_metadata()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a17ebaeb53c239a6b5e0d8f77ea88ffac"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a17ebaeb53c239a6b5e0d8f77ea88ffac">◆ </a></span>search_metadataidx()</h2>
|
|
|
|
<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 </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#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a> * </td>
|
|
<td class="paramname"><em>list</em> </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 class="reference">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 class="reference">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  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|