openjpeg/doxygen/jp2_8h.html

1837 lines
129 KiB
HTML
Raw 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: jp2.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="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> </div>
<div class="headertitle">
<div class="title">jp2.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The JPEG-2000 file format Reader/Writer (JP2)
<a href="#details">More...</a></p>
<p><a href="jp2_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__jp2__cdef__info.html">opj_jp2_cdef_info</a></td></tr>
2016-09-29 22:38:29 +02:00
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel description: channel index, type, association. <a href="structopj__jp2__cdef__info.html#details">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<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__jp2__cdef.html">opj_jp2_cdef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel descriptions and number of descriptions. <a href="structopj__jp2__cdef.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__jp2__cmap__comp.html">opj_jp2_cmap_comp</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Component mappings: channel index, mapping type, palette index. <a href="structopj__jp2__cmap__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__jp2__pclr.html">opj_jp2_pclr</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Palette data: table entries, palette columns. <a href="structopj__jp2__pclr.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__jp2__color.html">opj_jp2_color</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collector for ICC profile, palette, component mapping, channel description. <a href="structopj__jp2__color.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__jp2__comps.html">opj_jp2_comps</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 component. <a href="structopj__jp2__comps.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__jp2.html">opj_jp2</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">JPEG-2000 file format reader/writer. <a href="structopj__jp2.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__jp2__box.html">opj_jp2_box</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 Box. <a href="structopj__jp2__box.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__jp2__header__handler.html">opj_jp2_header_handler</a></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__jp2__img__header__writer__handler.html">opj_jp2_img_header_writer_handler</a></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="define-members"></a>
Macros</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a64144dd2c127abb43a0366baee7f1e7e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a64144dd2c127abb43a0366baee7f1e7e">JP2_JP</a>&#160;&#160;&#160;0x6a502020</td></tr>
<tr class="memdesc:a64144dd2c127abb43a0366baee7f1e7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">JPEG 2000 signature box. <a href="jp2_8h.html#a64144dd2c127abb43a0366baee7f1e7e">More...</a><br /></td></tr>
<tr class="separator:a64144dd2c127abb43a0366baee7f1e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae0ae3fa278598712f2f7aad0130651"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#aaae0ae3fa278598712f2f7aad0130651">JP2_FTYP</a>&#160;&#160;&#160;0x66747970</td></tr>
<tr class="memdesc:aaae0ae3fa278598712f2f7aad0130651"><td class="mdescLeft">&#160;</td><td class="mdescRight">File type box. <a href="jp2_8h.html#aaae0ae3fa278598712f2f7aad0130651">More...</a><br /></td></tr>
<tr class="separator:aaae0ae3fa278598712f2f7aad0130651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f29581c2ff234c50aee2053e565ac7f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a7f29581c2ff234c50aee2053e565ac7f">JP2_JP2H</a>&#160;&#160;&#160;0x6a703268</td></tr>
<tr class="memdesc:a7f29581c2ff234c50aee2053e565ac7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 header box (super-box) <a href="jp2_8h.html#a7f29581c2ff234c50aee2053e565ac7f">More...</a><br /></td></tr>
<tr class="separator:a7f29581c2ff234c50aee2053e565ac7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a161d0598acfab17dbd5c25bff4000686"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a161d0598acfab17dbd5c25bff4000686">JP2_IHDR</a>&#160;&#160;&#160;0x69686472</td></tr>
<tr class="memdesc:a161d0598acfab17dbd5c25bff4000686"><td class="mdescLeft">&#160;</td><td class="mdescRight">Image header box. <a href="jp2_8h.html#a161d0598acfab17dbd5c25bff4000686">More...</a><br /></td></tr>
<tr class="separator:a161d0598acfab17dbd5c25bff4000686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade7b1844616a0f75f5ff4cf5f9494985"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#ade7b1844616a0f75f5ff4cf5f9494985">JP2_COLR</a>&#160;&#160;&#160;0x636f6c72</td></tr>
<tr class="memdesc:ade7b1844616a0f75f5ff4cf5f9494985"><td class="mdescLeft">&#160;</td><td class="mdescRight">Colour specification box. <a href="jp2_8h.html#ade7b1844616a0f75f5ff4cf5f9494985">More...</a><br /></td></tr>
<tr class="separator:ade7b1844616a0f75f5ff4cf5f9494985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1889badc432581a6ecbc32965611919f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a1889badc432581a6ecbc32965611919f">JP2_JP2C</a>&#160;&#160;&#160;0x6a703263</td></tr>
<tr class="memdesc:a1889badc432581a6ecbc32965611919f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contiguous codestream box. <a href="jp2_8h.html#a1889badc432581a6ecbc32965611919f">More...</a><br /></td></tr>
<tr class="separator:a1889badc432581a6ecbc32965611919f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08094fb579fe14ef4e9c348826c75d37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a08094fb579fe14ef4e9c348826c75d37">JP2_URL</a>&#160;&#160;&#160;0x75726c20</td></tr>
<tr class="memdesc:a08094fb579fe14ef4e9c348826c75d37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data entry URL box. <a href="jp2_8h.html#a08094fb579fe14ef4e9c348826c75d37">More...</a><br /></td></tr>
<tr class="separator:a08094fb579fe14ef4e9c348826c75d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd6dcfb1e1bfdfe0f3ee5dd47a405c97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#acd6dcfb1e1bfdfe0f3ee5dd47a405c97">JP2_PCLR</a>&#160;&#160;&#160;0x70636c72</td></tr>
<tr class="memdesc:acd6dcfb1e1bfdfe0f3ee5dd47a405c97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Palette box. <a href="jp2_8h.html#acd6dcfb1e1bfdfe0f3ee5dd47a405c97">More...</a><br /></td></tr>
<tr class="separator:acd6dcfb1e1bfdfe0f3ee5dd47a405c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73c7654a5dc11751341ee2e68bfaa54e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a73c7654a5dc11751341ee2e68bfaa54e">JP2_CMAP</a>&#160;&#160;&#160;0x636d6170</td></tr>
<tr class="memdesc:a73c7654a5dc11751341ee2e68bfaa54e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Component Mapping box. <a href="jp2_8h.html#a73c7654a5dc11751341ee2e68bfaa54e">More...</a><br /></td></tr>
<tr class="separator:a73c7654a5dc11751341ee2e68bfaa54e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a059a5377614bba1818531509138607cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a059a5377614bba1818531509138607cf">JP2_CDEF</a>&#160;&#160;&#160;0x63646566</td></tr>
<tr class="memdesc:a059a5377614bba1818531509138607cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel Definition box. <a href="jp2_8h.html#a059a5377614bba1818531509138607cf">More...</a><br /></td></tr>
<tr class="separator:a059a5377614bba1818531509138607cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab30495ae72fb834fb0020e746b00f239"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#ab30495ae72fb834fb0020e746b00f239">JP2_DTBL</a>&#160;&#160;&#160;0x6474626c</td></tr>
<tr class="memdesc:ab30495ae72fb834fb0020e746b00f239"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Reference box. <a href="jp2_8h.html#ab30495ae72fb834fb0020e746b00f239">More...</a><br /></td></tr>
<tr class="separator:ab30495ae72fb834fb0020e746b00f239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9424b8c9fe6b1ef09c2d42123794449d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a9424b8c9fe6b1ef09c2d42123794449d">JP2_BPCC</a>&#160;&#160;&#160;0x62706363</td></tr>
<tr class="memdesc:a9424b8c9fe6b1ef09c2d42123794449d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bits per component box. <a href="jp2_8h.html#a9424b8c9fe6b1ef09c2d42123794449d">More...</a><br /></td></tr>
<tr class="separator:a9424b8c9fe6b1ef09c2d42123794449d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59612ec7ebcd7881e86e504d288d5ad0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a59612ec7ebcd7881e86e504d288d5ad0">JP2_JP2</a>&#160;&#160;&#160;0x6a703220</td></tr>
<tr class="memdesc:a59612ec7ebcd7881e86e504d288d5ad0"><td class="mdescLeft">&#160;</td><td class="mdescRight">File type fields. <a href="jp2_8h.html#a59612ec7ebcd7881e86e504d288d5ad0">More...</a><br /></td></tr>
<tr class="separator:a59612ec7ebcd7881e86e504d288d5ad0"><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="typedef-members"></a>
Typedefs</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:ab8791367af1ff0919b56d19850577bdd"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__cdef__info.html">opj_jp2_cdef_info</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#ab8791367af1ff0919b56d19850577bdd">opj_jp2_cdef_info_t</a></td></tr>
<tr class="memdesc:ab8791367af1ff0919b56d19850577bdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel description: channel index, type, association. <a href="jp2_8h.html#ab8791367af1ff0919b56d19850577bdd">More...</a><br /></td></tr>
<tr class="separator:ab8791367af1ff0919b56d19850577bdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d995bb90256919f7bbd2ee8bad8295c"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__cdef.html">opj_jp2_cdef</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a0d995bb90256919f7bbd2ee8bad8295c">opj_jp2_cdef_t</a></td></tr>
<tr class="memdesc:a0d995bb90256919f7bbd2ee8bad8295c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel descriptions and number of descriptions. <a href="jp2_8h.html#a0d995bb90256919f7bbd2ee8bad8295c">More...</a><br /></td></tr>
<tr class="separator:a0d995bb90256919f7bbd2ee8bad8295c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34b14221b1698d44ce510539055aaf12"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__cmap__comp.html">opj_jp2_cmap_comp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a34b14221b1698d44ce510539055aaf12">opj_jp2_cmap_comp_t</a></td></tr>
<tr class="memdesc:a34b14221b1698d44ce510539055aaf12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Component mappings: channel index, mapping type, palette index. <a href="jp2_8h.html#a34b14221b1698d44ce510539055aaf12">More...</a><br /></td></tr>
<tr class="separator:a34b14221b1698d44ce510539055aaf12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacb47d812d95009177ea299c5b74944e"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__pclr.html">opj_jp2_pclr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#aacb47d812d95009177ea299c5b74944e">opj_jp2_pclr_t</a></td></tr>
<tr class="memdesc:aacb47d812d95009177ea299c5b74944e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Palette data: table entries, palette columns. <a href="jp2_8h.html#aacb47d812d95009177ea299c5b74944e">More...</a><br /></td></tr>
<tr class="separator:aacb47d812d95009177ea299c5b74944e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa80a1d1d3f7d02b5626ba44ce7c200"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__color.html">opj_jp2_color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a4aa80a1d1d3f7d02b5626ba44ce7c200">opj_jp2_color_t</a></td></tr>
<tr class="memdesc:a4aa80a1d1d3f7d02b5626ba44ce7c200"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collector for ICC profile, palette, component mapping, channel description. <a href="jp2_8h.html#a4aa80a1d1d3f7d02b5626ba44ce7c200">More...</a><br /></td></tr>
<tr class="separator:a4aa80a1d1d3f7d02b5626ba44ce7c200"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ba2f0a030af4209c86271e9ef472654"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__comps.html">opj_jp2_comps</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a5ba2f0a030af4209c86271e9ef472654">opj_jp2_comps_t</a></td></tr>
<tr class="memdesc:a5ba2f0a030af4209c86271e9ef472654"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 component. <a href="jp2_8h.html#a5ba2f0a030af4209c86271e9ef472654">More...</a><br /></td></tr>
<tr class="separator:a5ba2f0a030af4209c86271e9ef472654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54536769465335f865f13cbdee1bf205"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2.html">opj_jp2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a></td></tr>
<tr class="memdesc:a54536769465335f865f13cbdee1bf205"><td class="mdescLeft">&#160;</td><td class="mdescRight">JPEG-2000 file format reader/writer. <a href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">More...</a><br /></td></tr>
<tr class="separator:a54536769465335f865f13cbdee1bf205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3c6d57751b5f8c254f2939dd375826"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__box.html">opj_jp2_box</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#aff3c6d57751b5f8c254f2939dd375826">opj_jp2_box_t</a></td></tr>
<tr class="memdesc:aff3c6d57751b5f8c254f2939dd375826"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 Box. <a href="jp2_8h.html#aff3c6d57751b5f8c254f2939dd375826">More...</a><br /></td></tr>
<tr class="separator:aff3c6d57751b5f8c254f2939dd375826"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a695268786e3606dd84ea1de098357f0a"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__header__handler.html">opj_jp2_header_handler</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a695268786e3606dd84ea1de098357f0a">opj_jp2_header_handler_t</a></td></tr>
<tr class="separator:a695268786e3606dd84ea1de098357f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02d5ff8582a4985d880f8b781b160bc"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__jp2__img__header__writer__handler.html">opj_jp2_img_header_writer_handler</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#ad02d5ff8582a4985d880f8b781b160bc">opj_jp2_img_header_writer_handler_t</a></td></tr>
<tr class="separator:ad02d5ff8582a4985d880f8b781b160bc"><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="enum-members"></a>
Enumerations</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a7462590194ace4bae9a25d78ee2bda9e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9e">JP2_STATE</a> { <br />
&#160;&#160;<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9ea6a09dadb50a6b7097cb30de4199ed3c1">JP2_STATE_NONE</a> = 0x0,
<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9ea324c09121187d3035fc5cd0cb2ab69de">JP2_STATE_SIGNATURE</a> = 0x1,
<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9eac331e7d837bf73e7dec2a1a1d805fa78">JP2_STATE_FILE_TYPE</a> = 0x2,
<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9ea8806dd057f44621f1f973d1992cf2831">JP2_STATE_HEADER</a> = 0x4,
2015-07-10 18:06:19 +02:00
<br />
2022-05-13 20:21:13 +02:00
&#160;&#160;<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9ea03bb234c65fbef8ce630c9823c0ac39c">JP2_STATE_CODESTREAM</a> = 0x8,
<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9eae8b7b9448ddfd73e27cb603048c0f23d">JP2_STATE_END_CODESTREAM</a> = 0x10,
<a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9ea91dc55a2a402026616bfff54f9a8c116">JP2_STATE_UNKNOWN</a> = 0x7fffffff
2015-07-10 18:06:19 +02:00
<br />
2019-04-02 16:25:55 +02:00
}</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memdesc:a7462590194ace4bae9a25d78ee2bda9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Resolution box (super-box) <a href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9e">More...</a><br /></td></tr>
<tr class="separator:a7462590194ace4bae9a25d78ee2bda9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365cc3a24f67d841247836d1a1b12da6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a365cc3a24f67d841247836d1a1b12da6">JP2_IMG_STATE</a> { <a class="el" href="jp2_8h.html#a365cc3a24f67d841247836d1a1b12da6a9fb83979377aa7506f557188df391807">JP2_IMG_STATE_NONE</a> = 0x0,
<a class="el" href="jp2_8h.html#a365cc3a24f67d841247836d1a1b12da6a762a0e16fd931d59e6472f6b80f453d4">JP2_IMG_STATE_UNKNOWN</a> = 0x7fffffff
}</td></tr>
<tr class="separator:a365cc3a24f67d841247836d1a1b12da6"><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:a24d94a6f5cf51200b3366a77e25e547d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a24d94a6f5cf51200b3366a77e25e547d">opj_jp2_setup_decoder</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a185e2777174adf9bb684bd7b566f82e0">opj_dparameters_t</a> *parameters)</td></tr>
<tr class="memdesc:a24d94a6f5cf51200b3366a77e25e547d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the decoder decoding parameters using user parameters. <a href="jp2_8h.html#a24d94a6f5cf51200b3366a77e25e547d">More...</a><br /></td></tr>
<tr class="separator:a24d94a6f5cf51200b3366a77e25e547d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03357d8a444bbcdee8c5e220588440ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a03357d8a444bbcdee8c5e220588440ef">opj_jp2_decoder_set_strict_mode</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> strict)</td></tr>
<tr class="memdesc:a03357d8a444bbcdee8c5e220588440ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the strict mode parameter. <a href="jp2_8h.html#a03357d8a444bbcdee8c5e220588440ef">More...</a><br /></td></tr>
<tr class="separator:a03357d8a444bbcdee8c5e220588440ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe8ec92a2ec7c342926f81a166b6b59c"><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="jp2_8h.html#abe8ec92a2ec7c342926f81a166b6b59c">opj_jp2_set_threads</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> num_threads)</td></tr>
<tr class="memdesc:abe8ec92a2ec7c342926f81a166b6b59c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates worker threads for the compressor/decompressor. <a href="jp2_8h.html#abe8ec92a2ec7c342926f81a166b6b59c">More...</a><br /></td></tr>
<tr class="separator:abe8ec92a2ec7c342926f81a166b6b59c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab973979e00628ffd8b3d99a402d85aa"><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="jp2_8h.html#aab973979e00628ffd8b3d99a402d85aa">opj_jp2_decode</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *p_image, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:aab973979e00628ffd8b3d99a402d85aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode an image from a JPEG-2000 file stream. <a href="jp2_8h.html#aab973979e00628ffd8b3d99a402d85aa">More...</a><br /></td></tr>
<tr class="separator:aab973979e00628ffd8b3d99a402d85aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94441c4e15ce0c7adfc3610152e630f2"><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="jp2_8h.html#a94441c4e15ce0c7adfc3610152e630f2">opj_jp2_setup_encoder</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a56cfad54152353eb4c24f55544b43cb2">opj_cparameters_t</a> *parameters, <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *image, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a94441c4e15ce0c7adfc3610152e630f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the encoder parameters using the current image and using user parameters. <a href="jp2_8h.html#a94441c4e15ce0c7adfc3610152e630f2">More...</a><br /></td></tr>
<tr class="separator:a94441c4e15ce0c7adfc3610152e630f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87e42b697673c52a0b2bb2a241e56b06"><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="jp2_8h.html#a87e42b697673c52a0b2bb2a241e56b06">opj_jp2_encode</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *stream, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a87e42b697673c52a0b2bb2a241e56b06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode an image into a JPEG-2000 file stream. <a href="jp2_8h.html#a87e42b697673c52a0b2bb2a241e56b06">More...</a><br /></td></tr>
<tr class="separator:a87e42b697673c52a0b2bb2a241e56b06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a241be56a14ecbf212a1cef44bc148f7b"><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="jp2_8h.html#a241be56a14ecbf212a1cef44bc148f7b">opj_jp2_start_compress</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *stream, <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *p_image, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a241be56a14ecbf212a1cef44bc148f7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a compression scheme, i.e. <a href="jp2_8h.html#a241be56a14ecbf212a1cef44bc148f7b">More...</a><br /></td></tr>
<tr class="separator:a241be56a14ecbf212a1cef44bc148f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceeec558d7ed87b1eec33edddf4a0205"><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="jp2_8h.html#aceeec558d7ed87b1eec33edddf4a0205">opj_jp2_end_compress</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:aceeec558d7ed87b1eec33edddf4a0205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends the compression procedures and possibiliy add data to be read after the codestream. <a href="jp2_8h.html#aceeec558d7ed87b1eec33edddf4a0205">More...</a><br /></td></tr>
<tr class="separator:aceeec558d7ed87b1eec33edddf4a0205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a305f0351317cfc1ff0e0372fe0c64cdc"><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="jp2_8h.html#a305f0351317cfc1ff0e0372fe0c64cdc">opj_jp2_end_decompress</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a305f0351317cfc1ff0e0372fe0c64cdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends the decompression procedures and possibiliy add data to be read after the codestream. <a href="jp2_8h.html#a305f0351317cfc1ff0e0372fe0c64cdc">More...</a><br /></td></tr>
<tr class="separator:a305f0351317cfc1ff0e0372fe0c64cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bfb434e0d150ae769c7e8eb81117723"><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="jp2_8h.html#a6bfb434e0d150ae769c7e8eb81117723">opj_jp2_read_header</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> **p_image, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a6bfb434e0d150ae769c7e8eb81117723"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a jpeg2000 file header structure. <a href="jp2_8h.html#a6bfb434e0d150ae769c7e8eb81117723">More...</a><br /></td></tr>
<tr class="separator:a6bfb434e0d150ae769c7e8eb81117723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1749007cebe7a0a2e547154446340f38"><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="jp2_8h.html#a1749007cebe7a0a2e547154446340f38">opj_jp2_set_decoded_components</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> numcomps, const <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *comps_indices, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a1749007cebe7a0a2e547154446340f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the indices of the components to decode. <a href="jp2_8h.html#a1749007cebe7a0a2e547154446340f38">More...</a><br /></td></tr>
<tr class="separator:a1749007cebe7a0a2e547154446340f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39499b02d05699c0bbd69412b24c6bd6"><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="jp2_8h.html#a39499b02d05699c0bbd69412b24c6bd6">opj_jp2_read_tile_header</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_tile_index, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_data_size, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *p_tile_x0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *p_tile_y0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *p_tile_x1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *p_tile_y1, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_nb_comps, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> *p_go_on, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a39499b02d05699c0bbd69412b24c6bd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a tile header. <a href="jp2_8h.html#a39499b02d05699c0bbd69412b24c6bd6">More...</a><br /></td></tr>
<tr class="separator:a39499b02d05699c0bbd69412b24c6bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96e24b7a59738febb2f4e89750212021"><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="jp2_8h.html#a96e24b7a59738febb2f4e89750212021">opj_jp2_write_tile</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_index, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_data_size, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a96e24b7a59738febb2f4e89750212021"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a tile. <a href="jp2_8h.html#a96e24b7a59738febb2f4e89750212021">More...</a><br /></td></tr>
<tr class="separator:a96e24b7a59738febb2f4e89750212021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebe5923df2f64f3107658fefb4cb03e0"><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="jp2_8h.html#aebe5923df2f64f3107658fefb4cb03e0">opj_jp2_decode_tile</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_tile_index, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_data_size, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:aebe5923df2f64f3107658fefb4cb03e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode tile data. <a href="jp2_8h.html#aebe5923df2f64f3107658fefb4cb03e0">More...</a><br /></td></tr>
<tr class="separator:aebe5923df2f64f3107658fefb4cb03e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d5389b7ba1706b96ec2adeb431a4735"><td class="memItemLeft" align="right" valign="top"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a7d5389b7ba1706b96ec2adeb431a4735">opj_jp2_create</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> p_is_decoder)</td></tr>
<tr class="memdesc:a7d5389b7ba1706b96ec2adeb431a4735"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a jpeg2000 file decompressor. <a href="jp2_8h.html#a7d5389b7ba1706b96ec2adeb431a4735">More...</a><br /></td></tr>
<tr class="separator:a7d5389b7ba1706b96ec2adeb431a4735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">opj_jp2_destroy</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *jp2)</td></tr>
<tr class="memdesc:a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a JP2 decompressor handle. <a href="jp2_8h.html#a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">More...</a><br /></td></tr>
<tr class="separator:a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f8042c954d1cb5a29080555fa241e10"><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="jp2_8h.html#a3f8042c954d1cb5a29080555fa241e10">opj_jp2_set_decode_area</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *p_image, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> p_start_x, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> p_start_y, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> p_end_x, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> p_end_y, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:a3f8042c954d1cb5a29080555fa241e10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given area to be decoded. <a href="jp2_8h.html#a3f8042c954d1cb5a29080555fa241e10">More...</a><br /></td></tr>
<tr class="separator:a3f8042c954d1cb5a29080555fa241e10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69b73f68c750cf70dc3b9836ed6ccfdc"><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="jp2_8h.html#a69b73f68c750cf70dc3b9836ed6ccfdc">opj_jp2_get_tile</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *p_image, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> tile_index)</td></tr>
<tr class="separator:a69b73f68c750cf70dc3b9836ed6ccfdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a271ca4cacb9ec1d01623e1dc0762af22"><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="jp2_8h.html#a271ca4cacb9ec1d01623e1dc0762af22">opj_jp2_set_decoded_resolution_factor</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> res_factor, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="separator:a271ca4cacb9ec1d01623e1dc0762af22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae0d471833bc207c9543ba5a7a777939"><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="jp2_8h.html#aae0d471833bc207c9543ba5a7a777939">opj_jp2_encoder_set_extra_options</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, const char *const *p_options, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:aae0d471833bc207c9543ba5a7a777939"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify extra options for the encoder. <a href="jp2_8h.html#aae0d471833bc207c9543ba5a7a777939">More...</a><br /></td></tr>
<tr class="separator:aae0d471833bc207c9543ba5a7a777939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218687e233b685fbb1986b81849aeb61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a218687e233b685fbb1986b81849aeb61">jp2_dump</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> flag, FILE *out_stream)</td></tr>
<tr class="memdesc:a218687e233b685fbb1986b81849aeb61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dump some elements from the JP2 decompression structure . <a href="jp2_8h.html#a218687e233b685fbb1986b81849aeb61">More...</a><br /></td></tr>
<tr class="separator:a218687e233b685fbb1986b81849aeb61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed9ca90035485efa93e1e7dce474780"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a7e69386eeda6ae24a05ef84f9e80d0af">opj_codestream_info_v2_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a5ed9ca90035485efa93e1e7dce474780">jp2_get_cstr_info</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2)</td></tr>
<tr class="memdesc:a5ed9ca90035485efa93e1e7dce474780"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the codestream info from a JPEG2000 codec. <a href="jp2_8h.html#a5ed9ca90035485efa93e1e7dce474780">More...</a><br /></td></tr>
<tr class="separator:a5ed9ca90035485efa93e1e7dce474780"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a195430af9298b6633ff7a2aa754e2d31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aef4e40da13534ecda530816e133bfce8">opj_codestream_index_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jp2_8h.html#a195430af9298b6633ff7a2aa754e2d31">jp2_get_cstr_index</a> (<a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *p_jp2)</td></tr>
<tr class="memdesc:a195430af9298b6633ff7a2aa754e2d31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the codestream index from a JPEG2000 codec. <a href="jp2_8h.html#a195430af9298b6633ff7a2aa754e2d31">More...</a><br /></td></tr>
<tr class="separator:a195430af9298b6633ff7a2aa754e2d31"><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>The JPEG-2000 file format Reader/Writer (JP2) </p>
2022-05-13 20:21:13 +02:00
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a9424b8c9fe6b1ef09c2d42123794449d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9424b8c9fe6b1ef09c2d42123794449d">&#9670;&nbsp;</a></span>JP2_BPCC</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_BPCC&#160;&#160;&#160;0x62706363</td>
</tr>
</table>
</div><div class="memdoc">
<p>Bits per component box. </p>
</div>
</div>
<a id="a059a5377614bba1818531509138607cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a059a5377614bba1818531509138607cf">&#9670;&nbsp;</a></span>JP2_CDEF</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_CDEF&#160;&#160;&#160;0x63646566</td>
</tr>
</table>
</div><div class="memdoc">
<p>Channel Definition box. </p>
</div>
</div>
<a id="a73c7654a5dc11751341ee2e68bfaa54e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73c7654a5dc11751341ee2e68bfaa54e">&#9670;&nbsp;</a></span>JP2_CMAP</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_CMAP&#160;&#160;&#160;0x636d6170</td>
</tr>
</table>
</div><div class="memdoc">
<p>Component Mapping box. </p>
</div>
</div>
<a id="ade7b1844616a0f75f5ff4cf5f9494985"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade7b1844616a0f75f5ff4cf5f9494985">&#9670;&nbsp;</a></span>JP2_COLR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_COLR&#160;&#160;&#160;0x636f6c72</td>
</tr>
</table>
</div><div class="memdoc">
<p>Colour specification box. </p>
</div>
</div>
<a id="ab30495ae72fb834fb0020e746b00f239"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab30495ae72fb834fb0020e746b00f239">&#9670;&nbsp;</a></span>JP2_DTBL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_DTBL&#160;&#160;&#160;0x6474626c</td>
</tr>
</table>
</div><div class="memdoc">
<p>Data Reference box. </p>
</div>
</div>
<a id="aaae0ae3fa278598712f2f7aad0130651"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaae0ae3fa278598712f2f7aad0130651">&#9670;&nbsp;</a></span>JP2_FTYP</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_FTYP&#160;&#160;&#160;0x66747970</td>
</tr>
</table>
</div><div class="memdoc">
<p>File type box. </p>
</div>
</div>
<a id="a161d0598acfab17dbd5c25bff4000686"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a161d0598acfab17dbd5c25bff4000686">&#9670;&nbsp;</a></span>JP2_IHDR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_IHDR&#160;&#160;&#160;0x69686472</td>
</tr>
</table>
</div><div class="memdoc">
<p>Image header box. </p>
</div>
</div>
<a id="a64144dd2c127abb43a0366baee7f1e7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64144dd2c127abb43a0366baee7f1e7e">&#9670;&nbsp;</a></span>JP2_JP</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_JP&#160;&#160;&#160;0x6a502020</td>
</tr>
</table>
</div><div class="memdoc">
<p>JPEG 2000 signature box. </p>
</div>
</div>
<a id="a59612ec7ebcd7881e86e504d288d5ad0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59612ec7ebcd7881e86e504d288d5ad0">&#9670;&nbsp;</a></span>JP2_JP2</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_JP2&#160;&#160;&#160;0x6a703220</td>
</tr>
</table>
</div><div class="memdoc">
<p>File type fields. </p>
</div>
</div>
<a id="a1889badc432581a6ecbc32965611919f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1889badc432581a6ecbc32965611919f">&#9670;&nbsp;</a></span>JP2_JP2C</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_JP2C&#160;&#160;&#160;0x6a703263</td>
</tr>
</table>
</div><div class="memdoc">
<p>Contiguous codestream box. </p>
</div>
</div>
<a id="a7f29581c2ff234c50aee2053e565ac7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f29581c2ff234c50aee2053e565ac7f">&#9670;&nbsp;</a></span>JP2_JP2H</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_JP2H&#160;&#160;&#160;0x6a703268</td>
</tr>
</table>
</div><div class="memdoc">
<p>JP2 header box (super-box) </p>
</div>
</div>
<a id="acd6dcfb1e1bfdfe0f3ee5dd47a405c97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd6dcfb1e1bfdfe0f3ee5dd47a405c97">&#9670;&nbsp;</a></span>JP2_PCLR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_PCLR&#160;&#160;&#160;0x70636c72</td>
</tr>
</table>
</div><div class="memdoc">
<p>Palette box. </p>
</div>
</div>
<a id="a08094fb579fe14ef4e9c348826c75d37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08094fb579fe14ef4e9c348826c75d37">&#9670;&nbsp;</a></span>JP2_URL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define JP2_URL&#160;&#160;&#160;0x75726c20</td>
</tr>
</table>
</div><div class="memdoc">
<p>Data entry URL box. </p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="aff3c6d57751b5f8c254f2939dd375826"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff3c6d57751b5f8c254f2939dd375826">&#9670;&nbsp;</a></span>opj_jp2_box_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__box.html">opj_jp2_box</a> <a class="el" href="jp2_8h.html#aff3c6d57751b5f8c254f2939dd375826">opj_jp2_box_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>JP2 Box. </p>
</div>
</div>
<a id="ab8791367af1ff0919b56d19850577bdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8791367af1ff0919b56d19850577bdd">&#9670;&nbsp;</a></span>opj_jp2_cdef_info_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__cdef__info.html">opj_jp2_cdef_info</a> <a class="el" href="jp2_8h.html#ab8791367af1ff0919b56d19850577bdd">opj_jp2_cdef_info_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Channel description: channel index, type, association. </p>
</div>
</div>
<a id="a0d995bb90256919f7bbd2ee8bad8295c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d995bb90256919f7bbd2ee8bad8295c">&#9670;&nbsp;</a></span>opj_jp2_cdef_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__cdef.html">opj_jp2_cdef</a> <a class="el" href="jp2_8h.html#a0d995bb90256919f7bbd2ee8bad8295c">opj_jp2_cdef_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Channel descriptions and number of descriptions. </p>
</div>
</div>
<a id="a34b14221b1698d44ce510539055aaf12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34b14221b1698d44ce510539055aaf12">&#9670;&nbsp;</a></span>opj_jp2_cmap_comp_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__cmap__comp.html">opj_jp2_cmap_comp</a> <a class="el" href="jp2_8h.html#a34b14221b1698d44ce510539055aaf12">opj_jp2_cmap_comp_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Component mappings: channel index, mapping type, palette index. </p>
</div>
</div>
<a id="a4aa80a1d1d3f7d02b5626ba44ce7c200"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aa80a1d1d3f7d02b5626ba44ce7c200">&#9670;&nbsp;</a></span>opj_jp2_color_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__color.html">opj_jp2_color</a> <a class="el" href="jp2_8h.html#a4aa80a1d1d3f7d02b5626ba44ce7c200">opj_jp2_color_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Collector for ICC profile, palette, component mapping, channel description. </p>
</div>
</div>
<a id="a5ba2f0a030af4209c86271e9ef472654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ba2f0a030af4209c86271e9ef472654">&#9670;&nbsp;</a></span>opj_jp2_comps_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__comps.html">opj_jp2_comps</a> <a class="el" href="jp2_8h.html#a5ba2f0a030af4209c86271e9ef472654">opj_jp2_comps_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>JP2 component. </p>
</div>
</div>
<a id="a695268786e3606dd84ea1de098357f0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a695268786e3606dd84ea1de098357f0a">&#9670;&nbsp;</a></span>opj_jp2_header_handler_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__header__handler.html">opj_jp2_header_handler</a> <a class="el" href="jp2_8h.html#a695268786e3606dd84ea1de098357f0a">opj_jp2_header_handler_t</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad02d5ff8582a4985d880f8b781b160bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad02d5ff8582a4985d880f8b781b160bc">&#9670;&nbsp;</a></span>opj_jp2_img_header_writer_handler_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__img__header__writer__handler.html">opj_jp2_img_header_writer_handler</a> <a class="el" href="jp2_8h.html#ad02d5ff8582a4985d880f8b781b160bc">opj_jp2_img_header_writer_handler_t</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aacb47d812d95009177ea299c5b74944e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacb47d812d95009177ea299c5b74944e">&#9670;&nbsp;</a></span>opj_jp2_pclr_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2__pclr.html">opj_jp2_pclr</a> <a class="el" href="jp2_8h.html#aacb47d812d95009177ea299c5b74944e">opj_jp2_pclr_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Palette data: table entries, palette columns. </p>
</div>
</div>
<a id="a54536769465335f865f13cbdee1bf205"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54536769465335f865f13cbdee1bf205">&#9670;&nbsp;</a></span>opj_jp2_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structopj__jp2.html">opj_jp2</a> <a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>JPEG-2000 file format reader/writer. </p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a365cc3a24f67d841247836d1a1b12da6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a365cc3a24f67d841247836d1a1b12da6">&#9670;&nbsp;</a></span>JP2_IMG_STATE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="jp2_8h.html#a365cc3a24f67d841247836d1a1b12da6">JP2_IMG_STATE</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a365cc3a24f67d841247836d1a1b12da6a9fb83979377aa7506f557188df391807"></a>JP2_IMG_STATE_NONE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a365cc3a24f67d841247836d1a1b12da6a762a0e16fd931d59e6472f6b80f453d4"></a>JP2_IMG_STATE_UNKNOWN&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<a id="a7462590194ace4bae9a25d78ee2bda9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7462590194ace4bae9a25d78ee2bda9e">&#9670;&nbsp;</a></span>JP2_STATE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="jp2_8h.html#a7462590194ace4bae9a25d78ee2bda9e">JP2_STATE</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>&lt; Resolution box (super-box) </p>
<p>&lt; Intellectual property box &lt; XML box &lt; UUID box &lt; UUID info box (super-box) &lt; UUID list box </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9ea6a09dadb50a6b7097cb30de4199ed3c1"></a>JP2_STATE_NONE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9ea324c09121187d3035fc5cd0cb2ab69de"></a>JP2_STATE_SIGNATURE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9eac331e7d837bf73e7dec2a1a1d805fa78"></a>JP2_STATE_FILE_TYPE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9ea8806dd057f44621f1f973d1992cf2831"></a>JP2_STATE_HEADER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9ea03bb234c65fbef8ce630c9823c0ac39c"></a>JP2_STATE_CODESTREAM&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9eae8b7b9448ddfd73e27cb603048c0f23d"></a>JP2_STATE_END_CODESTREAM&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7462590194ace4bae9a25d78ee2bda9ea91dc55a2a402026616bfff54f9a8c116"></a>JP2_STATE_UNKNOWN&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a218687e233b685fbb1986b81849aeb61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a218687e233b685fbb1986b81849aeb61">&#9670;&nbsp;</a></span>jp2_dump()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void jp2_dump </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</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>flag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">FILE *&#160;</td>
<td class="paramname"><em>out_stream</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Dump some elements from the JP2 decompression structure . </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>the jp2 codec. </td></tr>
<tr><td class="paramname">flag</td><td>flag to describe what elements are dump. </td></tr>
<tr><td class="paramname">out_stream</td><td>output stream where dump the elements. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a064d4a5d20465438abe3ce707fd8ddf4">j2k_dump()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a195430af9298b6633ff7a2aa754e2d31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a195430af9298b6633ff7a2aa754e2d31">&#9670;&nbsp;</a></span>jp2_get_cstr_index()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#aef4e40da13534ecda530816e133bfce8">opj_codestream_index_t</a>* jp2_get_cstr_index </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the codestream index from a JPEG2000 codec. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>jp2 codec.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the codestream index extract from the jpg2000 codec </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#aab1aefcf177ba3726b29afec69993f6b">j2k_get_cstr_index()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a5ed9ca90035485efa93e1e7dce474780"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ed9ca90035485efa93e1e7dce474780">&#9670;&nbsp;</a></span>jp2_get_cstr_info()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a7e69386eeda6ae24a05ef84f9e80d0af">opj_codestream_info_v2_t</a>* jp2_get_cstr_info </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the codestream info from a JPEG2000 codec. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>jp2 codec.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the codestream information extract from the jpg2000 codec </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a4e0a9f42c8240828e7293a064c143a24">j2k_get_cstr_info()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a7d5389b7ba1706b96ec2adeb431a4735"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d5389b7ba1706b96ec2adeb431a4735">&#9670;&nbsp;</a></span>opj_jp2_create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a>* opj_jp2_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>p_is_decoder</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a jpeg2000 file decompressor. </p>
<dl class="section return"><dt>Returns</dt><dd>an empty jpeg2000 file codec. </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__jp2__color.html#a59f5a767a1797ff94791dd7ef3036f26">opj_jp2_color::icc_profile_buf</a>, <a class="el" href="structopj__jp2__color.html#adf75f5a13127fd3295e3fa109968a232">opj_jp2_color::icc_profile_len</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__color.html#a09689a1bd0b03a26bf88b9f183568fc2">opj_jp2_color::jp2_has_colr</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="structopj__jp2.html#a3373abe9fd441b568ef176fb3c226c56">opj_jp2::m_procedure_list</a>, <a class="el" href="structopj__jp2.html#a79421ce9fdc9a3e16432dd91b7c09abd">opj_jp2::m_validation_list</a>, <a class="el" href="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc()</a>, <a class="el" href="j2k_8c.html#ad3c2b25f4d5a5f6fd4b442bc7210f6da">opj_j2k_create_compress()</a>, <a class="el" href="j2k_8c.html#ad76bb79d4d63030222ebf3dbe3fe86cf">opj_j2k_create_decompress()</a>, <a class="el" href="jp2_8c.html#a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">opj_jp2_destroy()</a>, and <a class="el" href="function__list_8c.html#ae8846726864247ad8f11ed1be5987e39">opj_procedure_list_create()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>, and <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="aab973979e00628ffd8b3d99a402d85aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab973979e00628ffd8b3d99a402d85aa">&#9670;&nbsp;</a></span>opj_jp2_decode()</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_jp2_decode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>p_image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Decode an image from a JPEG-2000 file stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 decompressor handle </td></tr>
<tr><td class="paramname">p_stream</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_image</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_manager</td><td>FIXME DOC</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a decoded image if successful, returns NULL otherwise </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2__pclr.html#adca91f787ca88452162789756f05be01">opj_jp2_pclr::cmap</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__image.html#a0a905c725270c4a7085fbe1edea994c2">opj_image::color_space</a>, <a class="el" href="structopj__jp2.html#af5a9288d5d542391f82aa7ef2b7030a1">opj_jp2::enumcs</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2__color.html#a59f5a767a1797ff94791dd7ef3036f26">opj_jp2_color::icc_profile_buf</a>, <a class="el" href="structopj__image.html#a1b62a25bd7603c6747aa3edd036401c1">opj_image::icc_profile_buf</a>, <a class="el" href="structopj__jp2__color.html#adf75f5a13127fd3295e3fa109968a232">opj_jp2_color::icc_profile_len</a>, <a class="el" href="structopj__image.html#a0412d0a6696e7b6ace224c5111cf6be2">opj_image::icc_profile_len</a>, <a class="el" href="structopj__jp2.html#ace2bc5d96509b1975fead8d36a7a2489">opj_jp2::ignore_pclr_cmap_cdef</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="structopj__j2k.html#a389605db11c55fd94a0ca56aa13687a0">opj_j2k::m_decoder</a>, <a class="el" href="structopj__j2k__dec.html#a0676d7e5e38560d317db6b47be7d2918">opj_j2k_dec::m_numcomps_to_decode</a>, <a class="el" href="structopj__j2k.html#a1ebdab7ff75a1df1cebaa650d323cd22">opj_j2k::m_specific_param</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448caba9852666f297d1a08a0cf5121b984b2">OPJ_CLRSPC_CMYK</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca65b3a4be7cb921fe73ed48694908cebb">OPJ_CLRSPC_EYCC</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca81998a287b79283c48e8c876cfb73520">OPJ_CLRSPC_GRAY</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca988802c3860935495a63e8cf866bd19e">OPJ_CLRSPC_SRGB</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448caf63d3f5a1a2b69077981dedebc27919b">OPJ_CLRSPC_SYCC</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca3555a29fadf038ddd2bbbf0df7b8e427">OPJ_CLRSPC_UNKNOWN</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#ad1113b1ae4202669379d2c6b680f371b">opj_j2k_decode()</a>, <a class="el" href="jp2_8c.html#ab2a081552f8c61d75c1c925d702057bb">opj_jp2_apply_cdef()</a>, <a class="el" href="jp2_8c.html#a8c6a6b30b72a7814f8caf2a95aed9e14">opj_jp2_apply_pclr()</a>, <a class="el" href="jp2_8c.html#a7230dd12ccadea216f8dd6b4c670011f">opj_jp2_check_color()</a>, <a class="el" href="jp2_8c.html#acbac56aa8be2ab74d865f23a9f206bb6">opj_jp2_free_pclr()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="aebe5923df2f64f3107658fefb4cb03e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebe5923df2f64f3107658fefb4cb03e0">&#9670;&nbsp;</a></span>opj_jp2_decode_tile()</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_jp2_decode_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</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_index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_data_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Decode tile data. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>the jpeg2000 codec. </td></tr>
<tr><td class="paramname">p_tile_index</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_data</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_data_size</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_stream</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FIXME DOC </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a589edf58bf96de0a09b6104b6f5c13e8">opj_j2k_decode_tile()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a03357d8a444bbcdee8c5e220588440ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03357d8a444bbcdee8c5e220588440ef">&#9670;&nbsp;</a></span>opj_jp2_decoder_set_strict_mode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_jp2_decoder_set_strict_mode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>strict</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the strict mode parameter. </p>
<p>When strict mode is enabled, the entire bitstream must be decoded or an error is returned. When it is disabled, the decoder will decode partial bitstreams. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 decompressor handle </td></tr>
<tr><td class="paramname">strict</td><td>OPJ_TRUE for strict mode </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a6c2e5eadd32344dc7fbb95841241bfe4">opj_j2k_decoder_set_strict_mode()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">&#9670;&nbsp;</a></span>opj_jp2_destroy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_jp2_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroy a JP2 decompressor handle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 decompressor handle to destroy </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__jp2__pclr.html#af37aceb83a88b539247d9ad74ebe5982">opj_jp2_pclr::channel_sign</a>, <a class="el" href="structopj__jp2__pclr.html#a0569973966d1e41738af2affffcc98b2">opj_jp2_pclr::channel_size</a>, <a class="el" href="structopj__jp2.html#aac64b2494bc12c8e3dc8ca363523f675">opj_jp2::cl</a>, <a class="el" href="structopj__jp2__pclr.html#adca91f787ca88452162789756f05be01">opj_jp2_pclr::cmap</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__jp2.html#a8e5e1cc05ff8c62af2de5a449e7f8360">opj_jp2::comps</a>, <a class="el" href="structopj__jp2__pclr.html#a5086af17a60ce66dec67fd0fb21cb572">opj_jp2_pclr::entries</a>, <a class="el" href="structopj__jp2__color.html#a59f5a767a1797ff94791dd7ef3036f26">opj_jp2_color::icc_profile_buf</a>, <a class="el" href="structopj__jp2__cdef.html#a29f47cabdd5e963425d8f714aae315bb">opj_jp2_cdef::info</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="structopj__jp2.html#a3373abe9fd441b568ef176fb3c226c56">opj_jp2::m_procedure_list</a>, <a class="el" href="structopj__jp2.html#a79421ce9fdc9a3e16432dd91b7c09abd">opj_jp2::m_validation_list</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="j2k_8c.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, and <a class="el" href="function__list_8c.html#ae39a4783cf450cc32e8d7bea251a6f90">opj_procedure_list_destroy()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>, <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>, and <a class="el" href="jp2_8h.html#a7d5389b7ba1706b96ec2adeb431a4735">opj_jp2_create()</a>.</p>
</div>
</div>
<a id="a87e42b697673c52a0b2bb2a241e56b06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87e42b697673c52a0b2bb2a241e56b06">&#9670;&nbsp;</a></span>opj_jp2_encode()</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_jp2_encode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Encode an image into a JPEG-2000 file stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 compressor handle </td></tr>
<tr><td class="paramname">stream</td><td>Output buffer stream </td></tr>
<tr><td class="paramname">p_manager</td><td>event manager </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if successful, returns false otherwise </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a5222d47c1adcfb6d1e5ff354edd03e31">opj_j2k_encode()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a id="aae0d471833bc207c9543ba5a7a777939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae0d471833bc207c9543ba5a7a777939">&#9670;&nbsp;</a></span>opj_jp2_encoder_set_extra_options()</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_jp2_encoder_set_extra_options </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *const *&#160;</td>
<td class="paramname"><em>p_options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Specify extra options for the encoder. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>the jpeg2000 codec. </td></tr>
<tr><td class="paramname">p_options</td><td>options </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="openjpeg_8c.html#a8fec822dd650a82db457ff1aafbc9b2a" title="Specify extra options for the encoder.">opj_encoder_set_extra_options()</a> for more details. </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a6b288ad7b1891bc2cdf593e8fa05cba6">opj_j2k_encoder_set_extra_options()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a id="aceeec558d7ed87b1eec33edddf4a0205"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aceeec558d7ed87b1eec33edddf4a0205">&#9670;&nbsp;</a></span>opj_jp2_end_compress()</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_jp2_end_compress </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>cio</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Ends the compression procedures and possibiliy add data to be read after the codestream. </p>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2.html#a3373abe9fd441b568ef176fb3c226c56">opj_jp2::m_procedure_list</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#ab07092d5ac9dc3ce26a42705569179f7">opj_j2k_end_compress()</a>, <a class="el" href="jp2_8c.html#a5c8d5befcd92f556b160b2bdcddaf801">opj_jp2_exec()</a>, and <a class="el" href="jp2_8c.html#a45d924fc300f75d460c35170a18e1ae1">opj_jp2_setup_end_header_writing()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a id="a305f0351317cfc1ff0e0372fe0c64cdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a305f0351317cfc1ff0e0372fe0c64cdc">&#9670;&nbsp;</a></span>opj_jp2_end_decompress()</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_jp2_end_decompress </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>cio</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Ends the decompression procedures and possibiliy add data to be read after the codestream. </p>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2.html#a3373abe9fd441b568ef176fb3c226c56">opj_jp2::m_procedure_list</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#a08f5f1ad9ec6ccb4fcf4d3af868bdc6b">opj_j2k_end_decompress()</a>, <a class="el" href="jp2_8c.html#a5c8d5befcd92f556b160b2bdcddaf801">opj_jp2_exec()</a>, and <a class="el" href="jp2_8c.html#a9adcd86e8c4369aff8e0378b1aaf8ef4">opj_jp2_setup_end_header_reading()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a69b73f68c750cf70dc3b9836ed6ccfdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69b73f68c750cf70dc3b9836ed6ccfdc">&#9670;&nbsp;</a></span>opj_jp2_get_tile()</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_jp2_get_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>p_image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</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>tile_index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="structopj__jp2__pclr.html#adca91f787ca88452162789756f05be01">opj_jp2_pclr::cmap</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__image.html#a0a905c725270c4a7085fbe1edea994c2">opj_image::color_space</a>, <a class="el" href="structopj__jp2.html#af5a9288d5d542391f82aa7ef2b7030a1">opj_jp2::enumcs</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="event_8h.html#abefbcb0bea7916739b3adccb2d4e9417">EVT_WARNING</a>, <a class="el" href="structopj__jp2__color.html#a59f5a767a1797ff94791dd7ef3036f26">opj_jp2_color::icc_profile_buf</a>, <a class="el" href="structopj__image.html#a1b62a25bd7603c6747aa3edd036401c1">opj_image::icc_profile_buf</a>, <a class="el" href="structopj__jp2__color.html#adf75f5a13127fd3295e3fa109968a232">opj_jp2_color::icc_profile_len</a>, <a class="el" href="structopj__image.html#a0412d0a6696e7b6ace224c5111cf6be2">opj_image::icc_profile_len</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="structopj__j2k.html#a389605db11c55fd94a0ca56aa13687a0">opj_j2k::m_decoder</a>, <a class="el" href="structopj__j2k__dec.html#a0676d7e5e38560d317db6b47be7d2918">opj_j2k_dec::m_numcomps_to_decode</a>, <a class="el" href="structopj__j2k.html#a1ebdab7ff75a1df1cebaa650d323cd22">opj_j2k::m_specific_param</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448caba9852666f297d1a08a0cf5121b984b2">OPJ_CLRSPC_CMYK</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca65b3a4be7cb921fe73ed48694908cebb">OPJ_CLRSPC_EYCC</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca81998a287b79283c48e8c876cfb73520">OPJ_CLRSPC_GRAY</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca988802c3860935495a63e8cf866bd19e">OPJ_CLRSPC_SRGB</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448caf63d3f5a1a2b69077981dedebc27919b">OPJ_CLRSPC_SYCC</a>, <a class="el" href="openjpeg_8h.html#a99039de6017a1f64312480f3f4ea448ca3555a29fadf038ddd2bbbf0df7b8e427">OPJ_CLRSPC_UNKNOWN</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#a60371d3609364bf033e8c244599abf6f">opj_j2k_get_tile()</a>, <a class="el" href="jp2_8c.html#ab2a081552f8c61d75c1c925d702057bb">opj_jp2_apply_cdef()</a>, <a class="el" href="jp2_8c.html#a8c6a6b30b72a7814f8caf2a95aed9e14">opj_jp2_apply_pclr()</a>, <a class="el" href="jp2_8c.html#a7230dd12ccadea216f8dd6b4c670011f">opj_jp2_check_color()</a>, <a class="el" href="jp2_8c.html#acbac56aa8be2ab74d865f23a9f206bb6">opj_jp2_free_pclr()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a6bfb434e0d150ae769c7e8eb81117723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bfb434e0d150ae769c7e8eb81117723">&#9670;&nbsp;</a></span>opj_jp2_read_header()</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_jp2_read_header </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> **&#160;</td>
<td class="paramname"><em>p_image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a jpeg2000 file header structure. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to read data from. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file header structure. </td></tr>
<tr><td class="paramname">p_image</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the box is valid. </dd></dl>
<p class="reference">References <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2.html#ac1a3c49660d4366865cf11d1f489419c">opj_jp2::has_ihdr</a>, <a class="el" href="structopj__jp2.html#a94d28ba033ecd425f6f8fc456c0c758b">opj_jp2::has_jp2h</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2.html#a3373abe9fd441b568ef176fb3c226c56">opj_jp2::m_procedure_list</a>, <a class="el" href="structopj__jp2.html#a79421ce9fdc9a3e16432dd91b7c09abd">opj_jp2::m_validation_list</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#a34c49b256edcdbf036492dfa635284d7">opj_j2k_read_header()</a>, <a class="el" href="jp2_8c.html#a5c8d5befcd92f556b160b2bdcddaf801">opj_jp2_exec()</a>, <a class="el" href="jp2_8c.html#a8791f922d72e61fa8ac05ec7febbad5f">opj_jp2_setup_decoding_validation()</a>, and <a class="el" href="jp2_8c.html#aa2c50479d75d27a2c08c89be866fcfa5">opj_jp2_setup_header_reading()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a39499b02d05699c0bbd69412b24c6bd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39499b02d05699c0bbd69412b24c6bd6">&#9670;&nbsp;</a></span>opj_jp2_read_tile_header()</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_jp2_read_tile_header </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</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_index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>p_data_size</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>p_tile_x0</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>p_tile_y0</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>p_tile_x1</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>p_tile_y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>p_nb_comps</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> *&#160;</td>
<td class="paramname"><em>p_go_on</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a tile header. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>the jpeg2000 codec. </td></tr>
<tr><td class="paramname">p_tile_index</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_data_size</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_tile_x0</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_tile_y0</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_tile_x1</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_tile_y1</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_nb_comps</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_go_on</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_stream</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a3f8042c954d1cb5a29080555fa241e10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f8042c954d1cb5a29080555fa241e10">&#9670;&nbsp;</a></span>opj_jp2_set_decode_area()</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_jp2_set_decode_area </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>p_image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td>
<td class="paramname"><em>p_start_x</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>p_start_y</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>p_end_x</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>p_end_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the given area to be decoded. </p>
<p>This function should be called right after opj_read_header and before any tile header reading.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>the jpeg2000 codec. </td></tr>
<tr><td class="paramname">p_image</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_start_x</td><td>the left position of the rectangle to decode (in image coordinates). </td></tr>
<tr><td class="paramname">p_start_y</td><td>the up position of the rectangle to decode (in image coordinates). </td></tr>
<tr><td class="paramname">p_end_x</td><td>the right position of the rectangle to decode (in image coordinates). </td></tr>
<tr><td class="paramname">p_end_y</td><td>the bottom position of the rectangle to decode (in image coordinates). </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the area could be set. </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#ab4cb6916a495309faab2dd7cb587ccb8">opj_j2k_set_decode_area()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a1749007cebe7a0a2e547154446340f38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1749007cebe7a0a2e547154446340f38">&#9670;&nbsp;</a></span>opj_jp2_set_decoded_components()</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_jp2_set_decoded_components </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>numcomps</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>comps_indices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the indices of the components to decode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 decompressor handle </td></tr>
<tr><td class="paramname">numcomps</td><td>Number of components to decode. </td></tr>
<tr><td class="paramname">comps_indices</td><td>Array of num_compts indices (numbering starting at 0) corresponding to the components to decode. </td></tr>
<tr><td class="paramname">p_manager</td><td>Event manager;</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_TRUE in case of success. </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a8ad1ef335703dec30943a7dad14b8c3d">opj_j2k_set_decoded_components()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a271ca4cacb9ec1d01623e1dc0762af22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a271ca4cacb9ec1d01623e1dc0762af22">&#9670;&nbsp;</a></span>opj_jp2_set_decoded_resolution_factor()</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_jp2_set_decoded_resolution_factor </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</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>res_factor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#ad2c05f29bca659d072a13133993312f9">opj_j2k_set_decoded_resolution_factor()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="abe8ec92a2ec7c342926f81a166b6b59c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe8ec92a2ec7c342926f81a166b6b59c">&#9670;&nbsp;</a></span>opj_jp2_set_threads()</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_jp2_set_threads </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</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>num_threads</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates worker threads for the compressor/decompressor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 decompressor handle </td></tr>
<tr><td class="paramname">num_threads</td><td>Number of threads. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_TRUE in case of success. </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#abecf91393e6703f8be5006b19df1be22">opj_j2k_set_threads()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>, and <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a24d94a6f5cf51200b3366a77e25e547d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24d94a6f5cf51200b3366a77e25e547d">&#9670;&nbsp;</a></span>opj_jp2_setup_decoder()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_jp2_setup_decoder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a185e2777174adf9bb684bd7b566f82e0">opj_dparameters_t</a> *&#160;</td>
<td class="paramname"><em>parameters</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setup the decoder decoding parameters using user parameters. </p>
<p>Decoding parameters are returned in jp2-&gt;j2k-&gt;cp. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 decompressor handle </td></tr>
<tr><td class="paramname">parameters</td><td>decompression parameters </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__dparameters.html#a9e6136d89847ec5d15d42bfe814b4a08">opj_dparameters::flags</a>, <a class="el" href="structopj__jp2.html#ace2bc5d96509b1975fead8d36a7a2489">opj_jp2::ignore_pclr_cmap_cdef</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2__color.html#a09689a1bd0b03a26bf88b9f183568fc2">opj_jp2_color::jp2_has_colr</a>, <a class="el" href="openjpeg_8h.html#a66080011c5863d6b525526d4cb756181">OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG</a>, and <a class="el" href="j2k_8c.html#ad278fa72d1461084c57c87a4276850cf">opj_j2k_setup_decoder()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a id="a94441c4e15ce0c7adfc3610152e630f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94441c4e15ce0c7adfc3610152e630f2">&#9670;&nbsp;</a></span>opj_jp2_setup_encoder()</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_jp2_setup_encoder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a56cfad54152353eb4c24f55544b43cb2">opj_cparameters_t</a> *&#160;</td>
<td class="paramname"><em>parameters</em>, </td>
</tr>
<tr>
<td class="paramkey"></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="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setup the encoder parameters using the current image and using user parameters. </p>
<p>Coding parameters are returned in jp2-&gt;j2k-&gt;cp.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 compressor handle </td></tr>
<tr><td class="paramname">parameters</td><td>compression parameters </td></tr>
<tr><td class="paramname">image</td><td>input filled image </td></tr>
<tr><td class="paramname">p_manager</td><td>FIXME DOC </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_TRUE if successful, OPJ_FALSE otherwise </dd></dl>
<p class="reference">References <a class="el" href="structopj__image__comp.html#a8d471ac4bee95236e0b622638a8e07cf">opj_image_comp::alpha</a>, <a class="el" href="structopj__jp2.html#a586cf1790b0c4858f9dc5ff1ffa5b61b">opj_jp2::approx</a>, <a class="el" href="structopj__jp2__cdef__info.html#ac509dcc054a8fbfaf64a7672009de06b">opj_jp2_cdef_info::asoc</a>, <a class="el" href="structopj__jp2.html#adb758190fa0884352081f9117f81dd7c">opj_jp2::bpc</a>, <a class="el" href="structopj__jp2__comps.html#a35983fa253b87bb22ba5b3d44aea9223">opj_jp2_comps::bpcc</a>, <a class="el" href="structopj__jp2.html#a208170d32cc20d0fff660186eb4861ee">opj_jp2::brand</a>, <a class="el" href="structopj__jp2.html#a2ad7a5f9ed0c0b24e7c78fdcb2f1de74">opj_jp2::C</a>, <a class="el" href="structopj__jp2.html#aac64b2494bc12c8e3dc8ca363523f675">opj_jp2::cl</a>, <a class="el" href="structopj__jp2__cdef__info.html#a986c92a70181818edebbda8206925b02">opj_jp2_cdef_info::cn</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__image.html#a0a905c725270c4a7085fbe1edea994c2">opj_image::color_space</a>, <a class="el" href="structopj__jp2.html#a8e5e1cc05ff8c62af2de5a449e7f8360">opj_jp2::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__jp2.html#af5a9288d5d542391f82aa7ef2b7030a1">opj_jp2::enumcs</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="event_8h.html#abefbcb0bea7916739b3adccb2d4e9417">EVT_WARNING</a>, <a class="el" href="structopj__jp2.html#a70f6a298859522dbf3c830f0a1eda18d">opj_jp2::h</a>, <a class="el" href="structopj__image.html#a0412d0a6696e7b6ace224c5111cf6be2">opj_image::icc_profile_len</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="structopj__jp2__cdef.html#a29f47cabdd5e963425d8f714aae315bb">opj_jp2_cdef::info</a>, <a class="el" href="structopj__jp2.html#aa23fdbe2afadda6daac7757c212466c7">opj_jp2::IPR</a>, <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="jp2_8h.html#a59612ec7ebcd7881e86e504d288d5ad0">JP2_JP2</a>, <a class="el" href="structopj__jp2.html#aefec720627fa6c234c57b3ba93321770">opj_jp2::jpip_on</a>, <a class="el" href="structopj__cparameters.html#a8ecde72cb2c8f0f269644ce742540a40">opj_cparameters::jpip_on</a>, <a class="el" href="structopj__jp2.html#ac5c8d612480d6624fd427db39a5955dd">opj_jp2::meth</a>, <a class="el" href="structopj__jp2.html#a8abe8bd5f7fcd93be189dfcbf8812971">opj_jp2::minversion</a>, <a class="el" href="structopj__jp2__cdef.html#a40d46b67c1dd74efeaf8dd224da8496c">opj_jp2_cdef::n</a>, <a class="el" href="structopj__jp2.html#ab70c120d80c4d8924700cdf01e755471">opj_jp2::numcl</a>, <a class="el" href="structopj__jp2.html#a85f8f2c8814bd6f296476a19d382bb74">opj_jp2::numcomps</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#a4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__jp2.html#a339671403a394735a3ed05293ee2a50b">opj_jp2::precedence</a>, <a class="el" href="structopj__image__comp.html#a2d2337d15fd837252fe250386bac7fb9">opj_image_comp::sgnd</a>, <a class="el" href="structopj__jp2__cdef__info.html#a7cc6773fa31c8f7da3ccf832331d55b7">opj_jp2_cdef_info::typ</a>, <a class="el" href="struct
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a id="a241be56a14ecbf212a1cef44bc148f7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a241be56a14ecbf212a1cef44bc148f7b">&#9670;&nbsp;</a></span>opj_jp2_start_compress()</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_jp2_start_compress </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>jp2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4">opj_image_t</a> *&#160;</td>
<td class="paramname"><em>p_image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Starts a compression scheme, i.e. </p>
<p>validates the codec parameters, writes the header.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">stream</td><td>the stream object. </td></tr>
<tr><td class="paramname">p_image</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_manager</td><td>FIXME DOC</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the codec is valid. </dd></dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, <a class="el" href="structopj__jp2.html#a3373abe9fd441b568ef176fb3c226c56">opj_jp2::m_procedure_list</a>, <a class="el" href="structopj__jp2.html#a79421ce9fdc9a3e16432dd91b7c09abd">opj_jp2::m_validation_list</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="j2k_8c.html#accea6429e4f466250b095ee3fb94805c">opj_j2k_start_compress()</a>, <a class="el" href="jp2_8c.html#a5c8d5befcd92f556b160b2bdcddaf801">opj_jp2_exec()</a>, <a class="el" href="jp2_8c.html#a2eb08d51a6a71a825fa047a6c5aca441">opj_jp2_setup_encoding_validation()</a>, and <a class="el" href="jp2_8c.html#acde1c55531d9a33bf7512f70ebeaeb0e">opj_jp2_setup_header_writing()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a id="a96e24b7a59738febb2f4e89750212021"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96e24b7a59738febb2f4e89750212021">&#9670;&nbsp;</a></span>opj_jp2_write_tile()</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_jp2_write_tile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="jp2_8h.html#a54536769465335f865f13cbdee1bf205">opj_jp2_t</a> *&#160;</td>
<td class="paramname"><em>p_jp2</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_index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_data_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>p_manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes a tile. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_jp2</td><td>the jpeg2000 codec. </td></tr>
<tr><td class="paramname">p_tile_index</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_data</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_data_size</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_stream</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">p_manager</td><td>the user event manager. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__jp2.html#a875518e7a947320aa58c01fbbd759dc7">opj_jp2::j2k</a>, and <a class="el" href="j2k_8c.html#a74a0d7e52fefc21e50f5d644b69f4c44">opj_j2k_write_tile()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</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>