<ahref="tcd_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"> * The copyright in this software is being made available under the 2-clauses</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * BSD License, included below. This software may be subject to other third</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * party and contributor rights, including patent rights, and no such rights</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * are granted under this license.</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="line"><aname="l00068"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__layer.html#ad2fc0922aeaf20e439f7a0cb77516a90"> 68</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__layer.html#ad2fc0922aeaf20e439f7a0cb77516a90">numpasses</a>; <spanclass="comment">/* Number of passes in the layer */</span></div>
<divclass="line"><aname="l00069"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__layer.html#a0420c0a82e0ab4c859c5b47ef1576839"> 69</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__layer.html#a0420c0a82e0ab4c859c5b47ef1576839">len</a>; <spanclass="comment">/* len of information */</span></div>
<divclass="line"><aname="l00070"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__layer.html#ad124ec7715f3ea7b1714fbd97ecc80d0"> 70</a></span> <aclass="code"href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a><aclass="code"href="structopj__tcd__layer.html#ad124ec7715f3ea7b1714fbd97ecc80d0">disto</a>; <spanclass="comment">/* add for index (Cfr. Marcela) */</span></div>
<divclass="line"><aname="l00071"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__layer.html#a29ce8c25f5dfd4aaa034e91cf19742e6"> 71</a></span> <aclass="code"href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *<aclass="code"href="structopj__tcd__layer.html#a29ce8c25f5dfd4aaa034e91cf19742e6">data</a>; <spanclass="comment">/* data */</span></div>
<divclass="line"><aname="l00078"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#a3f47ae68181f7dcbb4135d41e422cbb3"> 78</a></span> <aclass="code"href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a>* <aclass="code"href="structopj__tcd__cblk__enc.html#a3f47ae68181f7dcbb4135d41e422cbb3">data</a>; <spanclass="comment">/* Data */</span></div>
<divclass="line"><aname="l00079"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#a4529ec0954ea017afd33a5c2b771e653"> 79</a></span> <aclass="code"href="structopj__tcd__layer.html">opj_tcd_layer_t</a>* <aclass="code"href="structopj__tcd__cblk__enc.html#a4529ec0954ea017afd33a5c2b771e653">layers</a>; <spanclass="comment">/* layer information */</span></div>
<divclass="line"><aname="l00080"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#a5fd8985b3b27f790691eb09533bc45a3"> 80</a></span> <aclass="code"href="structopj__tcd__pass.html">opj_tcd_pass_t</a>* <aclass="code"href="structopj__tcd__cblk__enc.html#a5fd8985b3b27f790691eb09533bc45a3">passes</a>; <spanclass="comment">/* information about the passes */</span></div>
<divclass="line"><aname="l00082"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#afe70af4a1cd62891dc9700e19d5be2e9"> 82</a></span> <aclass="code"href="structopj__tcd__cblk__enc.html#afe70af4a1cd62891dc9700e19d5be2e9">y1</a>; <spanclass="comment">/* dimension of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */</span></div>
<divclass="line"><aname="l00085"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#aacf85212bf2c5ea710d38451c6c7f8d6"> 85</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__enc.html#aacf85212bf2c5ea710d38451c6c7f8d6">data_size</a>; <spanclass="comment">/* Size of allocated data buffer */</span></div>
<divclass="line"><aname="l00087"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#a69335861781a0388539bb58295749119"> 87</a></span> <aclass="code"href="structopj__tcd__cblk__enc.html#a69335861781a0388539bb58295749119">numpasses</a>; <spanclass="comment">/* number of pass already done for the code-blocks */</span></div>
<divclass="line"><aname="l00088"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#abf26a00fd3661d98df0831a17ff37cd0"> 88</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__enc.html#abf26a00fd3661d98df0831a17ff37cd0">numpassesinlayers</a>; <spanclass="comment">/* number of passes in the layer */</span></div>
<divclass="line"><aname="l00089"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__enc.html#aa016b9dec075b59c3ff5faa47f099afc"> 89</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__enc.html#aa016b9dec075b59c3ff5faa47f099afc">totalpasses</a>; <spanclass="comment">/* total number of passes */</span></div>
<divclass="line"><aname="l00095"></a><spanclass="lineno"> 95</span> <spanclass="comment">/* Point to tilepart buffer. We don't make a copy !</span></div>
<divclass="line"><aname="l00096"></a><spanclass="lineno"> 96</span> <spanclass="comment"> So the tilepart buffer must be kept alive</span></div>
<divclass="line"><aname="l00097"></a><spanclass="lineno"> 97</span> <spanclass="comment"> as long as we need to decode the codeblocks */</span></div>
<divclass="line"><aname="l00099"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__seg__data__chunk.html#a24e794036639d144bafc01f6aa1932ba"> 99</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__seg__data__chunk.html#a24e794036639d144bafc01f6aa1932ba">len</a>; <spanclass="comment">/* Usable length of data */</span></div>
<divclass="line"><aname="l00106"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__seg.html#ae2849ad158d18620e92927c34758ae97"> 106</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__seg.html#ae2849ad158d18620e92927c34758ae97">len</a>; <spanclass="comment">/* Size of data related to this segment */</span></div>
<divclass="line"><aname="l00107"></a><spanclass="lineno"> 107</span> <spanclass="comment">/* Number of passes decoded. Including those that we skip */</span></div>
<divclass="line"><aname="l00109"></a><spanclass="lineno"> 109</span> <spanclass="comment">/* Number of passes actually to be decoded. To be used for code-block decoding */</span></div>
<divclass="line"><aname="l00111"></a><spanclass="lineno"> 111</span> <spanclass="comment">/* Maximum number of passes for this segment */</span></div>
<divclass="line"><aname="l00113"></a><spanclass="lineno"> 113</span> <spanclass="comment">/* Number of new passes for current packed. Transitory value */</span></div>
<divclass="line"><aname="l00115"></a><spanclass="lineno"> 115</span> <spanclass="comment">/* Codestream length for this segment for current packed. Transitory value */</span></div>
<divclass="line"><aname="l00121"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__dec.html#a541548bb8a4343cb86bd3060653c6fd4"> 121</a></span> <aclass="code"href="structopj__tcd__seg.html">opj_tcd_seg_t</a>* <aclass="code"href="structopj__tcd__cblk__dec.html#a541548bb8a4343cb86bd3060653c6fd4">segs</a>; <spanclass="comment">/* segments information */</span></div>
<divclass="line"><aname="l00122"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__dec.html#aeab02b0b42c74842fef7371649dbc0e4"> 122</a></span> <aclass="code"href="structopj__tcd__seg__data__chunk.html">opj_tcd_seg_data_chunk_t</a>* <aclass="code"href="structopj__tcd__cblk__dec.html#aeab02b0b42c74842fef7371649dbc0e4">chunks</a>; <spanclass="comment">/* Array of chunks */</span></div>
<divclass="line"><aname="l00123"></a><spanclass="lineno"> 123</span> <spanclass="comment">/* position of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */</span></div>
<divclass="line"><aname="l00125"></a><spanclass="lineno"> 125</span> <spanclass="comment">/* Mb is The maximum number of bit-planes available for the representation of</span></div>
<divclass="line"><aname="l00126"></a><spanclass="lineno"> 126</span> <spanclass="comment"> coefficients in any sub-band, b, as defined in Equation (E-2). See</span></div>
<divclass="line"><aname="l00127"></a><spanclass="lineno"> 127</span> <spanclass="comment"> Section B.10.5 of the standard */</span></div>
<divclass="line"><aname="l00128"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__dec.html#a838e42ec2ac2e5709de72c409bf1eb0f"> 128</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__dec.html#a838e42ec2ac2e5709de72c409bf1eb0f">Mb</a>; <spanclass="comment">/* currently used only to check if HT decoding is correct */</span></div>
<divclass="line"><aname="l00129"></a><spanclass="lineno"> 129</span> <spanclass="comment">/* numbps is Mb - P as defined in Section B.10.5 of the standard */</span></div>
<divclass="line"><aname="l00131"></a><spanclass="lineno"> 131</span> <spanclass="comment">/* number of bits for len, for the current packet. Transitory value */</span></div>
<divclass="line"><aname="l00133"></a><spanclass="lineno"> 133</span> <spanclass="comment">/* number of pass added to the code-blocks, for the current packet. Transitory value */</span></div>
<divclass="line"><aname="l00135"></a><spanclass="lineno"> 135</span> <spanclass="comment">/* number of segments, including those of packet we skip */</span></div>
<divclass="line"><aname="l00137"></a><spanclass="lineno"> 137</span> <spanclass="comment">/* number of segments, to be used for code block decoding */</span></div>
<divclass="line"><aname="l00139"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__dec.html#a3a8dca068b2c8c1e98ab1ab188f93ede"> 139</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__dec.html#a3a8dca068b2c8c1e98ab1ab188f93ede">m_current_max_segs</a>; <spanclass="comment">/* allocated number of segs[] items */</span></div>
<divclass="line"><aname="l00140"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__dec.html#a0a2b4d09212139763fc78d1ad345a9a3"> 140</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__dec.html#a0a2b4d09212139763fc78d1ad345a9a3">numchunks</a>; <spanclass="comment">/* Number of valid chunks items */</span></div>
<divclass="line"><aname="l00141"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__cblk__dec.html#a7ab003a5c2dc44a01ca3cd32336c9849"> 141</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__cblk__dec.html#a7ab003a5c2dc44a01ca3cd32336c9849">numchunksalloc</a>; <spanclass="comment">/* Number of chunks item allocated */</span></div>
<divclass="line"><aname="l00142"></a><spanclass="lineno"> 142</span> <spanclass="comment">/* Decoded code-block. Only used for subtile decoding. Otherwise tilec->data is directly updated */</span></div>
<divclass="line"><aname="l00148"></a><spanclass="lineno"> 148</span> <spanclass="comment">/* dimension of the precinct : left upper corner (x0, y0) right low corner (x1,y1) */</span></div>
<divclass="line"><aname="l00150"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__precinct.html#ad89267dc061dd398fefad52194a4041f"> 150</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__precinct.html#ad89267dc061dd398fefad52194a4041f">cw</a>, <aclass="code"href="structopj__tcd__precinct.html#a03678b6a4ee6ade3d5cb30eee661a236">ch</a>; <spanclass="comment">/* number of code-blocks, in width and height */</span></div>
<divclass="line"><aname="l00151"></a><spanclass="lineno"> 151</span> <spanclass="keyword">union </span>{ <spanclass="comment">/* code-blocks information */</span></div>
<divclass="line"><aname="l00156"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__precinct.html#a1f4d3180c8851cbf52bcd1ac4bb4173b"> 156</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__precinct.html#a1f4d3180c8851cbf52bcd1ac4bb4173b">block_size</a>; <spanclass="comment">/* size taken by cblks (in bytes) */</span></div>
<divclass="line"><aname="l00157"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__precinct.html#a4845cb083569e62fe634e67c5ab2fcd9"> 157</a></span> <aclass="code"href="structopj__tgt__tree.html">opj_tgt_tree_t</a> *<aclass="code"href="structopj__tcd__precinct.html#a4845cb083569e62fe634e67c5ab2fcd9">incltree</a>; <spanclass="comment">/* inclusion tree */</span></div>
<divclass="line"><aname="l00158"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__precinct.html#a716db0109a0f110aba9807ea06e68b4d"> 158</a></span> <aclass="code"href="structopj__tgt__tree.html">opj_tgt_tree_t</a> *<aclass="code"href="structopj__tcd__precinct.html#a716db0109a0f110aba9807ea06e68b4d">imsbtree</a>; <spanclass="comment">/* IMSB tree */</span></div>
<divclass="line"><aname="l00163"></a><spanclass="lineno"> 163</span> <spanclass="comment">/* dimension of the subband : left upper corner (x0, y0) right low corner (x1,y1) */</span></div>
<divclass="line"><aname="l00177"></a><spanclass="lineno"> 177</span> <spanclass="comment">/* dimension of the resolution level : left upper corner (x0, y0) right low corner (x1,y1) */</span></div>
<divclass="line"><aname="l00179"></a><spanclass="lineno"> 179</span> <spanclass="comment">/* number of precincts, in width and height, for this resolution level */</span></div>
<divclass="line"><aname="l00181"></a><spanclass="lineno"> 181</span> <spanclass="comment">/* number of sub-bands for the resolution level (1 for lowest resolution level, 3 otherwise) */</span></div>
<divclass="line"><aname="l00186"></a><spanclass="lineno"> 186</span> <spanclass="comment">/* dimension of the resolution limited to window of interest. Only valid if tcd->whole_tile_decoding is set */</span></div>
<divclass="line"><aname="l00201"></a><spanclass="lineno"> 201</span> <spanclass="comment">/* number of resolutions level to decode (at max)*/</span></div>
<divclass="line"><aname="l00205"></a><spanclass="lineno"> 205</span> <spanclass="comment">/* size of data for resolutions (in bytes) */</span></div>
<divclass="line"><aname="l00208"></a><spanclass="lineno"> 208</span> <spanclass="comment">/* data of the component. For decoding, only valid if tcd->whole_tile_decoding is set (so exclusive of data_win member) */</span></div>
<divclass="line"><aname="l00210"></a><spanclass="lineno"> 210</span> <spanclass="comment">/* if true, then need to free after usage, otherwise do not free */</span></div>
<divclass="line"><aname="l00212"></a><spanclass="lineno"> 212</span> <spanclass="comment">/* we may either need to allocate this amount of data, or re-use image data and ignore this value */</span></div>
<divclass="line"><aname="l00219"></a><spanclass="lineno"> 219</span> <spanclass="comment">/* dimension of the component limited to window of interest. Only valid for decoding and if tcd->whole_tile_decoding is NOT set */</span></div>
<divclass="line"><aname="l00234"></a><spanclass="lineno"> 234</span> <spanclass="comment">/* dimension of the tile : left upper corner (x0, y0) right low corner (x1,y1) */</span></div>
<divclass="line"><aname="l00236"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35"> 236</a></span> <aclass="code"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a><aclass="code"href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35">numcomps</a>; <spanclass="comment">/* number of components in tile */</span></div>
<divclass="line"><aname="l00237"></a><spanclass="lineno"><aclass="line"href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897"> 237</a></span> <aclass="code"href="structopj__tcd__tilecomp.html">opj_tcd_tilecomp_t</a> *<aclass="code"href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">comps</a>; <spanclass="comment">/* Components information */</span></div>
<divclass="line"><aname="l00288"></a><spanclass="lineno"> 288</span> <spanclass="comment">/* Array of size image->numcomps indicating if a component must be decoded. NULL if all components must be decoded */</span></div>
<divclass="line"><aname="l00315"></a><spanclass="lineno"> 315</span> <spanclass="comment">/*void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t *img);*/</span><spanclass="comment">/* TODO MSD shoul use the new v2 structures */</span></div>
<divclass="ttc"id="astructopj__image_html_a7a27deb6bf174dd57ee473d1d514f8ef"><divclass="ttname"><ahref="structopj__image.html#a7a27deb6bf174dd57ee473d1d514f8ef">opj_image::x1</a></div><divclass="ttdeci">OPJ_UINT32 x1</div><divclass="ttdoc">Xsiz: width of the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:715</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a6881e82a881556059d14d265a8d0aa25"><divclass="ttname"><ahref="opj__intmath_8h.html#a6881e82a881556059d14d265a8d0aa25">opj_int64_ceildivpow2</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int64_ceildivpow2(OPJ_INT64 a, OPJ_INT32 b)</div><divclass="ttdoc">Divide a 64bits integer by a power of 2 and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:189</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a3fe08bb7876e393dd04332d049a4d53e"><divclass="ttname"><ahref="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc</a></div><divclass="ttdeci">void * opj_calloc(size_t num, size_t size)</div><divclass="ttdoc">Allocate a memory block with elements initialized to 0.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:198</div></div>
<divclass="ttc"id="atcd_8c_html_a1ade88b5bde6f169d5962e8cc496c80f"><divclass="ttname"><ahref="tcd_8c.html#a1ade88b5bde6f169d5962e8cc496c80f">opj_tcd_copy_tile_data</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_copy_tile_data(opj_tcd_t *p_tcd, OPJ_BYTE *p_src, OPJ_SIZE_T p_src_length)</div><divclass="ttdoc">Copies tile data from the given memory block onto the system.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2619</div></div>
<divclass="ttc"id="atcd_8h_html_acc9de1ad8edcde507e0d500e9096e402"><divclass="ttname"><ahref="tcd_8h.html#acc9de1ad8edcde507e0d500e9096e402">opj_tcd_seg_data_chunk_t</a></div><divclass="ttdeci">struct opj_tcd_seg_data_chunk opj_tcd_seg_data_chunk_t</div><divclass="ttdoc">Chunk of codestream data that is part of a code block.</div></div>
<divclass="ttc"id="astructopj__image__comp_html_af9d6fd62a2b8bdd9fd162ce403eb0f10"><divclass="ttname"><ahref="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a></div><divclass="ttdeci">OPJ_UINT32 dy</div><divclass="ttdoc">YRsiz: vertical separation of a sample of ith component with respect to the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:681</div></div>
<divclass="ttc"id="astructopj__tcd_html_a20455f8cb23c34e4a762d4872aa84479"><divclass="ttname"><ahref="structopj__tcd.html#a20455f8cb23c34e4a762d4872aa84479">opj_tcd::tp_pos</a></div><divclass="ttdeci">OPJ_INT32 tp_pos</div><divclass="ttdoc">Position of the tilepart flag in Progression order.</div><divclass="ttdef"><b>Definition:</b> tcd.h:258</div></div>
<divclass="ttc"id="aopj__includes_8h_html_aca8ace07bd7ad33de0fe3773dd36c5d3"><divclass="ttname"><ahref="opj__includes_8h.html#aca8ace07bd7ad33de0fe3773dd36c5d3">opj_lrintf</a></div><divclass="ttdeci">static INLINE long opj_lrintf(float f)</div><divclass="ttdef"><b>Definition:</b> opj_includes.h:174</div></div>
<divclass="ttc"id="atcd_8c_html_a530613069d41672edf61a224b032c8cf"><divclass="ttname"><ahref="tcd_8c.html#a530613069d41672edf61a224b032c8cf">opj_tcd_code_block_dec_deallocate</a></div><divclass="ttdeci">static void opj_tcd_code_block_dec_deallocate(opj_tcd_precinct_t *p_precinct)</div><divclass="ttdoc">Deallocates the decoding data of the given precinct.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2290</div></div>
<divclass="ttc"id="astructopj__tile__info_html_a910bb577952512fd5dc0d8b4c9a14a96"><divclass="ttname"><ahref="structopj__tile__info.html#a910bb577952512fd5dc0d8b4c9a14a96">opj_tile_info::ph</a></div><divclass="ttdeci">int ph[33]</div><divclass="ttdoc">precinct number for each resolution level (height)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:825</div></div>
<divclass="ttc"id="astructopj__tcd__seg_html"><divclass="ttname"><ahref="structopj__tcd__seg.html">opj_tcd_seg</a></div><divclass="ttdoc">Segment of a code-block.</div><divclass="ttdef"><b>Definition:</b> tcd.h:105</div></div>
<divclass="ttc"id="astructopj__tccp_html_af249fcfb382bd2cb9f6bb3127dcdcc69"><divclass="ttname"><ahref="structopj__tccp.html#af249fcfb382bd2cb9f6bb3127dcdcc69">opj_tccp::numresolutions</a></div><divclass="ttdeci">OPJ_UINT32 numresolutions</div><divclass="ttdoc">number of resolutions</div><divclass="ttdef"><b>Definition:</b> j2k.h:183</div></div>
<divclass="ttc"id="atcd_8h_html_aee317346b70f250cbe327c3dc2536715"><divclass="ttname"><ahref="tcd_8h.html#aee317346b70f250cbe327c3dc2536715">opj_tcd_update_tile_data</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_update_tile_data(opj_tcd_t *p_tcd, OPJ_BYTE *p_dest, OPJ_UINT32 p_dest_length)</div><divclass="ttdoc">Copies tile data from the system onto the given memory block.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1731</div></div>
<divclass="ttc"id="atcd_8h_html_acdd64c358d24ca8d83b682d6a5a43be1"><divclass="ttname"><ahref="tcd_8h.html#acdd64c358d24ca8d83b682d6a5a43be1">opj_tcd_seg_t</a></div><divclass="ttdeci">struct opj_tcd_seg opj_tcd_seg_t</div><divclass="ttdoc">Segment of a code-block.</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_aac315c40dca690742df538fcc21d4f91"><divclass="ttname"><ahref="opj__intmath_8h.html#aac315c40dca690742df538fcc21d4f91">opj_int_min</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_min(OPJ_INT32 a, OPJ_INT32 b)</div><divclass="ttdoc">Get the minimum of two integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:56</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_a580bee732e2d606ef531cf1d928470b7"><divclass="ttname"><ahref="structopj__codestream__info.html#a580bee732e2d606ef531cf1d928470b7">opj_codestream_info::index_write</a></div><divclass="ttdeci">int index_write</div><divclass="ttdoc">writing the packet in the index with t2_encode_packets</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:857</div></div>
<divclass="ttc"id="astructopj__image_html_a80fd916819080f959a601b0089c4c69a"><divclass="ttname"><ahref="structopj__image.html#a80fd916819080f959a601b0089c4c69a">opj_image::y1</a></div><divclass="ttdeci">OPJ_UINT32 y1</div><divclass="ttdoc">Ysiz: height of the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:717</div></div>
<divclass="ttc"id="astructopj__encoding__param_html_a35052c5561f363438a8f34d103ae0dd4"><divclass="ttname"><ahref="structopj__encoding__param.html#a35052c5561f363438a8f34d103ae0dd4">opj_encoding_param::m_tp_pos</a></div><divclass="ttdeci">OPJ_INT32 m_tp_pos</div><divclass="ttdoc">Position of tile part flag in progression order.</div><divclass="ttdef"><b>Definition:</b> j2k.h:323</div></div>
<divclass="ttc"id="astructopj__image_html_ac63093741ed0c70b9c0a8ee3070cbce6"><divclass="ttname"><ahref="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a></div><divclass="ttdeci">OPJ_UINT32 numcomps</div><divclass="ttdoc">number of components in the image</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:719</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ae4b2e5a7c8b8f09faacc4a895f866ea1"><divclass="ttname"><ahref="opj__intmath_8h.html#ae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_ceildiv(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Divide an integer and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:170</div></div>
<divclass="ttc"id="atcd_8c_html_a261addde80e80a2ad6af635daeb342bb"><divclass="ttname"><ahref="tcd_8c.html#a261addde80e80a2ad6af635daeb342bb">opj_tcd_init_encode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_init_encode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Initialize the tile coder and may reuse some meory.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1198</div></div>
<divclass="ttc"id="atcd_8h_html_a1a9dee911fdacfd225226de3b639523c"><divclass="ttname"><ahref="tcd_8h.html#a1a9dee911fdacfd225226de3b639523c">opj_tcd_marker_info_t</a></div><divclass="ttdeci">struct opj_tcd_marker_info opj_tcd_marker_info_t</div><divclass="ttdoc">Structure to hold information needed to generate some markers.</div></div>
<divclass="ttc"id="aevent_8c_html_a80a24e8c6d24861cd2403e48a7c2591e"><divclass="ttname"><ahref="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg</a></div><divclass="ttdeci">OPJ_BOOL opj_event_msg(opj_event_mgr_t *p_event_mgr, OPJ_INT32 event_type, const char *fmt,...)</div><divclass="ttdoc">Write formatted data to a string and send the string to a user callback.</div><divclass="ttdef"><b>Definition:</b> event.c:91</div></div>
<divclass="ttc"id="aopenjpeg_8c_html_a3f03dd6d6224e93ff15a1d9234d948d5"><divclass="ttname"><ahref="openjpeg_8c.html#a3f03dd6d6224e93ff15a1d9234d948d5">opj_image_data_alloc</a></div><divclass="ttdeci">void *OPJ_CALLCONV opj_image_data_alloc(OPJ_SIZE_T size)</div><divclass="ttdoc">Allocator for opj_image_t->comps[].data To be paired with opj_image_data_free.</div><divclass="ttdef"><b>Definition:</b> openjpeg.c:1128</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_ac20b482a3b3feadfa21ced6edc727557"><divclass="ttname"><ahref="structopj__codestream__info.html#ac20b482a3b3feadfa21ced6edc727557">opj_codestream_info::numlayers</a></div><divclass="ttdeci">int numlayers</div><divclass="ttdoc">number of layer</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:879</div></div>
<divclass="ttc"id="atcd_8c_html_aee317346b70f250cbe327c3dc2536715"><divclass="ttname"><ahref="tcd_8c.html#aee317346b70f250cbe327c3dc2536715">opj_tcd_update_tile_data</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_update_tile_data(opj_tcd_t *p_tcd, OPJ_BYTE *p_dest, OPJ_UINT32 p_dest_length)</div><divclass="ttdoc">Copies tile data from the system onto the given memory block.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1731</div></div>
<divclass="ttc"id="astructopj__tcp_html_a410c9e928bcc2d360362586675baf749"><divclass="ttname"><ahref="structopj__tcp.html#a410c9e928bcc2d360362586675baf749">opj_tcp::rates</a></div><divclass="ttdeci">OPJ_FLOAT32 rates[100]</div><divclass="ttdoc">rates of layers</div><divclass="ttdef"><b>Definition:</b> j2k.h:256</div></div>
<divclass="ttc"id="amct_8c_html_a3cb37d906cdb9b61f900c3e3dd4962a6"><divclass="ttname"><ahref="mct_8c.html#a3cb37d906cdb9b61f900c3e3dd4962a6">opj_mct_decode</a></div><divclass="ttdeci">void opj_mct_decode(OPJ_INT32 *OPJ_RESTRICT c0, OPJ_INT32 *OPJ_RESTRICT c1, OPJ_INT32 *OPJ_RESTRICT c2, OPJ_SIZE_T n)</div><divclass="ttdoc">Apply a reversible multi-component inverse transform to an image.</div><divclass="ttdef"><b>Definition:</b> mct.c:180</div></div>
<divclass="ttc"id="astructopj__event__mgr_html"><divclass="ttname"><ahref="structopj__event__mgr.html">opj_event_mgr</a></div><divclass="ttdoc">Message handler object used for.</div><divclass="ttdef"><b>Definition:</b> event.h:50</div></div>
<divclass="ttc"id="astructopj__tile__info_html_a8372af599cca7a326ff3f640224014cd"><divclass="ttname"><ahref="structopj__tile__info.html#a8372af599cca7a326ff3f640224014cd">opj_tile_info::pdy</a></div><divclass="ttdeci">int pdy[33]</div><divclass="ttdoc">precinct size (in power of 2), in Y for each resolution level</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:829</div></div>
<divclass="ttc"id="atcd_8h_html_abcfbae8c9e3565181a16587d5c589da0"><divclass="ttname"><ahref="tcd_8h.html#abcfbae8c9e3565181a16587d5c589da0">opj_tcd_marker_info_destroy</a></div><divclass="ttdeci">void opj_tcd_marker_info_destroy(opj_tcd_marker_info_t *p_tcd_marker_info)</div><divclass="ttdoc">Destroy a previously created opj_tcd_marker_info_t* structure.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2851</div></div>
<divclass="ttc"id="astructopj__image__comp_html"><divclass="ttname"><ahref="structopj__image__comp.html">opj_image_comp</a></div><divclass="ttdoc">Defines a single image component.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:677</div></div>
<divclass="ttc"id="atcd_8c_html_a0df6e3c59cbb93696bab54a688e2ead8"><divclass="ttname"><ahref="tcd_8c.html#a0df6e3c59cbb93696bab54a688e2ead8">opj_tcd_free_tile</a></div><divclass="ttdeci">static void opj_tcd_free_tile(opj_tcd_t *tcd)</div><divclass="ttdoc">Free the memory allocated for encoding.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1854</div></div>
<divclass="ttc"id="atcd_8h_html_a8f9a0eceb5f11b164555a302db07cb5c"><divclass="ttname"><ahref="tcd_8h.html#a8f9a0eceb5f11b164555a302db07cb5c">opj_tcd_init</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_init(opj_tcd_t *p_tcd, opj_image_t *p_image, opj_cp_t *p_cp, opj_thread_pool_t *p_tp)</div><divclass="ttdoc">Initialize the tile coder and may reuse some memory.</div><divclass="ttdef"><b>Definition:</b> tcd.c:646</div></div>
<divclass="ttc"id="astructopj__tccp_html_a3506d4d8fb552fb7accdd0a6bf78930c"><divclass="ttname"><ahref="structopj__tccp.html#a3506d4d8fb552fb7accdd0a6bf78930c">opj_tccp::stepsizes</a></div><divclass="ttdeci">opj_stepsize_t stepsizes[OPJ_J2K_MAXBANDS]</div><divclass="ttdoc">stepsizes used for quantization</div><divclass="ttdef"><b>Definition:</b> j2k.h:195</div></div>
<divclass="ttc"id="atcd_8h_html_a861a7aa311afb74012f6f7883d07ab3b"><divclass="ttname"><ahref="tcd_8h.html#a861a7aa311afb74012f6f7883d07ab3b">opj_tcd_get_encoder_input_buffer_size</a></div><divclass="ttdeci">OPJ_SIZE_T opj_tcd_get_encoder_input_buffer_size(opj_tcd_t *p_tcd)</div><divclass="ttdoc">Get the size in bytes of the input buffer provided before encoded.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2367</div></div>
<divclass="ttc"id="atgt_8c_html_ab899e82ce998eace0c7b2c047004fae7"><divclass="ttname"><ahref="tgt_8c.html#ab899e82ce998eace0c7b2c047004fae7">opj_tgt_destroy</a></div><divclass="ttdeci">void opj_tgt_destroy(opj_tgt_tree_t *p_tree)</div><divclass="ttdoc">Destroy a tag-tree, liberating memory.</div><divclass="ttdef"><b>Definition:</b> tgt.c:223</div></div>
<divclass="ttc"id="atcd_8c_html_ad04ee6b560ad67d4696f3b2042c0911d"><divclass="ttname"><ahref="tcd_8c.html#ad04ee6b560ad67d4696f3b2042c0911d">opj_tcd_code_block_enc_deallocate</a></div><divclass="ttdeci">static void opj_tcd_code_block_enc_deallocate(opj_tcd_precinct_t *p_precinct)</div><divclass="ttdoc">Deallocates the encoding data of the given precinct.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2332</div></div>
<divclass="ttc"id="atcd_8c_html_a8f9a0eceb5f11b164555a302db07cb5c"><divclass="ttname"><ahref="tcd_8c.html#a8f9a0eceb5f11b164555a302db07cb5c">opj_tcd_init</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_init(opj_tcd_t *p_tcd, opj_image_t *p_image, opj_cp_t *p_cp, opj_thread_pool_t *p_tp)</div><divclass="ttdoc">Initialize the tile coder and may reuse some memory.</div><divclass="ttdef"><b>Definition:</b> tcd.c:646</div></div>
<divclass="ttc"id="atcd_8c_html_a861a7aa311afb74012f6f7883d07ab3b"><divclass="ttname"><ahref="tcd_8c.html#a861a7aa311afb74012f6f7883d07ab3b">opj_tcd_get_encoder_input_buffer_size</a></div><divclass="ttdeci">OPJ_SIZE_T opj_tcd_get_encoder_input_buffer_size(opj_tcd_t *p_tcd)</div><divclass="ttdoc">Get the size in bytes of the input buffer provided before encoded.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2367</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ab9aad885f5c9bc9e39420003b2b32fe5"><divclass="ttname"><ahref="opj__intmath_8h.html#ab9aad885f5c9bc9e39420003b2b32fe5">opj_uint_adds</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_adds(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Get the saturated sum of two unsigned integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:92</div></div>
<divclass="ttc"id="atcd_8c_html_abcfbae8c9e3565181a16587d5c589da0"><divclass="ttname"><ahref="tcd_8c.html#abcfbae8c9e3565181a16587d5c589da0">opj_tcd_marker_info_destroy</a></div><divclass="ttdeci">void opj_tcd_marker_info_destroy(opj_tcd_marker_info_t *p_tcd_marker_info)</div><divclass="ttdoc">Destroy a previously created opj_tcd_marker_info_t* structure.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2851</div></div>
<divclass="ttc"id="astructopj__tcd__tilecomp_html_a6cee39e0c45389d13d4f3084801630ac"><divclass="ttname"><ahref="structopj__tcd__tilecomp.html#a6cee39e0c45389d13d4f3084801630ac">opj_tcd_tilecomp::data_win</a></div><divclass="ttdeci">OPJ_INT32 * data_win</div><divclass="ttdoc">data of the component limited to window of interest.</div><divclass="ttdef"><b>Definition:</b> tcd.h:218</div></div>
<divclass="ttc"id="atcd_8h_html_abb4c5f7619c9e67a270ab32c8fdbcbd1"><divclass="ttname"><ahref="tcd_8h.html#abb4c5f7619c9e67a270ab32c8fdbcbd1">opj_tcd_encode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_encode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, OPJ_BYTE *p_dest, OPJ_UINT32 *p_data_written, OPJ_UINT32 p_len, struct opj_codestream_info *p_cstr_info, opj_tcd_marker_info_t *p_marker_info, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Encodes a tile from the raw image into the given buffer.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1381</div></div>
<divclass="ttc"id="amct_8c_html_a9e088c46d09402da9fed35b5d69e5cc7"><divclass="ttname"><ahref="mct_8c.html#a9e088c46d09402da9fed35b5d69e5cc7">opj_mct_encode</a></div><divclass="ttdeci">void opj_mct_encode(OPJ_INT32 *OPJ_RESTRICT c0, OPJ_INT32 *OPJ_RESTRICT c1, OPJ_INT32 *OPJ_RESTRICT c2, OPJ_SIZE_T n)</div><divclass="ttdoc">Apply a reversible multi-component transform to an image.</div><divclass="ttdef"><b>Definition:</b> mct.c:118</div></div>
<divclass="ttc"id="astructopj__tcd__marker__info_html_aab8b41bed76140902fab6da70932c367"><divclass="ttname"><ahref="structopj__tcd__marker__info.html#aab8b41bed76140902fab6da70932c367">opj_tcd_marker_info::packet_count</a></div><divclass="ttdeci">OPJ_UINT32 packet_count</div><divclass="ttdoc">OUT: Number of elements in p_packet_size[] array.</div><divclass="ttdef"><b>Definition:</b> tcd.h:301</div></div>
<divclass="ttc"id="astructopj__tcp_html_ab08fe932bc88b037edefb7180ac2a1f2"><divclass="ttname"><ahref="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a></div><divclass="ttdeci">OPJ_UINT32 numlayers</div><divclass="ttdoc">number of layers</div><divclass="ttdef"><b>Definition:</b> j2k.h:251</div></div>
<divclass="ttc"id="astructopj__image__comp_html_ab7210ddbf12e6d9998d24034a579cea1"><divclass="ttname"><ahref="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a></div><divclass="ttdeci">OPJ_UINT32 prec</div><divclass="ttdoc">precision: number of bits per component per pixel</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:691</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a20a9a9e2aee9a99897131989b4a9e7e9"><divclass="ttname"><ahref="opj__intmath_8h.html#a20a9a9e2aee9a99897131989b4a9e7e9">opj_int64_clamp</a></div><divclass="ttdeci">static INLINE OPJ_INT64 opj_int64_clamp(OPJ_INT64 a, OPJ_INT64 min, OPJ_INT64 max)</div><divclass="ttdoc">Clamp an integer inside an interval.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:137</div></div>
<divclass="ttc"id="astructopj__tile__info_html_adf741cbea6706831aeb382b338eafc49"><divclass="ttname"><ahref="structopj__tile__info.html#adf741cbea6706831aeb382b338eafc49">opj_tile_info::pdx</a></div><divclass="ttdeci">int pdx[33]</div><divclass="ttdoc">precinct size (in power of 2), in X for each resolution level</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:827</div></div>
<divclass="ttc"id="astructopj__image_html_a9813bacf1939346629c07262c61c8e74"><divclass="ttname"><ahref="structopj__image.html#a9813bacf1939346629c07262c61c8e74">opj_image::y0</a></div><divclass="ttdeci">OPJ_UINT32 y0</div><divclass="ttdoc">YOsiz: vertical offset from the origin of the reference grid to the top side of the image area.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:713</div></div>
<divclass="ttc"id="astructopj__tcd_html_a176cbb807a749ee9c7d5b6fa3c2f6fff"><divclass="ttname"><ahref="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a></div><divclass="ttdeci">opj_tcp_t * tcp</div><divclass="ttdoc">coding/decoding parameters common to all tiles</div><divclass="ttdef"><b>Definition:</b> tcd.h:274</div></div>
<divclass="ttc"id="atcd_8c_html_a4b40b88318cb6eb164c5c5bf2e75c2fd"><divclass="ttname"><ahref="tcd_8c.html#a4b40b88318cb6eb164c5c5bf2e75c2fd">opj_tcd_marker_info_create</a></div><divclass="ttdeci">opj_tcd_marker_info_t * opj_tcd_marker_info_create(OPJ_BOOL need_PLT)</div><divclass="ttdoc">Create a new opj_tcd_marker_info_t* structure.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2836</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a06c1c4470f9765a3ed04963b0daa111a"><divclass="ttname"><ahref="opj__intmath_8h.html#a06c1c4470f9765a3ed04963b0daa111a">opj_uint_min</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Get the minimum of two integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:65</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a2c3eb35fddab83fef25256485b926fc0"><divclass="ttname"><ahref="opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0">opj_uint_max</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_max(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Get the maximum of two integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:83</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a49c70931cbed786f6eef5f095bcb2917"><divclass="ttname"><ahref="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc</a></div><divclass="ttdeci">void * opj_malloc(size_t size)</div><divclass="ttdoc">Allocate an uninitialized memory block.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:191</div></div>
<divclass="ttc"id="aopenjpeg_8c_html_a53a2908ba063e90755b9449001194f88"><divclass="ttname"><ahref="openjpeg_8c.html#a53a2908ba063e90755b9449001194f88">opj_image_data_free</a></div><divclass="ttdeci">void OPJ_CALLCONV opj_image_data_free(void *ptr)</div><divclass="ttdoc">Destructor for opj_image_t->comps[].data To be paired with opj_image_data_alloc.</div><divclass="ttdef"><b>Definition:</b> openjpeg.c:1135</div></div>
<divclass="ttc"id="atcd_8c_html_af07c94701df2bee92b0dc052eb191f6c"><divclass="ttname"><ahref="tcd_8c.html#af07c94701df2bee92b0dc052eb191f6c">opj_tcd_decode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_decode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 win_x0, OPJ_UINT32 win_y0, OPJ_UINT32 win_x1, OPJ_UINT32 win_y1, OPJ_UINT32 numcomps_to_decode, const OPJ_UINT32 *comps_indices, OPJ_BYTE *p_src, OPJ_UINT32 p_max_length, OPJ_UINT32 p_tile_no, opj_codestream_index_t *p_cstr_index, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Decode a tile from a buffer into a raw image.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1477</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a9d7d909f8dc1a2c23313c48645341e81"><divclass="ttname"><ahref="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free</a></div><divclass="ttdeci">void opj_free(void *ptr)</div><divclass="ttdoc">Deallocates or frees a memory block.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:246</div></div>
<divclass="ttc"id="astructopj__tcd__seg__data__chunk_html"><divclass="ttname"><ahref="structopj__tcd__seg__data__chunk.html">opj_tcd_seg_data_chunk</a></div><divclass="ttdoc">Chunk of codestream data that is part of a code block.</div><divclass="ttdef"><b>Definition:</b> tcd.h:94</div></div>
<divclass="ttc"id="astructopj__codestream__index_html"><divclass="ttname"><ahref="structopj__codestream__index.html">opj_codestream_index</a></div><divclass="ttdoc">Index structure of the codestream (FIXME should be expand and enhance)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:1037</div></div>
<divclass="ttc"id="astructopj__cp_html_acf1558d84c50f976726c0f8c9b814995"><divclass="ttname"><ahref="structopj__cp.html#acf1558d84c50f976726c0f8c9b814995">opj_cp::rsiz</a></div><divclass="ttdeci">OPJ_UINT16 rsiz</div><divclass="ttdoc">Size of the image in bits.</div><divclass="ttdef"><b>Definition:</b> j2k.h:355</div></div>
<divclass="ttc"id="atcd_8c_html_a35c1b4cb094ae87d6bba87f6be7aa183"><divclass="ttname"><ahref="tcd_8c.html#a35c1b4cb094ae87d6bba87f6be7aa183">opj_tcd_destroy</a></div><divclass="ttdeci">void opj_tcd_destroy(opj_tcd_t *tcd)</div><divclass="ttdoc">Destroy a previously created TCD handle.</div><divclass="ttdef"><b>Definition:</b> tcd.c:676</div></div>
<divclass="ttc"id="astructopj__tcd__marker__info_html_adc1775ab42552069a1c64234e252a8b4"><divclass="ttname"><ahref="structopj__tcd__marker__info.html#adc1775ab42552069a1c64234e252a8b4">opj_tcd_marker_info::need_PLT</a></div><divclass="ttdeci">OPJ_BOOL need_PLT</div><divclass="ttdoc">In: Whether information to generate PLT markers in needed.</div><divclass="ttdef"><b>Definition:</b> tcd.h:298</div></div>
<divclass="ttc"id="astructopj__packet__info_html"><divclass="ttname"><ahref="structopj__packet__info.html">opj_packet_info</a></div><divclass="ttdoc">Index structure : Information concerning a packet inside tile.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:766</div></div>
<divclass="ttc"id="atcd_8c_html_a96f962af737e4f4f2b7fb026f7869eca"><divclass="ttname"><ahref="tcd_8c.html#a96f962af737e4f4f2b7fb026f7869eca">opj_tcd_is_band_empty</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_is_band_empty(opj_tcd_band_t *band)</div><divclass="ttdoc">Returns whether a sub-band is empty (i.e.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2707</div></div>
<divclass="ttc"id="astructopj__tcp_html"><divclass="ttname"><ahref="structopj__tcp.html">opj_tcp</a></div><divclass="ttdoc">Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...</div><divclass="ttdef"><b>Definition:</b> j2k.h:245</div></div>
<divclass="ttc"id="athread_8c_html_a0ced26c80598e49bf3a964bb802130f1"><divclass="ttname"><ahref="thread_8c.html#a0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion</a></div><divclass="ttdeci">void opj_thread_pool_wait_completion(opj_thread_pool_t *tp, int max_remaining_jobs)</div><divclass="ttdoc">Wait that no more than max_remaining_jobs jobs are remaining in the queue of the thread pool.</div><divclass="ttdef"><b>Definition:</b> thread.c:894</div></div>
<divclass="ttc"id="athread_8c_html_a66757c34c788b873ad9acfb60a5e008b"><divclass="ttname"><ahref="thread_8c.html#a66757c34c788b873ad9acfb60a5e008b">opj_mutex_destroy</a></div><divclass="ttdeci">void opj_mutex_destroy(opj_mutex_t *mutex)</div><divclass="ttdoc">Destroy a mutex.</div><divclass="ttdef"><b>Definition:</b> thread.c:458</div></div>
<divclass="ttc"id="at2_8c_html_a0e929ed8feb7bad8d169b0dc4478e59a"><divclass="ttname"><ahref="t2_8c.html#a0e929ed8feb7bad8d169b0dc4478e59a">opj_t2_destroy</a></div><divclass="ttdeci">void opj_t2_destroy(opj_t2_t *t2)</div><divclass="ttdoc">Destroy a T2 handle.</div><divclass="ttdef"><b>Definition:</b> t2.c:613</div></div>
<divclass="ttc"id="atcd_8c_html_a72440072965bb27a13c6042c7b383c70"><divclass="ttname"><ahref="tcd_8c.html#a72440072965bb27a13c6042c7b383c70">opj_tcd_is_subband_area_of_interest</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_is_subband_area_of_interest(opj_tcd_t *tcd, OPJ_UINT32 compno, OPJ_UINT32 resno, OPJ_UINT32 bandno, OPJ_UINT32 band_x0, OPJ_UINT32 band_y0, OPJ_UINT32 band_x1, OPJ_UINT32 band_y1)</div><divclass="ttdoc">Returns whether a sub-band region contributes to the area of interest tcd->win_x0,...</div><divclass="ttdef"><b>Definition:</b> tcd.c:2712</div></div>
<divclass="ttc"id="astructopj__tcd__marker__info_html_af7bf01a810641b92d7d0af2cec3844b6"><divclass="ttname"><ahref="structopj__tcd__marker__info.html#af7bf01a810641b92d7d0af2cec3844b6">opj_tcd_marker_info::p_packet_size</a></div><divclass="ttdeci">OPJ_UINT32 * p_packet_size</div><divclass="ttdoc">OUT: Array of size packet_count, such that p_packet_size[i] is the size in bytes of the ith packet.</div><divclass="ttdef"><b>Definition:</b> tcd.h:305</div></div>
<divclass="ttc"id="atcd_8h_html_a4b40b88318cb6eb164c5c5bf2e75c2fd"><divclass="ttname"><ahref="tcd_8h.html#a4b40b88318cb6eb164c5c5bf2e75c2fd">opj_tcd_marker_info_create</a></div><divclass="ttdeci">opj_tcd_marker_info_t * opj_tcd_marker_info_create(OPJ_BOOL need_PLT)</div><divclass="ttdoc">Create a new opj_tcd_marker_info_t* structure.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2836</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a2f7d5c3934ee6be38763652b7f80ea6c"><divclass="ttname"><ahref="opj__intmath_8h.html#a2f7d5c3934ee6be38763652b7f80ea6c">opj_int_max</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_max(OPJ_INT32 a, OPJ_INT32 b)</div><divclass="ttdoc">Get the maximum of two integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:74</div></div>
<divclass="ttc"id="atcd_8c_html_a52e4296555a20244677550e29b9435cd"><divclass="ttname"><ahref="tcd_8c.html#a52e4296555a20244677550e29b9435cd">opj_tcd_get_decoded_tile_size</a></div><divclass="ttdeci">OPJ_UINT32 opj_tcd_get_decoded_tile_size(opj_tcd_t *p_tcd, OPJ_BOOL take_into_account_partial_decoding)</div><divclass="ttdoc">Gets the maximum tile size that will be taken by the tile once decoded.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1326</div></div>
<divclass="ttc"id="athread_8h_html_a29120af1ce48d5ecd651795f2e427755"><divclass="ttname"><ahref="thread_8h.html#a29120af1ce48d5ecd651795f2e427755">opj_mutex_t</a></div><divclass="ttdeci">struct opj_mutex_t opj_mutex_t</div><divclass="ttdoc">Opaque type for a mutex.</div><divclass="ttdef"><b>Definition:</b> thread.h:52</div></div>
<divclass="ttc"id="astructopj__tcd__cblk__dec_html"><divclass="ttname"><ahref="structopj__tcd__cblk__dec.html">opj_tcd_cblk_dec</a></div><divclass="ttdoc">Code-block for decoding.</div><divclass="ttdef"><b>Definition:</b> tcd.h:120</div></div>
<divclass="ttc"id="athread_8c_html_aa81ea27e801a8c0cf453b256ab38e067"><divclass="ttname"><ahref="thread_8c.html#aa81ea27e801a8c0cf453b256ab38e067">opj_mutex_create</a></div><divclass="ttdeci">opj_mutex_t * opj_mutex_create(void)</div><divclass="ttdoc">Creates a mutex.</div><divclass="ttdef"><b>Definition:</b> thread.c:443</div></div>
<divclass="ttc"id="atcd_8h_html_ad4c38b7d4cbb4e458fb22fe6c34fcbef"><divclass="ttname"><ahref="tcd_8h.html#ad4c38b7d4cbb4e458fb22fe6c34fcbef">opj_tcd_init_decode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_init_decode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Allocates memory for decoding a specific tile.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1205</div></div>
<divclass="ttc"id="atcd_8c_html_a6b48b81e832498ed31124446bf0232d5"><divclass="ttname"><ahref="tcd_8c.html#a6b48b81e832498ed31124446bf0232d5">opj_tcd_code_block_enc_allocate_data</a></div><divclass="ttdeci">static OPJ_BOOL opj_tcd_code_block_enc_allocate_data(opj_tcd_cblk_enc_t *p_code_block)</div><divclass="ttdoc">Allocates data for an encoding code block.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1239</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_aefb4572107a9aea093be96d966869a0d"><divclass="ttname"><ahref="opj__intmath_8h.html#aefb4572107a9aea093be96d966869a0d">opj_int_clamp</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_clamp(OPJ_INT32 a, OPJ_INT32 min, OPJ_INT32 max)</div><divclass="ttdoc">Clamp an integer inside an interval.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:116</div></div>
<divclass="ttc"id="astructopj__tcd_html_a57a0a72c3eeb7b383a62182bd02f6db2"><divclass="ttname"><ahref="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a></div><divclass="ttdeci">opj_tcd_image_t * tcd_image</div><divclass="ttdoc">info on each image tile</div><divclass="ttdef"><b>Definition:</b> tcd.h:268</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_abdf6c78f5b60afd230901e5e0c57f491"><divclass="ttname"><ahref="opj__intmath_8h.html#abdf6c78f5b60afd230901e5e0c57f491">opj_int_floordivpow2</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_floordivpow2(OPJ_INT32 a, OPJ_INT32 b)</div><divclass="ttdoc">Divide an integer by a power of 2 and round downwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:207</div></div>
<divclass="ttc"id="atcd_8h_html_aa0f48c91a7b3527fc105c1b608ebd766"><divclass="ttname"><ahref="tcd_8h.html#aa0f48c91a7b3527fc105c1b608ebd766">opj_tcd_reinit_segment</a></div><divclass="ttdeci">void opj_tcd_reinit_segment(opj_tcd_seg_t *seg)</div><divclass="ttdoc">Reinitialize a segment.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1280</div></div>
<divclass="ttc"id="astructopj__tcd_html_a84a4395f84b56bf3c131486a30f178b4"><divclass="ttname"><ahref="structopj__tcd.html#a84a4395f84b56bf3c131486a30f178b4">opj_tcd::m_is_decoder</a></div><divclass="ttdeci">OPJ_BITFIELD m_is_decoder</div><divclass="ttdoc">tell if the tcd is a decoder.</div><divclass="ttdef"><b>Definition:</b> tcd.h:278</div></div>
<divclass="ttc"id="aopj__includes_8h_html_ae64d2795e8dbcd9ff6d8e1ebd904ce80"><divclass="ttname"><ahref="opj__includes_8h.html#ae64d2795e8dbcd9ff6d8e1ebd904ce80">OPJ_BITFIELD</a></div><divclass="ttdeci">unsigned int OPJ_BITFIELD</div><divclass="ttdef"><b>Definition:</b> opj_includes.h:217</div></div>
<divclass="ttc"id="atgt_8c_html_aa34fdf087e24d66a2a661c31ba194c3f"><divclass="ttname"><ahref="tgt_8c.html#aa34fdf087e24d66a2a661c31ba194c3f">opj_tgt_init</a></div><divclass="ttdeci">opj_tgt_tree_t * opj_tgt_init(opj_tgt_tree_t *p_tree, OPJ_UINT32 p_num_leafs_h, OPJ_UINT32 p_num_leafs_v, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Reinitialises a tag-tree from an existing one.</div><divclass="ttdef"><b>Definition:</b> tgt.c:136</div></div>
<divclass="ttc"id="atcd_8c_html_a843e261ac54c7f4064bbfc678176a3ce"><divclass="ttname"><ahref="tcd_8c.html#a843e261ac54c7f4064bbfc678176a3ce">opj_tcd_create</a></div><divclass="ttdeci">opj_tcd_t * opj_tcd_create(OPJ_BOOL p_is_decoder)</div><divclass="ttdoc">Create a new TCD handle.</div><divclass="ttdef"><b>Definition:</b> tcd.c:203</div></div>
<divclass="ttc"id="astructopj__image_html_a0d01041cfbba0d40ab38836a35544e09"><divclass="ttname"><ahref="structopj__image.html#a0d01041cfbba0d40ab38836a35544e09">opj_image::x0</a></div><divclass="ttdeci">OPJ_UINT32 x0</div><divclass="ttdoc">XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:711</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ae592eb75f221decddec51834b6c4177d"><divclass="ttname"><ahref="opj__intmath_8h.html#ae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_ceildivpow2(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Divide an integer by a power of 2 and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:198</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ab00a7c3619b5af7595961047baff120e"><divclass="ttname"><ahref="opj__intmath_8h.html#ab00a7c3619b5af7595961047baff120e">opj_int_ceildiv</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b)</div><divclass="ttdoc">Divide an integer and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:160</div></div>
<divclass="ttc"id="astructopj__tile__info_html_ae8bdb0913c89ceb00a8a829dfbf34d43"><divclass="ttname"><ahref="structopj__tile__info.html#ae8bdb0913c89ceb00a8a829dfbf34d43">opj_tile_info::thresh</a></div><divclass="ttdeci">double * thresh</div><divclass="ttdoc">value of thresh for each layer by tile cfr.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:813</div></div>
<divclass="ttc"id="aj2k_8h_html_a427133e0bc1b38edd11de421f59e1d52ae10add0704a59d313c5e85b39d3454bf"><divclass="ttname"><ahref="j2k_8h.html#a427133e0bc1b38edd11de421f59e1d52ae10add0704a59d313c5e85b39d3454bf">FINAL_PASS</a></div><divclass="ttdeci">@ FINAL_PASS</div><divclass="ttdoc">Function called in Rate allocation process.</div><divclass="ttdef"><b>Definition:</b> j2k.h:163</div></div>
<divclass="ttc"id="astructopj__codestream__info_html"><divclass="ttname"><ahref="structopj__codestream__info.html">opj_codestream_info</a></div><divclass="ttdoc">Index structure of the codestream.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:851</div></div>
<divclass="ttc"id="astructopj__tcd_html_aea33cdf3cbaaa6c0c97635d0a0ec9033"><divclass="ttname"><ahref="structopj__tcd.html#aea33cdf3cbaaa6c0c97635d0a0ec9033">opj_tcd::cur_totnum_tp</a></div><divclass="ttdeci">OPJ_UINT32 cur_totnum_tp</div><divclass="ttdoc">Total number of tileparts of the current tile.</div><divclass="ttdef"><b>Definition:</b> tcd.h:264</div></div>
<divclass="ttc"id="astructopj__decoding__param_html_ac39589eec454fb99b40d8bc5a4c4f477"><divclass="ttname"><ahref="structopj__decoding__param.html#ac39589eec454fb99b40d8bc5a4c4f477">opj_decoding_param::m_reduce</a></div><divclass="ttdeci">OPJ_UINT32 m_reduce</div><divclass="ttdoc">if != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the ...</div><divclass="ttdef"><b>Definition:</b> j2k.h:341</div></div>
<divclass="ttc"id="astructopj__cp_html_abacc172096044123cfa0a7b027cd457f"><divclass="ttname"><ahref="structopj__cp.html#abacc172096044123cfa0a7b027cd457f">opj_cp::tw</a></div><divclass="ttdeci">OPJ_UINT32 tw</div><divclass="ttdoc">number of tiles in width</div><divclass="ttdef"><b>Definition:</b> j2k.h:367</div></div>
<divclass="ttc"id="astructopj__image__comp_html_a0805d2f69bb770ff022c164aeda22685"><divclass="ttname"><ahref="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a></div><divclass="ttdeci">OPJ_UINT32 dx</div><divclass="ttdoc">XRsiz: horizontal separation of a sample of ith component with respect to the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:679</div></div>
<divclass="ttc"id="atcd_8c_html_a751412dec0df96c8595e1276f19e7aa2"><divclass="ttname"><ahref="tcd_8c.html#a751412dec0df96c8595e1276f19e7aa2">opj_tcd_is_whole_tilecomp_decoding</a></div><divclass="ttdeci">static OPJ_BOOL opj_tcd_is_whole_tilecomp_decoding(opj_tcd_t *tcd, OPJ_UINT32 compno)</div><divclass="ttdoc">Returns whether a tile componenent is fully decoded, taking into account p_tcd->win_* members.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2800</div></div>
<divclass="ttc"id="astructopj__encoding__param_html_a53f7ee9dec382419e922cbb93aa6f479"><divclass="ttname"><ahref="structopj__encoding__param.html#a53f7ee9dec382419e922cbb93aa6f479">opj_encoding_param::m_disto_alloc</a></div><divclass="ttdeci">OPJ_BITFIELD m_disto_alloc</div><divclass="ttdoc">allocation by rate/distortion</div><divclass="ttdef"><b>Definition:</b> j2k.h:329</div></div>
<divclass="ttc"id="atcd_8h_html_a35c1b4cb094ae87d6bba87f6be7aa183"><divclass="ttname"><ahref="tcd_8h.html#a35c1b4cb094ae87d6bba87f6be7aa183">opj_tcd_destroy</a></div><divclass="ttdeci">void opj_tcd_destroy(opj_tcd_t *tcd)</div><divclass="ttdoc">Destroy a previously created TCD handle.</div><divclass="ttdef"><b>Definition:</b> tcd.c:676</div></div>
<divclass="ttc"id="atcd_8h_html_a843e261ac54c7f4064bbfc678176a3ce"><divclass="ttname"><ahref="tcd_8h.html#a843e261ac54c7f4064bbfc678176a3ce">opj_tcd_create</a></div><divclass="ttdeci">opj_tcd_t * opj_tcd_create(OPJ_BOOL p_is_decoder)</div><divclass="ttdoc">Dump the content of a tcd structure.</div><divclass="ttdef"><b>Definition:</b> tcd.c:203</div></div>
<divclass="ttc"id="astructopj__tcd_html_a0ae43e0bcaae1095138b6ab8752e7ed2"><divclass="ttname"><ahref="structopj__tcd.html#a0ae43e0bcaae1095138b6ab8752e7ed2">opj_tcd::win_x0</a></div><divclass="ttdeci">OPJ_UINT32 win_x0</div><divclass="ttdoc">Coordinates of the window of interest, in grid reference space.</div><divclass="ttdef"><b>Definition:</b> tcd.h:282</div></div>
<divclass="ttc"id="atcd_8h_html_a96f962af737e4f4f2b7fb026f7869eca"><divclass="ttname"><ahref="tcd_8h.html#a96f962af737e4f4f2b7fb026f7869eca">opj_tcd_is_band_empty</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_is_band_empty(opj_tcd_band_t *band)</div><divclass="ttdoc">Returns whether a sub-band is empty (i.e.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2707</div></div>
<divclass="ttc"id="atcd_8h_html_a1ade88b5bde6f169d5962e8cc496c80f"><divclass="ttname"><ahref="tcd_8h.html#a1ade88b5bde6f169d5962e8cc496c80f">opj_tcd_copy_tile_data</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_copy_tile_data(opj_tcd_t *p_tcd, OPJ_BYTE *p_src, OPJ_SIZE_T p_src_length)</div><divclass="ttdoc">Copies tile data from the given memory block onto the system.</div><divclass="ttdef"><b>Definition:</b> tcd.c:2619</div></div>
<divclass="ttc"id="amct_8c_html_ace5e4626543ebab61a4303e84fa24c06"><divclass="ttname"><ahref="mct_8c.html#ace5e4626543ebab61a4303e84fa24c06">opj_mct_encode_real</a></div><divclass="ttdeci">void opj_mct_encode_real(OPJ_FLOAT32 *OPJ_RESTRICT c0, OPJ_FLOAT32 *OPJ_RESTRICT c1, OPJ_FLOAT32 *OPJ_RESTRICT c2, OPJ_SIZE_T n)</div><divclass="ttdoc">Apply an irreversible multi-component transform to an image.</div><divclass="ttdef"><b>Definition:</b> mct.c:212</div></div>
<divclass="ttc"id="atcd_8c_html_a98e56ce8f39a9f47faedaa6dfdea5a7b"><divclass="ttname"><ahref="tcd_8c.html#a98e56ce8f39a9f47faedaa6dfdea5a7b">opj_tcd_encode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_encode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, OPJ_BYTE *p_dest, OPJ_UINT32 *p_data_written, OPJ_UINT32 p_max_length, opj_codestream_info_t *p_cstr_info, opj_tcd_marker_info_t *p_marker_info, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Encodes a tile from the raw image into the given buffer.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1381</div></div>
<divclass="ttc"id="astructopj__tcd_html_a5d03f3eb3df69859bc4fa4f0970afe24"><divclass="ttname"><ahref="structopj__tcd.html#a5d03f3eb3df69859bc4fa4f0970afe24">opj_tcd::tp_num</a></div><divclass="ttdeci">OPJ_UINT32 tp_num</div><divclass="ttdoc">Tile part number.</div><divclass="ttdef"><b>Definition:</b> tcd.h:260</div></div>
<divclass="ttc"id="atcd_8h_html_a261addde80e80a2ad6af635daeb342bb"><divclass="ttname"><ahref="tcd_8h.html#a261addde80e80a2ad6af635daeb342bb">opj_tcd_init_encode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_init_encode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Initialize the tile coder and may reuse some meory.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1198</div></div>
<divclass="ttc"id="atcd_8c_html_a37cc7345ee7ebe453a9af02ded607212"><divclass="ttname"><ahref="tcd_8c.html#a37cc7345ee7ebe453a9af02ded607212">opj_tcd_code_block_enc_allocate</a></div><divclass="ttdeci">static OPJ_BOOL opj_tcd_code_block_enc_allocate(opj_tcd_cblk_enc_t *p_code_block)</div><divclass="ttdoc">Allocates memory for an encoding code block (but not data).</div><divclass="ttdef"><b>Definition:</b> tcd.c:1215</div></div>
<divclass="ttc"id="atcd_8h_html_a52e4296555a20244677550e29b9435cd"><divclass="ttname"><ahref="tcd_8h.html#a52e4296555a20244677550e29b9435cd">opj_tcd_get_decoded_tile_size</a></div><divclass="ttdeci">OPJ_UINT32 opj_tcd_get_decoded_tile_size(opj_tcd_t *p_tcd, OPJ_BOOL take_into_account_partial_decoding)</div><divclass="ttdoc">Gets the maximum tile size that will be taken by the tile once decoded.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1326</div></div>
<divclass="ttc"id="astructopj__tcd__marker__info_html"><divclass="ttname"><ahref="structopj__tcd__marker__info.html">opj_tcd_marker_info</a></div><divclass="ttdoc">Structure to hold information needed to generate some markers.</div><divclass="ttdef"><b>Definition:</b> tcd.h:296</div></div>
<divclass="ttc"id="atcd_8h_html_a0f9a44a76f8ad17a94f3f689adfc6c0a"><divclass="ttname"><ahref="tcd_8h.html#a0f9a44a76f8ad17a94f3f689adfc6c0a">opj_tcd_cblk_dec_t</a></div><divclass="ttdeci">struct opj_tcd_cblk_dec opj_tcd_cblk_dec_t</div><divclass="ttdoc">Code-block for decoding.</div></div>
<divclass="ttc"id="astructopj__image_html"><divclass="ttname"><ahref="structopj__image.html">opj_image</a></div><divclass="ttdoc">Defines image data and characteristics.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:709</div></div>
<divclass="ttc"id="atcd_8c_html_ad4c38b7d4cbb4e458fb22fe6c34fcbef"><divclass="ttname"><ahref="tcd_8c.html#ad4c38b7d4cbb4e458fb22fe6c34fcbef">opj_tcd_init_decode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_init_decode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Allocates memory for decoding a specific tile.</div><divclass="ttdef"><b>Definition:</b> tcd.c:1205</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_aaa1e441dec325d33ccd86aa7ca8ccfdc"><divclass="ttname"><ahref="opj__intmath_8h.html#aaa1e441dec325d33ccd86aa7ca8ccfdc">opj_int_ceildivpow2</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_ceildivpow2(OPJ_INT32 a, OPJ_INT32 b)</div><divclass="ttdoc">Divide an integer by a power of 2 and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:180</div></div>
<divclass="ttc"id="atcd_8h_html_ad98baebcb0d551980ef28b692803c1a0"><divclass="ttname"><ahref="tcd_8h.html#ad98baebcb0d551980ef28b692803c1a0">opj_tcd_is_subband_area_of_interest</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_is_subband_area_of_interest(opj_tcd_t *tcd, OPJ_UINT32 compno, OPJ_UINT32 resno, OPJ_UINT32 bandno, OPJ_UINT32 x0, OPJ_UINT32 y0, OPJ_UINT32 x1, OPJ_UINT32 y1)</div><divclass="ttdoc">Returns whether a sub-band region contributes to the area of interest tcd->win_x0,...</div><divclass="ttdef"><b>Definition:</b> tcd.c:2712</div></div>
<divclass="ttc"id="astructopj__tile__info_html_a38eea8dbd58de28609e384cdb4f4ba77"><divclass="ttname"><ahref="structopj__tile__info.html#a38eea8dbd58de28609e384cdb4f4ba77">opj_tile_info::pw</a></div><divclass="ttdeci">int pw[33]</div><divclass="ttdoc">precinct number for each resolution level (width)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:823</div></div>