openjpeg/doxygen/indexbox__manager_8h_source...

230 lines
36 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: indexbox_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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<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_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">indexbox_manager.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="indexbox__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: indexbox_manager.h 897 2011-08-28 21:43:57Z Kaori.Hagihara@gmail.com $</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) 2003-2004, Yannick Verschueren</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (c) 2010-2011, Kaori Hagihara</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * are met:</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</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="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#ifndef INDEXBOX_MANAGER_H_</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor"># define INDEXBOX_MANAGER_H_</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="openjpeg_8h.html">openjpeg.h</a>&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="j2k_8h.html">j2k.h</a>&quot;</span> <span class="comment">/* needed to use jp2.h */</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="jp2_8h.html">jp2.h</a>&quot;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#aa0bc25266878955cf1286811fabf3f36"> 43</a></span>&#160;<span class="preprocessor">#define JPIP_CIDX 0x63696478 </span><span class="comment">/* Codestream index */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a4346a86b7004543359c7fc2503045f08"> 44</a></span>&#160;<span class="preprocessor">#define JPIP_CPTR 0x63707472 </span><span class="comment">/* Codestream Finder Box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#ab5d2329743d60f1b35c279008eef4b2b"> 45</a></span>&#160;<span class="preprocessor">#define JPIP_MANF 0x6d616e66 </span><span class="comment">/* Manifest Box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a182f6e3b0eb1cc56f7c2d5f55eeb5241"> 46</a></span>&#160;<span class="preprocessor">#define JPIP_FAIX 0x66616978 </span><span class="comment">/* Fragment array Index box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a73874edb5b156e498e4f4efe7334cf90"> 47</a></span>&#160;<span class="preprocessor">#define JPIP_MHIX 0x6d686978 </span><span class="comment">/* Main Header Index Table */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a5bb0059d5f0d95c826cfc5b3b1938a33"> 48</a></span>&#160;<span class="preprocessor">#define JPIP_TPIX 0x74706978 </span><span class="comment">/* Tile-part Index Table box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a09d6c82d51a0758a3e06acdbc7fc20d8"> 49</a></span>&#160;<span class="preprocessor">#define JPIP_THIX 0x74686978 </span><span class="comment">/* Tile header Index Table box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a8b81116d92cda4cd13d5601224ae4d8b"> 50</a></span>&#160;<span class="preprocessor">#define JPIP_PPIX 0x70706978 </span><span class="comment">/* Precinct Packet Index Table box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a6a70ff8bebdef5b376831d8e59c79660"> 51</a></span>&#160;<span class="preprocessor">#define JPIP_PHIX 0x70686978 </span><span class="comment">/* Packet Header index Table */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a79460c0b981ea10cba58b68f3abbf777"> 52</a></span>&#160;<span class="preprocessor">#define JPIP_FIDX 0x66696478 </span><span class="comment">/* File Index */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a50ff9b7216fe0d47c6b0b96a1e089e41"> 53</a></span>&#160;<span class="preprocessor">#define JPIP_FPTR 0x66707472 </span><span class="comment">/* File Finder */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a4493d506d4e7b71c4ce62bb635397f83"> 54</a></span>&#160;<span class="preprocessor">#define JPIP_PRXY 0x70727879 </span><span class="comment">/* Proxy boxes */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#a4d2d03928a21472bdbd236a32bb3065f"> 55</a></span>&#160;<span class="preprocessor">#define JPIP_IPTR 0x69707472 </span><span class="comment">/* Index finder box */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="indexbox__manager_8h.html#abe1910f5d635a3f525b85b0a7ed5086f"> 56</a></span>&#160;<span class="preprocessor">#define JPIP_PHLD 0x70686c64 </span><span class="comment">/* Place holder */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="comment"> * Write tile-part Index table box (superbox)</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment"> * @param[in] coff offset of j2k codestream</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"> * @param[in] cstr_info codestream information</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="comment"> * @param[in] j2klen length of j2k codestream</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment"> * @param[in] cio file output handle</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment"> * @return length of tpix box</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix</a>(<span class="keywordtype">int</span> coff, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info, <span class="keywordtype">int</span> j2klen,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment"> * Write tile header index table box (superbox)</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="comment"> * @param[in] coff offset of j2k codestream</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="comment"> * @param[in] cstr_info codestream information pointer</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="comment"> * @param[in] cio file output handle</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="comment"> * @return length of thix box</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#a7a270921f503df83233bf10d9008c61c">opj_write_thix</a>(<span class="keywordtype">int</span> coff, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info,</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio, <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="comment"> * Write precinct packet index table box (superbox)</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="comment"> * @param[in] coff offset of j2k codestream</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="comment"> * @param[in] cstr_info codestream information</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="comment"> * @param[in] EPHused true if EPH option used</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="comment"> * @param[in] j2klen length of j2k codestream</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="comment"> * @param[in] cio file output handle</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="comment"> * @return length of ppix box</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#ada83077c95f10b8beceaa9f447b5ef80">opj_write_ppix</a>(<span class="keywordtype">int</span> coff, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> EPHused,</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordtype">int</span> j2klen, <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="comment"> * Write packet header index table box (superbox)</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="comment"> * @param[in] coff offset of j2k codestream</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="comment"> * @param[in] cstr_info codestream information</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="comment"> * @param[in] EPHused true if EPH option used</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="comment"> * @param[in] j2klen length of j2k codestream</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="comment"> * @param[in] cio file output handle</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="comment"> * @return length of ppix box</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#a5c0dbd417439692b345a68a703755143">opj_write_phix</a>(<span class="keywordtype">int</span> coff, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> EPHused,</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">int</span> j2klen, <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="comment"> * Write manifest box (box)</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="comment"> * @param[in] second number to be visited</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="comment"> * @param[in] v number of boxes</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="comment"> * @param[in] box box to be manifested</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="comment"> * @param[in] cio file output handle</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="keywordtype">void</span> <a class="code" href="indexbox__manager_8h.html#ae302b0ef07e61195c96fb07fad26337b">opj_write_manf</a>(<span class="keywordtype">int</span> second,</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">int</span> v,</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="structopj__jp2__box.html">opj_jp2_box_t</a> *box,</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="comment"> * Write main header index table (box)</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="comment"> * @param[in] coff offset of j2k codestream</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;<span class="comment"> * @param[in] cstr_info codestream information</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="comment"> * @param[in] cio file output handle</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="comment"> * @return length of mainmhix box</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#a5b7b8e2e0362e45ddf422eead3e7c605">opj_write_mainmhix</a>(<span class="keywordtype">int</span> coff, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info,</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix</a>(<span class="keywordtype">int</span> coff, <span class="keywordtype">int</span> compno, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info,</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> EPHused, <span class="keywordtype">int</span> j2klen, <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#ac7ae0747dadd5ef6cc00b10a142341a9">opj_write_ppixfaix</a>(<span class="keywordtype">int</span> coff, <span class="keywordtype">int</span> compno, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info,</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> EPHused, <span class="keywordtype">int</span> j2klen, <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#a24b7aeffc984ce09ff26e817449f3a1a">opj_write_tilemhix</a>(<span class="keywordtype">int</span> coff, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info, <span class="keywordtype">int</span> tileno,</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="keywordtype">int</span> <a class="code" href="indexbox__manager_8h.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix</a>(<span class="keywordtype">int</span> coff, <span class="keywordtype">int</span> compno, <a class="code" href="structopj__codestream__info.html">opj_codestream_info_t</a> cstr_info,</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordtype">int</span> j2klen, <a class="code" href="structopj__stream__private.html">opj_stream_private_t</a> *cio,</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="structopj__event__mgr.html">opj_event_mgr_t</a> * p_manager);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !INDEXBOX_MANAGER_H_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aindexbox__manager_8h_html_a24b7aeffc984ce09ff26e817449f3a1a"><div class="ttname"><a href="indexbox__manager_8h.html#a24b7aeffc984ce09ff26e817449f3a1a">opj_write_tilemhix</a></div><div class="ttdeci">int opj_write_tilemhix(int coff, opj_codestream_info_t cstr_info, int tileno, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> thix_manager.c:97</div></div>
<div class="ttc" id="aj2k_8h_html"><div class="ttname"><a href="j2k_8h.html">j2k.h</a></div><div class="ttdoc">The JPEG-2000 Codestream Reader/Writer (J2K)</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a5c0dbd417439692b345a68a703755143"><div class="ttname"><a href="indexbox__manager_8h.html#a5c0dbd417439692b345a68a703755143">opj_write_phix</a></div><div class="ttdeci">int opj_write_phix(int coff, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> phix_manager.c:51</div></div>
<div class="ttc" id="astructopj__event__mgr_html"><div class="ttname"><a href="structopj__event__mgr.html">opj_event_mgr</a></div><div class="ttdoc">Message handler object used for.</div><div class="ttdef"><b>Definition:</b> event.h:50</div></div>
<div class="ttc" id="ajp2_8h_html"><div class="ttname"><a href="jp2_8h.html">jp2.h</a></div><div class="ttdoc">The JPEG-2000 file format Reader/Writer (JP2)</div></div>
<div class="ttc" id="astructopj__stream__private_html"><div class="ttname"><a href="structopj__stream__private.html">opj_stream_private</a></div><div class="ttdoc">Byte input-output stream.</div><div class="ttdef"><b>Definition:</b> cio.h:81</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a615f1af7e1d9253a449ae0494f88b87b"><div class="ttname"><a href="indexbox__manager_8h.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix</a></div><div class="ttdeci">int opj_write_tpixfaix(int coff, int compno, opj_codestream_info_t cstr_info, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> tpix_manager.c:86</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_ae302b0ef07e61195c96fb07fad26337b"><div class="ttname"><a href="indexbox__manager_8h.html#ae302b0ef07e61195c96fb07fad26337b">opj_write_manf</a></div><div class="ttdeci">void opj_write_manf(int second, int v, opj_jp2_box_t *box, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> cidx_manager.c:157</div></div>
<div class="ttc" id="aopenjpeg_8h_html_abb5dad6294f4611f1925388e919b16f4"><div class="ttname"><a href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a></div><div class="ttdeci">int OPJ_BOOL</div><div class="ttdef"><b>Definition:</b> openjpeg.h:116</div></div>
<div class="ttc" id="astructopj__jp2__box_html"><div class="ttname"><a href="structopj__jp2__box.html">opj_jp2_box</a></div><div class="ttdoc">JP2 Box.</div><div class="ttdef"><b>Definition:</b> jp2.h:198</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_abeff45d507796a5ebfdc84e6a2612dd1"><div class="ttname"><a href="indexbox__manager_8h.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix</a></div><div class="ttdeci">int opj_write_phixfaix(int coff, int compno, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> phix_manager.c:96</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a5b7b8e2e0362e45ddf422eead3e7c605"><div class="ttname"><a href="indexbox__manager_8h.html#a5b7b8e2e0362e45ddf422eead3e7c605">opj_write_mainmhix</a></div><div class="ttdeci">int opj_write_mainmhix(int coff, opj_codestream_info_t cstr_info, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> cidx_manager.c:192</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a7a270921f503df83233bf10d9008c61c"><div class="ttname"><a href="indexbox__manager_8h.html#a7a270921f503df83233bf10d9008c61c">opj_write_thix</a></div><div class="ttdeci">int opj_write_thix(int coff, opj_codestream_info_t cstr_info, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> thix_manager.c:40</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a954403d9d7c19478925fc16781d7a3e7"><div class="ttname"><a href="indexbox__manager_8h.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix</a></div><div class="ttdeci">int opj_write_tpix(int coff, opj_codestream_info_t cstr_info, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> tpix_manager.c:60</div></div>
<div class="ttc" id="aopenjpeg_8h_html"><div class="ttname"><a href="openjpeg_8h.html">openjpeg.h</a></div></div>
<div class="ttc" id="astructopj__codestream__info_html"><div class="ttname"><a href="structopj__codestream__info.html">opj_codestream_info</a></div><div class="ttdoc">Index structure of the codestream.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:851</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_ada83077c95f10b8beceaa9f447b5ef80"><div class="ttname"><a href="indexbox__manager_8h.html#ada83077c95f10b8beceaa9f447b5ef80">opj_write_ppix</a></div><div class="ttdeci">int opj_write_ppix(int coff, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> ppix_manager.c:51</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_ac7ae0747dadd5ef6cc00b10a142341a9"><div class="ttname"><a href="indexbox__manager_8h.html#ac7ae0747dadd5ef6cc00b10a142341a9">opj_write_ppixfaix</a></div><div class="ttdeci">int opj_write_ppixfaix(int coff, int compno, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> ppix_manager.c:104</div></div>
<!-- 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"/>
</a> 1.8.17
</small></address>
</body>
</html>