<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="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="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="lineno"> 25</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="astructbox__param_html_a8d5dba02e64d6c60e2805ee5c62c2d41"><divclass="ttname"><ahref="structbox__param.html#a8d5dba02e64d6c60e2805ee5c62c2d41">box_param::next</a></div><divclass="ttdeci">struct box_param * next</div><divclass="ttdoc">pointer to the next box</div><divclass="ttdef"><b>Definition:</b> box_manager.h:43</div></div>
<divclass="ttc"id="ametadata__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="ametadata__manager_8h_html_a8ec018d5900f7a94fed49db0d823e508"><divclass="ttname"><ahref="metadata__manager_8h.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata</a></div><divclass="ttdeci">void print_allmetadata(metadatalist_param_t *list)</div><divclass="ttdoc">print all metadata parameters</div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:182</div></div>
<divclass="ttc"id="ametadata__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="astructboxcontents__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="astructmetadatalist__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="ametadata__manager_8c_html_ab9f592ed4b91fe15b7b5f97972760eb6"><divclass="ttname"><ahref="metadata__manager_8c.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="ametadata__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="astructmetadatalist__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>
<divclass="ttc"id="ametadata__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="astructmetadata__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="astructplaceholder__param_html_ada93388974300217fc48d461e665d70f"><divclass="ttname"><ahref="structplaceholder__param.html#ada93388974300217fc48d461e665d70f">placeholder_param::next</a></div><divclass="ttdeci">struct placeholder_param * next</div><divclass="ttdoc">pointer to the next placeholder</div><divclass="ttdef"><b>Definition:</b> placeholder_manager.h:53</div></div>
<divclass="ttc"id="ametadata__manager_8c_html_a8e410fd79f45c942e025e1d43b4ddd04"><divclass="ttname"><ahref="metadata__manager_8c.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="astructplaceholderlist__param_html_a74e2305307cdf8dc81757edeaef3efb7"><divclass="ttname"><ahref="structplaceholderlist__param.html#a74e2305307cdf8dc81757edeaef3efb7">placeholderlist_param::first</a></div><divclass="ttdeci">placeholder_param_t * first</div><divclass="ttdoc">first placeholder pointer of the list</div><divclass="ttdef"><b>Definition:</b> placeholder_manager.h:59</div></div>
<divclass="ttc"id="ametadata__manager_8c_html_a17ebaeb53c239a6b5e0d8f77ea88ffac"><divclass="ttname"><ahref="metadata__manager_8c.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="ametadata__manager_8c_html_a109c77c889ca43e454720f61692bd960"><divclass="ttname"><ahref="metadata__manager_8c.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="astructbox__param_html_a24767e2a946d939983ba55efa8fdfb7a"><divclass="ttname"><ahref="structbox__param.html#a24767e2a946d939983ba55efa8fdfb7a">box_param::type</a></div><divclass="ttdeci">char type[4]</div><divclass="ttdoc">type of information in the DBox</div><divclass="ttdef"><b>Definition:</b> box_manager.h:42</div></div>
<divclass="ttc"id="abox__manager_8c_html_a77ada7ec552ad6aecf1de5ecb1ec27bb"><divclass="ttname"><ahref="box__manager_8c.html#a77ada7ec552ad6aecf1de5ecb1ec27bb">delete_box_in_list</a></div><divclass="ttdeci">void delete_box_in_list(box_param_t **box, boxlist_param_t *boxlist)</div><divclass="ttdoc">delete a box in list</div><divclass="ttdef"><b>Definition:</b> box_manager.c:395</div></div>
<divclass="ttc"id="ametadata__manager_8c_html_a8ec018d5900f7a94fed49db0d823e508"><divclass="ttname"><ahref="metadata__manager_8c.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata</a></div><divclass="ttdeci">void print_allmetadata(metadatalist_param_t *list)</div><divclass="ttdoc">print all metadata parameters</div><divclass="ttdef"><b>Definition:</b> metadata_manager.c:182</div></div>
<divclass="ttc"id="ametadata__manager_8h_html_a931a067cd413bca0c2a5edac4f6a1221"><divclass="ttname"><ahref="metadata__manager_8h.html#a931a067cd413bca0c2a5edac4f6a1221">metadatalist_param_t</a></div><divclass="ttdeci">struct metadatalist_param metadatalist_param_t</div><divclass="ttdoc">metadata-bin list parameters</div></div>
<divclass="ttc"id="astructmetadata__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 contents in case of no boxlist and placeholderlist</div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:48</div></div>
<divclass="ttc"id="ametadata__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="aplaceholder__manager_8c_html_a8873baefe7dc20da6b09381596c7586a"><divclass="ttname"><ahref="placeholder__manager_8c.html#a8873baefe7dc20da6b09381596c7586a">gene_placeholderlist</a></div><divclass="ttdeci">placeholderlist_param_t * gene_placeholderlist(void)</div><divclass="ttdoc">generate a placeholder list</div><divclass="ttdef"><b>Definition:</b> placeholder_manager.c:48</div></div>
<divclass="ttc"id="astructmetadatalist__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="astructboxlist__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="aplaceholder__manager_8c_html_a84052c7972d32e6fa2b3f9ed351805b2"><divclass="ttname"><ahref="placeholder__manager_8c.html#a84052c7972d32e6fa2b3f9ed351805b2">print_allplaceholder</a></div><divclass="ttdeci">void print_allplaceholder(placeholderlist_param_t *list)</div><divclass="ttdoc">print all placeholder parameters</div><divclass="ttdef"><b>Definition:</b> placeholder_manager.c:137</div></div>
<divclass="ttc"id="astructplaceholderlist__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="astructboxcontents__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="astructboxlist__param_html_af63af9b68990700ca5e5a464ddb18dc4"><divclass="ttname"><ahref="structboxlist__param.html#af63af9b68990700ca5e5a464ddb18dc4">boxlist_param::first</a></div><divclass="ttdeci">box_param_t * first</div><divclass="ttdoc">first box pointer of the list</div><divclass="ttdef"><b>Definition:</b> box_manager.h:49</div></div>
<divclass="ttc"id="ametadata__manager_8c_html_a03c8182628aa31f07dbca72fe966676a"><divclass="ttname"><ahref="metadata__manager_8c.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="aplaceholder__manager_8c_html_ab98bea9b6be61f2e65a04df5745d9eb7"><divclass="ttname"><ahref="placeholder__manager_8c.html#ab98bea9b6be61f2e65a04df5745d9eb7">gene_placeholder</a></div><divclass="ttdeci">placeholder_param_t * gene_placeholder(box_param_t *box, Byte8_t origID)</div><divclass="ttdoc">generate a placeholder of a box</div><divclass="ttdef"><b>Definition:</b> placeholder_manager.c:78</div></div>