openjpeg/doxygen/image_8h_source.html

172 lines
33 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: image.h Source File</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="headertitle">
<div class="title">image.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="image_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * The copyright in this software is being made available under the 2-clauses</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * BSD License, included below. This software may be subject to other third</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * party and contributor rights, including patent rights, and no such rights</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * are granted under this license.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (c) 2005, Herve Drolon, FreeImage Team</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * are met:</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS&#39;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#ifndef OPJ_IMAGE_H</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#define OPJ_IMAGE_H</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">struct </span><a class="code" href="structopj__image.html">opj_image</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">struct </span><a class="code" href="structopj__cp.html">opj_cp</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<a class="code" href="structopj__image.html">opj_image_t</a>* <a class="code" href="image_8h.html#a83035109ca4e81f9d90451adf6d975b4">opj_image_create0</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8h.html#aa7b8e2985cd630021497528669063b7c">opj_image_comp_header_update</a>(<a class="code" href="structopj__image.html">opj_image_t</a> * p_image,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structopj__cp.html">opj_cp</a>* p_cp);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="keywordtype">void</span> <a class="code" href="image_8h.html#a3802de36855e5331f4d6c04bc1b732a3">opj_copy_image_header</a>(<span class="keyword">const</span> <a class="code" href="structopj__image.html">opj_image_t</a>* p_image_src,</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="structopj__image.html">opj_image_t</a>* p_image_dest);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* OPJ_IMAGE_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructopj__image_html_a7a27deb6bf174dd57ee473d1d514f8ef"><div class="ttname"><a href="structopj__image.html#a7a27deb6bf174dd57ee473d1d514f8ef">opj_image::x1</a></div><div class="ttdeci">OPJ_UINT32 x1</div><div class="ttdoc">Xsiz: width of the reference grid.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:715</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a22de44e15bddae7edfacf4e9ac9bb199"><div class="ttname"><a href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a></div><div class="ttdeci">unsigned char OPJ_BYTE</div><div class="ttdef"><b>Definition:</b> openjpeg.h:123</div></div>
<div class="ttc" id="aopj__malloc_8c_html_a3fe08bb7876e393dd04332d049a4d53e"><div class="ttname"><a href="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc</a></div><div class="ttdeci">void * opj_calloc(size_t num, size_t size)</div><div class="ttdoc">Allocate a memory block with elements initialized to 0.</div><div class="ttdef"><b>Definition:</b> opj_malloc.c:198</div></div>
<div class="ttc" id="astructopj__image__comp_html_af9d6fd62a2b8bdd9fd162ce403eb0f10"><div class="ttname"><a href="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a></div><div class="ttdeci">OPJ_UINT32 dy</div><div class="ttdoc">YRsiz: vertical separation of a sample of ith component with respect to the reference grid.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:681</div></div>
<div class="ttc" id="astructopj__image_html_a80fd916819080f959a601b0089c4c69a"><div class="ttname"><a href="structopj__image.html#a80fd916819080f959a601b0089c4c69a">opj_image::y1</a></div><div class="ttdeci">OPJ_UINT32 y1</div><div class="ttdoc">Ysiz: height of the reference grid.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:717</div></div>
<div class="ttc" id="astructopj__image_html_ac63093741ed0c70b9c0a8ee3070cbce6"><div class="ttname"><a href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a></div><div class="ttdeci">OPJ_UINT32 numcomps</div><div class="ttdoc">number of components in the image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:719</div></div>
<div class="ttc" id="aopj__intmath_8h_html_ae4b2e5a7c8b8f09faacc4a895f866ea1"><div class="ttname"><a href="opj__intmath_8h.html#ae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv</a></div><div class="ttdeci">static INLINE OPJ_UINT32 opj_uint_ceildiv(OPJ_UINT32 a, OPJ_UINT32 b)</div><div class="ttdoc">Divide an integer and round upwards.</div><div class="ttdef"><b>Definition:</b> opj_intmath.h:170</div></div>
<div class="ttc" id="aopj__malloc_8c_html_a3c75bb398badb69c7577b21486f9963f"><div class="ttname"><a href="opj__malloc_8c.html#a3c75bb398badb69c7577b21486f9963f">SIZE_MAX</a></div><div class="ttdeci">#define SIZE_MAX</div><div class="ttdef"><b>Definition:</b> opj_malloc.c:40</div></div>
<div class="ttc" id="astructopj__image__comp_html_ad676bf364b0c8fc889e97cc684ce95d0"><div class="ttname"><a href="structopj__image__comp.html#ad676bf364b0c8fc889e97cc684ce95d0">opj_image_comp::data</a></div><div class="ttdeci">OPJ_INT32 * data</div><div class="ttdoc">image component data</div><div class="ttdef"><b>Definition:</b> openjpeg.h:701</div></div>
<div class="ttc" id="aimage_8h_html_aa7b8e2985cd630021497528669063b7c"><div class="ttname"><a href="image_8h.html#aa7b8e2985cd630021497528669063b7c">opj_image_comp_header_update</a></div><div class="ttdeci">void opj_image_comp_header_update(opj_image_t *p_image, const struct opj_cp *p_cp)</div><div class="ttdoc">Updates the components characteristics of the image from the coding parameters.</div><div class="ttdef"><b>Definition:</b> image.c:121</div></div>
<div class="ttc" id="aopenjpeg_8c_html_a3f03dd6d6224e93ff15a1d9234d948d5"><div class="ttname"><a href="openjpeg_8c.html#a3f03dd6d6224e93ff15a1d9234d948d5">opj_image_data_alloc</a></div><div class="ttdeci">void *OPJ_CALLCONV opj_image_data_alloc(OPJ_SIZE_T size)</div><div class="ttdoc">Allocator for opj_image_t-&gt;comps[].data To be paired with opj_image_data_free.</div><div class="ttdef"><b>Definition:</b> openjpeg.c:1128</div></div>
<div class="ttc" id="astructopj__image__comptparm_html"><div class="ttname"><a href="structopj__image__comptparm.html">opj_image_comptparm</a></div><div class="ttdoc">Component parameters structure used by the opj_image_create function.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:734</div></div>
<div class="ttc" id="astructopj__image_html_a0a905c725270c4a7085fbe1edea994c2"><div class="ttname"><a href="structopj__image.html#a0a905c725270c4a7085fbe1edea994c2">opj_image::color_space</a></div><div class="ttdeci">OPJ_COLOR_SPACE color_space</div><div class="ttdoc">color space: sRGB, Greyscale or YUV</div><div class="ttdef"><b>Definition:</b> openjpeg.h:721</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_a8789a74e9825d51a1aa99021c2273746"><div class="ttname"><a href="structopj__image__comptparm.html#a8789a74e9825d51a1aa99021c2273746">opj_image_comptparm::y0</a></div><div class="ttdeci">OPJ_UINT32 y0</div><div class="ttdoc">y component offset compared to the whole image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:746</div></div>
<div class="ttc" id="aimage_8h_html_a3802de36855e5331f4d6c04bc1b732a3"><div class="ttname"><a href="image_8h.html#a3802de36855e5331f4d6c04bc1b732a3">opj_copy_image_header</a></div><div class="ttdeci">void opj_copy_image_header(const opj_image_t *p_image_src, opj_image_t *p_image_dest)</div><div class="ttdoc">Copy only header of image and its component header (no data are copied) if dest image have data,...</div><div class="ttdef"><b>Definition:</b> image.c:164</div></div>
<div class="ttc" id="astructopj__image__comp_html"><div class="ttname"><a href="structopj__image__comp.html">opj_image_comp</a></div><div class="ttdoc">Defines a single image component.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:677</div></div>
<div class="ttc" id="astructopj__cp_html"><div class="ttname"><a href="structopj__cp.html">opj_cp</a></div><div class="ttdoc">Coding parameters.</div><div class="ttdef"><b>Definition:</b> j2k.h:351</div></div>
<div class="ttc" id="astructopj__image_html_a1b62a25bd7603c6747aa3edd036401c1"><div class="ttname"><a href="structopj__image.html#a1b62a25bd7603c6747aa3edd036401c1">opj_image::icc_profile_buf</a></div><div class="ttdeci">OPJ_BYTE * icc_profile_buf</div><div class="ttdoc">'restricted' ICC profile</div><div class="ttdef"><b>Definition:</b> openjpeg.h:725</div></div>
<div class="ttc" id="astructopj__cp_html_a0fd9a036bf63787fe10a26f9d51a9da2"><div class="ttname"><a href="structopj__cp.html#a0fd9a036bf63787fe10a26f9d51a9da2">opj_cp::tdy</a></div><div class="ttdeci">OPJ_UINT32 tdy</div><div class="ttdoc">YTsiz.</div><div class="ttdef"><b>Definition:</b> j2k.h:363</div></div>
<div class="ttc" id="astructopj__cp_html_aeed9ee798ec24aaa27baa3088b3b3f14"><div class="ttname"><a href="structopj__cp.html#aeed9ee798ec24aaa27baa3088b3b3f14">opj_cp::tx0</a></div><div class="ttdeci">OPJ_UINT32 tx0</div><div class="ttdoc">XTOsiz.</div><div class="ttdef"><b>Definition:</b> j2k.h:357</div></div>
<div class="ttc" id="astructopj__cp_html_aae555943d0b5aeb0c6b9a5d1e25f448b"><div class="ttname"><a href="structopj__cp.html#aae555943d0b5aeb0c6b9a5d1e25f448b">opj_cp::tdx</a></div><div class="ttdeci">OPJ_UINT32 tdx</div><div class="ttdoc">XTsiz.</div><div class="ttdef"><b>Definition:</b> j2k.h:361</div></div>
<div class="ttc" id="aimage_8c_html_a439566326ad0df2db2c9aef54098335e"><div class="ttname"><a href="image_8c.html#a439566326ad0df2db2c9aef54098335e">opj_image_create</a></div><div class="ttdeci">opj_image_t *OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc)</div><div class="ttdoc">Create an image.</div><div class="ttdef"><b>Definition:</b> image.c:40</div></div>
<div class="ttc" id="aopj__intmath_8h_html_ab9aad885f5c9bc9e39420003b2b32fe5"><div class="ttname"><a href="opj__intmath_8h.html#ab9aad885f5c9bc9e39420003b2b32fe5">opj_uint_adds</a></div><div class="ttdeci">static INLINE OPJ_UINT32 opj_uint_adds(OPJ_UINT32 a, OPJ_UINT32 b)</div><div class="ttdoc">Get the saturated sum of two unsigned integers.</div><div class="ttdef"><b>Definition:</b> opj_intmath.h:92</div></div>
<div class="ttc" id="aopenjpeg_8h_html_aba7397be054e36dc0284a6589736135e"><div class="ttname"><a href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a></div><div class="ttdeci">size_t OPJ_SIZE_T</div><div class="ttdef"><b>Definition:</b> openjpeg.h:139</div></div>
<div class="ttc" id="aopj__includes_8h_html"><div class="ttname"><a href="opj__includes_8h.html">opj_includes.h</a></div></div>
<div class="ttc" id="astructopj__image__comp_html_a1f897a8932374ca64cd4d7a256008ea3"><div class="ttname"><a href="structopj__image__comp.html#a1f897a8932374ca64cd4d7a256008ea3">opj_image_comp::x0</a></div><div class="ttdeci">OPJ_UINT32 x0</div><div class="ttdoc">x component offset compared to the whole image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:687</div></div>
<div class="ttc" id="aimage_8c_html_a193f6a609b0a3c4aa4912be9c987cd14"><div class="ttname"><a href="image_8c.html#a193f6a609b0a3c4aa4912be9c987cd14">opj_image_destroy</a></div><div class="ttdeci">void OPJ_CALLCONV opj_image_destroy(opj_image_t *image)</div><div class="ttdoc">Deallocate any resources associated with an image.</div><div class="ttdef"><b>Definition:</b> image.c:91</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_a384f4f3280e19b98e5fc0b67cd4fc02a"><div class="ttname"><a href="structopj__image__comptparm.html#a384f4f3280e19b98e5fc0b67cd4fc02a">opj_image_comptparm::x0</a></div><div class="ttdeci">OPJ_UINT32 x0</div><div class="ttdoc">x component offset compared to the whole image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:744</div></div>
<div class="ttc" id="astructopj__image__comp_html_a2d2337d15fd837252fe250386bac7fb9"><div class="ttname"><a href="structopj__image__comp.html#a2d2337d15fd837252fe250386bac7fb9">opj_image_comp::sgnd</a></div><div class="ttdeci">OPJ_UINT32 sgnd</div><div class="ttdoc">signed (1) / unsigned (0)</div><div class="ttdef"><b>Definition:</b> openjpeg.h:695</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a3cec91ef9e73677f0dbd60d4e42401b9"><div class="ttname"><a href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a></div><div class="ttdeci">int32_t OPJ_INT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:131</div></div>
<div class="ttc" id="astructopj__cp_html_a30a7cf50ba11fe5524888d3b38bd4a09"><div class="ttname"><a href="structopj__cp.html#a30a7cf50ba11fe5524888d3b38bd4a09">opj_cp::th</a></div><div class="ttdeci">OPJ_UINT32 th</div><div class="ttdoc">number of tiles in height</div><div class="ttdef"><b>Definition:</b> j2k.h:369</div></div>
<div class="ttc" id="astructopj__image__comp_html_a11ecb361a0c49b482c90573a868cc8dc"><div class="ttname"><a href="structopj__image__comp.html#a11ecb361a0c49b482c90573a868cc8dc">opj_image_comp::h</a></div><div class="ttdeci">OPJ_UINT32 h</div><div class="ttdoc">data height</div><div class="ttdef"><b>Definition:</b> openjpeg.h:685</div></div>
<div class="ttc" id="aimage_8c_html_a83035109ca4e81f9d90451adf6d975b4"><div class="ttname"><a href="image_8c.html#a83035109ca4e81f9d90451adf6d975b4">opj_image_create0</a></div><div class="ttdeci">opj_image_t * opj_image_create0(void)</div><div class="ttdoc">Create an empty image.</div><div class="ttdef"><b>Definition:</b> image.c:34</div></div>
<div class="ttc" id="astructopj__image__comp_html_ab7210ddbf12e6d9998d24034a579cea1"><div class="ttname"><a href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a></div><div class="ttdeci">OPJ_UINT32 prec</div><div class="ttdoc">precision: number of bits per component per pixel</div><div class="ttdef"><b>Definition:</b> openjpeg.h:691</div></div>
<div class="ttc" id="astructopj__image_html_a9813bacf1939346629c07262c61c8e74"><div class="ttname"><a href="structopj__image.html#a9813bacf1939346629c07262c61c8e74">opj_image::y0</a></div><div class="ttdeci">OPJ_UINT32 y0</div><div class="ttdoc">YOsiz: vertical offset from the origin of the reference grid to the top side of the image area.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:713</div></div>
<div class="ttc" id="astructopj__image__comp_html_aa8dff1eb1f11e9f21b0ddefe14ad3fc6"><div class="ttname"><a href="structopj__image__comp.html#aa8dff1eb1f11e9f21b0ddefe14ad3fc6">opj_image_comp::y0</a></div><div class="ttdeci">OPJ_UINT32 y0</div><div class="ttdoc">y component offset compared to the whole image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:689</div></div>
<div class="ttc" id="aopj__intmath_8h_html_a06c1c4470f9765a3ed04963b0daa111a"><div class="ttname"><a href="opj__intmath_8h.html#a06c1c4470f9765a3ed04963b0daa111a">opj_uint_min</a></div><div class="ttdeci">static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b)</div><div class="ttdoc">Get the minimum of two integers.</div><div class="ttdef"><b>Definition:</b> opj_intmath.h:65</div></div>
<div class="ttc" id="aopj__intmath_8h_html_a2c3eb35fddab83fef25256485b926fc0"><div class="ttname"><a href="opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0">opj_uint_max</a></div><div class="ttdeci">static INLINE OPJ_UINT32 opj_uint_max(OPJ_UINT32 a, OPJ_UINT32 b)</div><div class="ttdoc">Get the maximum of two integers.</div><div class="ttdef"><b>Definition:</b> opj_intmath.h:83</div></div>
<div class="ttc" id="aopj__malloc_8c_html_a49c70931cbed786f6eef5f095bcb2917"><div class="ttname"><a href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc</a></div><div class="ttdeci">void * opj_malloc(size_t size)</div><div class="ttdoc">Allocate an uninitialized memory block.</div><div class="ttdef"><b>Definition:</b> opj_malloc.c:191</div></div>
<div class="ttc" id="aopenjpeg_8c_html_a53a2908ba063e90755b9449001194f88"><div class="ttname"><a href="openjpeg_8c.html#a53a2908ba063e90755b9449001194f88">opj_image_data_free</a></div><div class="ttdeci">void OPJ_CALLCONV opj_image_data_free(void *ptr)</div><div class="ttdoc">Destructor for opj_image_t-&gt;comps[].data To be paired with opj_image_data_alloc.</div><div class="ttdef"><b>Definition:</b> openjpeg.c:1135</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_ab04dc3080a225270b23417b1d591ff38"><div class="ttname"><a href="structopj__image__comptparm.html#ab04dc3080a225270b23417b1d591ff38">opj_image_comptparm::sgnd</a></div><div class="ttdeci">OPJ_UINT32 sgnd</div><div class="ttdoc">signed (1) / unsigned (0)</div><div class="ttdef"><b>Definition:</b> openjpeg.h:752</div></div>
<div class="ttc" id="aopj__malloc_8c_html_a9d7d909f8dc1a2c23313c48645341e81"><div class="ttname"><a href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free</a></div><div class="ttdeci">void opj_free(void *ptr)</div><div class="ttdoc">Deallocates or frees a memory block.</div><div class="ttdef"><b>Definition:</b> opj_malloc.c:246</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_af83b657b54cb33fe3021656d27a76002"><div class="ttname"><a href="structopj__image__comptparm.html#af83b657b54cb33fe3021656d27a76002">opj_image_comptparm::w</a></div><div class="ttdeci">OPJ_UINT32 w</div><div class="ttdoc">data width</div><div class="ttdef"><b>Definition:</b> openjpeg.h:740</div></div>
<div class="ttc" id="astructopj__image__comp_html_a59225121158d5bc911838e5b05779cdb"><div class="ttname"><a href="structopj__image__comp.html#a59225121158d5bc911838e5b05779cdb">opj_image_comp::w</a></div><div class="ttdeci">OPJ_UINT32 w</div><div class="ttdoc">data width</div><div class="ttdef"><b>Definition:</b> openjpeg.h:683</div></div>
<div class="ttc" id="aopenjpeg_8h_html_ae080fd52e7454b8f1b3f081b284edfe0"><div class="ttname"><a href="openjpeg_8h.html#ae080fd52e7454b8f1b3f081b284edfe0">OPJ_COLOR_SPACE</a></div><div class="ttdeci">enum COLOR_SPACE OPJ_COLOR_SPACE</div><div class="ttdoc">Supported image color spaces.</div></div>
<div class="ttc" id="astructopj__image_html_a0d01041cfbba0d40ab38836a35544e09"><div class="ttname"><a href="structopj__image.html#a0d01041cfbba0d40ab38836a35544e09">opj_image::x0</a></div><div class="ttdeci">OPJ_UINT32 x0</div><div class="ttdoc">XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:711</div></div>
<div class="ttc" id="aopj__intmath_8h_html_ae592eb75f221decddec51834b6c4177d"><div class="ttname"><a href="opj__intmath_8h.html#ae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2</a></div><div class="ttdeci">static INLINE OPJ_UINT32 opj_uint_ceildivpow2(OPJ_UINT32 a, OPJ_UINT32 b)</div><div class="ttdoc">Divide an integer by a power of 2 and round upwards.</div><div class="ttdef"><b>Definition:</b> opj_intmath.h:198</div></div>
<div class="ttc" id="astructopj__image_html_a6b52b100c934697a29446af5c3e0fa00"><div class="ttname"><a href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a></div><div class="ttdeci">opj_image_comp_t * comps</div><div class="ttdoc">image components</div><div class="ttdef"><b>Definition:</b> openjpeg.h:723</div></div>
<div class="ttc" id="astructopj__image_html_a0412d0a6696e7b6ace224c5111cf6be2"><div class="ttname"><a href="structopj__image.html#a0412d0a6696e7b6ace224c5111cf6be2">opj_image::icc_profile_len</a></div><div class="ttdeci">OPJ_UINT32 icc_profile_len</div><div class="ttdoc">size of ICC profile</div><div class="ttdef"><b>Definition:</b> openjpeg.h:727</div></div>
<div class="ttc" id="aimage_8c_html_aac70fc16e896c56053c1385b2d3e8e47"><div class="ttname"><a href="image_8c.html#aac70fc16e896c56053c1385b2d3e8e47">opj_image_tile_create</a></div><div class="ttdeci">opj_image_t *OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc)</div><div class="ttdoc">Creates an image without allocating memory for the image (used in the new version of the library).</div><div class="ttdef"><b>Definition:</b> image.c:227</div></div>
<div class="ttc" id="astructopj__cp_html_abacc172096044123cfa0a7b027cd457f"><div class="ttname"><a href="structopj__cp.html#abacc172096044123cfa0a7b027cd457f">opj_cp::tw</a></div><div class="ttdeci">OPJ_UINT32 tw</div><div class="ttdoc">number of tiles in width</div><div class="ttdef"><b>Definition:</b> j2k.h:367</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a4cb1e6e6b6ef2df499d5c02f7df54cbb"><div class="ttname"><a href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a></div><div class="ttdeci">uint32_t OPJ_UINT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:132</div></div>
<div class="ttc" id="astructopj__image__comp_html_ab0353b06d4f8e707fc0fb85237537e82"><div class="ttname"><a href="structopj__image__comp.html#ab0353b06d4f8e707fc0fb85237537e82">opj_image_comp::factor</a></div><div class="ttdeci">OPJ_UINT32 factor</div><div class="ttdoc">number of division by 2 of the out image compared to the original size of image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:699</div></div>
<div class="ttc" id="astructopj__image__comp_html_a0805d2f69bb770ff022c164aeda22685"><div class="ttname"><a href="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a></div><div class="ttdeci">OPJ_UINT32 dx</div><div class="ttdoc">XRsiz: horizontal separation of a sample of ith component with respect to the reference grid.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:679</div></div>
<div class="ttc" id="astructopj__cp_html_a59415df77f13078e76678123415f403e"><div class="ttname"><a href="structopj__cp.html#a59415df77f13078e76678123415f403e">opj_cp::ty0</a></div><div class="ttdeci">OPJ_UINT32 ty0</div><div class="ttdoc">YTOsiz.</div><div class="ttdef"><b>Definition:</b> j2k.h:359</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_a709dcaed22eaba4f946e9ca3938b41b5"><div class="ttname"><a href="structopj__image__comptparm.html#a709dcaed22eaba4f946e9ca3938b41b5">opj_image_comptparm::dx</a></div><div class="ttdeci">OPJ_UINT32 dx</div><div class="ttdoc">XRsiz: horizontal separation of a sample of ith component with respect to the reference grid.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:736</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_a9a262042a9c180f5b236145ef7f52553"><div class="ttname"><a href="structopj__image__comptparm.html#a9a262042a9c180f5b236145ef7f52553">opj_image_comptparm::h</a></div><div class="ttdeci">OPJ_UINT32 h</div><div class="ttdoc">data height</div><div class="ttdef"><b>Definition:</b> openjpeg.h:742</div></div>
<div class="ttc" id="aimage_8c_html_a3802de36855e5331f4d6c04bc1b732a3"><div class="ttname"><a href="image_8c.html#a3802de36855e5331f4d6c04bc1b732a3">opj_copy_image_header</a></div><div class="ttdeci">void opj_copy_image_header(const opj_image_t *p_image_src, opj_image_t *p_image_dest)</div><div class="ttdoc">Copy only header of image and its component header (no data are copied) if dest image have data,...</div><div class="ttdef"><b>Definition:</b> image.c:164</div></div>
<div class="ttc" id="aimage_8c_html_a1bc9d7637d7cde5b28755c8696638303"><div class="ttname"><a href="image_8c.html#a1bc9d7637d7cde5b28755c8696638303">opj_image_comp_header_update</a></div><div class="ttdeci">void opj_image_comp_header_update(opj_image_t *p_image_header, const struct opj_cp *p_cp)</div><div class="ttdoc">Updates the components characteristics of the image from the coding parameters.</div><div class="ttdef"><b>Definition:</b> image.c:121</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_ac9a9f971df431df4ae59b94ad15f7ecf"><div class="ttname"><a href="structopj__image__comptparm.html#ac9a9f971df431df4ae59b94ad15f7ecf">opj_image_comptparm::prec</a></div><div class="ttdeci">OPJ_UINT32 prec</div><div class="ttdoc">precision: number of bits per component per pixel</div><div class="ttdef"><b>Definition:</b> openjpeg.h:748</div></div>
<div class="ttc" id="aimage_8h_html_a83035109ca4e81f9d90451adf6d975b4"><div class="ttname"><a href="image_8h.html#a83035109ca4e81f9d90451adf6d975b4">opj_image_create0</a></div><div class="ttdeci">opj_image_t * opj_image_create0(void)</div><div class="ttdoc">Create an empty image.</div><div class="ttdef"><b>Definition:</b> image.c:34</div></div>
<div class="ttc" id="aopenjpeg_8h_html_aedc1e23ea6654d0cc416bc390687458b"><div class="ttname"><a href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a></div><div class="ttdeci">#define OPJ_CALLCONV</div><div class="ttdef"><b>Definition:</b> openjpeg.h:98</div></div>
<div class="ttc" id="astructopj__image__comptparm_html_aca10e7f31cbd3ebee3601532d19333de"><div class="ttname"><a href="structopj__image__comptparm.html#aca10e7f31cbd3ebee3601532d19333de">opj_image_comptparm::dy</a></div><div class="ttdeci">OPJ_UINT32 dy</div><div class="ttdoc">YRsiz: vertical separation of a sample of ith component with respect to the reference grid.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:738</div></div>
<div class="ttc" id="astructopj__image_html"><div class="ttname"><a href="structopj__image.html">opj_image</a></div><div class="ttdoc">Defines image data and characteristics.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:709</div></div>
<!-- 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>