<ahref="metadata__manager_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * $Id$</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * Copyright (c) 2010-2011, Kaori Hagihara</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * All rights reserved.</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * are met:</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div><divclass="line"><aname="l00025"></a><spanclass=
<divclass="ttc"id="structmetadata__param_html_a541d51009050cd84ea43cfbbf62db97a"><divclass="ttname"><ahref="structmetadata__param.html#a541d51009050cd84ea43cfbbf62db97a">metadata_param::idx</a></div><divclass="ttdeci">Byte8_t idx</div><divclass="ttdoc">index number </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:44</div></div>
<divclass="ttc"id="structplaceholderlist__param_html"><divclass="ttname"><ahref="structplaceholderlist__param.html">placeholderlist_param</a></div><divclass="ttdoc">placeholder box list parameters </div><divclass="ttdef"><b>Definition:</b> placeholder_manager.h:58</div></div>
<divclass="ttc"id="structmetadata__param_html_a6f3009ef13d7ca39c04f41ac65357f8e"><divclass="ttname"><ahref="structmetadata__param.html#a6f3009ef13d7ca39c04f41ac65357f8e">metadata_param::boxlist</a></div><divclass="ttdeci">boxlist_param_t * boxlist</div><divclass="ttdoc">box list </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:45</div></div>
<divclass="ttc"id="metadata__manager_8h_html_ad9773ca1d84f23c695b20e6787a4cfd6"><divclass="ttname"><ahref="metadata__manager_8h.html#ad9773ca1d84f23c695b20e6787a4cfd6">delete_metadata</a></div><divclass="ttdeci">void delete_metadata(metadata_param_t **metadata)</div><divclass="ttdoc">delete a metadata bin </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:143</div></div>
<divclass="ttc"id="structboxcontents__param_html_aa758864b66702471066a2799982ed7ca"><divclass="ttname"><ahref="structboxcontents__param.html#aa758864b66702471066a2799982ed7ca">boxcontents_param::length</a></div><divclass="ttdeci">Byte8_t length</div><divclass="ttdoc">length of the box contents </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:39</div></div>
<divclass="ttc"id="metadata__manager_8h_html_a528be86459211df60b9a9bb8a78bb83e"><divclass="ttname"><ahref="metadata__manager_8h.html#a528be86459211df60b9a9bb8a78bb83e">gene_metadata</a></div><divclass="ttdeci">metadata_param_t * gene_metadata(Byte8_t idx, boxlist_param_t *boxlist, placeholderlist_param_t *phldlist, boxcontents_param_t *boxcontents)</div><divclass="ttdoc">generate a metadata bin </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:128</div></div>
<divclass="ttc"id="metadata__manager_8h_html_aaf53c8e8dc223c54970487cafe2ba7eb"><divclass="ttname"><ahref="metadata__manager_8h.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist</a></div><divclass="ttdeci">void delete_metadatalist(metadatalist_param_t **list)</div><divclass="ttdoc">delete metadata list </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:114</div></div>
<divclass="ttc"id="metadata__manager_8h_html_ab9f592ed4b91fe15b7b5f97972760eb6"><divclass="ttname"><ahref="metadata__manager_8h.html#ab9f592ed4b91fe15b7b5f97972760eb6">search_metadata</a></div><divclass="ttdeci">metadata_param_t * search_metadata(Byte8_t idx, metadatalist_param_t *list)</div><divclass="ttdoc">search a metadata bin by index </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:206</div></div>
<divclass="ttc"id="metadata__manager_8h_html_a17ebaeb53c239a6b5e0d8f77ea88ffac"><divclass="ttname"><ahref="metadata__manager_8h.html#a17ebaeb53c239a6b5e0d8f77ea88ffac">search_metadataidx</a></div><divclass="ttdeci">Byte8_t search_metadataidx(char boxtype[4], metadatalist_param_t *list)</div><divclass="ttdoc">search a metadata index by box-type </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:223</div></div>
<divclass="ttc"id="structmetadata__param_html_a7f99c3fb9a9d261ac2702ca072ac1d39"><divclass="ttname"><ahref="structmetadata__param.html#a7f99c3fb9a9d261ac2702ca072ac1d39">metadata_param::boxcontents</a></div><divclass="ttdeci">boxcontents_param_t * boxcontents</div><divclass="ttdoc">box contens in case of no boxlist and placeholderlist </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:48</div></div>
<divclass="ttc"id="structmetadatalist__param_html_aad4c3e25c058c90fd21bf232527c7391"><divclass="ttname"><ahref="structmetadatalist__param.html#aad4c3e25c058c90fd21bf232527c7391">metadatalist_param::last</a></div><divclass="ttdeci">metadata_param_t * last</div><divclass="ttdoc">last metadata-bin pointer of the list </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:56</div></div>
<divclass="ttc"id="structmetadata__param_html_a2c32a344c91035f724e8baaca01ece9a"><divclass="ttname"><ahref="structmetadata__param.html#a2c32a344c91035f724e8baaca01ece9a">metadata_param::next</a></div><divclass="ttdeci">struct metadata_param * next</div><divclass="ttdoc">pointer to the next metadata-bin </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:49</div></div>
<divclass="ttc"id="structboxlist__param_html"><divclass="ttname"><ahref="structboxlist__param.html">boxlist_param</a></div><divclass="ttdoc">Box list parameters. </div><divclass="ttdef"><b>Definition:</b> box_manager.h:48</div></div>
<divclass="ttc"id="structmetadatalist__param_html_a8137e17639987080af7fe611ccdba82a"><divclass="ttname"><ahref="structmetadatalist__param.html#a8137e17639987080af7fe611ccdba82a">metadatalist_param::first</a></div><divclass="ttdeci">metadata_param_t * first</div><divclass="ttdoc">first metadata-bin pointer of the list </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:55</div></div>
<divclass="ttc"id="structboxcontents__param_html_a12c1d794a19e0ad0f1ad98933c23e43a"><divclass="ttname"><ahref="structboxcontents__param.html#a12c1d794a19e0ad0f1ad98933c23e43a">boxcontents_param::offset</a></div><divclass="ttdeci">OPJ_OFF_T offset</div><divclass="ttdoc">byte position of the box contents in the file </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:38</div></div>
<divclass="ttc"id="metadata__manager_8h_html_a03c8182628aa31f07dbca72fe966676a"><divclass="ttname"><ahref="metadata__manager_8h.html#a03c8182628aa31f07dbca72fe966676a">const_metadatalist</a></div><divclass="ttdeci">metadatalist_param_t * const_metadatalist(int fd)</div><divclass="ttdoc">construct metadata-bin list of JP2 file </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:61</div></div>
<divclass="ttc"id="metadata__manager_8h_html_a109c77c889ca43e454720f61692bd960"><divclass="ttname"><ahref="metadata__manager_8h.html#a109c77c889ca43e454720f61692bd960">gene_metadatalist</a></div><divclass="ttdeci">metadatalist_param_t * gene_metadatalist(void)</div><divclass="ttdoc">generate a metadata list </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:49</div></div>
<divclass="ttc"id="metadata__manager_8h_html_a8e410fd79f45c942e025e1d43b4ddd04"><divclass="ttname"><ahref="metadata__manager_8h.html#a8e410fd79f45c942e025e1d43b4ddd04">insert_metadata_into_list</a></div><divclass="ttdeci">void insert_metadata_into_list(metadata_param_t *metabin, metadatalist_param_t *metadatalist)</div><divclass="ttdoc">insert a metadata-bin into list </div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:156</div></div>
<divclass="ttc"id="structmetadatalist__param_html"><divclass="ttname"><ahref="structmetadatalist__param.html">metadatalist_param</a></div><divclass="ttdoc">metadata-bin list parameters </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:54</div></div>