openjpeg/doxygen/t2_8h.html

404 lines
32 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: t2.h File Reference</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.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</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">t2.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Implementation of a tier-2 coding (packetization of code-block data) (T2)
<a href="#details">More...</a></p>
<p><a href="t2_8h_source.html">Go to the source code of this file.</a></p>
<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__t2.html">opj_t2</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tier-2 coding. <a href="structopj__t2.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:a3bc3030bda60b121dcea357f011813bc"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__t2.html">opj_t2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a></td></tr>
<tr class="memdesc:a3bc3030bda60b121dcea357f011813bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tier-2 coding. <a href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">More...</a><br /></td></tr>
<tr class="separator:a3bc3030bda60b121dcea357f011813bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Exported functions</div></td></tr>
<tr class="memitem:af330a34bcb961487cee45f0121b3531e"><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="t2_8h.html#af330a34bcb961487cee45f0121b3531e">opj_t2_encode_packets</a> (<a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *t2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tileno, <a class="el" href="tcd_8h.html#a644aef197f3f6dec4c5542a50ff5cce3">opj_tcd_tile_t</a> *tile, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> maxlayers, <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#a0cc11f25139520a969aef74546586c77">opj_codestream_info_t</a> *cstr_info, <a class="el" href="tcd_8h.html#a1a9dee911fdacfd225226de3b639523c">opj_tcd_marker_info_t</a> *p_marker_info, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tpnum, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> tppos, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> pino, <a class="el" href="j2k_8h.html#a5b88b2bc50118ac5d1eb150d887b5585">J2K_T2_MODE</a> t2_mode, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:af330a34bcb961487cee45f0121b3531e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode the packets of a tile to a destination buffer. <a href="t2_8h.html#af330a34bcb961487cee45f0121b3531e">More...</a><br /></td></tr>
<tr class="separator:af330a34bcb961487cee45f0121b3531e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08fffa34be41f4811d8bd99e9364de2e"><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="t2_8h.html#a08fffa34be41f4811d8bd99e9364de2e">opj_t2_decode_packets</a> (<a class="el" href="tcd_8h.html#a375332e9a71d27f3c59d118bc34fa4b6">opj_tcd_t</a> *tcd, <a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *t2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tileno, <a class="el" href="tcd_8h.html#a644aef197f3f6dec4c5542a50ff5cce3">opj_tcd_tile_t</a> *tile, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *src, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_data_read, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> len, <a class="el" href="openjpeg_8h.html#aef4e40da13534ecda530816e133bfce8">opj_codestream_index_t</a> *cstr_info, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a08fffa34be41f4811d8bd99e9364de2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode the packets of a tile from a source buffer. <a href="t2_8h.html#a08fffa34be41f4811d8bd99e9364de2e">More...</a><br /></td></tr>
<tr class="separator:a08fffa34be41f4811d8bd99e9364de2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7845a4d5a2fd73c2c81e1c525bf0ae4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="t2_8h.html#ad7845a4d5a2fd73c2c81e1c525bf0ae4">opj_t2_create</a> (<a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *p_image, <a class="el" href="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">opj_cp_t</a> *p_cp)</td></tr>
<tr class="memdesc:ad7845a4d5a2fd73c2c81e1c525bf0ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a Tier 2 handle. <a href="t2_8h.html#ad7845a4d5a2fd73c2c81e1c525bf0ae4">More...</a><br /></td></tr>
<tr class="separator:ad7845a4d5a2fd73c2c81e1c525bf0ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e929ed8feb7bad8d169b0dc4478e59a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="t2_8h.html#a0e929ed8feb7bad8d169b0dc4478e59a">opj_t2_destroy</a> (<a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *t2)</td></tr>
<tr class="memdesc:a0e929ed8feb7bad8d169b0dc4478e59a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a T2 handle. <a href="t2_8h.html#a0e929ed8feb7bad8d169b0dc4478e59a">More...</a><br /></td></tr>
<tr class="separator:a0e929ed8feb7bad8d169b0dc4478e59a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of a tier-2 coding (packetization of code-block data) (T2) </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a3bc3030bda60b121dcea357f011813bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc3030bda60b121dcea357f011813bc">&#9670;&nbsp;</a></span>opj_t2_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__t2.html">opj_t2</a> <a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tier-2 coding. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ad7845a4d5a2fd73c2c81e1c525bf0ae4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7845a4d5a2fd73c2c81e1c525bf0ae4">&#9670;&nbsp;</a></span>opj_t2_create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a>* opj_t2_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">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="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">opj_cp_t</a> *&#160;</td>
<td class="paramname"><em>p_cp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a Tier 2 handle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_image</td><td>Source or destination image </td></tr>
<tr><td class="paramname">p_cp</td><td>Image coding parameters. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a new T2 handle if successful, NULL otherwise. </dd></dl>
<p class="reference">References <a class="el" href="structopj__t2.html#a69b05e3b5a028b4ebe35164ecbe8e997">opj_t2::cp</a>, <a class="el" href="structopj__t2.html#aa6ac0af01ca6bb5f1d7afe39422181ee">opj_t2::image</a>, and <a class="el" href="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc()</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8h.html#a15fc40d9b891d32df8ec516473d9f15e">opj_tcd_rateallocate()</a>, <a class="el" href="tcd_8c.html#a40253d6f2bec671466a2ec8cc049a42e">opj_tcd_t2_decode()</a>, and <a class="el" href="tcd_8c.html#a3bd379ac6ce1ee24b37170ca6164f039">opj_tcd_t2_encode()</a>.</p>
</div>
</div>
<a id="a08fffa34be41f4811d8bd99e9364de2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08fffa34be41f4811d8bd99e9364de2e">&#9670;&nbsp;</a></span>opj_t2_decode_packets()</h2>
<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_t2_decode_packets </td>
<td>(</td>
<td class="paramtype"><a class="el" href="tcd_8h.html#a375332e9a71d27f3c59d118bc34fa4b6">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="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *&#160;</td>
<td class="paramname"><em>t2</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="tcd_8h.html#a644aef197f3f6dec4c5542a50ff5cce3">opj_tcd_tile_t</a> *&#160;</td>
<td class="paramname"><em>tile</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>p_data_read</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#aef4e40da13534ecda530816e133bfce8">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#a9015b7726990d51ca282c8134b8eccdd">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>Decode the packets of a tile from a source buffer. </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">t2</td><td>T2 handle </td></tr>
<tr><td class="paramname">tileno</td><td>number that identifies the tile for which to decode the packets </td></tr>
<tr><td class="paramname">tile</td><td>tile for which to decode the packets </td></tr>
<tr><td class="paramname">src</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_data_read</td><td>the source buffer </td></tr>
<tr><td class="paramname">len</td><td>length of the source buffer </td></tr>
<tr><td class="paramname">cstr_info</td><td>FIXME DOC </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>FIXME DOC </dd></dl>
<p class="reference">References <a class="el" href="structopj__tcd__band.html#a42509ecd35f2a30e80e9c957cc5deb9c">opj_tcd_band::bandno</a>, <a class="el" href="structopj__tcd__resolution.html#a11ecca43c1f72e70c44e0b9746817a05">opj_tcd_resolution::bands</a>, <a class="el" href="structopj__pi__iterator.html#a45916c625862f62c288bb0b923c6bc09">opj_pi_iterator::compno</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__t2.html#a69b05e3b5a028b4ebe35164ecbe8e997">opj_t2::cp</a>, <a class="el" href="structopj__packet__info.html#a8d0687f01cba3aa3b62011eec7d415cd">opj_packet_info::end_ph_pos</a>, <a class="el" href="structopj__packet__info.html#a5f5406a701b46234a6ff7bc899ee89c6">opj_packet_info::end_pos</a>, <a class="el" href="structopj__t2.html#aa6ac0af01ca6bb5f1d7afe39422181ee">opj_t2::image</a>, <a class="el" href="t2_8c.html#a4a09ae0d1aec0c329f20ddb23d2f5362">JAS_FPRINTF</a>, <a class="el" href="structopj__pi__iterator.html#afb02b0f87fc58311f610b6f6e74130cd">opj_pi_iterator::layno</a>, <a class="el" href="structopj__cp.html#abff64b4afd56cc97c8e9747404ab9ae6">opj_cp::m_enc</a>, <a class="el" href="structopj__cp.html#a085175438247eae00338c87300f472be">opj_cp::m_specific_param</a>, <a class="el" href="structopj__encoding__param.html#a77d5159cfc449455fefaa378ed3ed411">opj_encoding_param::m_tp_on</a>, <a class="el" href="structopj__tcd__tilecomp.html#a72eb32895dd9ec7362da633609d3a2e0">opj_tcd_tilecomp::minimum_num_resolutions</a>, <a class="el" href="structopj__tcp.html#a368fad8afe5ecbdde51f7ba831db1f46">opj_tcp::num_layers_to_decode</a>, <a class="el" href="structopj__tcd__resolution.html#afc311b6c76795f76f3dfc9a453b21c39">opj_tcd_resolution::numbands</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcp.html#aac3c15725d8c01013c63e08a0fce7706">opj_tcp::numpocs</a>, <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="pi_8c.html#a72eed94195441aa6e3e7f37710297b56">opj_pi_create_decode()</a>, <a class="el" href="pi_8c.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy()</a>, <a class="el" href="pi_8c.html#a638f17d6f40f88cd90d1cedbf95147f9">opj_pi_next()</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0dafee9d90ccc533dc854fa431e90550b5b">OPJ_PROG_UNKNOWN</a>, <a class="el" href="t2_8c.html#ada815b83043821025d3e3510b8fdbd24">opj_t2_decode_packet()</a>, <a class="el" href="t2_8c.html#ac2fdcec8695cc2e2899847e53bde3815">opj_t2_skip_packet()</a>, <a class="el" href="tcd_8c.html#a72440072965bb27a13c6042c7b383c70">opj_tcd_is_subband_area_of_interest()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0">opj_uint_max()</a>, <a class="el" href="structopj__pi__iterator.html#af3bd59898a69a3958829c4d71c78718c">opj_pi_iterator::poc</a>, <a class="el" href="structopj__tcd__band.html#a09f58aba8a9216e75fde1c107d68660f">opj_tcd_band::precincts</a>, <a class="el" href="structopj__pi__iterator.html#a39e7de7bb4f4a95fd7b5f054b04de4a2">opj_pi_iterator::precno</a>, <a class="el" href="structopj__poc.html#a5690cab5cd5424230986e42126282e5c">opj_poc::prg</a>, <a class="el" href="structopj__poc.html#ac3a5cd2197ec2f6efa274fff547aca5d">opj_poc::prg1</a>, <a class="el" href="structopj__pi__iterator.html#a61c60db76ab998db030bbecfa24e040a">opj_pi_iterator::resno</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__packet__info.html#a091879c16084f61abb01b1a5b26d142b">opj_packet_info::start_pos</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, <a class="el" href="structopj__codestream__index.html#ab7ce4372a9717a7f6c1ef21553738cd1">opj_codestream_index::tile_index</a>, <a class="el" href="structopj__tcd__precinct.html#a7b88b19a187f8462da1e734c37eeb913">opj_tcd_precinct::x0</a>, <a class="el" href="structopj__tcd__precinct.html#a4a6359c91fe84fc23ffbad7296a13404">opj_tcd_precinct::x1</a>, <a class="el" href="structopj__tcd__precinct.html#a0e4607b3ab3450c97f6308d5ca8f3811">opj_tcd_precinct::y0</a>, and <a class="el" href="structopj__tcd__precinct.html#a6cb03251b051b398a76f0606eed18389">opj_tcd_precinct::y1</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a40253d6f2bec671466a2ec8cc049a42e">opj_tcd_t2_decode()</a>.</p>
</div>
</div>
<a id="a0e929ed8feb7bad8d169b0dc4478e59a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e929ed8feb7bad8d169b0dc4478e59a">&#9670;&nbsp;</a></span>opj_t2_destroy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_t2_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *&#160;</td>
<td class="paramname"><em>t2</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroy a T2 handle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">t2</td><td>T2 handle to destroy </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8h.html#a15fc40d9b891d32df8ec516473d9f15e">opj_tcd_rateallocate()</a>, <a class="el" href="tcd_8c.html#a40253d6f2bec671466a2ec8cc049a42e">opj_tcd_t2_decode()</a>, and <a class="el" href="tcd_8c.html#a3bd379ac6ce1ee24b37170ca6164f039">opj_tcd_t2_encode()</a>.</p>
</div>
</div>
<a id="af330a34bcb961487cee45f0121b3531e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af330a34bcb961487cee45f0121b3531e">&#9670;&nbsp;</a></span>opj_t2_encode_packets()</h2>
<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_t2_encode_packets </td>
<td>(</td>
<td class="paramtype"><a class="el" href="t2_8h.html#a3bc3030bda60b121dcea357f011813bc">opj_t2_t</a> *&#160;</td>
<td class="paramname"><em>t2</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="tcd_8h.html#a644aef197f3f6dec4c5542a50ff5cce3">opj_tcd_tile_t</a> *&#160;</td>
<td class="paramname"><em>tile</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>maxlayers</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#a0cc11f25139520a969aef74546586c77">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="tcd_8h.html#a1a9dee911fdacfd225226de3b639523c">opj_tcd_marker_info_t</a> *&#160;</td>
<td class="paramname"><em>p_marker_info</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>tpnum</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td>
<td class="paramname"><em>tppos</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>pino</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="j2k_8h.html#a5b88b2bc50118ac5d1eb150d887b5585">J2K_T2_MODE</a>&#160;</td>
<td class="paramname"><em>t2_mode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">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>Encode the packets of a tile to a destination buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">t2</td><td>T2 handle </td></tr>
<tr><td class="paramname">tileno</td><td>number of the tile encoded </td></tr>
<tr><td class="paramname">tile</td><td>the tile for which to write the packets </td></tr>
<tr><td class="paramname">maxlayers</td><td>maximum number of layers </td></tr>
<tr><td class="paramname">dest</td><td>the destination buffer </td></tr>
<tr><td class="paramname">p_data_written</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">len</td><td>the length of the destination buffer </td></tr>
<tr><td class="paramname">cstr_info</td><td>Codestream information structure </td></tr>
<tr><td class="paramname">p_marker_info</td><td>Marker information structure </td></tr>
<tr><td class="paramname">tpnum</td><td>Tile part number of the current tile </td></tr>
<tr><td class="paramname">tppos</td><td>The position of the tile part flag in the progression order </td></tr>
<tr><td class="paramname">pino</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">t2_mode</td><td>If == THRESH_CALC In Threshold calculation ,If == FINAL_PASS Final pass </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__t2.html#a69b05e3b5a028b4ebe35164ecbe8e997">opj_t2::cp</a>, <a class="el" href="structopj__tile__info.html#afc4a4cf6ea2ebecdc45ba234197ba4ee">opj_tile_info::end_header</a>, <a class="el" href="structopj__packet__info.html#a8d0687f01cba3aa3b62011eec7d415cd">opj_packet_info::end_ph_pos</a>, <a class="el" href="structopj__packet__info.html#a5f5406a701b46234a6ff7bc899ee89c6">opj_packet_info::end_pos</a>, <a class="el" href="structopj__t2.html#aa6ac0af01ca6bb5f1d7afe39422181ee">opj_t2::image</a>, <a class="el" href="structopj__codestream__info.html#a580bee732e2d606ef531cf1d928470b7">opj_codestream_info::index_write</a>, <a class="el" href="structopj__pi__iterator.html#afb02b0f87fc58311f610b6f6e74130cd">opj_pi_iterator::layno</a>, <a class="el" href="structopj__cp.html#abff64b4afd56cc97c8e9747404ab9ae6">opj_cp::m_enc</a>, <a class="el" href="structopj__encoding__param.html#ab14cfb8a5c9d4dd7ea8a312783644ca9">opj_encoding_param::m_max_comp_size</a>, <a class="el" href="structopj__cp.html#a085175438247eae00338c87300f472be">opj_cp::m_specific_param</a>, <a class="el" href="structopj__encoding__param.html#a77d5159cfc449455fefaa378ed3ed411">opj_encoding_param::m_tp_on</a>, <a class="el" href="structopj__tcd__marker__info.html#adc1775ab42552069a1c64234e252a8b4">opj_tcd_marker_info::need_PLT</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcp.html#aac3c15725d8c01013c63e08a0fce7706">opj_tcp::numpocs</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="pi_8c.html#a7366cd1b06e22a71734d95f27ceaa20b">opj_get_encoding_packet_count()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="pi_8c.html#acb01a23ef601a5e06c582c926c39a8e4">opj_pi_create_encode()</a>, <a class="el" href="pi_8c.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy()</a>, <a class="el" href="pi_8c.html#abf7ffa53b1977d2c0c293ad011ad67af">opj_pi_initialise_encode()</a>, <a class="el" href="pi_8c.html#a638f17d6f40f88cd90d1cedbf95147f9">opj_pi_next()</a>, <a class="el" href="openjpeg_8h.html#aea5e6da849fb044e23a8b8ac58a86bb4">OPJ_PROFILE_CINEMA_4K</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0dafee9d90ccc533dc854fa431e90550b5b">OPJ_PROG_UNKNOWN</a>, <a class="el" href="t2_8c.html#af46b03251519f1cba8bb01da5abc2169">opj_t2_encode_packet()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__tcd__marker__info.html#af7bf01a810641b92d7d0af2cec3844b6">opj_tcd_marker_info::p_packet_size</a>, <a class="el" href="structopj__tile__info.html#a5f1dc243e2e5c99fa41b084fc6b5dd97">opj_tile_info::packet</a>, <a class="el" href="structopj__tcd__marker__info.html#aab8b41bed76140902fab6da70932c367">opj_tcd_marker_info::packet_count</a>, <a class="el" href="structopj__tcd__tile.html#afcf93d50666e9bb0870e548dfc21b219">opj_tcd_tile::packno</a>, <a class="el" href="structopj__codestream__info.html#a8a03e90400566b4107038a06af55e8f7">opj_codestream_info::packno</a>, <a class="el" href="structopj__pi__iterator.html#af3bd59898a69a3958829c4d71c78718c">opj_pi_iterator::poc</a>, <a class="el" href="structopj__tcp.html#a240b55de8516f9191628470efd9b6fca">opj_tcp::POC</a>, <a class="el" href="structopj__poc.html#a5690cab5cd5424230986e42126282e5c">opj_poc::prg</a>, <a class="el" href="structopj__cp.html#acf1558d84c50f976726c0f8c9b814995">opj_cp::rsiz</a>, <a class="el" href="structopj__packet__info.html#a091879c16084f61abb01b1a5b26d142b">opj_packet_info::start_pos</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, <a class="el" href="j2k_8h.html#a427133e0bc1b38edd11de421f59e1d52ab514a89191f077a2597646af05dfd1b6">THRESH_CALC</a>, and <a class="el" href="structopj__codestream__info.html#a626739f8ec7f4f73d4de54024c5878c9">opj_codestream_info::tile</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8h.html#a15fc40d9b891d32df8ec516473d9f15e">opj_tcd_rateallocate()</a>, and <a class="el" href="tcd_8c.html#a3bd379ac6ce1ee24b37170ca6164f039">opj_tcd_t2_encode()</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.17
</small></address>
</body>
</html>