<ahref="pi_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div>
<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * The copyright in this software is being made available under the 2-clauses</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * BSD License, included below. This software may be subject to other third</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * party and contributor rights, including patent rights, and no such rights</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * are granted under this license.</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="aopenjpeg_8h_html_a86df1f90c5bd2c069ed8ea20712664d8"><divclass="ttname"><ahref="openjpeg_8h.html#a86df1f90c5bd2c069ed8ea20712664d8">OPJ_J2K_MAXRLVLS</a></div><divclass="ttdeci">#define OPJ_J2K_MAXRLVLS</div><divclass="ttdoc">Number of maximum resolution level authorized.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:152</div></div>
<divclass="ttc"id="api_8h_html_a2e76cd9983f766b757fd0cdfae9d6d43"><divclass="ttname"><ahref="pi_8h.html#a2e76cd9983f766b757fd0cdfae9d6d43">opj_pi_initialise_encode</a></div><divclass="ttdeci">opj_pi_iterator_t * opj_pi_initialise_encode(const opj_image_t *image, opj_cp_t *cp, OPJ_UINT32 tileno, J2K_T2_MODE t2_mode, opj_event_mgr_t *manager)</div><divclass="ttdoc">Creates a packet iterator for encoding.</div><divclass="ttdef"><b>Definition:</b> pi.c:1615</div></div>
<divclass="ttc"id="astructopj__image_html_a7a27deb6bf174dd57ee473d1d514f8ef"><divclass="ttname"><ahref="structopj__image.html#a7a27deb6bf174dd57ee473d1d514f8ef">opj_image::x1</a></div><divclass="ttdeci">OPJ_UINT32 x1</div><divclass="ttdoc">Xsiz: width of the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:715</div></div>
<divclass="ttc"id="api_8c_html_a7366cd1b06e22a71734d95f27ceaa20b"><divclass="ttname"><ahref="pi_8c.html#a7366cd1b06e22a71734d95f27ceaa20b">opj_get_encoding_packet_count</a></div><divclass="ttdeci">OPJ_UINT32 opj_get_encoding_packet_count(const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)</div><divclass="ttdoc">Return the number of packets in the tile.</div><divclass="ttdef"><b>Definition:</b> pi.c:1592</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_a231c10b2c238e1e6462bf7cd40871169"><divclass="ttname"><ahref="structopj__codestream__info.html#a231c10b2c238e1e6462bf7cd40871169">opj_codestream_info::tw</a></div><divclass="ttdeci">int tw</div><divclass="ttdoc">number of tiles in X</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:873</div></div>
<divclass="ttc"id="acio_8c_html_ae94657bc4ae96f252467a685168b94e1"><divclass="ttname"><ahref="cio_8c.html#ae94657bc4ae96f252467a685168b94e1">opj_stream_write_data</a></div><divclass="ttdeci">OPJ_SIZE_T opj_stream_write_data(opj_stream_private_t *p_stream, const OPJ_BYTE *p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t *p_event_mgr)</div><divclass="ttdoc">Writes some bytes to the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:385</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a3fe08bb7876e393dd04332d049a4d53e"><divclass="ttname"><ahref="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc</a></div><divclass="ttdeci">void * opj_calloc(size_t num, size_t size)</div><divclass="ttdoc">Allocate a memory block with elements initialized to 0.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:198</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_af4b012c07b514a9cebf0a98d9dadde5b"><divclass="ttname"><ahref="structopj__pi__iterator.html#af4b012c07b514a9cebf0a98d9dadde5b">opj_pi_iterator::include</a></div><divclass="ttdeci">OPJ_INT16 * include</div><divclass="ttdoc">precise if the packet has been already used (useful for progression order change)</div><divclass="ttdef"><b>Definition:</b> pi.h:77</div></div>
<divclass="ttc"id="astructopj__image__comp_html_af9d6fd62a2b8bdd9fd162ce403eb0f10"><divclass="ttname"><ahref="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a></div><divclass="ttdeci">OPJ_UINT32 dy</div><divclass="ttdoc">YRsiz: vertical separation of a sample of ith component with respect to the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:681</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a4606b1787e1a8ade8070419ff586fd28"><divclass="ttname"><ahref="structopj__pi__iterator.html#a4606b1787e1a8ade8070419ff586fd28">opj_pi_iterator::step_l</a></div><divclass="ttdeci">OPJ_UINT32 step_l</div><divclass="ttdoc">layer step used to localize the packet in the include vector</div><divclass="ttdef"><b>Definition:</b> pi.h:81</div></div>
<divclass="ttc"id="astructopj__tcp_html_a0a2427fdca1afb17a5edcdf2513a694b"><divclass="ttname"><ahref="structopj__tcp.html#a0a2427fdca1afb17a5edcdf2513a694b">opj_tcp::pocs</a></div><divclass="ttdeci">opj_poc_t pocs[J2K_MAX_POCS]</div><divclass="ttdoc">progression order changes</div><divclass="ttdef"><b>Definition:</b> j2k.h:260</div></div>
<divclass="ttc"id="api_8c_html_ae9c13dff4b68aeadae3bc08d7d42ac64"><divclass="ttname"><ahref="pi_8c.html#ae9c13dff4b68aeadae3bc08d7d42ac64">opj_pi_next_cprl</a></div><divclass="ttdeci">static OPJ_BOOL opj_pi_next_cprl(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Get next packet in component-precinct-resolution-layer order.</div><divclass="ttdef"><b>Definition:</b> pi.c:627</div></div>
<divclass="ttc"id="astructopj__tile__info_html_a910bb577952512fd5dc0d8b4c9a14a96"><divclass="ttname"><ahref="structopj__tile__info.html#a910bb577952512fd5dc0d8b4c9a14a96">opj_tile_info::ph</a></div><divclass="ttdeci">int ph[33]</div><divclass="ttdoc">precinct number for each resolution level (height)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:825</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a45916c625862f62c288bb0b923c6bc09"><divclass="ttname"><ahref="structopj__pi__iterator.html#a45916c625862f62c288bb0b923c6bc09">opj_pi_iterator::compno</a></div><divclass="ttdeci">OPJ_UINT32 compno</div><divclass="ttdoc">component that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:89</div></div>
<divclass="ttc"id="astructopj__tccp_html_af249fcfb382bd2cb9f6bb3127dcdcc69"><divclass="ttname"><ahref="structopj__tccp.html#af249fcfb382bd2cb9f6bb3127dcdcc69">opj_tccp::numresolutions</a></div><divclass="ttdeci">OPJ_UINT32 numresolutions</div><divclass="ttdoc">number of resolutions</div><divclass="ttdef"><b>Definition:</b> j2k.h:183</div></div>
<divclass="ttc"id="api_8c_html_a2b305751720002ec7fd630d9c87d4dd4"><divclass="ttname"><ahref="pi_8c.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy</a></div><divclass="ttdeci">void opj_pi_destroy(opj_pi_iterator_t *p_pi, OPJ_UINT32 p_nb_elements)</div><divclass="ttdoc">Destroys a packet iterator array.</div><divclass="ttdef"><b>Definition:</b> pi.c:2071</div></div>
<divclass="ttc"id="api_8c_html_a1cd070fd2265de3eac5acbfbea53c6b2"><divclass="ttname"><ahref="pi_8c.html#a1cd070fd2265de3eac5acbfbea53c6b2">opj_pi_next_pcrl</a></div><divclass="ttdeci">static OPJ_BOOL opj_pi_next_pcrl(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Get next packet in precinct-component-resolution-layer order.</div><divclass="ttdef"><b>Definition:</b> pi.c:489</div></div>
<divclass="ttc"id="api_8h_html_a6c75d9a1f16b692ab5d4cd759e6c4c90"><divclass="ttname"><ahref="pi_8h.html#a6c75d9a1f16b692ab5d4cd759e6c4c90">opj_pi_create_decode</a></div><divclass="ttdeci">opj_pi_iterator_t * opj_pi_create_decode(opj_image_t *image, opj_cp_t *cp, OPJ_UINT32 tileno, opj_event_mgr_t *manager)</div><divclass="ttdoc">Create a packet iterator for Decoder.</div><divclass="ttdef"><b>Definition:</b> pi.c:1393</div></div>
<divclass="ttc"id="api_8h_html_a638f17d6f40f88cd90d1cedbf95147f9"><divclass="ttname"><ahref="pi_8h.html#a638f17d6f40f88cd90d1cedbf95147f9">opj_pi_next</a></div><divclass="ttdeci">OPJ_BOOL opj_pi_next(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Modify the packet iterator to point to the next packet.</div><divclass="ttdef"><b>Definition:</b> pi.c:2136</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_acf3dec81301abbf249c98b048951268b"><divclass="ttname"><ahref="structopj__pi__iterator.html#acf3dec81301abbf249c98b048951268b">opj_pi_iterator::include_size</a></div><divclass="ttdeci">OPJ_UINT32 include_size</div><divclass="ttdoc">Number of elements in include array.</div><divclass="ttdef"><b>Definition:</b> pi.h:79</div></div>
<divclass="ttc"id="astructopj__image_html_a80fd916819080f959a601b0089c4c69a"><divclass="ttname"><ahref="structopj__image.html#a80fd916819080f959a601b0089c4c69a">opj_image::y1</a></div><divclass="ttdeci">OPJ_UINT32 y1</div><divclass="ttdoc">Ysiz: height of the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:717</div></div>
<divclass="ttc"id="astructopj__image_html_ac63093741ed0c70b9c0a8ee3070cbce6"><divclass="ttname"><ahref="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a></div><divclass="ttdeci">OPJ_UINT32 numcomps</div><divclass="ttdoc">number of components in the image</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:719</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ae4b2e5a7c8b8f09faacc4a895f866ea1"><divclass="ttname"><ahref="opj__intmath_8h.html#ae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_ceildiv(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Divide an integer and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:170</div></div>
<divclass="ttc"id="api_8h_html_a19c951dfab9ba88d65a9b78f32dd3397"><divclass="ttname"><ahref="pi_8h.html#a19c951dfab9ba88d65a9b78f32dd3397">opj_pi_update_encoding_parameters</a></div><divclass="ttdeci">void opj_pi_update_encoding_parameters(const opj_image_t *p_image, opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)</div><divclass="ttdoc">Updates the encoding parameters of the codec.</div><divclass="ttdef"><b>Definition:</b> pi.c:2103</div></div>
<divclass="ttc"id="aevent_8c_html_a80a24e8c6d24861cd2403e48a7c2591e"><divclass="ttname"><ahref="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg</a></div><divclass="ttdeci">OPJ_BOOL opj_event_msg(opj_event_mgr_t *p_event_mgr, OPJ_INT32 event_type, const char *fmt,...)</div><divclass="ttdoc">Write formatted data to a string and send the string to a user callback.</div><divclass="ttdef"><b>Definition:</b> event.c:91</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a58b8941fe83af207cb9e4ebcad587106"><divclass="ttname"><ahref="structopj__pi__iterator.html#a58b8941fe83af207cb9e4ebcad587106">opj_pi_iterator::first</a></div><divclass="ttdeci">OPJ_BOOL first</div><divclass="ttdoc">0 if the first packet</div><divclass="ttdef"><b>Definition:</b> pi.h:97</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_ac20b482a3b3feadfa21ced6edc727557"><divclass="ttname"><ahref="structopj__codestream__info.html#ac20b482a3b3feadfa21ced6edc727557">opj_codestream_info::numlayers</a></div><divclass="ttdeci">int numlayers</div><divclass="ttdoc">number of layer</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:879</div></div>
<divclass="ttc"id="astructopj__poc_html_ae542a813339ce89a4feac011fc762114"><divclass="ttname"><ahref="structopj__poc.html#ae542a813339ce89a4feac011fc762114">opj_poc::layno0</a></div><divclass="ttdeci">OPJ_UINT32 layno0</div><divclass="ttdoc">Layer num start,Precinct num start, Precinct num end.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:371</div></div>
<divclass="ttc"id="api_8h_html_a7366cd1b06e22a71734d95f27ceaa20b"><divclass="ttname"><ahref="pi_8h.html#a7366cd1b06e22a71734d95f27ceaa20b">opj_get_encoding_packet_count</a></div><divclass="ttdeci">OPJ_UINT32 opj_get_encoding_packet_count(const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)</div><divclass="ttdoc">Return the number of packets in the tile.</div><divclass="ttdef"><b>Definition:</b> pi.c:1592</div></div>
<divclass="ttc"id="acio_8c_html_ac82f28130f72561ebd1a18b6bc84edb8"><divclass="ttname"><ahref="cio_8c.html#ac82f28130f72561ebd1a18b6bc84edb8">opj_stream_skip</a></div><divclass="ttdeci">OPJ_OFF_T opj_stream_skip(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, opj_event_mgr_t *p_event_mgr)</div><divclass="ttdoc">Skips a number of bytes from the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:593</div></div>
<divclass="ttc"id="acio_8c_html_a9061d0624a17af80b74e1a114b0c7f06"><divclass="ttname"><ahref="cio_8c.html#a9061d0624a17af80b74e1a114b0c7f06">opj_stream_seek</a></div><divclass="ttdeci">OPJ_BOOL opj_stream_seek(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, struct opj_event_mgr *p_event_mgr)</div><divclass="ttdoc">Seeks a number of bytes from the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:641</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a6972ea9bd03fb83a3421e2578fa486f1"><divclass="ttname"><ahref="opj__intmath_8h.html#a6972ea9bd03fb83a3421e2578fa486f1">opj_uint_floordivpow2</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_floordivpow2(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Divide an integer by a power of 2 and round downwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:216</div></div>
<divclass="ttc"id="astructopj__event__mgr_html"><divclass="ttname"><ahref="structopj__event__mgr.html">opj_event_mgr</a></div><divclass="ttdoc">Message handler object used for.</div><divclass="ttdef"><b>Definition:</b> event.h:50</div></div>
<divclass="ttc"id="acio_8c_html_a5c59a39f3664f9deb654c269153c600a"><divclass="ttname"><ahref="cio_8c.html#a5c59a39f3664f9deb654c269153c600a">opj_stream_tell</a></div><divclass="ttdeci">OPJ_OFF_T opj_stream_tell(const opj_stream_private_t *p_stream)</div><divclass="ttdoc">Tells the byte offset on the stream (similar to ftell).</div><divclass="ttdef"><b>Definition:</b> cio.c:579</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a03a3850a338421f475d8440e4caa2411"><divclass="ttname"><ahref="structopj__pi__iterator.html#a03a3850a338421f475d8440e4caa2411">opj_pi_iterator::step_p</a></div><divclass="ttdeci">OPJ_UINT32 step_p</div><divclass="ttdoc">precinct step used to localize the packet in the include vector</div><divclass="ttdef"><b>Definition:</b> pi.h:87</div></div>
<divclass="ttc"id="astructopj__image__comp_html"><divclass="ttname"><ahref="structopj__image__comp.html">opj_image_comp</a></div><divclass="ttdoc">Defines a single image component.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:677</div></div>
<divclass="ttc"id="astructopj__packet__info_html_a091879c16084f61abb01b1a5b26d142b"><divclass="ttname"><ahref="structopj__packet__info.html#a091879c16084f61abb01b1a5b26d142b">opj_packet_info::start_pos</a></div><divclass="ttdeci">OPJ_OFF_T start_pos</div><divclass="ttdoc">packet start position (including SOP marker if it exists)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:768</div></div>
<divclass="ttc"id="astructopj__tcp_html_aac3c15725d8c01013c63e08a0fce7706"><divclass="ttname"><ahref="structopj__tcp.html#aac3c15725d8c01013c63e08a0fce7706">opj_tcp::numpocs</a></div><divclass="ttdeci">OPJ_UINT32 numpocs</div><divclass="ttdoc">number of progression order changes</div><divclass="ttdef"><b>Definition:</b> j2k.h:258</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ab9aad885f5c9bc9e39420003b2b32fe5"><divclass="ttname"><ahref="opj__intmath_8h.html#ab9aad885f5c9bc9e39420003b2b32fe5">opj_uint_adds</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_adds(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Get the saturated sum of two unsigned integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:92</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a39e7de7bb4f4a95fd7b5f054b04de4a2"><divclass="ttname"><ahref="structopj__pi__iterator.html#a39e7de7bb4f4a95fd7b5f054b04de4a2">opj_pi_iterator::precno</a></div><divclass="ttdeci">OPJ_UINT32 precno</div><divclass="ttdoc">precinct that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:93</div></div>
<divclass="ttc"id="astructopj__packet__info_html_a8d0687f01cba3aa3b62011eec7d415cd"><divclass="ttname"><ahref="structopj__packet__info.html#a8d0687f01cba3aa3b62011eec7d415cd">opj_packet_info::end_ph_pos</a></div><divclass="ttdeci">OPJ_OFF_T end_ph_pos</div><divclass="ttdoc">end of packet header position (including EPH marker if it exists)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:770</div></div>
<divclass="ttc"id="astructopj__cp_html_a30a7cf50ba11fe5524888d3b38bd4a09"><divclass="ttname"><ahref="structopj__cp.html#a30a7cf50ba11fe5524888d3b38bd4a09">opj_cp::th</a></div><divclass="ttdeci">OPJ_UINT32 th</div><divclass="ttdoc">number of tiles in height</div><divclass="ttdef"><b>Definition:</b> j2k.h:369</div></div>
<divclass="ttc"id="api_8c_html_a48f92b41cb5fcc614bfcc8d76a9a0890"><divclass="ttname"><ahref="pi_8c.html#a48f92b41cb5fcc614bfcc8d76a9a0890">opj_pi_next_rpcl</a></div><divclass="ttdeci">static OPJ_BOOL opj_pi_next_rpcl(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Get next packet in resolution-precinct-component-layer order.</div><divclass="ttdef"><b>Definition:</b> pi.c:350</div></div>
<divclass="ttc"id="api_8h_html_a2b305751720002ec7fd630d9c87d4dd4"><divclass="ttname"><ahref="pi_8h.html#a2b305751720002ec7fd630d9c87d4dd4">opj_pi_destroy</a></div><divclass="ttdeci">void opj_pi_destroy(opj_pi_iterator_t *p_pi, OPJ_UINT32 p_nb_elements)</div><divclass="ttdoc">Destroys a packet iterator array.</div><divclass="ttdef"><b>Definition:</b> pi.c:2071</div></div>
<divclass="ttc"id="astructopj__tcp_html_ab08fe932bc88b037edefb7180ac2a1f2"><divclass="ttname"><ahref="structopj__tcp.html#ab08fe932bc88b037edefb7180ac2a1f2">opj_tcp::numlayers</a></div><divclass="ttdeci">OPJ_UINT32 numlayers</div><divclass="ttdoc">number of layers</div><divclass="ttdef"><b>Definition:</b> j2k.h:251</div></div>
<divclass="ttc"id="astructopj__image_html_a9813bacf1939346629c07262c61c8e74"><divclass="ttname"><ahref="structopj__image.html#a9813bacf1939346629c07262c61c8e74">opj_image::y0</a></div><divclass="ttdeci">OPJ_UINT32 y0</div><divclass="ttdoc">YOsiz: vertical offset from the origin of the reference grid to the top side of the image area.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:713</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_aa2779c18943ed9328a2417f7ede23707"><divclass="ttname"><ahref="structopj__pi__iterator.html#aa2779c18943ed9328a2417f7ede23707">opj_pi_iterator::tp_on</a></div><divclass="ttdeci">OPJ_BYTE tp_on</div><divclass="ttdoc">Enabling Tile part generation.</div><divclass="ttdef"><b>Definition:</b> pi.h:75</div></div>
<divclass="ttc"id="astructopj__tcp_html_a240b55de8516f9191628470efd9b6fca"><divclass="ttname"><ahref="structopj__tcp.html#a240b55de8516f9191628470efd9b6fca">opj_tcp::POC</a></div><divclass="ttdeci">OPJ_BITFIELD POC</div><divclass="ttdoc">indicates if a POC marker has been used O:NO, 1:YES</div><divclass="ttdef"><b>Definition:</b> j2k.h:313</div></div>
<divclass="ttc"id="api_8c_html_a661ee82af60b942206bc8d19764091b4"><divclass="ttname"><ahref="pi_8c.html#a661ee82af60b942206bc8d19764091b4">opj_pi_next_lrcp</a></div><divclass="ttdeci">static OPJ_BOOL opj_pi_next_lrcp(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Get next packet in layer-resolution-component-precinct order.</div><divclass="ttdef"><b>Definition:</b> pi.c:237</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a06c1c4470f9765a3ed04963b0daa111a"><divclass="ttname"><ahref="opj__intmath_8h.html#a06c1c4470f9765a3ed04963b0daa111a">opj_uint_min</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Get the minimum of two integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:65</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_a2c3eb35fddab83fef25256485b926fc0"><divclass="ttname"><ahref="opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0">opj_uint_max</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_max(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Get the maximum of two integers.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:83</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a49c70931cbed786f6eef5f095bcb2917"><divclass="ttname"><ahref="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc</a></div><divclass="ttdeci">void * opj_malloc(size_t size)</div><divclass="ttdoc">Allocate an uninitialized memory block.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:191</div></div>
<divclass="ttc"id="astructopj__poc_html_ab618f5b54688c5ab52752704d20688be"><divclass="ttname"><ahref="structopj__poc.html#ab618f5b54688c5ab52752704d20688be">opj_poc::layE</a></div><divclass="ttdeci">OPJ_UINT32 layE</div><divclass="ttdoc">End value, initialised in pi_initialise_encode.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:383</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a9d7d909f8dc1a2c23313c48645341e81"><divclass="ttname"><ahref="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free</a></div><divclass="ttdeci">void opj_free(void *ptr)</div><divclass="ttdoc">Deallocates or frees a memory block.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:246</div></div>
<divclass="ttc"id="astructopj__cp_html_acf1558d84c50f976726c0f8c9b814995"><divclass="ttname"><ahref="structopj__cp.html#acf1558d84c50f976726c0f8c9b814995">opj_cp::rsiz</a></div><divclass="ttdeci">OPJ_UINT16 rsiz</div><divclass="ttdoc">Size of the image in bits.</div><divclass="ttdef"><b>Definition:</b> j2k.h:355</div></div>
<divclass="ttc"id="astructopj__packet__info_html"><divclass="ttname"><ahref="structopj__packet__info.html">opj_packet_info</a></div><divclass="ttdoc">Index structure : Information concerning a packet inside tile.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:766</div></div>
<divclass="ttc"id="astructopj__tcp_html"><divclass="ttname"><ahref="structopj__tcp.html">opj_tcp</a></div><divclass="ttdoc">Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...</div><divclass="ttdef"><b>Definition:</b> j2k.h:245</div></div>
<divclass="ttc"id="api_8c_html_a3599172a073c273d45d6c7ccfa5004ba"><divclass="ttname"><ahref="pi_8c.html#a3599172a073c273d45d6c7ccfa5004ba">opj_pi_update_encode_not_poc</a></div><divclass="ttdeci">static void opj_pi_update_encode_not_poc(opj_cp_t *p_cp, OPJ_UINT32 p_num_comps, OPJ_UINT32 p_tileno, OPJ_UINT32 p_tx0, OPJ_UINT32 p_tx1, OPJ_UINT32 p_ty0, OPJ_UINT32 p_ty1, OPJ_UINT32 p_max_prec, OPJ_UINT32 p_max_res, OPJ_UINT32 p_dx_min, OPJ_UINT32 p_dy_min)</div><divclass="ttdoc">Updates the coding parameters if the encoding is not used with Progression order changes and final (a...</div><divclass="ttdef"><b>Definition:</b> pi.c:1165</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a4ed77988dd748db0e39a0e338a1d70d1"><divclass="ttname"><ahref="structopj__pi__iterator.html#a4ed77988dd748db0e39a0e338a1d70d1">opj_pi_iterator::numcomps</a></div><divclass="ttdeci">OPJ_UINT32 numcomps</div><divclass="ttdoc">number of components in the image</div><divclass="ttdef"><b>Definition:</b> pi.h:101</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_aa34b7693c844d5a57bca2f9e647985b8"><divclass="ttname"><ahref="structopj__pi__iterator.html#aa34b7693c844d5a57bca2f9e647985b8">opj_pi_iterator::step_r</a></div><divclass="ttdeci">OPJ_UINT32 step_r</div><divclass="ttdoc">resolution step used to localize the packet in the include vector</div><divclass="ttdef"><b>Definition:</b> pi.h:83</div></div>
<divclass="ttc"id="api_8c_html_a638f17d6f40f88cd90d1cedbf95147f9"><divclass="ttname"><ahref="pi_8c.html#a638f17d6f40f88cd90d1cedbf95147f9">opj_pi_next</a></div><divclass="ttdeci">OPJ_BOOL opj_pi_next(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Modify the packet iterator to point to the next packet.</div><divclass="ttdef"><b>Definition:</b> pi.c:2136</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_a61c60db76ab998db030bbecfa24e040a"><divclass="ttname"><ahref="structopj__pi__iterator.html#a61c60db76ab998db030bbecfa24e040a">opj_pi_iterator::resno</a></div><divclass="ttdeci">OPJ_UINT32 resno</div><divclass="ttdoc">resolution that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:91</div></div>
<divclass="ttc"id="astructopj__poc_html_adfc511ae4a8a5a0d66db1bf74e20394b"><divclass="ttname"><ahref="structopj__poc.html#adfc511ae4a8a5a0d66db1bf74e20394b">opj_poc::txS</a></div><divclass="ttdeci">OPJ_UINT32 txS</div><divclass="ttdoc">Start and end values of Tile width and height, initialised in pi_initialise_encode.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:385</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_af7cc019f3bed44ee73bd284c20e4a1d6"><divclass="ttname"><ahref="structopj__pi__iterator.html#af7cc019f3bed44ee73bd284c20e4a1d6">opj_pi_iterator::step_c</a></div><divclass="ttdeci">OPJ_UINT32 step_c</div><divclass="ttdoc">component step used to localize the packet in the include vector</div><divclass="ttdef"><b>Definition:</b> pi.h:85</div></div>
<divclass="ttc"id="astructopj__image_html_a0d01041cfbba0d40ab38836a35544e09"><divclass="ttname"><ahref="structopj__image.html#a0d01041cfbba0d40ab38836a35544e09">opj_image::x0</a></div><divclass="ttdeci">OPJ_UINT32 x0</div><divclass="ttdoc">XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:711</div></div>
<divclass="ttc"id="aopj__intmath_8h_html_ae592eb75f221decddec51834b6c4177d"><divclass="ttname"><ahref="opj__intmath_8h.html#ae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2</a></div><divclass="ttdeci">static INLINE OPJ_UINT32 opj_uint_ceildivpow2(OPJ_UINT32 a, OPJ_UINT32 b)</div><divclass="ttdoc">Divide an integer by a power of 2 and round upwards.</div><divclass="ttdef"><b>Definition:</b> opj_intmath.h:198</div></div>
<divclass="ttc"id="aphix__manager_8c_html_abeff45d507796a5ebfdc84e6a2612dd1"><divclass="ttname"><ahref="phix__manager_8c.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix</a></div><divclass="ttdeci">int opj_write_phixfaix(int coff, int compno, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><divclass="ttdef"><b>Definition:</b> phix_manager.c:96</div></div>
<divclass="ttc"id="api_8c_html_a938d362cf18f07cd768385f7875a18d9"><divclass="ttname"><ahref="pi_8c.html#a938d362cf18f07cd768385f7875a18d9">opj_get_encoding_parameters</a></div><divclass="ttdeci">static void opj_get_encoding_parameters(const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 tileno, OPJ_UINT32 *p_tx0, OPJ_UINT32 *p_tx1, OPJ_UINT32 *p_ty0, OPJ_UINT32 *p_ty1, OPJ_UINT32 *p_dx_min, OPJ_UINT32 *p_dy_min, OPJ_UINT32 *p_max_prec, OPJ_UINT32 *p_max_res)</div><divclass="ttdoc">Gets the encoding parameters needed to update the coding parameters and all the pocs.</div><divclass="ttdef"><b>Definition:</b> pi.c:762</div></div>
<divclass="ttc"id="aj2k_8h_html_a427133e0bc1b38edd11de421f59e1d52ae10add0704a59d313c5e85b39d3454bf"><divclass="ttname"><ahref="j2k_8h.html#a427133e0bc1b38edd11de421f59e1d52ae10add0704a59d313c5e85b39d3454bf">FINAL_PASS</a></div><divclass="ttdeci">@ FINAL_PASS</div><divclass="ttdoc">Function called in Rate allocation process.</div><divclass="ttdef"><b>Definition:</b> j2k.h:163</div></div>
<divclass="ttc"id="astructopj__codestream__info_html"><divclass="ttname"><ahref="structopj__codestream__info.html">opj_codestream_info</a></div><divclass="ttdoc">Index structure of the codestream.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:851</div></div>
<divclass="ttc"id="astructopj__poc_html_abac95311c3bd0abd242a70d1c2f5140d"><divclass="ttname"><ahref="structopj__poc.html#abac95311c3bd0abd242a70d1c2f5140d">opj_poc::tx0</a></div><divclass="ttdeci">OPJ_UINT32_SEMANTICALLY_BUT_INT32 tx0</div><divclass="ttdoc">Start and end values for Tile width and height.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:379</div></div>
<divclass="ttc"id="astructopj__cp_html_abacc172096044123cfa0a7b027cd457f"><divclass="ttname"><ahref="structopj__cp.html#abacc172096044123cfa0a7b027cd457f">opj_cp::tw</a></div><divclass="ttdeci">OPJ_UINT32 tw</div><divclass="ttdoc">number of tiles in width</div><divclass="ttdef"><b>Definition:</b> j2k.h:367</div></div>
<divclass="ttc"id="astructopj__image__comp_html_a0805d2f69bb770ff022c164aeda22685"><divclass="ttname"><ahref="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a></div><divclass="ttdeci">OPJ_UINT32 dx</div><divclass="ttdoc">XRsiz: horizontal separation of a sample of ith component with respect to the reference grid.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:679</div></div>
<divclass="ttc"id="api_8c_html_a90e7ccf26aa757d3874a9555decb66bd"><divclass="ttname"><ahref="pi_8c.html#a90e7ccf26aa757d3874a9555decb66bd">opj_pi_update_encode_poc_and_final</a></div><divclass="ttdeci">static void opj_pi_update_encode_poc_and_final(opj_cp_t *p_cp, OPJ_UINT32 p_tileno, OPJ_UINT32 p_tx0, OPJ_UINT32 p_tx1, OPJ_UINT32 p_ty0, OPJ_UINT32 p_ty1, OPJ_UINT32 p_max_prec, OPJ_UINT32 p_max_res, OPJ_UINT32 p_dx_min, OPJ_UINT32 p_dy_min)</div><divclass="ttdoc">Updates the coding parameters if the encoding is used with Progression order changes and final (or ci...</div><divclass="ttdef"><b>Definition:</b> pi.c:1086</div></div>
<divclass="ttc"id="astructopj__poc_html_ac3a5cd2197ec2f6efa274fff547aca5d"><divclass="ttname"><ahref="structopj__poc.html#ac3a5cd2197ec2f6efa274fff547aca5d">opj_poc::prg1</a></div><divclass="ttdeci">OPJ_PROG_ORDER prg1</div><divclass="ttdoc">Progression order enum.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:373</div></div>
<divclass="ttc"id="api_8c_html_a36a8b86b4e4a83d3d9cdf2278640e565"><divclass="ttname"><ahref="pi_8c.html#a36a8b86b4e4a83d3d9cdf2278640e565">opj_pi_next_rlcp</a></div><divclass="ttdeci">static OPJ_BOOL opj_pi_next_rlcp(opj_pi_iterator_t *pi)</div><divclass="ttdoc">Get next packet in resolution-layer-component-precinct order.</div><divclass="ttdef"><b>Definition:</b> pi.c:297</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_a2aa722a5eb7195ca2f3d242c406505c9"><divclass="ttname"><ahref="structopj__codestream__info.html#a2aa722a5eb7195ca2f3d242c406505c9">opj_codestream_info::numdecompos</a></div><divclass="ttdeci">int * numdecompos</div><divclass="ttdoc">number of decomposition for each component</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:881</div></div>
<divclass="ttc"id="astructopj__poc_html_a094197c4116fd4d12d7ac829ea5484f6"><divclass="ttname"><ahref="structopj__poc.html#a094197c4116fd4d12d7ac829ea5484f6">opj_poc::layno1</a></div><divclass="ttdeci">OPJ_UINT32 layno1</div><divclass="ttdoc">Layer num end,Resolution num end, Component num end, given by POC.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:369</div></div>
<divclass="ttc"id="api_8c_html_a19c951dfab9ba88d65a9b78f32dd3397"><divclass="ttname"><ahref="pi_8c.html#a19c951dfab9ba88d65a9b78f32dd3397">opj_pi_update_encoding_parameters</a></div><divclass="ttdeci">void opj_pi_update_encoding_parameters(const opj_image_t *p_image, opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)</div><divclass="ttdoc">Updates the encoding parameters of the codec.</div><divclass="ttdef"><b>Definition:</b> pi.c:2103</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_a4f18a0061ac864226fffd5590a771c08"><divclass="ttname"><ahref="structopj__codestream__info.html#a4f18a0061ac864226fffd5590a771c08">opj_codestream_info::th</a></div><divclass="ttdeci">int th</div><divclass="ttdoc">number of tiles in Y</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:875</div></div>
<divclass="ttc"id="astructopj__image_html"><divclass="ttname"><ahref="structopj__image.html">opj_image</a></div><divclass="ttdoc">Defines image data and characteristics.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:709</div></div>
<divclass="ttc"id="astructopj__poc_html_a589b30dc156784a1d3ebff74cd5296c7"><divclass="ttname"><ahref="structopj__poc.html#a589b30dc156784a1d3ebff74cd5296c7">opj_poc::resno0</a></div><divclass="ttdeci">OPJ_UINT32 resno0</div><divclass="ttdoc">Resolution num start, Component num start, given by POC.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:367</div></div>
<divclass="ttc"id="astructopj__poc_html"><divclass="ttname"><ahref="structopj__poc.html">opj_poc</a></div><divclass="ttdoc">Progression order changes.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:365</div></div>
<divclass="ttc"id="api_8c_html_a72eed94195441aa6e3e7f37710297b56"><divclass="ttname"><ahref="pi_8c.html#a72eed94195441aa6e3e7f37710297b56">opj_pi_create_decode</a></div><divclass="ttdeci">opj_pi_iterator_t * opj_pi_create_decode(opj_image_t *p_image, opj_cp_t *p_cp, OPJ_UINT32 p_tile_no, opj_event_mgr_t *manager)</div><divclass="ttdoc">Create a packet iterator for Decoder.</div><divclass="ttdef"><b>Definition:</b> pi.c:1393</div></div>
<divclass="ttc"id="aj2k_8c_html_a513572be30a6ac52bf7068605ae9c3d8"><divclass="ttname"><ahref="j2k_8c.html#a513572be30a6ac52bf7068605ae9c3d8">opj_j2k_convert_progression_order</a></div><divclass="ttdeci">const char * opj_j2k_convert_progression_order(OPJ_PROG_ORDER prg_order)</div><divclass="ttdoc">Converts an enum type progression order to string type.</div><divclass="ttdef"><b>Definition:</b> j2k.c:1651</div></div>
<divclass="ttc"id="astructopj__poc_html_a4701adcff3ad74bdbbceec0dc7656670"><divclass="ttname"><ahref="structopj__poc.html#a4701adcff3ad74bdbbceec0dc7656670">opj_poc::layS</a></div><divclass="ttdeci">OPJ_UINT32 layS</div><divclass="ttdoc">Start value, initialised in pi_initialise_encode.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:381</div></div>
<divclass="ttc"id="astructopj__pi__iterator_html_afb02b0f87fc58311f610b6f6e74130cd"><divclass="ttname"><ahref="structopj__pi__iterator.html#afb02b0f87fc58311f610b6f6e74130cd">opj_pi_iterator::layno</a></div><divclass="ttdeci">OPJ_UINT32 layno</div><divclass="ttdoc">layer that identify the packet</div><divclass="ttdef"><b>Definition:</b> pi.h:95</div></div>
<divclass="ttc"id="astructopj__tile__info_html_a38eea8dbd58de28609e384cdb4f4ba77"><divclass="ttname"><ahref="structopj__tile__info.html#a38eea8dbd58de28609e384cdb4f4ba77">opj_tile_info::pw</a></div><divclass="ttdeci">int pw[33]</div><divclass="ttdoc">precinct number for each resolution level (width)</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:823</div></div>