openjpeg/doxygen/metadata__manager_8h_source...

97 lines
31 KiB
HTML
Raw Normal View History

2015-07-10 18:06:19 +02:00
<!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"/>
2020-12-28 22:12:25 +01:00
<meta name="generator" content="Doxygen 1.8.11"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: metadata_manager.h Source File</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;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2020-12-28 22:12:25 +01:00
&#160;<span id="projectnumber">2.4.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2020-12-28 22:12:25 +01:00
<!-- 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>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<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>
2015-07-10 18:06:19 +02:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">metadata_manager.h</div> </div>
</div><!--header-->
<div class="contents">
2019-04-02 16:25:55 +02:00
<a href="metadata__manager_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * $Id$</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (c) 2010-2011, Kaori Hagihara</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * are met:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS&#39;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div><div class="line"><a name="l00025"></a><span class=
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structmetadata__param_html_a541d51009050cd84ea43cfbbf62db97a"><div class="ttname"><a href="structmetadata__param.html#a541d51009050cd84ea43cfbbf62db97a">metadata_param::idx</a></div><div class="ttdeci">Byte8_t idx</div><div class="ttdoc">index number </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:44</div></div>
<div class="ttc" id="structplaceholderlist__param_html"><div class="ttname"><a href="structplaceholderlist__param.html">placeholderlist_param</a></div><div class="ttdoc">placeholder box list parameters </div><div class="ttdef"><b>Definition:</b> placeholder_manager.h:58</div></div>
<div class="ttc" id="structmetadata__param_html_a6f3009ef13d7ca39c04f41ac65357f8e"><div class="ttname"><a href="structmetadata__param.html#a6f3009ef13d7ca39c04f41ac65357f8e">metadata_param::boxlist</a></div><div class="ttdeci">boxlist_param_t * boxlist</div><div class="ttdoc">box list </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:45</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="metadata__manager_8h_html_ad9773ca1d84f23c695b20e6787a4cfd6"><div class="ttname"><a href="metadata__manager_8h.html#ad9773ca1d84f23c695b20e6787a4cfd6">delete_metadata</a></div><div class="ttdeci">void delete_metadata(metadata_param_t **metadata)</div><div class="ttdoc">delete a metadata bin </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:143</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structboxcontents__param_html_aa758864b66702471066a2799982ed7ca"><div class="ttname"><a href="structboxcontents__param.html#aa758864b66702471066a2799982ed7ca">boxcontents_param::length</a></div><div class="ttdeci">Byte8_t length</div><div class="ttdoc">length of the box contents </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:39</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="metadata__manager_8h_html_a8ec018d5900f7a94fed49db0d823e508"><div class="ttname"><a href="metadata__manager_8h.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata</a></div><div class="ttdeci">void print_allmetadata(metadatalist_param_t *list)</div><div class="ttdoc">print all metadata parameters </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:182</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structmetadata__param_html_aa5082ed5ed90e294b87dfe8a5d2c8d86"><div class="ttname"><a href="structmetadata__param.html#aa5082ed5ed90e294b87dfe8a5d2c8d86">metadata_param::placeholderlist</a></div><div class="ttdeci">placeholderlist_param_t * placeholderlist</div><div class="ttdoc">placeholder box list </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:46</div></div>
<div class="ttc" id="structboxcontents__param_html"><div class="ttname"><a href="structboxcontents__param.html">boxcontents_param</a></div><div class="ttdef"><b>Definition:</b> metadata_manager.h:37</div></div>
<div class="ttc" id="openjpeg_8h_html_aba7397be054e36dc0284a6589736135e"><div class="ttname"><a href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a></div><div class="ttdeci">size_t OPJ_SIZE_T</div><div class="ttdef"><b>Definition:</b> openjpeg.h:133</div></div>
<div class="ttc" id="metadata__manager_8h_html_a64f65f9c57e885492545d9e288964130"><div class="ttname"><a href="metadata__manager_8h.html#a64f65f9c57e885492545d9e288964130">metadata_param_t</a></div><div class="ttdeci">struct metadata_param metadata_param_t</div><div class="ttdoc">metadata-bin parameters </div></div>
<div class="ttc" id="metadata__manager_8h_html_a1e207f8308863e376721821288d9e340"><div class="ttname"><a href="metadata__manager_8h.html#a1e207f8308863e376721821288d9e340">boxcontents_param_t</a></div><div class="ttdeci">struct boxcontents_param boxcontents_param_t</div></div>
<div class="ttc" id="metadata__manager_8h_html_aaa78ced398f149ca92b47e0acddf05e5"><div class="ttname"><a href="metadata__manager_8h.html#aaa78ced398f149ca92b47e0acddf05e5">metadatalist_param_t</a></div><div class="ttdeci">struct metadatalist_param metadatalist_param_t</div><div class="ttdoc">metadata-bin list parameters </div></div>
<div class="ttc" id="placeholder__manager_8h_html"><div class="ttname"><a href="placeholder__manager_8h.html">placeholder_manager.h</a></div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="metadata__manager_8h_html_a528be86459211df60b9a9bb8a78bb83e"><div class="ttname"><a href="metadata__manager_8h.html#a528be86459211df60b9a9bb8a78bb83e">gene_metadata</a></div><div class="ttdeci">metadata_param_t * gene_metadata(Byte8_t idx, boxlist_param_t *boxlist, placeholderlist_param_t *phldlist, boxcontents_param_t *boxcontents)</div><div class="ttdoc">generate a metadata bin </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:128</div></div>
<div class="ttc" id="metadata__manager_8h_html_aaf53c8e8dc223c54970487cafe2ba7eb"><div class="ttname"><a href="metadata__manager_8h.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist</a></div><div class="ttdeci">void delete_metadatalist(metadatalist_param_t **list)</div><div class="ttdoc">delete metadata list </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:114</div></div>
<div class="ttc" id="metadata__manager_8h_html_ab9f592ed4b91fe15b7b5f97972760eb6"><div class="ttname"><a href="metadata__manager_8h.html#ab9f592ed4b91fe15b7b5f97972760eb6">search_metadata</a></div><div class="ttdeci">metadata_param_t * search_metadata(Byte8_t idx, metadatalist_param_t *list)</div><div class="ttdoc">search a metadata bin by index </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:206</div></div>
<div class="ttc" id="metadata__manager_8h_html_a17ebaeb53c239a6b5e0d8f77ea88ffac"><div class="ttname"><a href="metadata__manager_8h.html#a17ebaeb53c239a6b5e0d8f77ea88ffac">search_metadataidx</a></div><div class="ttdeci">Byte8_t search_metadataidx(char boxtype[4], metadatalist_param_t *list)</div><div class="ttdoc">search a metadata index by box-type </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:223</div></div>
<div class="ttc" id="metadata__manager_8h_html_abd75507e2f6c8ea99e1a2c8c19acc329"><div class="ttname"><a href="metadata__manager_8h.html#abd75507e2f6c8ea99e1a2c8c19acc329">print_metadata</a></div><div class="ttdeci">void print_metadata(metadata_param_t *metadata)</div><div class="ttdoc">print metadata-bin parameters </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:167</div></div>
<div class="ttc" id="structmetadata__param_html_a7f99c3fb9a9d261ac2702ca072ac1d39"><div class="ttname"><a href="structmetadata__param.html#a7f99c3fb9a9d261ac2702ca072ac1d39">metadata_param::boxcontents</a></div><div class="ttdeci">boxcontents_param_t * boxcontents</div><div class="ttdoc">box contens in case of no boxlist and placeholderlist </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:48</div></div>
<div class="ttc" id="structmetadatalist__param_html_aad4c3e25c058c90fd21bf232527c7391"><div class="ttname"><a href="structmetadatalist__param.html#aad4c3e25c058c90fd21bf232527c7391">metadatalist_param::last</a></div><div class="ttdeci">metadata_param_t * last</div><div class="ttdoc">last metadata-bin pointer of the list </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:56</div></div>
<div class="ttc" id="structmetadata__param_html_a2c32a344c91035f724e8baaca01ece9a"><div class="ttname"><a href="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a></div><div class="ttdeci">struct metadata_param * next</div><div class="ttdoc">pointer to the next metadata-bin </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:49</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structboxlist__param_html"><div class="ttname"><a href="structboxlist__param.html">boxlist_param</a></div><div class="ttdoc">Box list parameters. </div><div class="ttdef"><b>Definition:</b> box_manager.h:48</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="structmetadatalist__param_html_a8137e17639987080af7fe611ccdba82a"><div class="ttname"><a href="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a></div><div class="ttdeci">metadata_param_t * first</div><div class="ttdoc">first metadata-bin pointer of the list </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:55</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structboxcontents__param_html_a12c1d794a19e0ad0f1ad98933c23e43a"><div class="ttname"><a href="structboxcontents__param.html#a12c1d794a19e0ad0f1ad98933c23e43a">boxcontents_param::offset</a></div><div class="ttdeci">OPJ_OFF_T offset</div><div class="ttdoc">byte position of the box contents in the file </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:38</div></div>
<div class="ttc" id="metadata__manager_8h_html_a03c8182628aa31f07dbca72fe966676a"><div class="ttname"><a href="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist</a></div><div class="ttdeci">metadatalist_param_t * const_metadatalist(int fd)</div><div class="ttdoc">construct metadata-bin list of JP2 file </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:61</div></div>
<div class="ttc" id="metadata__manager_8h_html_a109c77c889ca43e454720f61692bd960"><div class="ttname"><a href="metadata__manager_8h.html#a109c77c889ca43e454720f61692bd960">gene_metadatalist</a></div><div class="ttdeci">metadatalist_param_t * gene_metadatalist(void)</div><div class="ttdoc">generate a metadata list </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:49</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="metadata__manager_8h_html_a8e410fd79f45c942e025e1d43b4ddd04"><div class="ttname"><a href="metadata__manager_8h.html#a8e410fd79f45c942e025e1d43b4ddd04">insert_metadata_into_list</a></div><div class="ttdeci">void insert_metadata_into_list(metadata_param_t *metabin, metadatalist_param_t *metadatalist)</div><div class="ttdoc">insert a metadata-bin into list </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:156</div></div>
<div class="ttc" id="metadata__manager_8h_html_aa3927fecb71393fb1f3c7d6bdbbec054"><div class="ttname"><a href="metadata__manager_8h.html#aa3927fecb71393fb1f3c7d6bdbbec054">gene_boxcontents</a></div><div class="ttdeci">boxcontents_param_t * gene_boxcontents(OPJ_OFF_T offset, OPJ_SIZE_T length)</div><div class="ttdoc">generate box contents </div><div class="ttdef"><b>Definition:</b> metadata_manager.c:194</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="box__manager_8h_html"><div class="ttname"><a href="box__manager_8h.html">box_manager.h</a></div></div>
<div class="ttc" id="structmetadata__param_html"><div class="ttname"><a href="structmetadata__param.html">metadata_param</a></div><div class="ttdoc">metadata-bin parameters </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:43</div></div>
<div class="ttc" id="byte__manager_8h_html_a89544bfd8f79b949793e43e323e1ace1"><div class="ttname"><a href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a></div><div class="ttdeci">uint64_t Byte8_t</div><div class="ttdef"><b>Definition:</b> byte_manager.h:40</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="structmetadatalist__param_html"><div class="ttname"><a href="structmetadatalist__param.html">metadatalist_param</a></div><div class="ttdoc">metadata-bin list parameters </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:54</div></div>
2015-07-10 18:06:19 +02:00
</div><!-- fragment --></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"/>
2020-12-28 22:12:25 +01:00
</a> 1.8.11
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>