<ahref="boxheader__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="aboxheader__manager_8c_html_ad67b5454e29ddcd711d07eaddbe29f67"><divclass="ttname"><ahref="boxheader__manager_8c.html#ad67b5454e29ddcd711d07eaddbe29f67">gene_boxheader</a></div><divclass="ttdeci">boxheader_param_t * gene_boxheader(int fd, OPJ_OFF_T offset)</div><divclass="ttdoc">generate a box header at the given offset</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.c:48</div></div>
<divclass="ttc"id="astructboxheader__param_html_aabf782e3d43e158e4477308c11670ac4"><divclass="ttname"><ahref="structboxheader__param.html#aabf782e3d43e158e4477308c11670ac4">boxheader_param::headlen</a></div><divclass="ttdeci">Byte_t headlen</div><divclass="ttdoc">header length 8 or 16</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.h:40</div></div>
<divclass="ttc"id="astructboxheader__param_html_a24a521b8c32b65e2354e67191c14f232"><divclass="ttname"><ahref="structboxheader__param.html#a24a521b8c32b65e2354e67191c14f232">boxheader_param::next</a></div><divclass="ttdeci">struct boxheader_param * next</div><divclass="ttdoc">pointer to the next header box</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.h:43</div></div>
<divclass="ttc"id="abyte__manager_8c_html_a72b441947e1fab5e8dd83fdc985bf29c"><divclass="ttname"><ahref="byte__manager_8c.html#a72b441947e1fab5e8dd83fdc985bf29c">fetch_4bytebigendian</a></div><divclass="ttdeci">Byte4_t fetch_4bytebigendian(int fd, OPJ_OFF_T offset)</div><divclass="ttdoc">fetch a 4-byte big endian Byte codes in file stream</div><divclass="ttdef"><b>Definition:</b> byte_manager.c:109</div></div>
<divclass="ttc"id="abyte__manager_8c_html_a62851758f9c2af1b12995190a1e4e909"><divclass="ttname"><ahref="byte__manager_8c.html#a62851758f9c2af1b12995190a1e4e909">fetch_bytes</a></div><divclass="ttdeci">Byte_t * fetch_bytes(int fd, OPJ_OFF_T offset, OPJ_SIZE_T size)</div><divclass="ttdoc">fetch bytes of data in file stream</div><divclass="ttdef"><b>Definition:</b> byte_manager.c:52</div></div>
<divclass="ttc"id="aboxheader__manager_8h_html_acef0f9dedbcfe391a86a87b5693fda5a"><divclass="ttname"><ahref="boxheader__manager_8h.html#acef0f9dedbcfe391a86a87b5693fda5a">gene_childboxheader</a></div><divclass="ttdeci">boxheader_param_t * gene_childboxheader(box_param_t *superbox, OPJ_OFF_T offset)</div><divclass="ttdoc">generate a child box header at the given offset</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.c:74</div></div>
<divclass="ttc"id="aboxheader__manager_8c_html_acef0f9dedbcfe391a86a87b5693fda5a"><divclass="ttname"><ahref="boxheader__manager_8c.html#acef0f9dedbcfe391a86a87b5693fda5a">gene_childboxheader</a></div><divclass="ttdeci">boxheader_param_t * gene_childboxheader(box_param_t *superbox, OPJ_OFF_T offset)</div><divclass="ttdoc">generate a child box header at the given offset</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.c:74</div></div>
<divclass="ttc"id="abyte__manager_8c_html_ae4d6ed0e45814368ab976a1530b8c780"><divclass="ttname"><ahref="byte__manager_8c.html#ae4d6ed0e45814368ab976a1530b8c780">fetch_8bytebigendian</a></div><divclass="ttdeci">Byte8_t fetch_8bytebigendian(int fd, OPJ_OFF_T offset)</div><divclass="ttdoc">fetch a 8-byte big endian Byte codes in file stream</div><divclass="ttdef"><b>Definition:</b> byte_manager.c:125</div></div>
<divclass="ttc"id="aboxheader__manager_8h_html_ad67b5454e29ddcd711d07eaddbe29f67"><divclass="ttname"><ahref="boxheader__manager_8h.html#ad67b5454e29ddcd711d07eaddbe29f67">gene_boxheader</a></div><divclass="ttdeci">boxheader_param_t * gene_boxheader(int fd, OPJ_OFF_T offset)</div><divclass="ttdoc">generate a box header at the given offset</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.c:48</div></div>
<divclass="ttc"id="astructboxheader__param_html_a2a90e59fdad1a3ff2c0f40b4dfff7ed1"><divclass="ttname"><ahref="structboxheader__param.html#a2a90e59fdad1a3ff2c0f40b4dfff7ed1">boxheader_param::length</a></div><divclass="ttdeci">Byte8_t length</div><divclass="ttdoc">length of the reference Box</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.h:41</div></div>
<divclass="ttc"id="astructboxheader__param_html_ad64aefab7bef517b0bfe152352f89d99"><divclass="ttname"><ahref="structboxheader__param.html#ad64aefab7bef517b0bfe152352f89d99">boxheader_param::type</a></div><divclass="ttdeci">char type[4]</div><divclass="ttdoc">type of information in the DBox</div><divclass="ttdef"><b>Definition:</b> boxheader_manager.h:42</div></div>