<ahref="index__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="li
<divclass="ttc"id="struct_c_o_dmarker__param_html_a4fa6918eab9671421653498def3f4df7"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#a4fa6918eab9671421653498def3f4df7">CODmarker_param::Scod</a></div><divclass="ttdeci">Byte_t Scod</div><divclass="ttdoc">Coding style for all components. </div><divclass="ttdef"><b>Definition:</b> index_manager.h:77</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a13718b50fb1f83e7e5eb9ef931a553e9"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a13718b50fb1f83e7e5eb9ef931a553e9">SIZmarker_param::Ssiz</a></div><divclass="ttdeci">Byte_t Ssiz[3]</div><divclass="ttdoc">precision (depth) in bits and sign of the component samples </div><divclass="ttdef"><b>Definition:</b> index_manager.h:69</div></div>
<divclass="ttc"id="structrange__param_html_a610da2d205ffde3ab43c83ef0eaaf3c1"><divclass="ttname"><ahref="structrange__param.html#a610da2d205ffde3ab43c83ef0eaaf3c1">range_param::maxvalue</a></div><divclass="ttdeci">Byte4_t maxvalue</div><divclass="ttdoc">maximal value </div><divclass="ttdef"><b>Definition:</b> index_manager.h:149</div></div>
<divclass="ttc"id="index__manager_8h_html_aa881371ab6d9fe66e6150451d43fd4f6"><divclass="ttname"><ahref="index__manager_8h.html#aa881371ab6d9fe66e6150451d43fd4f6">get_tile_Yrange</a></div><divclass="ttdeci">range_param_t get_tile_Yrange(SIZmarker_param_t SIZ, Byte4_t tile_id, int level)</div><divclass="ttdoc">get vertical range of the tile in reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.c:727</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html">SIZmarker_param</a></div><divclass="ttdoc">progression order </div><divclass="ttdef"><b>Definition:</b> index_manager.h:55</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a5a9e6d3f2d4918549184415e4b19eea0"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a5a9e6d3f2d4918549184415e4b19eea0">SIZmarker_param::YTnum</a></div><divclass="ttdeci">Byte4_t YTnum</div><divclass="ttdoc">number of tiles in vertical direction </div><divclass="ttdef"><b>Definition:</b> index_manager.h:67</div></div>
<divclass="ttc"id="struct_c_o_dmarker__param_html_a5ae73f1bec721bdd4d33728091db15b6"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#a5ae73f1bec721bdd4d33728091db15b6">CODmarker_param::prog_order</a></div><divclass="ttdeci">OPJ_PROG_ORDER prog_order</div><divclass="ttdoc">progression order </div><divclass="ttdef"><b>Definition:</b> index_manager.h:78</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a79ad27514d2f6de09b1dc2487c41e59d"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a79ad27514d2f6de09b1dc2487c41e59d">SIZmarker_param::XRsiz</a></div><divclass="ttdeci">Byte_t XRsiz[3]</div><divclass="ttdoc">horizontal separation of a sample of component with respect to the reference grid ...</div><divclass="ttdef"><b>Definition:</b> index_manager.h:70</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a8de864778880574d3b7c27dd13462a85"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a8de864778880574d3b7c27dd13462a85">SIZmarker_param::Csiz</a></div><divclass="ttdeci">Byte2_t Csiz</div><divclass="ttdoc">number of the components in the image </div><divclass="ttdef"><b>Definition:</b> index_manager.h:68</div></div>
<divclass="ttc"id="index__manager_8h_html_aad063c864473ce7ae7a16d9955594f3a"><divclass="ttname"><ahref="index__manager_8h.html#aad063c864473ce7ae7a16d9955594f3a">SIZmarker_param_t</a></div><divclass="ttdeci">struct SIZmarker_param SIZmarker_param_t</div><divclass="ttdoc">progression order </div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_aa1dc0a9082714efdd8bfa4c6ed6e3327"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#aa1dc0a9082714efdd8bfa4c6ed6e3327">SIZmarker_param::YTsiz</a></div><divclass="ttdeci">Byte4_t YTsiz</div><divclass="ttdoc">height of one reference tile with respect to the reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.h:63</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a90f95a5cbb8edd382b995e8bfd0f56f9"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a90f95a5cbb8edd382b995e8bfd0f56f9">SIZmarker_param::XTOsiz</a></div><divclass="ttdeci">Byte4_t XTOsiz</div><divclass="ttdoc">horizontal offset from the origin of the reference grid to the left side of the first tile ...</div><divclass="ttdef"><b>Definition:</b> index_manager.h:64</div></div>
<divclass="ttc"id="struct_c_o_dmarker__param_html_a4b9375e1901cd5ab4ac9b1326f404758"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#a4b9375e1901cd5ab4ac9b1326f404758">CODmarker_param::numOflayers</a></div><divclass="ttdeci">Byte2_t numOflayers</div><divclass="ttdoc">number of layers </div><divclass="ttdef"><b>Definition:</b> index_manager.h:79</div></div>
<divclass="ttc"id="structindex__param_html_abbf2b7d27ed7e860fd67ba9a58af1514"><divclass="ttname"><ahref="structindex__param.html#abbf2b7d27ed7e860fd67ba9a58af1514">index_param::tilepart</a></div><divclass="ttdeci">faixbox_param_t * tilepart</div><divclass="ttdoc">tile part information from tpix box </div><divclass="ttdef"><b>Definition:</b> index_manager.h:93</div></div>
<divclass="ttc"id="structindex__param_html_a7400fd13418cd272c8049388721688aa"><divclass="ttname"><ahref="structindex__param.html#a7400fd13418cd272c8049388721688aa">index_param::precpacket</a></div><divclass="ttdeci">faixbox_param_t ** precpacket</div><divclass="ttdoc">dynamic array of precint packet information from ppix box </div><divclass="ttdef"><b>Definition:</b> index_manager.h:97</div></div>
<divclass="ttc"id="structindex__param_html_aff731fe41300090d3dce7fb28d6cb245"><divclass="ttname"><ahref="structindex__param.html#aff731fe41300090d3dce7fb28d6cb245">index_param::metadatalist</a></div><divclass="ttdeci">metadatalist_param_t * metadatalist</div><divclass="ttdoc">metadata-bin list </div><divclass="ttdef"><b>Definition:</b> index_manager.h:87</div></div>
<divclass="ttc"id="struct_c_o_dmarker__param_html_aecda2eeb8332cff348b11d0c09540b9c"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#aecda2eeb8332cff348b11d0c09540b9c">CODmarker_param::XPsiz</a></div><divclass="ttdeci">Byte4_t * XPsiz</div><divclass="ttdoc">dynamic array of precinct width at successive resolution level in order </div><divclass="ttdef"><b>Definition:</b> index_manager.h:81</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a04d37f31c54e9ff34a328532e83ff059"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a04d37f31c54e9ff34a328532e83ff059">SIZmarker_param::Lsiz</a></div><divclass="ttdeci">Byte2_t Lsiz</div><divclass="ttdoc">length of marker segment excluding the marker </div><divclass="ttdef"><b>Definition:</b> index_manager.h:56</div></div>
<divclass="ttc"id="index__manager_8h_html_ae9e9b509e0078e503da1c0564644a193"><divclass="ttname"><ahref="index__manager_8h.html#ae9e9b509e0078e503da1c0564644a193">isJPTfeasible</a></div><divclass="ttdeci">OPJ_BOOL isJPTfeasible(index_param_t index)</div><divclass="ttdoc">answers if the target is feasible to JPT-stream </div><divclass="ttdef"><b>Definition:</b> index_manager.c:784</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a87cc22a74996709f8ff25e4a80cc6e91"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a87cc22a74996709f8ff25e4a80cc6e91">SIZmarker_param::Rsiz</a></div><divclass="ttdeci">Byte2_t Rsiz</div><divclass="ttdoc">capabilities that a decoder needs </div><divclass="ttdef"><b>Definition:</b> index_manager.h:57</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a3d2f0d96ab372070bcd8a9d3b85a2d07"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a3d2f0d96ab372070bcd8a9d3b85a2d07">SIZmarker_param::YTOsiz</a></div><divclass="ttdeci">Byte4_t YTOsiz</div><divclass="ttdoc">vertical offset from the origin of the reference grid to the top side of the first tile ...</div><divclass="ttdef"><b>Definition:</b> index_manager.h:65</div></div>
<divclass="ttc"id="index__manager_8h_html_a363e109f12af309bc22a5fbc251b46ce"><divclass="ttname"><ahref="index__manager_8h.html#a363e109f12af309bc22a5fbc251b46ce">get_tile_XSiz</a></div><divclass="ttdeci">Byte4_t get_tile_XSiz(SIZmarker_param_t SIZ, Byte4_t tile_id, int level)</div><divclass="ttdoc">get tile wdith at the decomposition level </div><divclass="ttdef"><b>Definition:</b> index_manager.c:749</div></div>
<divclass="ttc"id="index__manager_8h_html_a89abd290cab4747e57da4648eab0103d"><divclass="ttname"><ahref="index__manager_8h.html#a89abd290cab4747e57da4648eab0103d">get_tile_YSiz</a></div><divclass="ttdeci">Byte4_t get_tile_YSiz(SIZmarker_param_t SIZ, Byte4_t tile_id, int level)</div><divclass="ttdef"><b>Definition:</b> index_manager.c:757</div></div>
<divclass="ttc"id="index__manager_8h_html_a13edadac7bbb0f6c68e320955f61e9d0"><divclass="ttname"><ahref="index__manager_8h.html#a13edadac7bbb0f6c68e320955f61e9d0">print_SIZ</a></div><divclass="ttdeci">void print_SIZ(SIZmarker_param_t SIZ)</div><divclass="ttdoc">print Image and Tile SIZ parameters </div><divclass="ttdef"><b>Definition:</b> index_manager.c:151</div></div>
<divclass="ttc"id="index__manager_8h_html_a8547a6683f5846c256ed1a0b5a55ad29"><divclass="ttname"><ahref="index__manager_8h.html#a8547a6683f5846c256ed1a0b5a55ad29">delete_index</a></div><divclass="ttdeci">void delete_index(index_param_t **index)</div><divclass="ttdoc">delete index </div><divclass="ttdef"><b>Definition:</b> index_manager.c:192</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_ad8dca49bdd3b445532a377cf29cc5616"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#ad8dca49bdd3b445532a377cf29cc5616">SIZmarker_param::XTsiz</a></div><divclass="ttdeci">Byte4_t XTsiz</div><divclass="ttdoc">width of one reference tile with respect to the reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.h:62</div></div>
<divclass="ttc"id="index__manager_8h_html_a2e6b72c6590f693f84e3975997c94989"><divclass="ttname"><ahref="index__manager_8h.html#a2e6b72c6590f693f84e3975997c94989">get_tile_Xrange</a></div><divclass="ttdeci">range_param_t get_tile_Xrange(SIZmarker_param_t SIZ, Byte4_t tile_id, int level)</div><divclass="ttdoc">get horizontal range of the tile in reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.c:721</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a0f9f980e4c36fb394b87f4041b8344c6"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a0f9f980e4c36fb394b87f4041b8344c6">SIZmarker_param::Ysiz</a></div><divclass="ttdeci">Byte4_t Ysiz</div><divclass="ttdoc">height of the reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.h:59</div></div>
<divclass="ttc"id="struct_c_o_dmarker__param_html_a8b5a7ec3922783dbb050dd2c6ee729a3"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#a8b5a7ec3922783dbb050dd2c6ee729a3">CODmarker_param::numOfdecomp</a></div><divclass="ttdeci">Byte_t numOfdecomp</div><divclass="ttdoc">number of decompositions levels </div><divclass="ttdef"><b>Definition:</b> index_manager.h:80</div></div>
<divclass="ttc"id="struct_c_o_dmarker__param_html_a9991aeac9582166cff53a31a17ac4e1a"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#a9991aeac9582166cff53a31a17ac4e1a">CODmarker_param::YPsiz</a></div><divclass="ttdeci">Byte4_t * YPsiz</div><divclass="ttdoc">dynamic array of precinct height at successive resolution level in order </div><divclass="ttdef"><b>Definition:</b> index_manager.h:82</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_aafe7317077e6f622c29cbad5c76b1e0e"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#aafe7317077e6f622c29cbad5c76b1e0e">SIZmarker_param::XOsiz</a></div><divclass="ttdeci">Byte4_t XOsiz</div><divclass="ttdoc">horizontal offset from the origin of the reference grid to the left side of the image area ...</div><divclass="ttdef"><b>Definition:</b> index_manager.h:60</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a6871c1df6924ded7d2bbda1db7d4d22e"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a6871c1df6924ded7d2bbda1db7d4d22e">SIZmarker_param::YOsiz</a></div><divclass="ttdeci">Byte4_t YOsiz</div><divclass="ttdoc">vertical offset from the origin of the reference grid to the top side of the image area ...</div><divclass="ttdef"><b>Definition:</b> index_manager.h:61</div></div>
<divclass="ttc"id="structrange__param_html_adf2276321c59f98453800a4d35435048"><divclass="ttname"><ahref="structrange__param.html#adf2276321c59f98453800a4d35435048">range_param::minvalue</a></div><divclass="ttdeci">Byte4_t minvalue</div><divclass="ttdoc">minimal value </div><divclass="ttdef"><b>Definition:</b> index_manager.h:148</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a79168a3b2807f62ba9efd85676e4ca7c"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a79168a3b2807f62ba9efd85676e4ca7c">SIZmarker_param::XTnum</a></div><divclass="ttdeci">Byte4_t XTnum</div><divclass="ttdoc">number of tiles in horizontal direction </div><divclass="ttdef"><b>Definition:</b> index_manager.h:66</div></div>
<divclass="ttc"id="structrange__param_html"><divclass="ttname"><ahref="structrange__param.html">range_param</a></div><divclass="ttdoc">1-dimensional range parameters </div><divclass="ttdef"><b>Definition:</b> index_manager.h:147</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a93eb50194320c4282d09617e853518c1"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a93eb50194320c4282d09617e853518c1">SIZmarker_param::YRsiz</a></div><divclass="ttdeci">Byte_t YRsiz[3]</div><divclass="ttdoc">vertical separation of a sample of component with respect to the reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.h:71</div></div>
<divclass="ttc"id="struct_s_i_zmarker__param_html_a9a138921fb5a8e902b627ae02b6ffb3f"><divclass="ttname"><ahref="struct_s_i_zmarker__param.html#a9a138921fb5a8e902b627ae02b6ffb3f">SIZmarker_param::Xsiz</a></div><divclass="ttdeci">Byte4_t Xsiz</div><divclass="ttdoc">width of the reference grid </div><divclass="ttdef"><b>Definition:</b> index_manager.h:58</div></div>
<divclass="ttc"id="struct_c_o_dmarker__param_html_aaa174b456bfeb15a6bf45e0b775df2c7"><divclass="ttname"><ahref="struct_c_o_dmarker__param.html#aaa174b456bfeb15a6bf45e0b775df2c7">CODmarker_param::Lcod</a></div><divclass="ttdeci">Byte2_t Lcod</div><divclass="ttdoc">length of marker segment excluding the marker </div><divclass="ttdef"><b>Definition:</b> index_manager.h:76</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>