<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="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="structopj__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:56</div></div>
<divclass="ttc"id="group___t2_html_ga0e929ed8feb7bad8d169b0dc4478e59a"><divclass="ttname"><ahref="group___t2.html#ga0e929ed8feb7bad8d169b0dc4478e59a">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:543</div></div>
<divclass="ttc"id="structopj__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:666</div></div>
<divclass="ttc"id="group___t2_html_ga8ec376edb7a967e6ebec609c68066f9a"><divclass="ttname"><ahref="group___t2.html#ga8ec376edb7a967e6ebec609c68066f9a">opj_t2_encode_packets</a></div><divclass="ttdeci">OPJ_BOOL opj_t2_encode_packets(opj_t2_t *t2, OPJ_UINT32 tileno, opj_tcd_tile_t *tile, OPJ_UINT32 maxlayers, OPJ_BYTE *dest, OPJ_UINT32 *p_data_written, OPJ_UINT32 len, opj_codestream_info_t *cstr_info, OPJ_UINT32 tpnum, OPJ_INT32 tppos, OPJ_UINT32 pino, J2K_T2_MODE t2_mode)</div><divclass="ttdoc">Encode the packets of a tile to a destination buffer. </div><divclass="ttdef"><b>Definition:</b> t2.c:214</div></div>
<divclass="ttc"id="group___t2_html_ga6de6ce65e2c8b2ae26fb17a8b318cee4"><divclass="ttname"><ahref="group___t2.html#ga6de6ce65e2c8b2ae26fb17a8b318cee4">opj_t2_decode_packets</a></div><divclass="ttdeci">OPJ_BOOL opj_t2_decode_packets(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:363</div></div>
<divclass="ttc"id="structopj__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:994</div></div>
<divclass="ttc"id="structopj__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:58</div></div>
<divclass="ttc"id="structopj__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:808</div></div>