openjpeg/doxygen/group___t_c_d.html

1207 lines
112 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>OpenJPEG: TCD - Implementation of a tile coder/decoder</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.3.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> </div>
<div class="headertitle">
<div class="title">TCD - Implementation of a tile coder/decoder</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__pass.html">opj_tcd_pass</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__tcd__pass.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__layer.html">opj_tcd_layer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__tcd__layer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__cblk__enc.html">opj_tcd_cblk_enc</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__tcd__cblk__enc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__seg__data__chunk.html">opj_tcd_seg_data_chunk</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chunk of codestream data that is part of a code block. <a href="structopj__tcd__seg__data__chunk.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__seg.html">opj_tcd_seg</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Segment of a code-block. <a href="structopj__tcd__seg.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__cblk__dec.html">opj_tcd_cblk_dec</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Code-block for decoding. <a href="structopj__tcd__cblk__dec.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__precinct.html">opj_tcd_precinct</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precinct structure. <a href="structopj__tcd__precinct.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__band.html">opj_tcd_band</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sub-band structure. <a href="structopj__tcd__band.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__resolution.html">opj_tcd_resolution</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile-component resolution structure. <a href="structopj__tcd__resolution.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__tilecomp.html">opj_tcd_tilecomp</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile-component structure. <a href="structopj__tcd__tilecomp.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__tile.html">opj_tcd_tile</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__tcd__tile.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd__image.html">opj_tcd_image</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__tcd__image.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__tcd.html">opj_tcd</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile coder/decoder. <a href="structopj__tcd.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga296b9ac9275a7480707a4326d9f243f0"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__pass.html">opj_tcd_pass</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga296b9ac9275a7480707a4326d9f243f0">opj_tcd_pass_t</a></td></tr>
<tr class="memdesc:ga296b9ac9275a7480707a4326d9f243f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="#ga296b9ac9275a7480707a4326d9f243f0">More...</a><br /></td></tr>
<tr class="separator:ga296b9ac9275a7480707a4326d9f243f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad35d6113094eba4ec44716e3012cd8b1"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__layer.html">opj_tcd_layer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gad35d6113094eba4ec44716e3012cd8b1">opj_tcd_layer_t</a></td></tr>
<tr class="memdesc:gad35d6113094eba4ec44716e3012cd8b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="#gad35d6113094eba4ec44716e3012cd8b1">More...</a><br /></td></tr>
<tr class="separator:gad35d6113094eba4ec44716e3012cd8b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga88a61662347e9b886f96098b2013a138"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__cblk__enc.html">opj_tcd_cblk_enc</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga88a61662347e9b886f96098b2013a138">opj_tcd_cblk_enc_t</a></td></tr>
<tr class="memdesc:ga88a61662347e9b886f96098b2013a138"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="#ga88a61662347e9b886f96098b2013a138">More...</a><br /></td></tr>
<tr class="separator:ga88a61662347e9b886f96098b2013a138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6848d18435dd2260812662ad9d3350a7"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__seg__data__chunk.html">opj_tcd_seg_data_chunk</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga6848d18435dd2260812662ad9d3350a7">opj_tcd_seg_data_chunk_t</a></td></tr>
<tr class="memdesc:ga6848d18435dd2260812662ad9d3350a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chunk of codestream data that is part of a code block. <a href="#ga6848d18435dd2260812662ad9d3350a7">More...</a><br /></td></tr>
<tr class="separator:ga6848d18435dd2260812662ad9d3350a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97a76428e608ecd9c23872fe4b4d204b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__seg.html">opj_tcd_seg</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga97a76428e608ecd9c23872fe4b4d204b">opj_tcd_seg_t</a></td></tr>
<tr class="memdesc:ga97a76428e608ecd9c23872fe4b4d204b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Segment of a code-block. <a href="#ga97a76428e608ecd9c23872fe4b4d204b">More...</a><br /></td></tr>
<tr class="separator:ga97a76428e608ecd9c23872fe4b4d204b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d3dcb008d88d8382d9de154f4ab0c97"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__cblk__dec.html">opj_tcd_cblk_dec</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga7d3dcb008d88d8382d9de154f4ab0c97">opj_tcd_cblk_dec_t</a></td></tr>
<tr class="memdesc:ga7d3dcb008d88d8382d9de154f4ab0c97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Code-block for decoding. <a href="#ga7d3dcb008d88d8382d9de154f4ab0c97">More...</a><br /></td></tr>
<tr class="separator:ga7d3dcb008d88d8382d9de154f4ab0c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3ddc30e90cae1fb33a2a342c24aeec7"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__precinct.html">opj_tcd_precinct</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gaa3ddc30e90cae1fb33a2a342c24aeec7">opj_tcd_precinct_t</a></td></tr>
<tr class="memdesc:gaa3ddc30e90cae1fb33a2a342c24aeec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precinct structure. <a href="#gaa3ddc30e90cae1fb33a2a342c24aeec7">More...</a><br /></td></tr>
<tr class="separator:gaa3ddc30e90cae1fb33a2a342c24aeec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4024e1a692cdabc8b8ba32ec43b8145"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__band.html">opj_tcd_band</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gae4024e1a692cdabc8b8ba32ec43b8145">opj_tcd_band_t</a></td></tr>
<tr class="memdesc:gae4024e1a692cdabc8b8ba32ec43b8145"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sub-band structure. <a href="#gae4024e1a692cdabc8b8ba32ec43b8145">More...</a><br /></td></tr>
<tr class="separator:gae4024e1a692cdabc8b8ba32ec43b8145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1d24a03a43040a0a219f65711215ce8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__resolution.html">opj_tcd_resolution</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gad1d24a03a43040a0a219f65711215ce8">opj_tcd_resolution_t</a></td></tr>
<tr class="memdesc:gad1d24a03a43040a0a219f65711215ce8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile-component resolution structure. <a href="#gad1d24a03a43040a0a219f65711215ce8">More...</a><br /></td></tr>
<tr class="separator:gad1d24a03a43040a0a219f65711215ce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93b81f0bd84473329d4591adbfc94b29"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__tilecomp.html">opj_tcd_tilecomp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a></td></tr>
<tr class="memdesc:ga93b81f0bd84473329d4591adbfc94b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile-component structure. <a href="#ga93b81f0bd84473329d4591adbfc94b29">More...</a><br /></td></tr>
<tr class="separator:ga93b81f0bd84473329d4591adbfc94b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae700c818029c01f5f472948de2adf6d0"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__tile.html">opj_tcd_tile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gae700c818029c01f5f472948de2adf6d0">opj_tcd_tile_t</a></td></tr>
<tr class="memdesc:gae700c818029c01f5f472948de2adf6d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="#gae700c818029c01f5f472948de2adf6d0">More...</a><br /></td></tr>
<tr class="separator:gae700c818029c01f5f472948de2adf6d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb00d7ba20ff68ba48f2e1243a64d7bb"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd__image.html">opj_tcd_image</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gafb00d7ba20ff68ba48f2e1243a64d7bb">opj_tcd_image_t</a></td></tr>
<tr class="memdesc:gafb00d7ba20ff68ba48f2e1243a64d7bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="#gafb00d7ba20ff68ba48f2e1243a64d7bb">More...</a><br /></td></tr>
<tr class="separator:gafb00d7ba20ff68ba48f2e1243a64d7bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27d4f057f1b892c5a38296d044803e3d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__tcd.html">opj_tcd</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a></td></tr>
<tr class="memdesc:ga27d4f057f1b892c5a38296d044803e3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile coder/decoder. <a href="#ga27d4f057f1b892c5a38296d044803e3d">More...</a><br /></td></tr>
<tr class="separator:ga27d4f057f1b892c5a38296d044803e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Exported functions</h2></td></tr>
<tr class="memitem:ga843e261ac54c7f4064bbfc678176a3ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga843e261ac54c7f4064bbfc678176a3ce">opj_tcd_create</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> p_is_decoder)</td></tr>
<tr class="memdesc:ga843e261ac54c7f4064bbfc678176a3ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dump the content of a tcd structure. <a href="#ga843e261ac54c7f4064bbfc678176a3ce">More...</a><br /></td></tr>
<tr class="separator:ga843e261ac54c7f4064bbfc678176a3ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga35c1b4cb094ae87d6bba87f6be7aa183"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga35c1b4cb094ae87d6bba87f6be7aa183">opj_tcd_destroy</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd)</td></tr>
<tr class="memdesc:ga35c1b4cb094ae87d6bba87f6be7aa183"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a previously created TCD handle. <a href="#ga35c1b4cb094ae87d6bba87f6be7aa183">More...</a><br /></td></tr>
<tr class="separator:ga35c1b4cb094ae87d6bba87f6be7aa183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f9a0eceb5f11b164555a302db07cb5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga8f9a0eceb5f11b164555a302db07cb5c">opj_tcd_init</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *p_image, <a class="el" href="group___j2_k.html#gace226c035f4c2a151cb26bf65cf3353e">opj_cp_t</a> *p_cp, <a class="el" href="structopj__thread__pool__t.html">opj_thread_pool_t</a> *p_tp)</td></tr>
<tr class="memdesc:ga8f9a0eceb5f11b164555a302db07cb5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the tile coder and may reuse some memory. <a href="#ga8f9a0eceb5f11b164555a302db07cb5c">More...</a><br /></td></tr>
<tr class="separator:ga8f9a0eceb5f11b164555a302db07cb5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4c38b7d4cbb4e458fb22fe6c34fcbef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gad4c38b7d4cbb4e458fb22fe6c34fcbef">opj_tcd_init_decode_tile</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_no, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gad4c38b7d4cbb4e458fb22fe6c34fcbef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates memory for decoding a specific tile. <a href="#gad4c38b7d4cbb4e458fb22fe6c34fcbef">More...</a><br /></td></tr>
<tr class="separator:gad4c38b7d4cbb4e458fb22fe6c34fcbef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31ece0bd1f42ea10d6f5fc342db86936"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga31ece0bd1f42ea10d6f5fc342db86936">opj_tcd_makelayer_fixed</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> layno, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> final)</td></tr>
<tr class="separator:ga31ece0bd1f42ea10d6f5fc342db86936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga686fc1b04304a07219a03108b6f808a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga686fc1b04304a07219a03108b6f808a9">opj_tcd_rateallocate_fixed</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd)</td></tr>
<tr class="separator:ga686fc1b04304a07219a03108b6f808a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga350b4deff33a47f09e609d1f7d7cb43d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga350b4deff33a47f09e609d1f7d7cb43d">opj_tcd_makelayer</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> layno, <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> thresh, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> final)</td></tr>
<tr class="separator:ga350b4deff33a47f09e609d1f7d7cb43d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15fc40d9b891d32df8ec516473d9f15e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga15fc40d9b891d32df8ec516473d9f15e">opj_tcd_rateallocate</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *dest, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_data_written, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> len, <a class="el" href="openjpeg_8h.html#a953f982d6d7c96af2ba905f517b72e05">opj_codestream_info_t</a> *cstr_info, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="separator:ga15fc40d9b891d32df8ec516473d9f15e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52e4296555a20244677550e29b9435cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga52e4296555a20244677550e29b9435cd">opj_tcd_get_decoded_tile_size</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> take_into_account_partial_decoding)</td></tr>
<tr class="memdesc:ga52e4296555a20244677550e29b9435cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum tile size that will be taken by the tile once decoded. <a href="#ga52e4296555a20244677550e29b9435cd">More...</a><br /></td></tr>
<tr class="separator:ga52e4296555a20244677550e29b9435cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae64d7b9b2fbac46dc71f3f2cff5c63f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gae64d7b9b2fbac46dc71f3f2cff5c63f3">opj_tcd_encode_tile</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_no, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_dest, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_data_written, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_len, struct <a class="el" href="structopj__codestream__info.html">opj_codestream_info</a> *p_cstr_info, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gae64d7b9b2fbac46dc71f3f2cff5c63f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encodes a tile from the raw image into the given buffer. <a href="#gae64d7b9b2fbac46dc71f3f2cff5c63f3">More...</a><br /></td></tr>
<tr class="separator:gae64d7b9b2fbac46dc71f3f2cff5c63f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5a64bbb748b2c76bd41ea66715fa897"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gad5a64bbb748b2c76bd41ea66715fa897">opj_tcd_decode_tile</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> win_x0, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> win_y0, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> win_x1, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> win_y1, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> numcomps_to_decode, const <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *comps_indices, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *src, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> len, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tileno, <a class="el" href="openjpeg_8h.html#ae966d4f546d13751ce3de7765de7fc53">opj_codestream_index_t</a> *cstr_info, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *manager)</td></tr>
<tr class="memdesc:gad5a64bbb748b2c76bd41ea66715fa897"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode a tile from a buffer into a raw image. <a href="#gad5a64bbb748b2c76bd41ea66715fa897">More...</a><br /></td></tr>
<tr class="separator:gad5a64bbb748b2c76bd41ea66715fa897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee317346b70f250cbe327c3dc2536715"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gaee317346b70f250cbe327c3dc2536715">opj_tcd_update_tile_data</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_dest, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_dest_length)</td></tr>
<tr class="memdesc:gaee317346b70f250cbe327c3dc2536715"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies tile data from the system onto the given memory block. <a href="#gaee317346b70f250cbe327c3dc2536715">More...</a><br /></td></tr>
<tr class="separator:gaee317346b70f250cbe327c3dc2536715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb07660c88db3acc0ccb3e46ad14089d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gaeb07660c88db3acc0ccb3e46ad14089d">opj_tcd_get_encoded_tile_size</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd)</td></tr>
<tr class="separator:gaeb07660c88db3acc0ccb3e46ad14089d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga261addde80e80a2ad6af635daeb342bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga261addde80e80a2ad6af635daeb342bb">opj_tcd_init_encode_tile</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_no, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga261addde80e80a2ad6af635daeb342bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the tile coder and may reuse some meory. <a href="#ga261addde80e80a2ad6af635daeb342bb">More...</a><br /></td></tr>
<tr class="separator:ga261addde80e80a2ad6af635daeb342bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ade88b5bde6f169d5962e8cc496c80f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga1ade88b5bde6f169d5962e8cc496c80f">opj_tcd_copy_tile_data</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *p_tcd, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_src, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> p_src_length)</td></tr>
<tr class="memdesc:ga1ade88b5bde6f169d5962e8cc496c80f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies tile data from the given memory block onto the system. <a href="#ga1ade88b5bde6f169d5962e8cc496c80f">More...</a><br /></td></tr>
<tr class="separator:ga1ade88b5bde6f169d5962e8cc496c80f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec7d7a69871d1a8a26b3b8ac8265edf4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gaec7d7a69871d1a8a26b3b8ac8265edf4">opj_alloc_tile_component_data</a> (<a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> *l_tilec)</td></tr>
<tr class="memdesc:gaec7d7a69871d1a8a26b3b8ac8265edf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates tile component data. <a href="#gaec7d7a69871d1a8a26b3b8ac8265edf4">More...</a><br /></td></tr>
<tr class="separator:gaec7d7a69871d1a8a26b3b8ac8265edf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96f962af737e4f4f2b7fb026f7869eca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#ga96f962af737e4f4f2b7fb026f7869eca">opj_tcd_is_band_empty</a> (<a class="el" href="group___t_c_d.html#gae4024e1a692cdabc8b8ba32ec43b8145">opj_tcd_band_t</a> *band)</td></tr>
<tr class="memdesc:ga96f962af737e4f4f2b7fb026f7869eca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether a sub-band is empty (i.e. <a href="#ga96f962af737e4f4f2b7fb026f7869eca">More...</a><br /></td></tr>
<tr class="separator:ga96f962af737e4f4f2b7fb026f7869eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa0f48c91a7b3527fc105c1b608ebd766"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gaa0f48c91a7b3527fc105c1b608ebd766">opj_tcd_reinit_segment</a> (<a class="el" href="group___t_c_d.html#ga97a76428e608ecd9c23872fe4b4d204b">opj_tcd_seg_t</a> *seg)</td></tr>
<tr class="memdesc:gaa0f48c91a7b3527fc105c1b608ebd766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reinitialize a segment. <a href="#gaa0f48c91a7b3527fc105c1b608ebd766">More...</a><br /></td></tr>
<tr class="separator:gaa0f48c91a7b3527fc105c1b608ebd766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad98baebcb0d551980ef28b692803c1a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_d.html#gad98baebcb0d551980ef28b692803c1a0">opj_tcd_is_subband_area_of_interest</a> (<a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *tcd, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> compno, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> resno, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> bandno, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> x0, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> y0, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> x1, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> y1)</td></tr>
<tr class="memdesc:gad98baebcb0d551980ef28b692803c1a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether a sub-band region contributes to the area of interest tcd-&gt;win_x0,tcd-&gt;win_y0,tcd-&gt;win_x1,tcd-&gt;win_y1. <a href="#gad98baebcb0d551980ef28b692803c1a0">More...</a><br /></td></tr>
<tr class="separator:gad98baebcb0d551980ef28b692803c1a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="gae4024e1a692cdabc8b8ba32ec43b8145"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__band.html">opj_tcd_band</a> <a class="el" href="group___t_c_d.html#gae4024e1a692cdabc8b8ba32ec43b8145">opj_tcd_band_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sub-band structure. </p>
</div>
</div>
<a class="anchor" id="ga7d3dcb008d88d8382d9de154f4ab0c97"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__cblk__dec.html">opj_tcd_cblk_dec</a> <a class="el" href="group___t_c_d.html#ga7d3dcb008d88d8382d9de154f4ab0c97">opj_tcd_cblk_dec_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Code-block for decoding. </p>
</div>
</div>
<a class="anchor" id="ga88a61662347e9b886f96098b2013a138"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__cblk__enc.html">opj_tcd_cblk_enc</a> <a class="el" href="group___t_c_d.html#ga88a61662347e9b886f96098b2013a138">opj_tcd_cblk_enc_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<a class="anchor" id="gafb00d7ba20ff68ba48f2e1243a64d7bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__image.html">opj_tcd_image</a>
<a class="el" href="group___t_c_d.html#gafb00d7ba20ff68ba48f2e1243a64d7bb">opj_tcd_image_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<a class="anchor" id="gad35d6113094eba4ec44716e3012cd8b1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__layer.html">opj_tcd_layer</a> <a class="el" href="group___t_c_d.html#gad35d6113094eba4ec44716e3012cd8b1">opj_tcd_layer_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<a class="anchor" id="ga296b9ac9275a7480707a4326d9f243f0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__pass.html">opj_tcd_pass</a> <a class="el" href="group___t_c_d.html#ga296b9ac9275a7480707a4326d9f243f0">opj_tcd_pass_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<a class="anchor" id="gaa3ddc30e90cae1fb33a2a342c24aeec7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__precinct.html">opj_tcd_precinct</a> <a class="el" href="group___t_c_d.html#gaa3ddc30e90cae1fb33a2a342c24aeec7">opj_tcd_precinct_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Precinct structure. </p>
</div>
</div>
<a class="anchor" id="gad1d24a03a43040a0a219f65711215ce8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__resolution.html">opj_tcd_resolution</a> <a class="el" href="group___t_c_d.html#gad1d24a03a43040a0a219f65711215ce8">opj_tcd_resolution_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tile-component resolution structure. </p>
</div>
</div>
<a class="anchor" id="ga6848d18435dd2260812662ad9d3350a7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__seg__data__chunk.html">opj_tcd_seg_data_chunk</a> <a class="el" href="group___t_c_d.html#ga6848d18435dd2260812662ad9d3350a7">opj_tcd_seg_data_chunk_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Chunk of codestream data that is part of a code block. </p>
</div>
</div>
<a class="anchor" id="ga97a76428e608ecd9c23872fe4b4d204b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__seg.html">opj_tcd_seg</a> <a class="el" href="group___t_c_d.html#ga97a76428e608ecd9c23872fe4b4d204b">opj_tcd_seg_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Segment of a code-block. </p>
<p>A segment represent a number of consecutive coding passes, without termination of MQC or RAW between them. </p>
</div>
</div>
<a class="anchor" id="ga27d4f057f1b892c5a38296d044803e3d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd.html">opj_tcd</a> <a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tile coder/decoder. </p>
</div>
</div>
<a class="anchor" id="gae700c818029c01f5f472948de2adf6d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__tile.html">opj_tcd_tile</a> <a class="el" href="group___t_c_d.html#gae700c818029c01f5f472948de2adf6d0">opj_tcd_tile_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<a class="anchor" id="ga93b81f0bd84473329d4591adbfc94b29"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__tcd__tilecomp.html">opj_tcd_tilecomp</a> <a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tile-component structure. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaec7d7a69871d1a8a26b3b8ac8265edf4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_alloc_tile_component_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> *&#160;</td>
<td class="paramname"><em>l_tilec</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates tile component data. </p>
<p>References <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</a>, <a class="el" href="structopj__tcd__tilecomp.html#a6dcf1971e2229221528082097c790ef8">opj_tcd_tilecomp::data_size</a>, <a class="el" href="structopj__tcd__tilecomp.html#afad6ee536312353ec29aafb08b5376ab">opj_tcd_tilecomp::data_size_needed</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8c.html#a3f03dd6d6224e93ff15a1d9234d948d5">opj_image_data_alloc()</a>, <a class="el" href="openjpeg_8c.html#a53a2908ba063e90755b9449001194f88">opj_image_data_free()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abc7937bdebf4ee162897701b784cbd34">opj_tcd_tilecomp::ownsData</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#af05dd7eedf751beb0033ac42de564fcc">opj_j2k_encode()</a>, <a class="el" href="j2k_8h.html#a74a0d7e52fefc21e50f5d644b69f4c44">opj_j2k_write_tile()</a>, and <a class="el" href="group___t_c_d.html#gad5a64bbb748b2c76bd41ea66715fa897">opj_tcd_decode_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="ga1ade88b5bde6f169d5962e8cc496c80f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_copy_tile_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>p_src_length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copies tile data from the given memory block onto the system. </p>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___t_c_d.html#gaeb07660c88db3acc0ccb3e46ad14089d">opj_tcd_get_encoded_tile_size()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__image__comp.html#a2d2337d15fd837252fe250386bac7fb9">opj_image_comp::sgnd</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#af05dd7eedf751beb0033ac42de564fcc">opj_j2k_encode()</a>, and <a class="el" href="j2k_8h.html#a74a0d7e52fefc21e50f5d644b69f4c44">opj_j2k_write_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="ga843e261ac54c7f4064bbfc678176a3ce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a>* opj_tcd_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>p_is_decoder</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Dump the content of a tcd structure. </p>
<p>Create a new TCD handle </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_is_decoder</td><td>FIXME DOC </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a new TCD handle if successful returns NULL otherwise</dd></dl>
<p>Dump the content of a tcd structure. </p>
<p>References <a class="el" href="structopj__tcd.html#a84a4395f84b56bf3c131486a30f178b4">opj_tcd::m_is_decoder</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>.</p>
<p>Referenced by <a class="el" href="group___j2_k.html#gadaffc1a68a7cbfe82eca1f66e557d78d">opj_j2k_copy_default_tcp_and_create_tcd()</a>, and <a class="el" href="group___j2_k.html#ga9e5d9046fb1e8a88af9a8787a551f00b">opj_j2k_create_tcd()</a>.</p>
</div>
</div>
<a class="anchor" id="gad5a64bbb748b2c76bd41ea66715fa897"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_decode_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>win_x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>win_y0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>win_x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>win_y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>numcomps_to_decode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>comps_indices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>tileno</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#ae966d4f546d13751ce3de7765de7fc53">opj_codestream_index_t</a> *&#160;</td>
<td class="paramname"><em>cstr_info</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Decode a tile from a buffer into a raw image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tcd</td><td>TCD handle </td></tr>
<tr><td class="paramname">win_x0</td><td>Upper left x of region to decode (in grid coordinates) </td></tr>
<tr><td class="paramname">win_y0</td><td>Upper left y of region to decode (in grid coordinates) </td></tr>
<tr><td class="paramname">win_x1</td><td>Lower right x of region to decode (in grid coordinates) </td></tr>
<tr><td class="paramname">win_y1</td><td>Lower right y of region to decode (in grid coordinates) </td></tr>
<tr><td class="paramname">numcomps_to_decode</td><td>Size of the comps_indices array, or 0 if decoding all components. </td></tr>
<tr><td class="paramname">comps_indices</td><td>Array of numcomps values representing the indices of the components to decode (relative to the codestream, starting at 0). Or NULL if decoding all components. </td></tr>
<tr><td class="paramname">src</td><td>Source buffer </td></tr>
<tr><td class="paramname">len</td><td>Length of source buffer </td></tr>
<tr><td class="paramname">tileno</td><td>Number that identifies one of the tiles to be decoded </td></tr>
<tr><td class="paramname">cstr_info</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">manager</td><td>the event manager. </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd.html#aac0a6dfdfc639276d79e21122321917e">opj_tcd::cp</a>, <a class="el" href="structopj__tcd__tilecomp.html#afad6ee536312353ec29aafb08b5376ab">opj_tcd_tilecomp::data_size_needed</a>, <a class="el" href="structopj__tcd__tilecomp.html#a6cee39e0c45389d13d4f3084801630ac">opj_tcd_tilecomp::data_win</a>, <a class="el" href="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a>, <a class="el" href="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__tcd__tilecomp.html#a72eb32895dd9ec7362da633609d3a2e0">opj_tcd_tilecomp::minimum_num_resolutions</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___t_c_d.html#gaec7d7a69871d1a8a26b3b8ac8265edf4">opj_alloc_tile_component_data()</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="openjpeg_8c.html#a3f03dd6d6224e93ff15a1d9234d948d5">opj_image_data_alloc()</a>, <a class="el" href="openjpeg_8c.html#a53a2908ba063e90755b9449001194f88">opj_image_data_free()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="tcd_8c.html#a9dc572b0982c7d7db4f3c53d8ccfdce6">opj_tcd_dc_level_shift_decode()</a>, <a class="el" href="tcd_8c.html#ae09ea737a5830d3981972f0749918376">opj_tcd_dwt_decode()</a>, <a class="el" href="tcd_8c.html#a751412dec0df96c8595e1276f19e7aa2">opj_tcd_is_whole_tilecomp_decoding()</a>, <a class="el" href="tcd_8c.html#a5732e7b54aa86da12858cb5b42e32f81">opj_tcd_mct_decode()</a>, <a class="el" href="tcd_8c.html#a61608d1a920574e556d417a4b0e23a3a">opj_tcd_t1_decode()</a>, <a class="el" href="tcd_8c.html#a40253d6f2bec671466a2ec8cc049a42e">opj_tcd_t2_decode()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga2c3eb35fddab83fef25256485b926fc0">opj_uint_max()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga06c1c4470f9765a3ed04963b0daa111a">opj_uint_min()</a>, <a class="el" href="structopj__tcd__resolution.html#ab8ccf37cf9fc2b9c1db6aaa3cac164eb">opj_tcd_resolution::ph</a>, <a class="el" href="structopj__tccp.html#ab86c26aec7fa981e0cecf96a240ea4ef">opj_tccp::prch</a>, <a class="el" href="structopj__tccp.html#ae5153c62e825a016351dcf9e0a439d62">opj_tccp::prcw</a>, <a class="el" href="structopj__tcd__resolution.html#ad1ad906bae4c049fc047aed7344f502b">opj_tcd_resolution::pw</a>, <a class="el" href="structopj__image__comp.html#ab9d6b54916aba881438fcff74d76a6a5">opj_image_comp::resno_decoded</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="opj__malloc_8c.html#a3c75bb398badb69c7577b21486f9963f">SIZE_MAX</a>, <a class="el" href="structopj__tcp.html#a52c6fad3de4131b3d3f77209a6dd2a85">opj_tcp::tccps</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#af04f0bf344951c893ac5a70497cd8230">opj_tcd::tcd_tileno</a>, <a class="el" href="query__parser_8h.html#a678aedbd2509521578c078f7a356b428a5036938696cb1fd991a6aa47cc514cf7">tcp</a>, <a class="el" href="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd.html#a3de0527cf639f4bf88baf7c0571786af">opj_tcd::used_component</a>, <a class="el" href="structopj__tcd.html#a48dce2050b28e97e44fbe918e4f93f9c">opj_tcd::whole_tile_decoding</a>, <a class="el" href="structopj__tcd__resolution.html#a3d3c77e1b3a08004f279e9fc860a7c4f">opj_tcd_resolution::win_x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#aef9602eb7fd8051b32efa9dce0466d41">opj_tcd_tilecomp::win_x0</a>, <a class="el" href="structopj__tcd.html#a0ae43e0bcaae1095138b6ab8752e7ed2">opj_tcd::win_x0</a>, <a class="el" href="structopj__tcd__resolution.html#a58d3b87e4c655d75bffbaa3ad77f631a">opj_tcd_resolution::win_x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa092905b7510c12179064fcca78badfd">opj_tcd_tilecomp::win_x1</a>, <a class="el" href="structopj__tcd.html#ab9c072849da0bb04ea0ee6f3080535ac">opj_tcd::win_x1</a>, <a class="el" href="structopj__tcd__resolution.html#af216ccf9de3aef39ebb7cf4daf6dd13a">opj_tcd_resolution::win_y0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a1f59ee9d23fa67ac72a791f751447214">opj_tcd_tilecomp::win_y0</a>, <a class="el" href="structopj__tcd.html#a47e83dea84697eb8b8b143c088d0dacd">opj_tcd::win_y0</a>, <a class="el" href="structopj__tcd__resolution.html#a9e37a90718ec8b1e631cb9cdd5eac365">opj_tcd_resolution::win_y1</a>, <a class="el" href="structopj__tcd__tilecomp.html#a3b3fc541f01bdaa6493639c4542a5766">opj_tcd_tilecomp::win_y1</a>, <a class="el" href="structopj__tcd.html#a411ee1807ee430fc8db3e3c041ccf9cc">opj_tcd::win_y1</a>, <a class="el" href="structopj__tcd__resolution.html#ac65adbcc5c51d8aaf0e5e9315243d6a1">opj_tcd_resolution::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__resolution.html#a4544bfa885feb38635dd2770a9114ecf">opj_tcd_resolution::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__resolution.html#ae4fb93aaa054fc66cc93021badc18cec">opj_tcd_resolution::y0</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, <a class="el" href="structopj__tcd__resolution.html#a4b68d3bd5fbaccd293e6a773be9d1a7f">opj_tcd_resolution::y1</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#a589edf58bf96de0a09b6104b6f5c13e8">opj_j2k_decode_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="ga35c1b4cb094ae87d6bba87f6be7aa183"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_tcd_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroy a previously created TCD handle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tcd</td><td>TCD handle to destroy </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="tcd_8c.html#a0df6e3c59cbb93696bab54a688e2ead8">opj_tcd_free_tile()</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, and <a class="el" href="structopj__tcd.html#a3de0527cf639f4bf88baf7c0571786af">opj_tcd::used_component</a>.</p>
<p>Referenced by <a class="el" href="group___j2_k.html#gadaffc1a68a7cbfe82eca1f66e557d78d">opj_j2k_copy_default_tcp_and_create_tcd()</a>, <a class="el" href="group___j2_k.html#ga9e5d9046fb1e8a88af9a8787a551f00b">opj_j2k_create_tcd()</a>, <a class="el" href="j2k_8h.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, and <a class="el" href="group___j2_k.html#gab99321e1cb3628a30ae7de2f02956cf5">opj_j2k_end_encoding()</a>.</p>
</div>
</div>
<a class="anchor" id="gae64d7b9b2fbac46dc71f3f2cff5c63f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_encode_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_tile_no</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_dest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>p_data_written</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__codestream__info.html">opj_codestream_info</a> *&#160;</td>
<td class="paramname"><em>p_cstr_info</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Encodes a tile from the raw image into the given buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_tcd</td><td>Tile Coder handle </td></tr>
<tr><td class="paramname">p_tile_no</td><td>Index of the tile to encode. </td></tr>
<tr><td class="paramname">p_dest</td><td>Destination buffer </td></tr>
<tr><td class="paramname">p_data_written</td><td>pointer to an int that is incremented by the number of bytes really written on p_dest </td></tr>
<tr><td class="paramname">p_len</td><td>Maximum length of the destination buffer </td></tr>
<tr><td class="paramname">p_cstr_info</td><td>Codestream information structure </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the coding is successful. </dd></dl>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__tcd.html#aac0a6dfdfc639276d79e21122321917e">opj_tcd::cp</a>, <a class="el" href="structopj__tcd.html#a8b557594c58fd833c53ee04cf1955b7c">opj_tcd::cur_tp_num</a>, <a class="el" href="structopj__codestream__info.html#a580bee732e2d606ef531cf1d928470b7">opj_codestream_info::index_write</a>, <a class="el" href="structopj__codestream__info.html#a22afaba78a542dc1ef21e0f9cf6e64ab">opj_codestream_info::numcomps</a>, <a class="el" href="structopj__codestream__info.html#ac20b482a3b3feadfa21ced6edc727557">opj_codestream_info::numlayers</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="tcd_8c.html#a325bdcfaa1c6665e18f9d19bf96a14a3">opj_tcd_dc_level_shift_encode()</a>, <a class="el" href="tcd_8c.html#a044d8c47b267665af6abd3b3c6cc2d3e">opj_tcd_dwt_encode()</a>, <a class="el" href="tcd_8c.html#a39c7e4cc2e8b84619388cb807caa03cf">opj_tcd_mct_encode()</a>, <a class="el" href="tcd_8c.html#aa237637abb5431aa9db59ba0776a8a75">opj_tcd_rate_allocate_encode()</a>, <a class="el" href="tcd_8c.html#ad72fe72839a232fcd2ba4dd82588be2e">opj_tcd_t1_encode()</a>, <a class="el" href="tcd_8c.html#a339bf3f6010e2e9503cc8c32dc99a802">opj_tcd_t2_encode()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__tile__info.html#a5f1dc243e2e5c99fa41b084fc6b5dd97">opj_tile_info::packet</a>, <a class="el" href="structopj__tile__info.html#adf741cbea6706831aeb382b338eafc49">opj_tile_info::pdx</a>, <a class="el" href="structopj__tile__info.html#a8372af599cca7a326ff3f640224014cd">opj_tile_info::pdy</a>, <a class="el" href="structopj__tcd__resolution.html#ab8ccf37cf9fc2b9c1db6aaa3cac164eb">opj_tcd_resolution::ph</a>, <a class="el" href="structopj__tile__info.html#a910bb577952512fd5dc0d8b4c9a14a96">opj_tile_info::ph</a>, <a class="el" href="structopj__tccp.html#ab86c26aec7fa981e0cecf96a240ea4ef">opj_tccp::prch</a>, <a class="el" href="structopj__tccp.html#ae5153c62e825a016351dcf9e0a439d62">opj_tccp::prcw</a>, <a class="el" href="structopj__tcd__resolution.html#ad1ad906bae4c049fc047aed7344f502b">opj_tcd_resolution::pw</a>, <a class="el" href="structopj__tile__info.html#a38eea8dbd58de28609e384cdb4f4ba77">opj_tile_info::pw</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__tcp.html#a52c6fad3de4131b3d3f77209a6dd2a85">opj_tcp::tccps</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#af04f0bf344951c893ac5a70497cd8230">opj_tcd::tcd_tileno</a>, <a class="el" href="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, <a class="el" href="structopj__codestream__info.html#a626739f8ec7f4f73d4de54024c5878c9">opj_codestream_info::tile</a>, and <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>.</p>
<p>Referenced by <a class="el" href="group___j2_k.html#ga25486201cd29ff3d7b34d881acb8e38a">opj_j2k_write_sod()</a>.</p>
</div>
</div>
<a class="anchor" id="ga52e4296555a20244677550e29b9435cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_tcd_get_decoded_tile_size </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>take_into_account_partial_decoding</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the maximum tile size that will be taken by the tile once decoded. </p>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__tcd__tilecomp.html#a72eb32895dd9ec7362da633609d3a2e0">opj_tcd_tilecomp::minimum_num_resolutions</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd.html#a48dce2050b28e97e44fbe918e4f93f9c">opj_tcd::whole_tile_decoding</a>, <a class="el" href="structopj__tcd__resolution.html#a3d3c77e1b3a08004f279e9fc860a7c4f">opj_tcd_resolution::win_x0</a>, <a class="el" href="structopj__tcd__resolution.html#a58d3b87e4c655d75bffbaa3ad77f631a">opj_tcd_resolution::win_x1</a>, <a class="el" href="structopj__tcd__resolution.html#af216ccf9de3aef39ebb7cf4daf6dd13a">opj_tcd_resolution::win_y0</a>, <a class="el" href="structopj__tcd__resolution.html#a9e37a90718ec8b1e631cb9cdd5eac365">opj_tcd_resolution::win_y1</a>, <a class="el" href="structopj__tcd__resolution.html#ac65adbcc5c51d8aaf0e5e9315243d6a1">opj_tcd_resolution::x0</a>, <a class="el" href="structopj__tcd__resolution.html#a4544bfa885feb38635dd2770a9114ecf">opj_tcd_resolution::x1</a>, <a class="el" href="structopj__tcd__resolution.html#ae4fb93aaa054fc66cc93021badc18cec">opj_tcd_resolution::y0</a>, and <a class="el" href="structopj__tcd__resolution.html#a4b68d3bd5fbaccd293e6a773be9d1a7f">opj_tcd_resolution::y1</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>, and <a class="el" href="group___t_c_d.html#gaee317346b70f250cbe327c3dc2536715">opj_tcd_update_tile_data()</a>.</p>
</div>
</div>
<a class="anchor" id="gaeb07660c88db3acc0ccb3e46ad14089d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> opj_tcd_get_encoded_tile_size </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#af05dd7eedf751beb0033ac42de564fcc">opj_j2k_encode()</a>, and <a class="el" href="group___t_c_d.html#ga1ade88b5bde6f169d5962e8cc496c80f">opj_tcd_copy_tile_data()</a>.</p>
</div>
</div>
<a class="anchor" id="ga8f9a0eceb5f11b164555a302db07cb5c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>p_image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___j2_k.html#gace226c035f4c2a151cb26bf65cf3353e">opj_cp_t</a> *&#160;</td>
<td class="paramname"><em>p_cp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structopj__thread__pool__t.html">opj_thread_pool_t</a> *&#160;</td>
<td class="paramname"><em>p_tp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initialize the tile coder and may reuse some memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_tcd</td><td>TCD handle. </td></tr>
<tr><td class="paramname">p_image</td><td>raw image. </td></tr>
<tr><td class="paramname">p_cp</td><td>coding parameters. </td></tr>
<tr><td class="paramname">p_tp</td><td>thread pool</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the encoding values could be set (false otherwise). </dd></dl>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__tcd.html#aac0a6dfdfc639276d79e21122321917e">opj_tcd::cp</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__cp.html#abff64b4afd56cc97c8e9747404ab9ae6">opj_cp::m_enc</a>, <a class="el" href="structopj__cp.html#a467602df60d6e7db09344210b33e56e2">opj_cp::m_specific_param</a>, <a class="el" href="structopj__encoding__param.html#a35052c5561f363438a8f34d103ae0dd4">opj_encoding_param::m_tp_pos</a>, <a class="el" href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35">opj_tcd_tile::numcomps</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#ad59ef39d08151a05bc6b0bb693607370">opj_tcd::thread_pool</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, and <a class="el" href="structopj__tcd.html#a20455f8cb23c34e4a762d4872aa84479">opj_tcd::tp_pos</a>.</p>
<p>Referenced by <a class="el" href="group___j2_k.html#gadaffc1a68a7cbfe82eca1f66e557d78d">opj_j2k_copy_default_tcp_and_create_tcd()</a>, and <a class="el" href="group___j2_k.html#ga9e5d9046fb1e8a88af9a8787a551f00b">opj_j2k_create_tcd()</a>.</p>
</div>
</div>
<a class="anchor" id="gad4c38b7d4cbb4e458fb22fe6c34fcbef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_init_decode_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_tile_no</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates memory for decoding a specific tile. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_tcd</td><td>the tile decoder. </td></tr>
<tr><td class="paramname">p_tile_no</td><td>the index of the tile received in sequence. This not necessarily lead to the tile at index p_tile_no. </td></tr>
<tr><td class="paramname">p_manager</td><td>the event manager.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the remaining data is sufficient. </dd></dl>
<p>References <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="tcd_8c.html#a54bd587a88cc401980302d13635b2703">opj_tcd_init_tile()</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga261addde80e80a2ad6af635daeb342bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_init_encode_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_tile_no</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initialize the tile coder and may reuse some meory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_tcd</td><td>TCD handle. </td></tr>
<tr><td class="paramname">p_tile_no</td><td>current tile index to encode. </td></tr>
<tr><td class="paramname">p_manager</td><td>the event manager.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the encoding values could be set (false otherwise). </dd></dl>
<p>References <a class="el" href="tcd_8c.html#a54bd587a88cc401980302d13635b2703">opj_tcd_init_tile()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p>Referenced by <a class="el" href="group___j2_k.html#ga0101959e0886beb63a1ff0c92742190d">opj_j2k_pre_write_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="ga96f962af737e4f4f2b7fb026f7869eca"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_is_band_empty </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#gae4024e1a692cdabc8b8ba32ec43b8145">opj_tcd_band_t</a> *&#160;</td>
<td class="paramname"><em>band</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns whether a sub-band is empty (i.e. </p>
<p>whether it has a null area) </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">band</td><td>Sub-band handle. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_TRUE whether the sub-band is empty. </dd></dl>
<p>References <a class="el" href="structopj__tcd__band.html#a81baded80392eb94c8414decc5ad597f">opj_tcd_band::x0</a>, <a class="el" href="structopj__tcd__band.html#a756c9ccdeeeed25cc0f14036246a6afa">opj_tcd_band::x1</a>, <a class="el" href="structopj__tcd__band.html#a9dcfb05333ffca193a1577c0670a4b2e">opj_tcd_band::y0</a>, and <a class="el" href="structopj__tcd__band.html#abdcc5bbabc2da464dfef33a4ade6d2c4">opj_tcd_band::y1</a>.</p>
<p>Referenced by <a class="el" href="group___t1.html#gada55dfa54a9324f948a3383ed95aedc5">opj_t1_encode_cblks()</a>, <a class="el" href="group___t2.html#gaf46b03251519f1cba8bb01da5abc2169">opj_t2_encode_packet()</a>, <a class="el" href="group___t2.html#gafd30efdfea1361431cf3c8ad04d48458">opj_t2_read_packet_header()</a>, <a class="el" href="tcd_8c.html#a54bd587a88cc401980302d13635b2703">opj_tcd_init_tile()</a>, <a class="el" href="group___t_c_d.html#ga350b4deff33a47f09e609d1f7d7cb43d">opj_tcd_makelayer()</a>, <a class="el" href="group___t_c_d.html#ga31ece0bd1f42ea10d6f5fc342db86936">opj_tcd_makelayer_fixed()</a>, and <a class="el" href="group___t_c_d.html#ga15fc40d9b891d32df8ec516473d9f15e">opj_tcd_rateallocate()</a>.</p>
</div>
</div>
<a class="anchor" id="gad98baebcb0d551980ef28b692803c1a0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_is_subband_area_of_interest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>compno</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>resno</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>bandno</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>y0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>y1</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns whether a sub-band region contributes to the area of interest tcd-&gt;win_x0,tcd-&gt;win_y0,tcd-&gt;win_x1,tcd-&gt;win_y1. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tcd</td><td>TCD handle. </td></tr>
<tr><td class="paramname">compno</td><td>Component number </td></tr>
<tr><td class="paramname">resno</td><td>Resolution number </td></tr>
<tr><td class="paramname">bandno</td><td>Band number (<em>not</em> band index, ie 0, 1, 2 or 3) </td></tr>
<tr><td class="paramname">x0</td><td>Upper left x in subband coordinates </td></tr>
<tr><td class="paramname">y0</td><td>Upper left y in subband coordinates </td></tr>
<tr><td class="paramname">x1</td><td>Lower right x in subband coordinates </td></tr>
<tr><td class="paramname">y1</td><td>Lower right y in subband coordinates </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_TRUE whether the sub-band region contributs to the area of interest. </dd></dl>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a>, <a class="el" href="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gab9aad885f5c9bc9e39420003b2b32fe5">opj_uint_adds()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga2c3eb35fddab83fef25256485b926fc0">opj_uint_max()</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga06c1c4470f9765a3ed04963b0daa111a">opj_uint_min()</a>, <a class="el" href="structopj__tccp.html#a38ec604e02abf9b03186d2b8e27a901a">opj_tccp::qmfbid</a>, <a class="el" href="structopj__tcp.html#a52c6fad3de4131b3d3f77209a6dd2a85">opj_tcp::tccps</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd.html#a0ae43e0bcaae1095138b6ab8752e7ed2">opj_tcd::win_x0</a>, <a class="el" href="structopj__tcd.html#ab9c072849da0bb04ea0ee6f3080535ac">opj_tcd::win_x1</a>, <a class="el" href="structopj__tcd.html#a47e83dea84697eb8b8b143c088d0dacd">opj_tcd::win_y0</a>, <a class="el" href="structopj__tcd.html#a411ee1807ee430fc8db3e3c041ccf9cc">opj_tcd::win_y1</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>.</p>
<p>Referenced by <a class="el" href="group___t1.html#ga5df121baefa4293a2c0d0122694e0902">opj_t1_decode_cblks()</a>, and <a class="el" href="group___t2.html#ga08fffa34be41f4811d8bd99e9364de2e">opj_t2_decode_packets()</a>.</p>
</div>
</div>
<a class="anchor" id="ga350b4deff33a47f09e609d1f7d7cb43d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_tcd_makelayer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>layno</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td>
<td class="paramname"><em>thresh</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>final</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__tcd__resolution.html#a11ecca43c1f72e70c44e0b9746817a05">opj_tcd_resolution::bands</a>, <a class="el" href="structopj__tcd__precinct.html#af7415dc4af637afd8f0b6c4c306a8cbd">opj_tcd_precinct::cblks</a>, <a class="el" href="structopj__tcd__precinct.html#a03678b6a4ee6ade3d5cb30eee661a236">opj_tcd_precinct::ch</a>, <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__tcd__precinct.html#ad89267dc061dd398fefad52194a4041f">opj_tcd_precinct::cw</a>, <a class="el" href="structopj__tcd__layer.html#a29ce8c25f5dfd4aaa034e91cf19742e6">opj_tcd_layer::data</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a3f47ae68181f7dcbb4135d41e422cbb3">opj_tcd_cblk_enc::data</a>, <a class="el" href="structopj__tcd__layer.html#ad124ec7715f3ea7b1714fbd97ecc80d0">opj_tcd_layer::disto</a>, <a class="el" href="structopj__tcd__tile.html#a49b0273a2495bed14a079e8d6c882737">opj_tcd_tile::distolayer</a>, <a class="el" href="structopj__tcd__pass.html#a45f5472e2dc4265c9e973c8c630485cc">opj_tcd_pass::distortiondec</a>, <a class="el" href="structopj__tcd__precinct.html#ae1eaa14c395bcaa968d353734602cd8d">opj_tcd_precinct::enc</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a4529ec0954ea017afd33a5c2b771e653">opj_tcd_cblk_enc::layers</a>, <a class="el" href="structopj__tcd__layer.html#a0420c0a82e0ab4c859c5b47ef1576839">opj_tcd_layer::len</a>, <a class="el" href="structopj__tcd__resolution.html#afc311b6c76795f76f3dfc9a453b21c39">opj_tcd_resolution::numbands</a>, <a class="el" href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35">opj_tcd_tile::numcomps</a>, <a class="el" href="structopj__tcd__layer.html#ad2fc0922aeaf20e439f7a0cb77516a90">opj_tcd_layer::numpasses</a>, <a class="el" href="structopj__tcd__cblk__enc.html#abf26a00fd3661d98df0831a17ff37cd0">opj_tcd_cblk_enc::numpassesinlayers</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___t_c_d.html#ga96f962af737e4f4f2b7fb026f7869eca">opj_tcd_is_band_empty()</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a5fd8985b3b27f790691eb09533bc45a3">opj_tcd_cblk_enc::passes</a>, <a class="el" href="structopj__tcd__resolution.html#ab8ccf37cf9fc2b9c1db6aaa3cac164eb">opj_tcd_resolution::ph</a>, <a class="el" href="structopj__tcd__band.html#a09f58aba8a9216e75fde1c107d68660f">opj_tcd_band::precincts</a>, <a class="el" href="structopj__tcd__resolution.html#ad1ad906bae4c049fc047aed7344f502b">opj_tcd_resolution::pw</a>, <a class="el" href="structopj__tcd__pass.html#a44a95927b8cd4a461e6ecbda8406482e">opj_tcd_pass::rate</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, and <a class="el" href="structopj__tcd__cblk__enc.html#aa016b9dec075b59c3ff5faa47f099afc">opj_tcd_cblk_enc::totalpasses</a>.</p>
<p>Referenced by <a class="el" href="group___t_c_d.html#ga15fc40d9b891d32df8ec516473d9f15e">opj_tcd_rateallocate()</a>.</p>
</div>
</div>
<a class="anchor" id="ga31ece0bd1f42ea10d6f5fc342db86936"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_tcd_makelayer_fixed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>layno</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>final</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__tcd__resolution.html#a11ecca43c1f72e70c44e0b9746817a05">opj_tcd_resolution::bands</a>, <a class="el" href="structopj__tcd__precinct.html#af7415dc4af637afd8f0b6c4c306a8cbd">opj_tcd_precinct::cblks</a>, <a class="el" href="structopj__tcd__precinct.html#a03678b6a4ee6ade3d5cb30eee661a236">opj_tcd_precinct::ch</a>, <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd.html#aac0a6dfdfc639276d79e21122321917e">opj_tcd::cp</a>, <a class="el" href="structopj__tcd__precinct.html#ad89267dc061dd398fefad52194a4041f">opj_tcd_precinct::cw</a>, <a class="el" href="structopj__tcd__layer.html#a29ce8c25f5dfd4aaa034e91cf19742e6">opj_tcd_layer::data</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a3f47ae68181f7dcbb4135d41e422cbb3">opj_tcd_cblk_enc::data</a>, <a class="el" href="structopj__tcd__precinct.html#ae1eaa14c395bcaa968d353734602cd8d">opj_tcd_precinct::enc</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a4529ec0954ea017afd33a5c2b771e653">opj_tcd_cblk_enc::layers</a>, <a class="el" href="structopj__tcd__layer.html#a0420c0a82e0ab4c859c5b47ef1576839">opj_tcd_layer::len</a>, <a class="el" href="structopj__cp.html#abff64b4afd56cc97c8e9747404ab9ae6">opj_cp::m_enc</a>, <a class="el" href="structopj__encoding__param.html#af268e3dd2359f30d23f7dc24540ffb1d">opj_encoding_param::m_matrice</a>, <a class="el" href="structopj__cp.html#a467602df60d6e7db09344210b33e56e2">opj_cp::m_specific_param</a>, <a class="el" href="structopj__tcd__resolution.html#afc311b6c76795f76f3dfc9a453b21c39">opj_tcd_resolution::numbands</a>, <a class="el" href="structopj__tcd__cblk__enc.html#aaadfdf791e63c0049b867a6be072fca3">opj_tcd_cblk_enc::numbps</a>, <a class="el" href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35">opj_tcd_tile::numcomps</a>, <a class="el" href="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a>, <a class="el" href="structopj__tcd__layer.html#ad2fc0922aeaf20e439f7a0cb77516a90">opj_tcd_layer::numpasses</a>, <a class="el" href="structopj__tcd__cblk__enc.html#abf26a00fd3661d98df0831a17ff37cd0">opj_tcd_cblk_enc::numpassesinlayers</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___t_c_d.html#ga96f962af737e4f4f2b7fb026f7869eca">opj_tcd_is_band_empty()</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a5fd8985b3b27f790691eb09533bc45a3">opj_tcd_cblk_enc::passes</a>, <a class="el" href="structopj__tcd__resolution.html#ab8ccf37cf9fc2b9c1db6aaa3cac164eb">opj_tcd_resolution::ph</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__tcd__band.html#a09f58aba8a9216e75fde1c107d68660f">opj_tcd_band::precincts</a>, <a class="el" href="structopj__tcd__resolution.html#ad1ad906bae4c049fc047aed7344f502b">opj_tcd_resolution::pw</a>, <a class="el" href="structopj__tcd__pass.html#a44a95927b8cd4a461e6ecbda8406482e">opj_tcd_pass::rate</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a>, and <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>.</p>
<p>Referenced by <a class="el" href="group___t_c_d.html#ga686fc1b04304a07219a03108b6f808a9">opj_tcd_rateallocate_fixed()</a>.</p>
</div>
</div>
<a class="anchor" id="ga15fc40d9b891d32df8ec516473d9f15e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_rateallocate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>dest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>p_data_written</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a953f982d6d7c96af2ba905f517b72e05">opj_codestream_info_t</a> *&#160;</td>
<td class="paramname"><em>cstr_info</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__tcd__resolution.html#a11ecca43c1f72e70c44e0b9746817a05">opj_tcd_resolution::bands</a>, <a class="el" href="structopj__tcd__precinct.html#af7415dc4af637afd8f0b6c4c306a8cbd">opj_tcd_precinct::cblks</a>, <a class="el" href="structopj__tcd__precinct.html#a03678b6a4ee6ade3d5cb30eee661a236">opj_tcd_precinct::ch</a>, <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd.html#aac0a6dfdfc639276d79e21122321917e">opj_tcd::cp</a>, <a class="el" href="structopj__tcd.html#a46a50bb532e916897b4d612cbca4bb7e">opj_tcd::cur_pino</a>, <a class="el" href="structopj__tcd.html#a8b557594c58fd833c53ee04cf1955b7c">opj_tcd::cur_tp_num</a>, <a class="el" href="structopj__tcd__precinct.html#ad89267dc061dd398fefad52194a4041f">opj_tcd_precinct::cw</a>, <a class="el" href="structopj__tcd__tile.html#a49b0273a2495bed14a079e8d6c882737">opj_tcd_tile::distolayer</a>, <a class="el" href="structopj__tcp.html#ae9b13841ed5a9d026b04fa1193ec0d93">opj_tcp::distoratio</a>, <a class="el" href="structopj__tcd__pass.html#a45f5472e2dc4265c9e973c8c630485cc">opj_tcd_pass::distortiondec</a>, <a class="el" href="structopj__tcd__tile.html#afeab4e70f466b3e4f6106325d98a2267">opj_tcd_tile::distotile</a>, <a class="el" href="structopj__tile__info.html#a585adcc009453acf059a433e3e3b69e2">opj_tile_info::distotile</a>, <a class="el" href="structopj__tcd__precinct.html#ae1eaa14c395bcaa968d353734602cd8d">opj_tcd_precinct::enc</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__encoding__param.html#a53f7ee9dec382419e922cbb93aa6f479">opj_encoding_param::m_disto_alloc</a>, <a class="el" href="structopj__cp.html#abff64b4afd56cc97c8e9747404ab9ae6">opj_cp::m_enc</a>, <a class="el" href="structopj__encoding__param.html#a2ffde36961e37f417b8e9b10c0efa171">opj_encoding_param::m_fixed_quality</a>, <a class="el" href="structopj__cp.html#a467602df60d6e7db09344210b33e56e2">opj_cp::m_specific_param</a>, <a class="el" href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max()</a>, <a class="el" href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min()</a>, <a class="el" href="structopj__tcd__resolution.html#afc311b6c76795f76f3dfc9a453b21c39">opj_tcd_resolution::numbands</a>, <a class="el" href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35">opj_tcd_tile::numcomps</a>, <a class="el" href="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a>, <a class="el" href="structopj__tcd__tilecomp.html#a6470ba34ffaebc945059b8a23e22a787">opj_tcd_tilecomp::numpix</a>, <a class="el" href="structopj__tcd__tile.html#a9026576f4008e8ec2d2e51847b471575">opj_tcd_tile::numpix</a>, <a class="el" href="structopj__tile__info.html#a494318dea2e7cc9cfc60205aeab07daa">opj_tile_info::numpix</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8h.html#a08110de2ebeb51b4b5c10af8da27f82a">OPJ_IS_CINEMA</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___t2.html#gad7845a4d5a2fd73c2c81e1c525bf0ae4">opj_t2_create()</a>, <a class="el" href="group___t2.html#ga0e929ed8feb7bad8d169b0dc4478e59a">opj_t2_destroy()</a>, <a class="el" href="group___t2.html#ga4b315a332b59404266c1c1655fe8088c">opj_t2_encode_packets()</a>, <a class="el" href="group___t_c_d.html#ga96f962af737e4f4f2b7fb026f7869eca">opj_tcd_is_band_empty()</a>, <a class="el" href="group___t_c_d.html#ga350b4deff33a47f09e609d1f7d7cb43d">opj_tcd_makelayer()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga06c1c4470f9765a3ed04963b0daa111a">opj_uint_min()</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a5fd8985b3b27f790691eb09533bc45a3">opj_tcd_cblk_enc::passes</a>, <a class="el" href="structopj__tcd__resolution.html#ab8ccf37cf9fc2b9c1db6aaa3cac164eb">opj_tcd_resolution::ph</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__tcd__band.html#a09f58aba8a9216e75fde1c107d68660f">opj_tcd_band::precincts</a>, <a class="el" href="structopj__tcd__resolution.html#ad1ad906bae4c049fc047aed7344f502b">opj_tcd_resolution::pw</a>, <a class="el" href="structopj__tcd__pass.html#a44a95927b8cd4a461e6ecbda8406482e">opj_tcd_pass::rate</a>, <a class="el" href="structopj__tcp.html#a410c9e928bcc2d360362586675baf749">opj_tcp::rates</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__cp.html#acf1558d84c50f976726c0f8c9b814995">opj_cp::rsiz</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#af04f0bf344951c893ac5a70497cd8230">opj_tcd::tcd_tileno</a>, <a class="el" href="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a>, <a class="el" href="structopj__tile__info.html#ae8bdb0913c89ceb00a8a829dfbf34d43">opj_tile_info::thresh</a>, <a class="el" href="group___j2_k.html#gga427133e0bc1b38edd11de421f59e1d52ab514a89191f077a2597646af05dfd1b6">THRESH_CALC</a>, <a class="el" href="structopj__codestream__info.html#a626739f8ec7f4f73d4de54024c5878c9">opj_codestream_info::tile</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd__cblk__enc.html#aa016b9dec075b59c3ff5faa47f099afc">opj_tcd_cblk_enc::totalpasses</a>, <a class="el" href="structopj__tcd.html#a20455f8cb23c34e4a762d4872aa84479">opj_tcd::tp_pos</a>, <a class="el" href="structopj__tcd__cblk__enc.html#aa73a8d69a9328bba884b01512fea55a9">opj_tcd_cblk_enc::x0</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a2cdd8cea6537df7248ce0d999d4aa402">opj_tcd_cblk_enc::x1</a>, <a class="el" href="structopj__tcd__cblk__enc.html#a71c810a87fd11dcbd742e542a0142476">opj_tcd_cblk_enc::y0</a>, and <a class="el" href="structopj__tcd__cblk__enc.html#afe70af4a1cd62891dc9700e19d5be2e9">opj_tcd_cblk_enc::y1</a>.</p>
<p>Referenced by <a class="el" href="tcd_8c.html#aa237637abb5431aa9db59ba0776a8a75">opj_tcd_rate_allocate_encode()</a>.</p>
</div>
</div>
<a class="anchor" id="ga686fc1b04304a07219a03108b6f808a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_tcd_rateallocate_fixed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>tcd</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a>, <a class="el" href="group___t_c_d.html#ga31ece0bd1f42ea10d6f5fc342db86936">opj_tcd_makelayer_fixed()</a>, and <a class="el" href="structopj__tcd.html#a176cbb807a749ee9c7d5b6fa3c2f6fff">opj_tcd::tcp</a>.</p>
<p>Referenced by <a class="el" href="tcd_8c.html#aa237637abb5431aa9db59ba0776a8a75">opj_tcd_rate_allocate_encode()</a>.</p>
</div>
</div>
<a class="anchor" id="gaa0f48c91a7b3527fc105c1b608ebd766"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_tcd_reinit_segment </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga97a76428e608ecd9c23872fe4b4d204b">opj_tcd_seg_t</a> *&#160;</td>
<td class="paramname"><em>seg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reinitialize a segment. </p>
<p>Referenced by <a class="el" href="group___t2.html#gad67d6a1f55a28ca417178f573636a931">opj_t2_init_seg()</a>, and <a class="el" href="tcd_8c.html#ab17f65018878156d39af68939de6148b">opj_tcd_code_block_dec_allocate()</a>.</p>
</div>
</div>
<a class="anchor" id="gaee317346b70f250cbe327c3dc2536715"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_tcd_update_tile_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga27d4f057f1b892c5a38296d044803e3d">opj_tcd_t</a> *&#160;</td>
<td class="paramname"><em>p_tcd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_dest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_dest_length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copies tile data from the system onto the given memory block. </p>
<p>References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</a>, <a class="el" href="structopj__tcd__tilecomp.html#a6cee39e0c45389d13d4f3084801630ac">opj_tcd_tilecomp::data_win</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__tcd__tilecomp.html#a72eb32895dd9ec7362da633609d3a2e0">opj_tcd_tilecomp::minimum_num_resolutions</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___t_c_d.html#ga52e4296555a20244677550e29b9435cd">opj_tcd_get_decoded_tile_size()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__image__comp.html#ab9d6b54916aba881438fcff74d76a6a5">opj_image_comp::resno_decoded</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__image__comp.html#a2d2337d15fd837252fe250386bac7fb9">opj_image_comp::sgnd</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="structopj__tcd.html#a48dce2050b28e97e44fbe918e4f93f9c">opj_tcd::whole_tile_decoding</a>, <a class="el" href="structopj__tcd__resolution.html#a3d3c77e1b3a08004f279e9fc860a7c4f">opj_tcd_resolution::win_x0</a>, <a class="el" href="structopj__tcd__resolution.html#a58d3b87e4c655d75bffbaa3ad77f631a">opj_tcd_resolution::win_x1</a>, <a class="el" href="structopj__tcd__resolution.html#af216ccf9de3aef39ebb7cf4daf6dd13a">opj_tcd_resolution::win_y0</a>, <a class="el" href="structopj__tcd__resolution.html#a9e37a90718ec8b1e631cb9cdd5eac365">opj_tcd_resolution::win_y1</a>, <a class="el" href="structopj__tcd__resolution.html#ac65adbcc5c51d8aaf0e5e9315243d6a1">opj_tcd_resolution::x0</a>, <a class="el" href="structopj__tcd__resolution.html#a4544bfa885feb38635dd2770a9114ecf">opj_tcd_resolution::x1</a>, <a class="el" href="structopj__tcd__resolution.html#ae4fb93aaa054fc66cc93021badc18cec">opj_tcd_resolution::y0</a>, and <a class="el" href="structopj__tcd__resolution.html#a4b68d3bd5fbaccd293e6a773be9d1a7f">opj_tcd_resolution::y1</a>.</p>
<p>Referenced by <a class="el" href="j2k_8h.html#a589edf58bf96de0a09b6104b6f5c13e8">opj_j2k_decode_tile()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>