openjpeg/doxygen/pi_8h.html

534 lines
46 KiB
HTML
Raw Permalink Normal View History

2022-05-13 20:21:13 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2015-07-10 18:06:19 +02:00
<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"/>
2022-05-13 20:21:13 +02:00
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: pi.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;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2022-05-13 20:21:13 +02:00
&#160;<span id="projectnumber">2.5.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-13 20:21:13 +02:00
<!-- 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>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<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>
2015-07-10 18:06:19 +02:00
</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">pi.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Implementation of a packet iterator (PI)
<a href="#details">More...</a></p>
<p><a href="pi_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__pi__resolution.html">opj_pi_resolution</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__pi__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__pi__comp.html">opj_pi_comp</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="structopj__pi__comp.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__pi__iterator.html">opj_pi_iterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Packet iterator. <a href="structopj__pi__iterator.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>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a9d5499abf15349391706fdeba9848a83"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__pi__resolution.html">opj_pi_resolution</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a9d5499abf15349391706fdeba9848a83">opj_pi_resolution_t</a></td></tr>
<tr class="memdesc:a9d5499abf15349391706fdeba9848a83"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="pi_8h.html#a9d5499abf15349391706fdeba9848a83">More...</a><br /></td></tr>
<tr class="separator:a9d5499abf15349391706fdeba9848a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bb6c73887dacf49966400012dd29613"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__pi__comp.html">opj_pi_comp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a1bb6c73887dacf49966400012dd29613">opj_pi_comp_t</a></td></tr>
<tr class="memdesc:a1bb6c73887dacf49966400012dd29613"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="pi_8h.html#a1bb6c73887dacf49966400012dd29613">More...</a><br /></td></tr>
<tr class="separator:a1bb6c73887dacf49966400012dd29613"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd0ac8cbf7a81d46c0b4aa0373b8202"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__pi__iterator.html">opj_pi_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a></td></tr>
<tr class="memdesc:a0cd0ac8cbf7a81d46c0b4aa0373b8202"><td class="mdescLeft">&#160;</td><td class="mdescRight">Packet iterator. <a href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">More...</a><br /></td></tr>
<tr class="separator:a0cd0ac8cbf7a81d46c0b4aa0373b8202"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
</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>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a2e76cd9983f766b757fd0cdfae9d6d43"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a2e76cd9983f766b757fd0cdfae9d6d43">opj_pi_initialise_encode</a> (const <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *image, <a class="el" href="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">opj_cp_t</a> *cp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tileno, <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> *manager)</td></tr>
<tr class="memdesc:a2e76cd9983f766b757fd0cdfae9d6d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a packet iterator for encoding. <a href="pi_8h.html#a2e76cd9983f766b757fd0cdfae9d6d43">More...</a><br /></td></tr>
<tr class="separator:a2e76cd9983f766b757fd0cdfae9d6d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19c951dfab9ba88d65a9b78f32dd3397"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a19c951dfab9ba88d65a9b78f32dd3397">opj_pi_update_encoding_parameters</a> (const <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, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_no)</td></tr>
<tr class="memdesc:a19c951dfab9ba88d65a9b78f32dd3397"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the encoding parameters of the codec. <a href="pi_8h.html#a19c951dfab9ba88d65a9b78f32dd3397">More...</a><br /></td></tr>
<tr class="separator:a19c951dfab9ba88d65a9b78f32dd3397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb01a23ef601a5e06c582c926c39a8e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#acb01a23ef601a5e06c582c926c39a8e4">opj_pi_create_encode</a> (<a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *pi, <a class="el" href="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">opj_cp_t</a> *cp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tileno, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> pino, <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="j2k_8h.html#a5b88b2bc50118ac5d1eb150d887b5585">J2K_T2_MODE</a> t2_mode)</td></tr>
<tr class="memdesc:acb01a23ef601a5e06c582c926c39a8e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modify the packet iterator for enabling tile part generation. <a href="pi_8h.html#acb01a23ef601a5e06c582c926c39a8e4">More...</a><br /></td></tr>
<tr class="separator:acb01a23ef601a5e06c582c926c39a8e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c75d9a1f16b692ab5d4cd759e6c4c90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a6c75d9a1f16b692ab5d4cd759e6c4c90">opj_pi_create_decode</a> (<a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *image, <a class="el" href="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">opj_cp_t</a> *cp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tileno, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *manager)</td></tr>
<tr class="memdesc:a6c75d9a1f16b692ab5d4cd759e6c4c90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a packet iterator for Decoder. <a href="pi_8h.html#a6c75d9a1f16b692ab5d4cd759e6c4c90">More...</a><br /></td></tr>
<tr class="separator:a6c75d9a1f16b692ab5d4cd759e6c4c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b305751720002ec7fd630d9c87d4dd4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pi_8h.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy</a> (<a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *p_pi, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_nb_elements)</td></tr>
<tr class="memdesc:a2b305751720002ec7fd630d9c87d4dd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a packet iterator array. <a href="pi_8h.html#a2b305751720002ec7fd630d9c87d4dd4">More...</a><br /></td></tr>
<tr class="separator:a2b305751720002ec7fd630d9c87d4dd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638f17d6f40f88cd90d1cedbf95147f9"><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="pi_8h.html#a638f17d6f40f88cd90d1cedbf95147f9">opj_pi_next</a> (<a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *pi)</td></tr>
<tr class="memdesc:a638f17d6f40f88cd90d1cedbf95147f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modify the packet iterator to point to the next packet. <a href="pi_8h.html#a638f17d6f40f88cd90d1cedbf95147f9">More...</a><br /></td></tr>
<tr class="separator:a638f17d6f40f88cd90d1cedbf95147f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7366cd1b06e22a71734d95f27ceaa20b"><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="pi_8h.html#a7366cd1b06e22a71734d95f27ceaa20b">opj_get_encoding_packet_count</a> (const <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *p_image, const <a class="el" href="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">opj_cp_t</a> *p_cp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_no)</td></tr>
<tr class="memdesc:a7366cd1b06e22a71734d95f27ceaa20b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of packets in the tile. <a href="pi_8h.html#a7366cd1b06e22a71734d95f27ceaa20b">More...</a><br /></td></tr>
<tr class="separator:a7366cd1b06e22a71734d95f27ceaa20b"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of a packet iterator (PI) </p>
2022-05-13 20:21:13 +02:00
<p>The functions in <a class="el" href="pi_8c.html">PI.C</a> have for goal to realize a packet iterator that permits to get the next packet following the progression order and change of it. The functions in <a class="el" href="pi_8c.html">PI.C</a> are used by some function in <a class="el" href="t2_8c.html">T2.C</a>. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a1bb6c73887dacf49966400012dd29613"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bb6c73887dacf49966400012dd29613">&#9670;&nbsp;</a></span>opj_pi_comp_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__pi__comp.html">opj_pi_comp</a> <a class="el" href="pi_8h.html#a1bb6c73887dacf49966400012dd29613">opj_pi_comp_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<a id="a0cd0ac8cbf7a81d46c0b4aa0373b8202"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd0ac8cbf7a81d46c0b4aa0373b8202">&#9670;&nbsp;</a></span>opj_pi_iterator_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__pi__iterator.html">opj_pi_iterator</a> <a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Packet iterator. </p>
</div>
</div>
<a id="a9d5499abf15349391706fdeba9848a83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d5499abf15349391706fdeba9848a83">&#9670;&nbsp;</a></span>opj_pi_resolution_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__pi__resolution.html">opj_pi_resolution</a> <a class="el" href="pi_8h.html#a9d5499abf15349391706fdeba9848a83">opj_pi_resolution_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a7366cd1b06e22a71734d95f27ceaa20b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7366cd1b06e22a71734d95f27ceaa20b">&#9670;&nbsp;</a></span>opj_get_encoding_packet_count()</h2>
<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_get_encoding_packet_count </td>
<td>(</td>
<td class="paramtype">const <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">const <a class="el" href="j2k_8h.html#a6058181b8d876afdbd0c8ac592e2e658">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="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_tile_no</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the number of packets in the tile. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">image</td><td>the image being encoded. </td></tr>
<tr><td class="paramname">cp</td><td>Coding parameters </td></tr>
<tr><td class="paramname">tileno</td><td>Number that identifies the tile. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a>, <a class="el" href="pi_8c.html#a0019984757595c6ad4df22b104f95fa6">opj_get_all_encoding_parameters()</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, and <a class="el" href="structopj__cp.html#a30a7cf50ba11fe5524888d3b38bd4a09">opj_cp::th</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#a22e755751567764e1ae55e09b04a5934">opj_j2k_get_specific_header_sizes()</a>, and <a class="el" href="t2_8h.html#af330a34bcb961487cee45f0121b3531e">opj_t2_encode_packets()</a>.</p>
</div>
</div>
<a id="a6c75d9a1f16b692ab5d4cd759e6c4c90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c75d9a1f16b692ab5d4cd759e6c4c90">&#9670;&nbsp;</a></span>opj_pi_create_decode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a>* opj_pi_create_decode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>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>cp</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="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">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>Create a packet iterator for Decoder. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">image</td><td>Raw image for which the packets will be listed </td></tr>
<tr><td class="paramname">cp</td><td>Coding parameters </td></tr>
<tr><td class="paramname">tileno</td><td>Number that identifies the tile for which to list the packets </td></tr>
<tr><td class="paramname">manager</td><td>Event manager </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a packet iterator that points to the first packet of the tile </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="pi_8h.html#a2b305751720002ec7fd630d9c87d4dd4" title="Destroys a packet iterator array.">opj_pi_destroy</a> </dd></dl>
<p class="reference">References <a class="el" href="structopj__pi__iterator.html#a9cb39f6291e46f0343711df804aa983c">opj_pi_iterator::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__pi__comp.html#a5cc0b5ea22fd1affb0f5875fc0fa7ba5">opj_pi_comp::dx</a>, <a class="el" href="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a>, <a class="el" href="structopj__pi__comp.html#afde144f475239fca8b240eb321b06a0e">opj_pi_comp::dy</a>, <a class="el" href="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a>, <a class="el" href="structopj__pi__iterator.html#af4b012c07b514a9cebf0a98d9dadde5b">opj_pi_iterator::include</a>, <a class="el" href="structopj__pi__iterator.html#acf3dec81301abbf249c98b048951268b">opj_pi_iterator::include_size</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a>, <a class="el" href="structopj__tcp.html#aac3c15725d8c01013c63e08a0fce7706">opj_tcp::numpocs</a>, <a class="el" href="structopj__pi__comp.html#aac0e6c939d812b848624260bd5530717">opj_pi_comp::numresolutions</a>, <a class="el" href="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc()</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="pi_8c.html#a0019984757595c6ad4df22b104f95fa6">opj_get_all_encoding_parameters()</a>, <a class="el" href="openjpeg_8h.html#a86df1f90c5bd2c069ed8ea20712664d8">OPJ_J2K_MAXRLVLS</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="pi_8c.html#aeed86e4d71c90d14c50ce1cf9ba487ad">opj_pi_create()</a>, <a class="el" href="pi_8c.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy()</a>, <a class="el" href="pi_8c.html#aa42a42e9941a899b6172001ad9557ebb">opj_pi_update_decode_not_poc()</a>, <a class="el" href="pi_8c.html#aebe324958e7e0e3bf354f76fed3f9c54">opj_pi_update_decode_poc()</a>, <a class="el" href="structopj__pi__resolution.html#a6be1a672090a5b5108236b1899b78877">opj_pi_resolution::pdx</a>, <a class="el" href="structopj__pi__resolution.html#a5b93e82e4d7d714c49961be846e78d3c">opj_pi_resolution::pdy</a>, <a class="el" href="structopj__pi__resolution.html#acc5731d9e3ed9174780211086ef0263d">opj_pi_resolution::ph</a>, <a class="el" href="structopj__tcp.html#a240b55de8516f9191628470efd9b6fca">opj_tcp::POC</a>, <a class="el" href="structopj__pi__resolution.html#a757006b62ce5763a79218e06521b291a">opj_pi_resolution::pw</a>, <a class="el" href="structopj__pi__comp.html#a3bac028a20940396f5549f76b64f6c11">opj_pi_comp::resolutions</a>, <a class="el" href="structopj__pi__iterator.html#af7cc019f3bed44ee73bd284c20e4a1d6">opj_pi_iterator::step_c</a>, <a class="el" href="structopj__pi__iterator.html#a4606b1787e1a8ade8070419ff586fd28">opj_pi_iterator::step_l</a>, <a class="el" href="structopj__pi__iterator.html#a03a3850a338421f475d8440e4caa2411">opj_pi_iterator::step_p</a>, <a class="el" href="structopj__pi__iterator.html#aa34b7693c844d5a57bca2f9e647985b8">opj_pi_iterator::step_r</a>, <a class="el" href="structopj__tcp.html#a52c6fad3de4131b3d3f77209a6dd2a85">opj_tcp::tccps</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, <a class="el" href="structopj__cp.html#a30a7cf50ba11fe5524888d3b38bd4a09">opj_cp::th</a>, <a class="el" href="structopj__pi__iterator.html#af848c372f3226949362d724a4539cbab">opj_pi_iterator::tx0</a>, <a class="el" href="structopj__pi__iterator.html#a5bfdfbdcaffa88fc4e3857f86f3acdda">opj_pi_iterator::tx1</a>, <a class="el" href="structopj__pi__iterator.html#a9adb8bcf375e5c00f5b34c083195eb56">opj_pi_iterator::ty0</a>, and <a class="el" href="structopj__pi__iterator.html#af7de73ab950ef02e595fb277092859ab">opj_pi_iterator::ty1</a>.</p>
<p class="reference">Referenced by <a class="el" href="t2_8h.html#a08fffa34be41f4811d8bd99e9364de2e">opj_t2_decode_packets()</a>.</p>
</div>
</div>
<a id="acb01a23ef601a5e06c582c926c39a8e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb01a23ef601a5e06c582c926c39a8e4">&#9670;&nbsp;</a></span>opj_pi_create_encode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_pi_create_encode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *&#160;</td>
<td class="paramname"><em>pi</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>cp</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#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="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="j2k_8h.html#a5b88b2bc50118ac5d1eb150d887b5585">J2K_T2_MODE</a>&#160;</td>
<td class="paramname"><em>t2_mode</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the packet iterator for enabling tile part generation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pi</td><td>Handle to the packet iterator generated in pi_initialise_encode </td></tr>
<tr><td class="paramname">cp</td><td>Coding parameters </td></tr>
<tr><td class="paramname">tileno</td><td>Number that identifies the tile for which to list the packets </td></tr>
<tr><td class="paramname">pino</td><td>FIXME DOC </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">t2_mode</td><td>FIXME DOC </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__poc.html#a350e227fa582266d5612d8f278a5db86">opj_poc::compno0</a>, <a class="el" href="structopj__poc.html#afe0b99de0ec48495aa0ffcaf10a2df52">opj_poc::compno1</a>, <a class="el" href="j2k_8h.html#a427133e0bc1b38edd11de421f59e1d52ae10add0704a59d313c5e85b39d3454bf">FINAL_PASS</a>, <a class="el" href="structopj__pi__iterator.html#a58b8941fe83af207cb9e4ebcad587106">opj_pi_iterator::first</a>, <a class="el" href="structopj__poc.html#ae542a813339ce89a4feac011fc762114">opj_poc::layno0</a>, <a class="el" href="structopj__poc.html#a094197c4116fd4d12d7ac829ea5484f6">opj_poc::layno1</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="openjpeg_8h.html#afaa2fc2447e5e3d1c6e4e42265703fb4">OPJ_IS_CINEMA</a>, <a class="el" href="openjpeg_8h.html#a97f7a6b2f46e8ba660ae2b2005605c3a">OPJ_IS_IMF</a>, <a class="el" href="j2k_8c.html#a513572be30a6ac52bf7068605ae9c3d8">opj_j2k_convert_progression_order()</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0da420118e5a2846d97362f5ba3b8b5df49">OPJ_LRCP</a>, <a class="el" href="pi_8c.html#ae555edb64a8405cd8355cde47343eac6">opj_pi_check_next_level()</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0da337a514b374b59054f75cad2a0073dd2">OPJ_RLCP</a>, <a class="el" href="structopj__pi__iterator.html#af3bd59898a69a3958829c4d71c78718c">opj_pi_iterator::poc</a>, <a class="el" href="structopj__tcp.html#a0a2427fdca1afb17a5edcdf2513a694b">opj_tcp::pocs</a>, <a class="el" href="structopj__poc.html#ad02195e853c4a5c70b357326ff75cfc0">opj_poc::precno0</a>, <a class="el" href="structopj__poc.html#a81374264d3b76fb6230350cf0d6d8676">opj_poc::precno1</a>, <a class="el" href="structopj__poc.html#a5690cab5cd5424230986e42126282e5c">opj_poc::prg</a>, <a class="el" href="structopj__poc.html#a589b30dc156784a1d3ebff74cd5296c7">opj_poc::resno0</a>, <a class="el" href="structopj__poc.html#a13dc739a59f36b8e1880f00b877460a5">opj_poc::resno1</a>, <a class="el" href="structopj__cp.html#acf1558d84c50f976726c0f8c9b814995">opj_cp::rsiz</a>, <a class="el" href="query__parser_8h.html#a678aedbd2509521578c078f7a356b428a5036938696cb1fd991a6aa47cc514cf7">tcp</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, <a class="el" href="structopj__poc.html#abac95311c3bd0abd242a70d1c2f5140d">opj_poc::tx0</a>, <a class="el" href="structopj__pi__iterator.html#a5bfdfbdcaffa88fc4e3857f86f3acdda">opj_pi_iterator::tx1</a>, <a class="el" href="structopj__poc.html#a12b80a8906a4488f7dac5d1be3adde7c">opj_poc::tx1</a>, <a class="el" href="structopj__poc.html#a9b045d227c402a5e335d6810d49c3a68">opj_poc::ty0</a>, <a class="el" href="structopj__pi__iterator.html#af7de73ab950ef02e595fb277092859ab">opj_pi_iterator::ty1</a>, and <a class="el" href="structopj__poc.html#a7f9e39c69a5fa30bd6fa256026765542">opj_poc::ty1</a>.</p>
<p class="reference">Referenced by <a class="el" href="t2_8h.html#af330a34bcb961487cee45f0121b3531e">opj_t2_encode_packets()</a>.</p>
</div>
</div>
<a id="a2b305751720002ec7fd630d9c87d4dd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b305751720002ec7fd630d9c87d4dd4">&#9670;&nbsp;</a></span>opj_pi_destroy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_pi_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *&#160;</td>
<td class="paramname"><em>p_pi</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_nb_elements</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys a packet iterator array. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_pi</td><td>the packet iterator array to destroy. </td></tr>
<tr><td class="paramname">p_nb_elements</td><td>the number of elements in the array. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__pi__iterator.html#a9cb39f6291e46f0343711df804aa983c">opj_pi_iterator::comps</a>, <a class="el" href="structopj__pi__iterator.html#af4b012c07b514a9cebf0a98d9dadde5b">opj_pi_iterator::include</a>, <a class="el" href="structopj__pi__iterator.html#a4ed77988dd748db0e39a0e338a1d70d1">opj_pi_iterator::numcomps</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, and <a class="el" href="structopj__pi__comp.html#a3bac028a20940396f5549f76b64f6c11">opj_pi_comp::resolutions</a>.</p>
<p class="reference">Referenced by <a class="el" href="pi_8c.html#aeed86e4d71c90d14c50ce1cf9ba487ad">opj_pi_create()</a>, <a class="el" href="pi_8h.html#a6c75d9a1f16b692ab5d4cd759e6c4c90">opj_pi_create_decode()</a>, <a class="el" href="pi_8h.html#a2e76cd9983f766b757fd0cdfae9d6d43">opj_pi_initialise_encode()</a>, <a class="el" href="t2_8h.html#a08fffa34be41f4811d8bd99e9364de2e">opj_t2_decode_packets()</a>, and <a class="el" href="t2_8h.html#af330a34bcb961487cee45f0121b3531e">opj_t2_encode_packets()</a>.</p>
</div>
</div>
<a id="a2e76cd9983f766b757fd0cdfae9d6d43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e76cd9983f766b757fd0cdfae9d6d43">&#9670;&nbsp;</a></span>opj_pi_initialise_encode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a>* opj_pi_initialise_encode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>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>cp</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="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>manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a packet iterator for encoding. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">image</td><td>the image being encoded. </td></tr>
<tr><td class="paramname">cp</td><td>the coding parameters. </td></tr>
<tr><td class="paramname">tileno</td><td>index of the tile being encoded. </td></tr>
<tr><td class="paramname">t2_mode</td><td>the type of pass for generating the packet iterator </td></tr>
<tr><td class="paramname">manager</td><td>Event manager</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a list of packet iterator that points to the first packet of the tile (not true). </dd></dl>
<p class="reference">References <a class="el" href="structopj__pi__iterator.html#a9cb39f6291e46f0343711df804aa983c">opj_pi_iterator::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__pi__comp.html#a5cc0b5ea22fd1affb0f5875fc0fa7ba5">opj_pi_comp::dx</a>, <a class="el" href="structopj__pi__iterator.html#a0710e52be24bdc46ea106ebe889fd3fb">opj_pi_iterator::dx</a>, <a class="el" href="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a>, <a class="el" href="structopj__pi__comp.html#afde144f475239fca8b240eb321b06a0e">opj_pi_comp::dy</a>, <a class="el" href="structopj__pi__iterator.html#a748d6249047620409f4bcd13dd58f5fd">opj_pi_iterator::dy</a>, <a class="el" href="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a>, <a class="el" href="j2k_8h.html#a427133e0bc1b38edd11de421f59e1d52ae10add0704a59d313c5e85b39d3454bf">FINAL_PASS</a>, <a class="el" href="structopj__pi__iterator.html#af4b012c07b514a9cebf0a98d9dadde5b">opj_pi_iterator::include</a>, <a class="el" href="structopj__pi__iterator.html#acf3dec81301abbf249c98b048951268b">opj_pi_iterator::include_size</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__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a>, <a class="el" href="structopj__tcp.html#aac3c15725d8c01013c63e08a0fce7706">opj_tcp::numpocs</a>, <a class="el" href="structopj__pi__comp.html#aac0e6c939d812b848624260bd5530717">opj_pi_comp::numresolutions</a>, <a class="el" href="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc()</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="pi_8c.html#a0019984757595c6ad4df22b104f95fa6">opj_get_all_encoding_parameters()</a>, <a class="el" href="openjpeg_8h.html#afaa2fc2447e5e3d1c6e4e42265703fb4">OPJ_IS_CINEMA</a>, <a class="el" href="openjpeg_8h.html#a86df1f90c5bd2c069ed8ea20712664d8">OPJ_J2K_MAXRLVLS</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="pi_8c.html#aeed86e4d71c90d14c50ce1cf9ba487ad">opj_pi_create()</a>, <a class="el" href="pi_8c.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy()</a>, <a class="el" href="pi_8c.html#a3599172a073c273d45d6c7ccfa5004ba">opj_pi_update_encode_not_poc()</a>, <a class="el" href="pi_8c.html#a90e7ccf26aa757d3874a9555decb66bd">opj_pi_update_encode_poc_and_final()</a>, <a class="el" href="structopj__pi__resolution.html#a6be1a672090a5b5108236b1899b78877">opj_pi_resolution::pdx</a>, <a class="el" href="structopj__pi__resolution.html#a5b93e82e4d7d714c49961be846e78d3c">opj_pi_resolution::pdy</a>, <a class="el" href="structopj__pi__resolution.html#acc5731d9e3ed9174780211086ef0263d">opj_pi_resolution::ph</a>, <a class="el" href="structopj__tcp.html#a240b55de8516f9191628470efd9b6fca">opj_tcp::POC</a>, <a class="el" href="structopj__pi__resolution.html#a757006b62ce5763a79218e06521b291a">opj_pi_resolution::pw</a>, <a class="el" href="structopj__pi__comp.html#a3bac028a20940396f5549f76b64f6c11">opj_pi_comp::resolutions</a>, <a class="el" href="structopj__cp.html#acf1558d84c50f976726c0f8c9b814995">opj_cp::rsiz</a>, <a class="el" href="structopj__pi__iterator.html#af7cc019f3bed44ee73bd284c20e4a1d6">opj_pi_iterator::step_c</a>, <a class="el" href="structopj__pi__iterator.html#a4606b1787e1a8ade8070419ff586fd28">opj_pi_iterator::step_l</a>, <a class="el" href="structopj__pi__iterator.html#a03a3850a338421f475d8440e4caa2411">opj_pi_iterator::step_p</a>, <a class="el" href="structopj__pi__iterator.html#aa34b7693c844d5a57bca2f9e647985b8">opj_pi_iterator::
<p class="reference">Referenced by <a class="el" href="t2_8h.html#af330a34bcb961487cee45f0121b3531e">opj_t2_encode_packets()</a>.</p>
</div>
</div>
<a id="a638f17d6f40f88cd90d1cedbf95147f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638f17d6f40f88cd90d1cedbf95147f9">&#9670;&nbsp;</a></span>opj_pi_next()</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_pi_next </td>
<td>(</td>
<td class="paramtype"><a class="el" href="pi_8h.html#a0cd0ac8cbf7a81d46c0b4aa0373b8202">opj_pi_iterator_t</a> *&#160;</td>
<td class="paramname"><em>pi</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the packet iterator to point to the next packet. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pi</td><td>Packet iterator to modify </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns false if pi pointed to the last packet or else returns true </dd></dl>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0da9449f0877df2f49873eb75c1404a1b20">OPJ_CPRL</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0da420118e5a2846d97362f5ba3b8b5df49">OPJ_LRCP</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0da506c7567e93b974a9238b4b1b973eebd">OPJ_PCRL</a>, <a class="el" href="pi_8c.html#ae9c13dff4b68aeadae3bc08d7d42ac64">opj_pi_next_cprl()</a>, <a class="el" href="pi_8c.html#a661ee82af60b942206bc8d19764091b4">opj_pi_next_lrcp()</a>, <a class="el" href="pi_8c.html#a1cd070fd2265de3eac5acbfbea53c6b2">opj_pi_next_pcrl()</a>, <a class="el" href="pi_8c.html#a36a8b86b4e4a83d3d9cdf2278640e565">opj_pi_next_rlcp()</a>, <a class="el" href="pi_8c.html#a48f92b41cb5fcc614bfcc8d76a9a0890">opj_pi_next_rpcl()</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0dafee9d90ccc533dc854fa431e90550b5b">OPJ_PROG_UNKNOWN</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0da337a514b374b59054f75cad2a0073dd2">OPJ_RLCP</a>, <a class="el" href="openjpeg_8h.html#a4e2cb01f932bc5887856dd6bb031dd0dab8b093f93fdeda633de79ba6d606083a">OPJ_RPCL</a>, <a class="el" href="structopj__pi__iterator.html#af3bd59898a69a3958829c4d71c78718c">opj_pi_iterator::poc</a>, and <a class="el" href="structopj__poc.html#a5690cab5cd5424230986e42126282e5c">opj_poc::prg</a>.</p>
<p class="reference">Referenced by <a class="el" href="t2_8h.html#a08fffa34be41f4811d8bd99e9364de2e">opj_t2_decode_packets()</a>, and <a class="el" href="t2_8h.html#af330a34bcb961487cee45f0121b3531e">opj_t2_encode_packets()</a>.</p>
</div>
</div>
<a id="a19c951dfab9ba88d65a9b78f32dd3397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19c951dfab9ba88d65a9b78f32dd3397">&#9670;&nbsp;</a></span>opj_pi_update_encoding_parameters()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_pi_update_encoding_parameters </td>
<td>(</td>
<td class="paramtype">const <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>, </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>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Updates the encoding parameters of the codec. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_image</td><td>the image being encoded. </td></tr>
<tr><td class="paramname">p_cp</td><td>the coding parameters. </td></tr>
<tr><td class="paramname">p_tile_no</td><td>index of the tile being encoded. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="pi_8c.html#a938d362cf18f07cd768385f7875a18d9">opj_get_encoding_parameters()</a>, <a class="el" href="pi_8c.html#a3599172a073c273d45d6c7ccfa5004ba">opj_pi_update_encode_not_poc()</a>, <a class="el" href="pi_8c.html#a90e7ccf26aa757d3874a9555decb66bd">opj_pi_update_encode_poc_and_final()</a>, <a class="el" href="structopj__tcp.html#a240b55de8516f9191628470efd9b6fca">opj_tcp::POC</a>, <a class="el" href="structopj__cp.html#ac899f2b6fbcf5441e2e53195994f2196">opj_cp::tcps</a>, and <a class="el" href="structopj__cp.html#a30a7cf50ba11fe5524888d3b38bd4a09">opj_cp::th</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#aadc4f266bb5e3e7247d9dc202d6fce9c">opj_j2k_calculate_tp()</a>.</p>
</div>
</div>
</div><!-- contents -->
2015-07-10 18:06:19 +02:00
<!-- 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"/>
2022-05-13 20:21:13 +02:00
</a> 1.8.17
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>