<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="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * Copyright (c) 2001-2003, David Janssens</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * Copyright (c) 2002-2003, Yannick Verschueren</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * Copyright (c) 2003-2007, Francois-Olivier Devaux</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * Copyright (c) 2003-2014, Antonin Descampe</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * Copyright (c) 2005, Herve Drolon, FreeImage Team</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * Copyright (c) 2008, 2011-2012, Centre National d'Etudes Spatiales (CNES), FR</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * Copyright (c) 2012, CS Systemes d'Information, France</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * Copyright (c) 2017, IntoPIX SA <support@intopix.com></span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * All rights reserved.</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> *</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
<divclass="ttc"id="group___t_c_d_html_ga6848d18435dd2260812662ad9d3350a7"><divclass="ttname"><ahref="group___t_c_d.html#ga6848d18435dd2260812662ad9d3350a7">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="structopj__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="group___t_c_d_html_ga843e261ac54c7f4064bbfc678176a3ce"><divclass="ttname"><ahref="group___t_c_d.html#ga843e261ac54c7f4064bbfc678176a3ce">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:202</div></div>
<divclass="ttc"id="structopj__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:259</div></div>
<divclass="ttc"id="group___t_c_d_html_ga52e4296555a20244677550e29b9435cd"><divclass="ttname"><ahref="group___t_c_d.html#ga52e4296555a20244677550e29b9435cd">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:1296</div></div>
<divclass="ttc"id="structopj__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="group___t_c_d_html_ga35c1b4cb094ae87d6bba87f6be7aa183"><divclass="ttname"><ahref="group___t_c_d.html#ga35c1b4cb094ae87d6bba87f6be7aa183">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:673</div></div>
<divclass="ttc"id="structopj__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:255</div></div>
<divclass="ttc"id="group___t_c_d_html_gad5a64bbb748b2c76bd41ea66715fa897"><divclass="ttname"><ahref="group___t_c_d.html#gad5a64bbb748b2c76bd41ea66715fa897">opj_tcd_decode_tile</a></div><divclass="ttdeci">OPJ_BOOL opj_tcd_decode_tile(opj_tcd_t *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 *src, OPJ_UINT32 len, OPJ_UINT32 tileno, opj_codestream_index_t *cstr_info, opj_event_mgr_t *manager)</div><divclass="ttdoc">Decode a tile from a buffer into a raw image. </div><divclass="ttdef"><b>Definition:</b> tcd.c:1446</div></div>
<divclass="ttc"id="group___t_c_d_html_gaee317346b70f250cbe327c3dc2536715"><divclass="ttname"><ahref="group___t_c_d.html#gaee317346b70f250cbe327c3dc2536715">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:1700</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:669</div></div>
<divclass="ttc"id="structopj__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:263</div></div>
<divclass="ttc"id="structopj__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:277</div></div>
<divclass="ttc"id="group___t_c_d_html_gad4c38b7d4cbb4e458fb22fe6c34fcbef"><divclass="ttname"><ahref="group___t_c_d.html#gad4c38b7d4cbb4e458fb22fe6c34fcbef">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:1181</div></div>
<divclass="ttc"id="structopj__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="structopj__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:213</div></div>
<divclass="ttc"id="group___t_c_d_html_gae64d7b9b2fbac46dc71f3f2cff5c63f3"><divclass="ttname"><ahref="group___t_c_d.html#gae64d7b9b2fbac46dc71f3f2cff5c63f3">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_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:1351</div></div>
<divclass="ttc"id="structopj__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:273</div></div>
<divclass="ttc"id="structopj__tcd_html_ad59ef39d08151a05bc6b0bb693607370"><divclass="ttname"><ahref="structopj__tcd.html#ad59ef39d08151a05bc6b0bb693607370">opj_tcd::thread_pool</a></div><divclass="ttdeci">opj_thread_pool_t * thread_pool</div><divclass="ttdoc">Thread pool. </div><divclass="ttdef"><b>Definition:</b> tcd.h:275</div></div>
<divclass="ttc"id="opj__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="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:997</div></div>
<divclass="ttc"id="group___t_c_d_html_ga1ade88b5bde6f169d5962e8cc496c80f"><divclass="ttname"><ahref="group___t_c_d.html#ga1ade88b5bde6f169d5962e8cc496c80f">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:2591</div></div>
<divclass="ttc"id="group___t_c_d_html_ga261addde80e80a2ad6af635daeb342bb"><divclass="ttname"><ahref="group___t_c_d.html#ga261addde80e80a2ad6af635daeb342bb">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:1174</div></div>
<divclass="ttc"id="group___t_c_d_html_ga8f9a0eceb5f11b164555a302db07cb5c"><divclass="ttname"><ahref="group___t_c_d.html#ga8f9a0eceb5f11b164555a302db07cb5c">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:643</div></div>
<divclass="ttc"id="structopj__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:241</div></div>
<divclass="ttc"id="group___t_c_d_html_gad98baebcb0d551980ef28b692803c1a0"><divclass="ttname"><ahref="group___t_c_d.html#gad98baebcb0d551980ef28b692803c1a0">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,tcd->win_y0,tcd->win_x1,tcd->win_y1. </div><divclass="ttdef"><b>Definition:</b> tcd.c:2684</div></div>
<divclass="ttc"id="structopj__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:269</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:811</div></div>
<divclass="ttc"id="group___t_c_d_html_ga97a76428e608ecd9c23872fe4b4d204b"><divclass="ttname"><ahref="group___t_c_d.html#ga97a76428e608ecd9c23872fe4b4d204b">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="structopj__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:253</div></div>