<ahref="t2_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="ttc"id="api_8c_html_a7366cd1b06e22a71734d95f27ceaa20b"><divclass="ttname"><ahref="pi_8c.html#a7366cd1b06e22a71734d95f27ceaa20b">opj_get_encoding_packet_count</a></div><divclass="ttdeci">OPJ_UINT32 opj_get_encoding_packet_count(const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)</div><divclass="ttdoc">Return the number of packets in the tile.</div><divclass="ttdef"><b>Definition:</b> pi.c:1592</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="aopj__intmath_8h_html_aa6a55d57af96308459f6de414227ae40"><divclass="ttname"><ahref="opj__intmath_8h.html#aa6a55d57af96308459f6de414227ae40">opj_int_floorlog2</a></div><divclass="ttdeci">static INLINE OPJ_INT32 opj_int_floorlog2(OPJ_INT32 a)</div><divclass="ttdoc">Get logarithm of an integer and round downwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:225</div></div>
<divclass="ttc"id="at2_8h_html_a0e929ed8feb7bad8d169b0dc4478e59a"><divclass="ttname"><ahref="t2_8h.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="astructopj__pi__iterator_html_a45916c625862f62c288bb0b923c6bc09"><divclass="ttname"><ahref="structopj__pi__iterator.html#a45916c625862f62c288bb0b923c6bc09">opj_pi_iterator::compno</a></div><divclass="ttdeci">OPJ_UINT32 compno</div><divclass="ttdoc">component that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:89</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="api_8c_html_a2b305751720002ec7fd630d9c87d4dd4"><divclass="ttname"><ahref="pi_8c.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy</a></div><divclass="ttdeci">void opj_pi_destroy(opj_pi_iterator_t *p_pi, OPJ_UINT32 p_nb_elements)</div><divclass="ttdoc">Destroys a packet iterator array.</div><divclass="ttdef"><b>Definition:</b> pi.c:2071</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__codestream__info_html_ad0b77ec211cd04869bfe4a87809df74c"><divclass="ttname"><ahref="structopj__codestream__info.html#ad0b77ec211cd04869bfe4a87809df74c">opj_codestream_info::D_max</a></div><divclass="ttdeci">double D_max</div><divclass="ttdoc">maximum distortion reduction on the whole image (add for Marcela)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:853</div></div>
<divclass="ttc"id="astructopj__t2_html_aa6ac0af01ca6bb5f1d7afe39422181ee"><divclass="ttname"><ahref="structopj__t2.html#aa6ac0af01ca6bb5f1d7afe39422181ee">opj_t2::image</a></div><divclass="ttdeci">opj_image_t * image</div><divclass="ttdoc">Encoding: pointer to the src image.</div><divclass="ttdef"><b>Definition:</b> t2.h:57</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="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="astructopj__cp_html_a8512dad8bfe25b156bdfa54b9a57a3c1"><divclass="ttname"><ahref="structopj__cp.html#a8512dad8bfe25b156bdfa54b9a57a3c1">opj_cp::ppm_len</a></div><divclass="ttdeci">OPJ_UINT32 ppm_len</div><divclass="ttdoc">size of the ppm_data</div><divclass="ttdef"><b>Definition:</b> j2k.h:379</div></div>
<divclass="ttc"id="abio_8c_html_a00f1d2645b33a7281e2b2dbc20079957"><divclass="ttname"><ahref="bio_8c.html#a00f1d2645b33a7281e2b2dbc20079957">opj_bio_create</a></div><divclass="ttdeci">opj_bio_t * opj_bio_create(void)</div><divclass="ttdoc">Create a new BIO handle.</div><divclass="ttdef"><b>Definition:</b> bio.c:129</div></div>
<divclass="ttc"id="astructopj__tcp_html_ad1b3b9175735f8bd6950734fd97a04bd"><divclass="ttname"><ahref="structopj__tcp.html#ad1b3b9175735f8bd6950734fd97a04bd">opj_tcp::ppt</a></div><divclass="ttdeci">OPJ_BITFIELD ppt</div><divclass="ttdoc">If ppt == 1 --> there was a PPT marker for the present tile.</div><divclass="ttdef"><b>Definition:</b> j2k.h:311</div></div>
<divclass="ttc"id="abio_8c_html_a71dd985d85ece15f4b6c2ea92fae5239"><divclass="ttname"><ahref="bio_8c.html#a71dd985d85ece15f4b6c2ea92fae5239">opj_bio_destroy</a></div><divclass="ttdeci">void opj_bio_destroy(opj_bio_t *bio)</div><divclass="ttdoc">Destroy a previously created BIO handle.</div><divclass="ttdef"><b>Definition:</b> bio.c:135</div></div>
<divclass="ttc"id="astructopj__tcp_html_aa3ef9635a2c5c2341e58f31bd29431d8"><divclass="ttname"><ahref="structopj__tcp.html#aa3ef9635a2c5c2341e58f31bd29431d8">opj_tcp::ppt_data</a></div><divclass="ttdeci">OPJ_BYTE * ppt_data</div><divclass="ttdoc">packet header store there for future use in t2_decode_packet</div><divclass="ttdef"><b>Definition:</b> j2k.h:268</div></div>
<divclass="ttc"id="astructopj__cp_html_ab499ec6085e54e5ccbfc35d63178bf55"><divclass="ttname"><ahref="structopj__cp.html#ab499ec6085e54e5ccbfc35d63178bf55">opj_cp::ppm</a></div><divclass="ttdeci">OPJ_BITFIELD ppm</div><divclass="ttdoc">if ppm == 1 --> there was a PPM marker</div><divclass="ttdef"><b>Definition:</b> j2k.h:454</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__encoding__param_html_ab14cfb8a5c9d4dd7ea8a312783644ca9"><divclass="ttname"><ahref="structopj__encoding__param.html#ab14cfb8a5c9d4dd7ea8a312783644ca9">opj_encoding_param::m_max_comp_size</a></div><divclass="ttdeci">OPJ_UINT32 m_max_comp_size</div><divclass="ttdoc">Maximum rate for each component.</div><divclass="ttdef"><b>Definition:</b> j2k.h:321</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="astructopj__packet__info_html_a091879c16084f61abb01b1a5b26d142b"><divclass="ttname"><ahref="structopj__packet__info.html#a091879c16084f61abb01b1a5b26d142b">opj_packet_info::start_pos</a></div><divclass="ttdeci">OPJ_OFF_T start_pos</div><divclass="ttdoc">packet start position (including SOP marker if it exists)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:768</div></div>
<divclass="ttc"id="atgt_8c_html_afe36abfc042710c566552ed3adfcb2a9"><divclass="ttname"><ahref="tgt_8c.html#afe36abfc042710c566552ed3adfcb2a9">opj_tgt_encode</a></div><divclass="ttdeci">void opj_tgt_encode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold)</div><divclass="ttdoc">Encode the value of a leaf of the tag-tree up to a given threshold.</div><divclass="ttdef"><b>Definition:</b> tgt.c:264</div></div>
<divclass="ttc"id="astructopj__tcp_html_aac3c15725d8c01013c63e08a0fce7706"><divclass="ttname"><ahref="structopj__tcp.html#aac3c15725d8c01013c63e08a0fce7706">opj_tcp::numpocs</a></div><divclass="ttdeci">OPJ_UINT32 numpocs</div><divclass="ttdoc">number of progression order changes</div><divclass="ttdef"><b>Definition:</b> j2k.h:258</div></div>
<divclass="ttc"id="astructopj__tile__info_html_afc4a4cf6ea2ebecdc45ba234197ba4ee"><divclass="ttname"><ahref="structopj__tile__info.html#afc4a4cf6ea2ebecdc45ba234197ba4ee">opj_tile_info::end_header</a></div><divclass="ttdeci">int end_header</div><divclass="ttdoc">end position of the header</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:819</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a39e7de7bb4f4a95fd7b5f054b04de4a2"><divclass="ttname"><ahref="structopj__pi__iterator.html#a39e7de7bb4f4a95fd7b5f054b04de4a2">opj_pi_iterator::precno</a></div><divclass="ttdeci">OPJ_UINT32 precno</div><divclass="ttdoc">precinct that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:93</div></div>
<divclass="ttc"id="astructopj__bio_html"><divclass="ttname"><ahref="structopj__bio.html">opj_bio</a></div><divclass="ttdoc">Individual bit input-output stream (BIO)</div><divclass="ttdef"><b>Definition:</b> bio.h:56</div></div>
<divclass="ttc"id="astructopj__packet__info_html_a8d0687f01cba3aa3b62011eec7d415cd"><divclass="ttname"><ahref="structopj__packet__info.html#a8d0687f01cba3aa3b62011eec7d415cd">opj_packet_info::end_ph_pos</a></div><divclass="ttdeci">OPJ_OFF_T end_ph_pos</div><divclass="ttdoc">end of packet header position (including EPH marker if it exists)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:770</div></div>
<divclass="ttc"id="atgt_8c_html_ae5b8ff007944f30c854d4ede64bb16a2"><divclass="ttname"><ahref="tgt_8c.html#ae5b8ff007944f30c854d4ede64bb16a2">opj_tgt_reset</a></div><divclass="ttdeci">void opj_tgt_reset(opj_tgt_tree_t *p_tree)</div><divclass="ttdoc">Reset a tag-tree (set all leaves to 0)</div><divclass="ttdef"><b>Definition:</b> tgt.c:236</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a91ef25eaa56320684de5d1e3a4097823"><divclass="ttname"><ahref="opj__intmath_8h.html#a91ef25eaa56320684de5d1e3a4097823">opj_uint_floorlog2</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_floorlog2(OPJ_UINT32 a)</div><divclass="ttdoc">Get logarithm of an integer and round downwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:237</div></div>
<divclass="ttc"id="astructopj__cp_html_a257d0e83d4cc7b8bdaf2cefd240508e8"><divclass="ttname"><ahref="structopj__cp.html#a257d0e83d4cc7b8bdaf2cefd240508e8">opj_cp::ppm_data</a></div><divclass="ttdeci">OPJ_BYTE * ppm_data</div><divclass="ttdoc">packet header store there for future use in t2_decode_packet</div><divclass="ttdef"><b>Definition:</b> j2k.h:377</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_a240b55de8516f9191628470efd9b6fca"><divclass="ttname"><ahref="structopj__tcp.html#a240b55de8516f9191628470efd9b6fca">opj_tcp::POC</a></div><divclass="ttdeci">OPJ_BITFIELD POC</div><divclass="ttdoc">indicates if a POC marker has been used O:NO, 1:YES</div><divclass="ttdef"><b>Definition:</b> j2k.h:313</div></div>
<divclass="ttc"id="at2_8c_html_aa7ebeb8dd20816d3bc15c56e8014811b"><divclass="ttname"><ahref="t2_8c.html#aa7ebeb8dd20816d3bc15c56e8014811b">opj_t2_decode_packets</a></div><divclass="ttdeci">OPJ_BOOL opj_t2_decode_packets(opj_tcd_t *tcd, opj_t2_t *p_t2, OPJ_UINT32 p_tile_no, opj_tcd_tile_t *p_tile, OPJ_BYTE *p_src, OPJ_UINT32 *p_data_read, OPJ_UINT32 p_max_len, opj_codestream_index_t *p_cstr_index, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Decode the packets of a tile from a source buffer.</div><divclass="ttdef"><b>Definition:</b> t2.c:393</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="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__image__comp_html_ab9d6b54916aba881438fcff74d76a6a5"><divclass="ttname"><ahref="structopj__image__comp.html#ab9d6b54916aba881438fcff74d76a6a5">opj_image_comp::resno_decoded</a></div><divclass="ttdeci">OPJ_UINT32 resno_decoded</div><divclass="ttdoc">number of decoded resolution</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:697</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="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="astructopj__tcp_html_ab85824801ac4d85f94d8fe7f00dd1f8a"><divclass="ttname"><ahref="structopj__tcp.html#ab85824801ac4d85f94d8fe7f00dd1f8a">opj_tcp::ppt_len</a></div><divclass="ttdeci">OPJ_UINT32 ppt_len</div><divclass="ttdoc">size of ppt_data</div><divclass="ttdef"><b>Definition:</b> j2k.h:274</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="api_8c_html_a638f17d6f40f88cd90d1cedbf95147f9"><divclass="ttname"><ahref="pi_8c.html#a638f17d6f40f88cd90d1cedbf95147f9">opj_pi_next</a></div><divclass="ttdeci">OPJ_BOOL opj_pi_next(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Modify the packet iterator to point to the next packet.</div><divclass="ttdef"><b>Definition:</b> pi.c:2136</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a61c60db76ab998db030bbecfa24e040a"><divclass="ttname"><ahref="structopj__pi__iterator.html#a61c60db76ab998db030bbecfa24e040a">opj_pi_iterator::resno</a></div><divclass="ttdeci">OPJ_UINT32 resno</div><divclass="ttdoc">resolution that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:91</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="atgt_8c_html_a5b970bfd9b761cdf2ff36001821b06aa"><divclass="ttname"><ahref="tgt_8c.html#a5b970bfd9b761cdf2ff36001821b06aa">opj_tgt_decode</a></div><divclass="ttdeci">OPJ_UINT32 opj_tgt_decode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold)</div><divclass="ttdoc">Decode the value of a leaf of the tag-tree up to a given threshold.</div><divclass="ttdef"><b>Definition:</b> tgt.c:307</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="atgt_8c_html_ab0844dbb6cdf88a7bb4036d718774f69"><divclass="ttname"><ahref="tgt_8c.html#ab0844dbb6cdf88a7bb4036d718774f69">opj_tgt_setvalue</a></div><divclass="ttdeci">void opj_tgt_setvalue(opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 value)</div><divclass="ttdoc">Set the value of a leaf of a tag-tree.</div><divclass="ttdef"><b>Definition:</b> tgt.c:254</div></div>
<divclass="ttc"id="abio_8c_html_a830ee6789a9be0ae5f9a8ff056b771fe"><divclass="ttname"><ahref="bio_8c.html#a830ee6789a9be0ae5f9a8ff056b771fe">opj_bio_inalign</a></div><divclass="ttdeci">OPJ_BOOL opj_bio_inalign(opj_bio_t *bio)</div><divclass="ttdoc">Passes the ending bits (coming from flushing)</div><divclass="ttdef"><b>Definition:</b> bio.c:208</div></div>
<divclass="ttc"id="astructopj__t2_html_a69b05e3b5a028b4ebe35164ecbe8e997"><divclass="ttname"><ahref="structopj__t2.html#a69b05e3b5a028b4ebe35164ecbe8e997">opj_t2::cp</a></div><divclass="ttdeci">opj_cp_t * cp</div><divclass="ttdoc">pointer to the image coding parameters</div><divclass="ttdef"><b>Definition:</b> t2.h:59</div></div>
<divclass="ttc"id="astructopj__packet__info_html_a5f5406a701b46234a6ff7bc899ee89c6"><divclass="ttname"><ahref="structopj__packet__info.html#a5f5406a701b46234a6ff7bc899ee89c6">opj_packet_info::end_pos</a></div><divclass="ttdeci">OPJ_OFF_T end_pos</div><divclass="ttdoc">packet end position</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:772</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__cp_html_a4689f12a5cb2cddb20a16d98dce6ec30"><divclass="ttname"><ahref="structopj__cp.html#a4689f12a5cb2cddb20a16d98dce6ec30">opj_cp::strict</a></div><divclass="ttdeci">OPJ_BOOL strict</div><divclass="ttdoc">OPJ_TRUE if entire bit stream must be decoded, OPJ_FALSE if partial bitstream decoding allowed.</div><divclass="ttdef"><b>Definition:</b> j2k.h:406</div></div>
<divclass="ttc"id="astructopj__poc_html_ac3a5cd2197ec2f6efa274fff547aca5d"><divclass="ttname"><ahref="structopj__poc.html#ac3a5cd2197ec2f6efa274fff547aca5d">opj_poc::prg1</a></div><divclass="ttdeci">OPJ_PROG_ORDER prg1</div><divclass="ttdoc">Progression order enum.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:373</div></div>
<divclass="ttc"id="at2_8h_html_a08fffa34be41f4811d8bd99e9364de2e"><divclass="ttname"><ahref="t2_8h.html#a08fffa34be41f4811d8bd99e9364de2e">opj_t2_decode_packets</a></div><divclass="ttdeci">OPJ_BOOL opj_t2_decode_packets(opj_tcd_t *tcd, opj_t2_t *t2, OPJ_UINT32 tileno, opj_tcd_tile_t *tile, OPJ_BYTE *src, OPJ_UINT32 *p_data_read, OPJ_UINT32 len, opj_codestream_index_t *cstr_info, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Decode the packets of a tile from a source buffer.</div><divclass="ttdef"><b>Definition:</b> t2.c:393</div></div>
<divclass="ttc"id="aj2k_8h_html_ab4a11b37d608c28c255a723fc6fd2c08"><divclass="ttname"><ahref="j2k_8h.html#ab4a11b37d608c28c255a723fc6fd2c08">J2K_CCP_CBLKSTY_TERMALL</a></div><divclass="ttdeci">#define J2K_CCP_CBLKSTY_TERMALL</div><divclass="ttdoc">Termination on each coding pass.</div><divclass="ttdef"><b>Definition:</b> j2k.h:60</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="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="at2_8c_html_af46b03251519f1cba8bb01da5abc2169"><divclass="ttname"><ahref="t2_8c.html#af46b03251519f1cba8bb01da5abc2169">opj_t2_encode_packet</a></div><divclass="ttdeci">static OPJ_BOOL opj_t2_encode_packet(OPJ_UINT32 tileno, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi, OPJ_BYTE *dest, OPJ_UINT32 *p_data_written, OPJ_UINT32 len, opj_codestream_info_t *cstr_info, J2K_T2_MODE p_t2_mode, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Encode a packet of a tile to a destination buffer.</div><divclass="ttdef"><b>Definition:</b> t2.c:662</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_afb02b0f87fc58311f610b6f6e74130cd"><divclass="ttname"><ahref="structopj__pi__iterator.html#afb02b0f87fc58311f610b6f6e74130cd">opj_pi_iterator::layno</a></div><divclass="ttdeci">OPJ_UINT32 layno</div><divclass="ttdoc">layer that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:95</div></div>