openjpeg/doxygen/group___j_p2.html

2749 lines
196 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>OpenJPEG: JP2 - JPEG-2000 file format reader/writer</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.1.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</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 - JPEG-2000 file format reader/writer</div> </div>
</div><!--header-->
<div class="contents">
<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>
<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>
<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>
<tr class="memitem:gaac2b97aeeb7ce9d09b974ccd74445210"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gaac2b97aeeb7ce9d09b974ccd74445210">OPJ_BOX_SIZE</a>&#160;&#160;&#160;1024</td></tr>
<tr class="separator:gaac2b97aeeb7ce9d09b974ccd74445210"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64144dd2c127abb43a0366baee7f1e7e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga64144dd2c127abb43a0366baee7f1e7e">JP2_JP</a>&#160;&#160;&#160;0x6a502020</td></tr>
<tr class="memdesc:ga64144dd2c127abb43a0366baee7f1e7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">JPEG 2000 signature box. <a href="#ga64144dd2c127abb43a0366baee7f1e7e">More...</a><br /></td></tr>
<tr class="separator:ga64144dd2c127abb43a0366baee7f1e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaae0ae3fa278598712f2f7aad0130651"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gaaae0ae3fa278598712f2f7aad0130651">JP2_FTYP</a>&#160;&#160;&#160;0x66747970</td></tr>
<tr class="memdesc:gaaae0ae3fa278598712f2f7aad0130651"><td class="mdescLeft">&#160;</td><td class="mdescRight">File type box. <a href="#gaaae0ae3fa278598712f2f7aad0130651">More...</a><br /></td></tr>
<tr class="separator:gaaae0ae3fa278598712f2f7aad0130651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f29581c2ff234c50aee2053e565ac7f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga7f29581c2ff234c50aee2053e565ac7f">JP2_JP2H</a>&#160;&#160;&#160;0x6a703268</td></tr>
<tr class="memdesc:ga7f29581c2ff234c50aee2053e565ac7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 header box (super-box) <a href="#ga7f29581c2ff234c50aee2053e565ac7f">More...</a><br /></td></tr>
<tr class="separator:ga7f29581c2ff234c50aee2053e565ac7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga161d0598acfab17dbd5c25bff4000686"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga161d0598acfab17dbd5c25bff4000686">JP2_IHDR</a>&#160;&#160;&#160;0x69686472</td></tr>
<tr class="memdesc:ga161d0598acfab17dbd5c25bff4000686"><td class="mdescLeft">&#160;</td><td class="mdescRight">Image header box. <a href="#ga161d0598acfab17dbd5c25bff4000686">More...</a><br /></td></tr>
<tr class="separator:ga161d0598acfab17dbd5c25bff4000686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade7b1844616a0f75f5ff4cf5f9494985"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gade7b1844616a0f75f5ff4cf5f9494985">JP2_COLR</a>&#160;&#160;&#160;0x636f6c72</td></tr>
<tr class="memdesc:gade7b1844616a0f75f5ff4cf5f9494985"><td class="mdescLeft">&#160;</td><td class="mdescRight">Colour specification box. <a href="#gade7b1844616a0f75f5ff4cf5f9494985">More...</a><br /></td></tr>
<tr class="separator:gade7b1844616a0f75f5ff4cf5f9494985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1889badc432581a6ecbc32965611919f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga1889badc432581a6ecbc32965611919f">JP2_JP2C</a>&#160;&#160;&#160;0x6a703263</td></tr>
<tr class="memdesc:ga1889badc432581a6ecbc32965611919f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contiguous codestream box. <a href="#ga1889badc432581a6ecbc32965611919f">More...</a><br /></td></tr>
<tr class="separator:ga1889badc432581a6ecbc32965611919f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08094fb579fe14ef4e9c348826c75d37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga08094fb579fe14ef4e9c348826c75d37">JP2_URL</a>&#160;&#160;&#160;0x75726c20</td></tr>
<tr class="memdesc:ga08094fb579fe14ef4e9c348826c75d37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data entry URL box. <a href="#ga08094fb579fe14ef4e9c348826c75d37">More...</a><br /></td></tr>
<tr class="separator:ga08094fb579fe14ef4e9c348826c75d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd6dcfb1e1bfdfe0f3ee5dd47a405c97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gacd6dcfb1e1bfdfe0f3ee5dd47a405c97">JP2_PCLR</a>&#160;&#160;&#160;0x70636c72</td></tr>
<tr class="memdesc:gacd6dcfb1e1bfdfe0f3ee5dd47a405c97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Palette box. <a href="#gacd6dcfb1e1bfdfe0f3ee5dd47a405c97">More...</a><br /></td></tr>
<tr class="separator:gacd6dcfb1e1bfdfe0f3ee5dd47a405c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73c7654a5dc11751341ee2e68bfaa54e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga73c7654a5dc11751341ee2e68bfaa54e">JP2_CMAP</a>&#160;&#160;&#160;0x636d6170</td></tr>
<tr class="memdesc:ga73c7654a5dc11751341ee2e68bfaa54e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Component Mapping box. <a href="#ga73c7654a5dc11751341ee2e68bfaa54e">More...</a><br /></td></tr>
<tr class="separator:ga73c7654a5dc11751341ee2e68bfaa54e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga059a5377614bba1818531509138607cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga059a5377614bba1818531509138607cf">JP2_CDEF</a>&#160;&#160;&#160;0x63646566</td></tr>
<tr class="memdesc:ga059a5377614bba1818531509138607cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel Definition box. <a href="#ga059a5377614bba1818531509138607cf">More...</a><br /></td></tr>
<tr class="separator:ga059a5377614bba1818531509138607cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab30495ae72fb834fb0020e746b00f239"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gab30495ae72fb834fb0020e746b00f239">JP2_DTBL</a>&#160;&#160;&#160;0x6474626c</td></tr>
<tr class="memdesc:gab30495ae72fb834fb0020e746b00f239"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Reference box. <a href="#gab30495ae72fb834fb0020e746b00f239">More...</a><br /></td></tr>
<tr class="separator:gab30495ae72fb834fb0020e746b00f239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9424b8c9fe6b1ef09c2d42123794449d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga9424b8c9fe6b1ef09c2d42123794449d">JP2_BPCC</a>&#160;&#160;&#160;0x62706363</td></tr>
<tr class="memdesc:ga9424b8c9fe6b1ef09c2d42123794449d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bits per component box. <a href="#ga9424b8c9fe6b1ef09c2d42123794449d">More...</a><br /></td></tr>
<tr class="separator:ga9424b8c9fe6b1ef09c2d42123794449d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59612ec7ebcd7881e86e504d288d5ad0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga59612ec7ebcd7881e86e504d288d5ad0">JP2_JP2</a>&#160;&#160;&#160;0x6a703220</td></tr>
<tr class="memdesc:ga59612ec7ebcd7881e86e504d288d5ad0"><td class="mdescLeft">&#160;</td><td class="mdescRight">File type fields. <a href="#ga59612ec7ebcd7881e86e504d288d5ad0">More...</a><br /></td></tr>
<tr class="separator:ga59612ec7ebcd7881e86e504d288d5ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga8ba7b52117ef94c8d09b62e832acc11d"><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="group___j_p2.html#ga8ba7b52117ef94c8d09b62e832acc11d">opj_jp2_cdef_info_t</a></td></tr>
<tr class="memdesc:ga8ba7b52117ef94c8d09b62e832acc11d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel description: channel index, type, association. <a href="#ga8ba7b52117ef94c8d09b62e832acc11d">More...</a><br /></td></tr>
<tr class="separator:ga8ba7b52117ef94c8d09b62e832acc11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadfcc70dfea4fce9ea1198902bb0347e"><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="group___j_p2.html#gaadfcc70dfea4fce9ea1198902bb0347e">opj_jp2_cdef_t</a></td></tr>
<tr class="memdesc:gaadfcc70dfea4fce9ea1198902bb0347e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel descriptions and number of descriptions. <a href="#gaadfcc70dfea4fce9ea1198902bb0347e">More...</a><br /></td></tr>
<tr class="separator:gaadfcc70dfea4fce9ea1198902bb0347e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76f813737f3efed330e630f92cf20cee"><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="group___j_p2.html#ga76f813737f3efed330e630f92cf20cee">opj_jp2_cmap_comp_t</a></td></tr>
<tr class="memdesc:ga76f813737f3efed330e630f92cf20cee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Component mappings: channel index, mapping type, palette index. <a href="#ga76f813737f3efed330e630f92cf20cee">More...</a><br /></td></tr>
<tr class="separator:ga76f813737f3efed330e630f92cf20cee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee7881538c2c909d6f88ddd07ba89619"><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="group___j_p2.html#gaee7881538c2c909d6f88ddd07ba89619">opj_jp2_pclr_t</a></td></tr>
<tr class="memdesc:gaee7881538c2c909d6f88ddd07ba89619"><td class="mdescLeft">&#160;</td><td class="mdescRight">Palette data: table entries, palette columns. <a href="#gaee7881538c2c909d6f88ddd07ba89619">More...</a><br /></td></tr>
<tr class="separator:gaee7881538c2c909d6f88ddd07ba89619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace8303066c8e51948c3c714fe4621554"><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="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a></td></tr>
<tr class="memdesc:gace8303066c8e51948c3c714fe4621554"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collector for ICC profile, palette, component mapping, channel description. <a href="#gace8303066c8e51948c3c714fe4621554">More...</a><br /></td></tr>
<tr class="separator:gace8303066c8e51948c3c714fe4621554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60bb4f8ed9edf3cf8fa9e89ec82acd98"><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="group___j_p2.html#ga60bb4f8ed9edf3cf8fa9e89ec82acd98">opj_jp2_comps_t</a></td></tr>
<tr class="memdesc:ga60bb4f8ed9edf3cf8fa9e89ec82acd98"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 component. <a href="#ga60bb4f8ed9edf3cf8fa9e89ec82acd98">More...</a><br /></td></tr>
<tr class="separator:ga60bb4f8ed9edf3cf8fa9e89ec82acd98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad416d216ba57f4e7d1255f94ce52fef9"><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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a></td></tr>
<tr class="memdesc:gad416d216ba57f4e7d1255f94ce52fef9"><td class="mdescLeft">&#160;</td><td class="mdescRight">JPEG-2000 file format reader/writer. <a href="#gad416d216ba57f4e7d1255f94ce52fef9">More...</a><br /></td></tr>
<tr class="separator:gad416d216ba57f4e7d1255f94ce52fef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6426e82c7d636762ae35b39f0d47cff9"><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="group___j_p2.html#ga6426e82c7d636762ae35b39f0d47cff9">opj_jp2_box_t</a></td></tr>
<tr class="memdesc:ga6426e82c7d636762ae35b39f0d47cff9"><td class="mdescLeft">&#160;</td><td class="mdescRight">JP2 Box. <a href="#ga6426e82c7d636762ae35b39f0d47cff9">More...</a><br /></td></tr>
<tr class="separator:ga6426e82c7d636762ae35b39f0d47cff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6dddaee86f9af386faddb221f893ff0d"><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="group___j_p2.html#ga6dddaee86f9af386faddb221f893ff0d">opj_jp2_header_handler_t</a></td></tr>
<tr class="separator:ga6dddaee86f9af386faddb221f893ff0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76b56a66574ad86a63e6fc3ee6046cbf"><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="group___j_p2.html#ga76b56a66574ad86a63e6fc3ee6046cbf">opj_jp2_img_header_writer_handler_t</a></td></tr>
<tr class="separator:ga76b56a66574ad86a63e6fc3ee6046cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga7462590194ace4bae9a25d78ee2bda9e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga7462590194ace4bae9a25d78ee2bda9e">JP2_STATE</a> { <br />
&#160;&#160;<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea6a09dadb50a6b7097cb30de4199ed3c1">JP2_STATE_NONE</a> = 0x0,
<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea324c09121187d3035fc5cd0cb2ab69de">JP2_STATE_SIGNATURE</a> = 0x1,
<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9eac331e7d837bf73e7dec2a1a1d805fa78">JP2_STATE_FILE_TYPE</a> = 0x2,
<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea8806dd057f44621f1f973d1992cf2831">JP2_STATE_HEADER</a> = 0x4,
<br />
&#160;&#160;<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea03bb234c65fbef8ce630c9823c0ac39c">JP2_STATE_CODESTREAM</a> = 0x8,
<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9eae8b7b9448ddfd73e27cb603048c0f23d">JP2_STATE_END_CODESTREAM</a> = 0x10,
<a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea91dc55a2a402026616bfff54f9a8c116">JP2_STATE_UNKNOWN</a> = 0x7fffffff
<br />
}<tr class="memdesc:ga7462590194ace4bae9a25d78ee2bda9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Resolution box (super-box) <a href="group___j_p2.html#ga7462590194ace4bae9a25d78ee2bda9e">More...</a><br /></td></tr>
<tr class="separator:ga7462590194ace4bae9a25d78ee2bda9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
<tr class="memitem:ga365cc3a24f67d841247836d1a1b12da6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga365cc3a24f67d841247836d1a1b12da6">JP2_IMG_STATE</a> { <a class="el" href="group___j_p2.html#gga365cc3a24f67d841247836d1a1b12da6a9fb83979377aa7506f557188df391807">JP2_IMG_STATE_NONE</a> = 0x0,
<a class="el" href="group___j_p2.html#gga365cc3a24f67d841247836d1a1b12da6a762a0e16fd931d59e6472f6b80f453d4">JP2_IMG_STATE_UNKNOWN</a> = 0x7fffffff
}<tr class="separator:ga365cc3a24f67d841247836d1a1b12da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Local static functions</h2></td></tr>
<tr class="memitem:ga0e0fac85bb2576b0fe2bff8a251a5814"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga0e0fac85bb2576b0fe2bff8a251a5814">opj_jp2_read_ihdr</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_image_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_image_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga0e0fac85bb2576b0fe2bff8a251a5814"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a IHDR box - Image Header box. <a href="#ga0e0fac85bb2576b0fe2bff8a251a5814">More...</a><br /></td></tr>
<tr class="separator:ga0e0fac85bb2576b0fe2bff8a251a5814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2414d887016326f522cebae1cf94a54a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga2414d887016326f522cebae1cf94a54a">opj_jp2_write_ihdr</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_nb_bytes_written)</td></tr>
<tr class="memdesc:ga2414d887016326f522cebae1cf94a54a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the Image Header box - Image Header box. <a href="#ga2414d887016326f522cebae1cf94a54a">More...</a><br /></td></tr>
<tr class="separator:ga2414d887016326f522cebae1cf94a54a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9ec7891fb6f874ab371d664140a1857d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga9ec7891fb6f874ab371d664140a1857d">opj_jp2_write_bpcc</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_nb_bytes_written)</td></tr>
<tr class="memdesc:ga9ec7891fb6f874ab371d664140a1857d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the Bit per Component box. <a href="#ga9ec7891fb6f874ab371d664140a1857d">More...</a><br /></td></tr>
<tr class="separator:ga9ec7891fb6f874ab371d664140a1857d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga289d97e88f9462c72b5dcd3e0b9d8189"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga289d97e88f9462c72b5dcd3e0b9d8189">opj_jp2_read_bpcc</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_bpc_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_bpc_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga289d97e88f9462c72b5dcd3e0b9d8189"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a Bit per Component box. <a href="#ga289d97e88f9462c72b5dcd3e0b9d8189">More...</a><br /></td></tr>
<tr class="separator:ga289d97e88f9462c72b5dcd3e0b9d8189"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa66cf70fc600399b53cfa6a97cb5e176"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gaa66cf70fc600399b53cfa6a97cb5e176">opj_jp2_read_cdef</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_cdef_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_cdef_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="separator:gaa66cf70fc600399b53cfa6a97cb5e176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2a081552f8c61d75c1c925d702057bb"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gab2a081552f8c61d75c1c925d702057bb">opj_jp2_apply_cdef</a> (<a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *image, <a class="el" href="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a> *color, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *)</td></tr>
<tr class="separator:gab2a081552f8c61d75c1c925d702057bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3bd3864189e71d3bebfbc5e63941439a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga3bd3864189e71d3bebfbc5e63941439a">opj_jp2_write_cdef</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_nb_bytes_written)</td></tr>
<tr class="memdesc:ga3bd3864189e71d3bebfbc5e63941439a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the Channel Definition box. <a href="#ga3bd3864189e71d3bebfbc5e63941439a">More...</a><br /></td></tr>
<tr class="separator:ga3bd3864189e71d3bebfbc5e63941439a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38b0cc8512611a49a51b7db383f86af7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga38b0cc8512611a49a51b7db383f86af7">opj_jp2_write_colr</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_nb_bytes_written)</td></tr>
<tr class="memdesc:ga38b0cc8512611a49a51b7db383f86af7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the Colour Specification box. <a href="#ga38b0cc8512611a49a51b7db383f86af7">More...</a><br /></td></tr>
<tr class="separator:ga38b0cc8512611a49a51b7db383f86af7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6f065d9f31f70d57bc3203c2122a9b5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gad6f065d9f31f70d57bc3203c2122a9b5">opj_jp2_write_ftyp</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gad6f065d9f31f70d57bc3203c2122a9b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a FTYP box - File type box. <a href="#gad6f065d9f31f70d57bc3203c2122a9b5">More...</a><br /></td></tr>
<tr class="separator:gad6f065d9f31f70d57bc3203c2122a9b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga814b516a34d9a0da8bae3850e945c50d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga814b516a34d9a0da8bae3850e945c50d">opj_jp2_read_ftyp</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga814b516a34d9a0da8bae3850e945c50d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a a FTYP box - File type box. <a href="#ga814b516a34d9a0da8bae3850e945c50d">More...</a><br /></td></tr>
<tr class="separator:ga814b516a34d9a0da8bae3850e945c50d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66dbfabf7913693819b19d490be0da13"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga66dbfabf7913693819b19d490be0da13">opj_jp2_skip_jp2c</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="separator:ga66dbfabf7913693819b19d490be0da13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13296666d7710af2bfb5a5d55480f90b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga13296666d7710af2bfb5a5d55480f90b">opj_jp2_read_jp2h</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga13296666d7710af2bfb5a5d55480f90b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the Jpeg2000 file Header box - JP2 Header box (warning, this is a super box). <a href="#ga13296666d7710af2bfb5a5d55480f90b">More...</a><br /></td></tr>
<tr class="separator:ga13296666d7710af2bfb5a5d55480f90b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbdab130baca04a1d74b841ce978e395"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gacbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *stream, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gacbdab130baca04a1d74b841ce978e395"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the Jpeg2000 file Header box - JP2 Header box (warning, this is a super box). <a href="#gacbdab130baca04a1d74b841ce978e395">More...</a><br /></td></tr>
<tr class="separator:gacbdab130baca04a1d74b841ce978e395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e03aa1e225c059d34fc34a11ffc48fc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga2e03aa1e225c059d34fc34a11ffc48fc">opj_jp2_write_jp2c</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga2e03aa1e225c059d34fc34a11ffc48fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the Jpeg2000 codestream Header box - JP2C Header box. <a href="#ga2e03aa1e225c059d34fc34a11ffc48fc">More...</a><br /></td></tr>
<tr class="separator:ga2e03aa1e225c059d34fc34a11ffc48fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac77bacf6d4801a8842126ef3fbb23bb1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gac77bacf6d4801a8842126ef3fbb23bb1">opj_jp2_read_jp</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gac77bacf6d4801a8842126ef3fbb23bb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a jpeg2000 file signature box. <a href="#gac77bacf6d4801a8842126ef3fbb23bb1">More...</a><br /></td></tr>
<tr class="separator:gac77bacf6d4801a8842126ef3fbb23bb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0946ffbe7ec1a2dcdabe9dd63485ce9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gac0946ffbe7ec1a2dcdabe9dd63485ce9">opj_jp2_write_jp</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gac0946ffbe7ec1a2dcdabe9dd63485ce9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a jpeg2000 file signature box. <a href="#gac0946ffbe7ec1a2dcdabe9dd63485ce9">More...</a><br /></td></tr>
<tr class="separator:gac0946ffbe7ec1a2dcdabe9dd63485ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae31e2b30eb366c6be2762a6c62dedbed"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gae31e2b30eb366c6be2762a6c62dedbed">opj_jp2_apply_pclr</a> (<a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *image, <a class="el" href="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a> *color)</td></tr>
<tr class="memdesc:gae31e2b30eb366c6be2762a6c62dedbed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply collected palette data. <a href="#gae31e2b30eb366c6be2762a6c62dedbed">More...</a><br /></td></tr>
<tr class="separator:gae31e2b30eb366c6be2762a6c62dedbed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbac56aa8be2ab74d865f23a9f206bb6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gacbac56aa8be2ab74d865f23a9f206bb6">opj_jp2_free_pclr</a> (<a class="el" href="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a> *color)</td></tr>
<tr class="separator:gacbac56aa8be2ab74d865f23a9f206bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6030e3df69fb240e22a1a32c715d4e1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gaf6030e3df69fb240e22a1a32c715d4e1">opj_jp2_read_pclr</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_pclr_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_pclr_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gaf6030e3df69fb240e22a1a32c715d4e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collect palette data. <a href="#gaf6030e3df69fb240e22a1a32c715d4e1">More...</a><br /></td></tr>
<tr class="separator:gaf6030e3df69fb240e22a1a32c715d4e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga364cf233c1485481bd28ad6f59b3eb22"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga364cf233c1485481bd28ad6f59b3eb22">opj_jp2_read_cmap</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_cmap_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_cmap_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga364cf233c1485481bd28ad6f59b3eb22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collect component mapping data. <a href="#ga364cf233c1485481bd28ad6f59b3eb22">More...</a><br /></td></tr>
<tr class="separator:ga364cf233c1485481bd28ad6f59b3eb22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1702a7ea040c681c8d7c9e33e6fd5bd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#gac1702a7ea040c681c8d7c9e33e6fd5bd">opj_jp2_read_colr</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_colr_header_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_colr_header_size, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gac1702a7ea040c681c8d7c9e33e6fd5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the Color Specification box. <a href="#gac1702a7ea040c681c8d7c9e33e6fd5bd">More...</a><br /></td></tr>
<tr class="separator:gac1702a7ea040c681c8d7c9e33e6fd5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Exported functions</h2></td></tr>
<tr class="memitem:ga24d94a6f5cf51200b3366a77e25e547d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga24d94a6f5cf51200b3366a77e25e547d">opj_jp2_setup_decoder</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a6b6650daf87a8d475f9a33f1744d8356">opj_dparameters_t</a> *parameters)</td></tr>
<tr class="memdesc:ga24d94a6f5cf51200b3366a77e25e547d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the decoder decoding parameters using user parameters. <a href="#ga24d94a6f5cf51200b3366a77e25e547d">More...</a><br /></td></tr>
<tr class="separator:ga24d94a6f5cf51200b3366a77e25e547d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab973979e00628ffd8b3d99a402d85aa"><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="group___j_p2.html#gaab973979e00628ffd8b3d99a402d85aa">opj_jp2_decode</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *p_image, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gaab973979e00628ffd8b3d99a402d85aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode an image from a JPEG-2000 file stream. <a href="#gaab973979e00628ffd8b3d99a402d85aa">More...</a><br /></td></tr>
<tr class="separator:gaab973979e00628ffd8b3d99a402d85aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94441c4e15ce0c7adfc3610152e630f2"><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="group___j_p2.html#ga94441c4e15ce0c7adfc3610152e630f2">opj_jp2_setup_encoder</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a5c303dd5ddb702b9e6f82b8fbf69637d">opj_cparameters_t</a> *parameters, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *image, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga94441c4e15ce0c7adfc3610152e630f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the encoder parameters using the current image and using user parameters. <a href="#ga94441c4e15ce0c7adfc3610152e630f2">More...</a><br /></td></tr>
<tr class="separator:ga94441c4e15ce0c7adfc3610152e630f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87e42b697673c52a0b2bb2a241e56b06"><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="group___j_p2.html#ga87e42b697673c52a0b2bb2a241e56b06">opj_jp2_encode</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *stream, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga87e42b697673c52a0b2bb2a241e56b06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode an image into a JPEG-2000 file stream. <a href="#ga87e42b697673c52a0b2bb2a241e56b06">More...</a><br /></td></tr>
<tr class="separator:ga87e42b697673c52a0b2bb2a241e56b06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga241be56a14ecbf212a1cef44bc148f7b"><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="group___j_p2.html#ga241be56a14ecbf212a1cef44bc148f7b">opj_jp2_start_compress</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *stream, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *p_image, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga241be56a14ecbf212a1cef44bc148f7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a compression scheme, i.e. <a href="#ga241be56a14ecbf212a1cef44bc148f7b">More...</a><br /></td></tr>
<tr class="separator:ga241be56a14ecbf212a1cef44bc148f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaceeec558d7ed87b1eec33edddf4a0205"><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="group___j_p2.html#gaceeec558d7ed87b1eec33edddf4a0205">opj_jp2_end_compress</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gaceeec558d7ed87b1eec33edddf4a0205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends the compression procedures and possibiliy add data to be read after the codestream. <a href="#gaceeec558d7ed87b1eec33edddf4a0205">More...</a><br /></td></tr>
<tr class="separator:gaceeec558d7ed87b1eec33edddf4a0205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga305f0351317cfc1ff0e0372fe0c64cdc"><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="group___j_p2.html#ga305f0351317cfc1ff0e0372fe0c64cdc">opj_jp2_end_decompress</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *cio, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga305f0351317cfc1ff0e0372fe0c64cdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends the decompression procedures and possibiliy add data to be read after the codestream. <a href="#ga305f0351317cfc1ff0e0372fe0c64cdc">More...</a><br /></td></tr>
<tr class="separator:ga305f0351317cfc1ff0e0372fe0c64cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bfb434e0d150ae769c7e8eb81117723"><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="group___j_p2.html#ga6bfb434e0d150ae769c7e8eb81117723">opj_jp2_read_header</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> **p_image, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga6bfb434e0d150ae769c7e8eb81117723"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a jpeg2000 file header structure. <a href="#ga6bfb434e0d150ae769c7e8eb81117723">More...</a><br /></td></tr>
<tr class="separator:ga6bfb434e0d150ae769c7e8eb81117723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39499b02d05699c0bbd69412b24c6bd6"><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="group___j_p2.html#ga39499b02d05699c0bbd69412b24c6bd6">opj_jp2_read_tile_header</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga39499b02d05699c0bbd69412b24c6bd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a tile header. <a href="#ga39499b02d05699c0bbd69412b24c6bd6">More...</a><br /></td></tr>
<tr class="separator:ga39499b02d05699c0bbd69412b24c6bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96e24b7a59738febb2f4e89750212021"><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="group___j_p2.html#ga96e24b7a59738febb2f4e89750212021">opj_jp2_write_tile</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga96e24b7a59738febb2f4e89750212021"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a tile. <a href="#ga96e24b7a59738febb2f4e89750212021">More...</a><br /></td></tr>
<tr class="separator:ga96e24b7a59738febb2f4e89750212021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebe5923df2f64f3107658fefb4cb03e0"><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="group___j_p2.html#gaebe5923df2f64f3107658fefb4cb03e0">opj_jp2_decode_tile</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:gaebe5923df2f64f3107658fefb4cb03e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode tile data. <a href="#gaebe5923df2f64f3107658fefb4cb03e0">More...</a><br /></td></tr>
<tr class="separator:gaebe5923df2f64f3107658fefb4cb03e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d5389b7ba1706b96ec2adeb431a4735"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga7d5389b7ba1706b96ec2adeb431a4735">opj_jp2_create</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> p_is_decoder)</td></tr>
<tr class="memdesc:ga7d5389b7ba1706b96ec2adeb431a4735"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a jpeg2000 file decompressor. <a href="#ga7d5389b7ba1706b96ec2adeb431a4735">More...</a><br /></td></tr>
<tr class="separator:ga7d5389b7ba1706b96ec2adeb431a4735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">opj_jp2_destroy</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *jp2)</td></tr>
<tr class="memdesc:ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a JP2 decompressor handle. <a href="#ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">More...</a><br /></td></tr>
<tr class="separator:ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f8042c954d1cb5a29080555fa241e10"><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="group___j_p2.html#ga3f8042c954d1cb5a29080555fa241e10">opj_jp2_set_decode_area</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *p_jp2, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="memdesc:ga3f8042c954d1cb5a29080555fa241e10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given area to be decoded. <a href="#ga3f8042c954d1cb5a29080555fa241e10">More...</a><br /></td></tr>
<tr class="separator:ga3f8042c954d1cb5a29080555fa241e10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69b73f68c750cf70dc3b9836ed6ccfdc"><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="group___j_p2.html#ga69b73f68c750cf70dc3b9836ed6ccfdc">opj_jp2_get_tile</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *p_jp2, <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">opj_image_t</a> *p_image, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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:ga69b73f68c750cf70dc3b9836ed6ccfdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga271ca4cacb9ec1d01623e1dc0762af22"><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="group___j_p2.html#ga271ca4cacb9ec1d01623e1dc0762af22">opj_jp2_set_decoded_resolution_factor</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_manager)</td></tr>
<tr class="separator:ga271ca4cacb9ec1d01623e1dc0762af22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga218687e233b685fbb1986b81849aeb61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga218687e233b685fbb1986b81849aeb61">jp2_dump</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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:ga218687e233b685fbb1986b81849aeb61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dump some elements from the JP2 decompression structure . <a href="#ga218687e233b685fbb1986b81849aeb61">More...</a><br /></td></tr>
<tr class="separator:ga218687e233b685fbb1986b81849aeb61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ed9ca90035485efa93e1e7dce474780"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a6450987526732e77d4477b02e466b89e">opj_codestream_info_v2_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___j_p2.html#ga5ed9ca90035485efa93e1e7dce474780">jp2_get_cstr_info</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *p_jp2)</td></tr>
<tr class="memdesc:ga5ed9ca90035485efa93e1e7dce474780"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the codestream info from a JPEG2000 codec. <a href="#ga5ed9ca90035485efa93e1e7dce474780">More...</a><br /></td></tr>
<tr class="separator:ga5ed9ca90035485efa93e1e7dce474780"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga195430af9298b6633ff7a2aa754e2d31"><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="group___j_p2.html#ga195430af9298b6633ff7a2aa754e2d31">jp2_get_cstr_index</a> (<a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">opj_jp2_t</a> *p_jp2)</td></tr>
<tr class="memdesc:ga195430af9298b6633ff7a2aa754e2d31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the codestream index from a JPEG2000 codec. <a href="#ga195430af9298b6633ff7a2aa754e2d31">More...</a><br /></td></tr>
<tr class="separator:ga195430af9298b6633ff7a2aa754e2d31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga9424b8c9fe6b1ef09c2d42123794449d"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#ga9ec7891fb6f874ab371d664140a1857d">opj_jp2_write_bpcc()</a>.</p>
</div>
</div>
<a class="anchor" id="ga059a5377614bba1818531509138607cf"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#ga3bd3864189e71d3bebfbc5e63941439a">opj_jp2_write_cdef()</a>.</p>
</div>
</div>
<a class="anchor" id="ga73c7654a5dc11751341ee2e68bfaa54e"></a>
<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 class="anchor" id="gade7b1844616a0f75f5ff4cf5f9494985"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#ga38b0cc8512611a49a51b7db383f86af7">opj_jp2_write_colr()</a>.</p>
</div>
</div>
<a class="anchor" id="gab30495ae72fb834fb0020e746b00f239"></a>
<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 class="anchor" id="gaaae0ae3fa278598712f2f7aad0130651"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#gad6f065d9f31f70d57bc3203c2122a9b5">opj_jp2_write_ftyp()</a>.</p>
</div>
</div>
<a class="anchor" id="ga161d0598acfab17dbd5c25bff4000686"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#ga13296666d7710af2bfb5a5d55480f90b">opj_jp2_read_jp2h()</a>, and <a class="el" href="group___j_p2.html#ga2414d887016326f522cebae1cf94a54a">opj_jp2_write_ihdr()</a>.</p>
</div>
</div>
<a class="anchor" id="ga64144dd2c127abb43a0366baee7f1e7e"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#gac0946ffbe7ec1a2dcdabe9dd63485ce9">opj_jp2_write_jp()</a>.</p>
</div>
</div>
<a class="anchor" id="ga59612ec7ebcd7881e86e504d288d5ad0"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#ga94441c4e15ce0c7adfc3610152e630f2">opj_jp2_setup_encoder()</a>.</p>
</div>
</div>
<a class="anchor" id="ga1889badc432581a6ecbc32965611919f"></a>
<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>
<p>Referenced by <a class="el" href="jp2_8c.html#adcd6dc192302ff32ffbaa079c01a66d8">opj_jp2_read_header_procedure()</a>, and <a class="el" href="group___j_p2.html#ga2e03aa1e225c059d34fc34a11ffc48fc">opj_jp2_write_jp2c()</a>.</p>
</div>
</div>
<a class="anchor" id="ga7f29581c2ff234c50aee2053e565ac7f"></a>
<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>
<p>Referenced by <a class="el" href="group___j_p2.html#gacbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h()</a>.</p>
</div>
</div>
<a class="anchor" id="gacd6dcfb1e1bfdfe0f3ee5dd47a405c97"></a>
<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 class="anchor" id="ga08094fb579fe14ef4e9c348826c75d37"></a>
<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>
<a class="anchor" id="gaac2b97aeeb7ce9d09b974ccd74445210"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OPJ_BOX_SIZE&#160;&#160;&#160;1024</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="jp2_8c.html#adcd6dc192302ff32ffbaa079c01a66d8">opj_jp2_read_header_procedure()</a>.</p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga6426e82c7d636762ae35b39f0d47cff9"></a>
<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="group___j_p2.html#ga6426e82c7d636762ae35b39f0d47cff9">opj_jp2_box_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>JP2 Box. </p>
</div>
</div>
<a class="anchor" id="ga8ba7b52117ef94c8d09b62e832acc11d"></a>
<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="group___j_p2.html#ga8ba7b52117ef94c8d09b62e832acc11d">opj_jp2_cdef_info_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Channel description: channel index, type, association. </p>
</div>
</div>
<a class="anchor" id="gaadfcc70dfea4fce9ea1198902bb0347e"></a>
<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="group___j_p2.html#gaadfcc70dfea4fce9ea1198902bb0347e">opj_jp2_cdef_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Channel descriptions and number of descriptions. </p>
</div>
</div>
<a class="anchor" id="ga76f813737f3efed330e630f92cf20cee"></a>
<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="group___j_p2.html#ga76f813737f3efed330e630f92cf20cee">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 class="anchor" id="gace8303066c8e51948c3c714fe4621554"></a>
<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="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">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 class="anchor" id="ga60bb4f8ed9edf3cf8fa9e89ec82acd98"></a>
<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="group___j_p2.html#ga60bb4f8ed9edf3cf8fa9e89ec82acd98">opj_jp2_comps_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>JP2 component. </p>
</div>
</div>
<a class="anchor" id="ga6dddaee86f9af386faddb221f893ff0d"></a>
<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="group___j_p2.html#ga6dddaee86f9af386faddb221f893ff0d">opj_jp2_header_handler_t</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga76b56a66574ad86a63e6fc3ee6046cbf"></a>
<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="group___j_p2.html#ga76b56a66574ad86a63e6fc3ee6046cbf">opj_jp2_img_header_writer_handler_t</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaee7881538c2c909d6f88ddd07ba89619"></a>
<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="group___j_p2.html#gaee7881538c2c909d6f88ddd07ba89619">opj_jp2_pclr_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Palette data: table entries, palette columns. </p>
</div>
</div>
<a class="anchor" id="gad416d216ba57f4e7d1255f94ce52fef9"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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 class="anchor" id="ga365cc3a24f67d841247836d1a1b12da6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group___j_p2.html#ga365cc3a24f67d841247836d1a1b12da6">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 class="anchor" id="gga365cc3a24f67d841247836d1a1b12da6a9fb83979377aa7506f557188df391807"></a>JP2_IMG_STATE_NONE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga365cc3a24f67d841247836d1a1b12da6a762a0e16fd931d59e6472f6b80f453d4"></a>JP2_IMG_STATE_UNKNOWN&#160;</td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a class="anchor" id="ga7462590194ace4bae9a25d78ee2bda9e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group___j_p2.html#ga7462590194ace4bae9a25d78ee2bda9e">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 class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9ea6a09dadb50a6b7097cb30de4199ed3c1"></a>JP2_STATE_NONE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9ea324c09121187d3035fc5cd0cb2ab69de"></a>JP2_STATE_SIGNATURE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9eac331e7d837bf73e7dec2a1a1d805fa78"></a>JP2_STATE_FILE_TYPE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9ea8806dd057f44621f1f973d1992cf2831"></a>JP2_STATE_HEADER&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9ea03bb234c65fbef8ce630c9823c0ac39c"></a>JP2_STATE_CODESTREAM&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9eae8b7b9448ddfd73e27cb603048c0f23d"></a>JP2_STATE_END_CODESTREAM&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga7462590194ace4bae9a25d78ee2bda9ea91dc55a2a402026616bfff54f9a8c116"></a>JP2_STATE_UNKNOWN&#160;</td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga218687e233b685fbb1986b81849aeb61"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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 elments are dump. </td></tr>
<tr><td class="paramname">out_stream</td><td>output stream where dump the elements. </td></tr>
</table>
</dd>
</dl>
<p>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga195430af9298b6633ff7a2aa754e2d31"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga5ed9ca90035485efa93e1e7dce474780"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a6450987526732e77d4477b02e466b89e">opj_codestream_info_v2_t</a>* jp2_get_cstr_info </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="gab2a081552f8c61d75c1c925d702057bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void opj_jp2_apply_cdef </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">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="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a> *&#160;</td>
<td class="paramname"><em>color</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *&#160;</td>
<td class="paramname"><em>manager</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__image__comp.html#a8d471ac4bee95236e0b622638a8e07cf">opj_image_comp::alpha</a>, <a class="el" href="structopj__jp2__cdef__info.html#ac509dcc054a8fbfaf64a7672009de06b">opj_jp2_cdef_info::asoc</a>, <a class="el" href="structopj__jp2__cdef__info.html#a986c92a70181818edebbda8206925b02">opj_jp2_cdef_info::cn</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="event_8h.html#abefbcb0bea7916739b3adccb2d4e9417">EVT_WARNING</a>, <a class="el" href="structopj__jp2__cdef.html#a29f47cabdd5e963425d8f714aae315bb">opj_jp2_cdef::info</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__cdef.html#a40d46b67c1dd74efeaf8dd224da8496c">opj_jp2_cdef::n</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="structopj__jp2__cdef__info.html#a7cc6773fa31c8f7da3ccf832331d55b7">opj_jp2_cdef_info::typ</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gaab973979e00628ffd8b3d99a402d85aa">opj_jp2_decode()</a>, and <a class="el" href="group___j_p2.html#ga69b73f68c750cf70dc3b9836ed6ccfdc">opj_jp2_get_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="gae31e2b30eb366c6be2762a6c62dedbed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void opj_jp2_apply_pclr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a5c557180c59d54a2f1d29e8639687aa4">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="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a> *&#160;</td>
<td class="paramname"><em>color</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Apply collected palette data. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">color</td><td>Collector for profile, cdef and pclr data </td></tr>
<tr><td class="paramname">image</td><td></td></tr>
</table>
</dd>
</dl>
<p>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__pclr.html#adca91f787ca88452162789756f05be01">opj_jp2_pclr::cmap</a>, <a class="el" href="structopj__jp2__cmap__comp.html#a2efcc8ed4eab091e5b1b3d9e34206d57">opj_jp2_cmap_comp::cmp</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__image__comp.html#ad676bf364b0c8fc889e97cc684ce95d0">opj_image_comp::data</a>, <a class="el" href="structopj__jp2__pclr.html#a5086af17a60ce66dec67fd0fb21cb572">opj_jp2_pclr::entries</a>, <a class="el" href="structopj__image__comp.html#a11ecb361a0c49b482c90573a868cc8dc">opj_image_comp::h</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max()</a>, <a class="el" href="structopj__jp2__pclr.html#a93f41a07f4176b4f3a59ec11ce410f07">opj_jp2_pclr::nr_channels</a>, <a class="el" href="structopj__jp2__pclr.html#ae1be1d82e72b48d281b96905df997291">opj_jp2_pclr::nr_entries</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="group___j_p2.html#gacbac56aa8be2ab74d865f23a9f206bb6">opj_jp2_free_pclr()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="structopj__jp2__cmap__comp.html#a5be92506889741ecd457aeb5e039bb5a">opj_jp2_cmap_comp::pcol</a>, <a class="el" href="structopj__image__comp.html#ab7210ddbf12e6d9998d24034a579cea1">opj_image_comp::prec</a>, <a class="el" href="structopj__image__comp.html#a2d2337d15fd837252fe250386bac7fb9">opj_image_comp::sgnd</a>, and <a class="el" href="structopj__image__comp.html#a59225121158d5bc911838e5b05779cdb">opj_image_comp::w</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gaab973979e00628ffd8b3d99a402d85aa">opj_jp2_decode()</a>, and <a class="el" href="group___j_p2.html#ga69b73f68c750cf70dc3b9836ed6ccfdc">opj_jp2_get_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="ga7d5389b7ba1706b96ec2adeb431a4735"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>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="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___j2_k.html#gad3c2b25f4d5a5f6fd4b442bc7210f6da">opj_j2k_create_compress()</a>, <a class="el" href="j2k_8c.html#ad76bb79d4d63030222ebf3dbe3fe86cf">opj_j2k_create_decompress()</a>, <a class="el" href="group___j_p2.html#ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7">opj_jp2_destroy()</a>, and <a class="el" href="group___v_a_l.html#ga5058f9c3fdf2ff44f72c315e571cd153">opj_procedure_list_create()</a>.</p>
<p>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 class="anchor" id="gaab973979e00628ffd8b3d99a402d85aa"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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="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="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">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="group___j_p2.html#gab2a081552f8c61d75c1c925d702057bb">opj_jp2_apply_cdef()</a>, <a class="el" href="group___j_p2.html#gae31e2b30eb366c6be2762a6c62dedbed">opj_jp2_apply_pclr()</a>, <a class="el" href="jp2_8c.html#a7230dd12ccadea216f8dd6b4c670011f">opj_jp2_check_color()</a>, <a class="el" href="group___j_p2.html#gacbac56aa8be2ab74d865f23a9f206bb6">opj_jp2_free_pclr()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="gaebe5923df2f64f3107658fefb4cb03e0"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga1f7f8e8462c3bf6fdf6c3d4d75b8b3b7"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>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="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="j2k_8c.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, and <a class="el" href="group___v_a_l.html#gae39a4783cf450cc32e8d7bea251a6f90">opj_procedure_list_destroy()</a>.</p>
<p>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="group___j_p2.html#ga7d5389b7ba1706b96ec2adeb431a4735">opj_jp2_create()</a>.</p>
</div>
</div>
<a class="anchor" id="ga87e42b697673c52a0b2bb2a241e56b06"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a class="anchor" id="gaceeec558d7ed87b1eec33edddf4a0205"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga305f0351317cfc1ff0e0372fe0c64cdc"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="gacbac56aa8be2ab74d865f23a9f206bb6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void opj_jp2_free_pclr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gace8303066c8e51948c3c714fe4621554">opj_jp2_color_t</a> *&#160;</td>
<td class="paramname"><em>color</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>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__pclr.html#adca91f787ca88452162789756f05be01">opj_jp2_pclr::cmap</a>, <a class="el" href="structopj__jp2__pclr.html#a5086af17a60ce66dec67fd0fb21cb572">opj_jp2_pclr::entries</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gae31e2b30eb366c6be2762a6c62dedbed">opj_jp2_apply_pclr()</a>, <a class="el" href="group___j_p2.html#gaab973979e00628ffd8b3d99a402d85aa">opj_jp2_decode()</a>, and <a class="el" href="group___j_p2.html#ga69b73f68c750cf70dc3b9836ed6ccfdc">opj_jp2_get_tile()</a>.</p>
</div>
</div>
<a class="anchor" id="ga69b73f68c750cf70dc3b9836ed6ccfdc"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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="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="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">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="group___j_p2.html#gab2a081552f8c61d75c1c925d702057bb">opj_jp2_apply_cdef()</a>, <a class="el" href="group___j_p2.html#gae31e2b30eb366c6be2762a6c62dedbed">opj_jp2_apply_pclr()</a>, <a class="el" href="jp2_8c.html#a7230dd12ccadea216f8dd6b4c670011f">opj_jp2_check_color()</a>, <a class="el" href="group___j_p2.html#gacbac56aa8be2ab74d865f23a9f206bb6">opj_jp2_free_pclr()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga289d97e88f9462c72b5dcd3e0b9d8189"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_bpcc </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_bpc_header_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_bpc_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a Bit per Component box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_bpc_header_data</td><td>pointer to actual data (already read from file) </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_bpc_header_size</td><td>the size of the bpc header </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 bpc header is valid, false else. </dd></dl>
<p>References <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#a8e5e1cc05ff8c62af2de5a449e7f8360">opj_jp2::comps</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#a85f8f2c8814bd6f296476a19d382bb74">opj_jp2::numcomps</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
</div>
</div>
<a class="anchor" id="gaa66cf70fc600399b53cfa6a97cb5e176"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_cdef </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_cdef_header_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_cdef_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__jp2__cdef__info.html#ac509dcc054a8fbfaf64a7672009de06b">opj_jp2_cdef_info::asoc</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="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2__cdef.html#a29f47cabdd5e963425d8f714aae315bb">opj_jp2_cdef::info</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__cdef.html#a40d46b67c1dd74efeaf8dd224da8496c">opj_jp2_cdef::n</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="structopj__jp2__cdef__info.html#a7cc6773fa31c8f7da3ccf832331d55b7">opj_jp2_cdef_info::typ</a>.</p>
</div>
</div>
<a class="anchor" id="ga364cf233c1485481bd28ad6f59b3eb22"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_cmap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_cmap_header_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_cmap_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Collect component mapping data. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 handle </td></tr>
<tr><td class="paramname">p_cmap_header_data</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_cmap_header_size</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 true if successful, returns false otherwise </dd></dl>
<p>References <a class="el" href="structopj__jp2__pclr.html#adca91f787ca88452162789756f05be01">opj_jp2_pclr::cmap</a>, <a class="el" href="structopj__jp2__cmap__comp.html#a2efcc8ed4eab091e5b1b3d9e34206d57">opj_jp2_cmap_comp::cmp</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="structopj__jp2__cmap__comp.html#a80e39cff1338addeb6613a660448274e">opj_jp2_cmap_comp::mtyp</a>, <a class="el" href="structopj__jp2__pclr.html#a93f41a07f4176b4f3a59ec11ce410f07">opj_jp2_pclr::nr_channels</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="structopj__jp2__cmap__comp.html#a5be92506889741ecd457aeb5e039bb5a">opj_jp2_cmap_comp::pcol</a>.</p>
</div>
</div>
<a class="anchor" id="gac1702a7ea040c681c8d7c9e33e6fd5bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_colr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_colr_header_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_colr_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the Color Specification box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_colr_header_data</td><td>pointer to actual data (already read from file) </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_colr_header_size</td><td>the size of the color header </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 bpc header is valid, false else. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#a586cf1790b0c4858f9dc5ff1ffa5b61b">opj_jp2::approx</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</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#a220921068c5e3c97c8f2ad4db0c60726">EVT_INFO</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__jp2__color.html#adf75f5a13127fd3295e3fa109968a232">opj_jp2_color::icc_profile_len</a>, <a class="el" href="structopj__jp2__color.html#a09689a1bd0b03a26bf88b9f183568fc2">opj_jp2_color::jp2_has_colr</a>, <a class="el" href="structopj__jp2.html#ac5c8d612480d6624fd427db39a5955dd">opj_jp2::meth</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="structopj__jp2.html#a339671403a394735a3ed05293ee2a50b">opj_jp2::precedence</a>.</p>
</div>
</div>
<a class="anchor" id="ga814b516a34d9a0da8bae3850e945c50d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_ftyp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_header_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_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a a FTYP box - File type box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_header_data</td><td>the data contained in the FTYP box. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_header_size</td><td>the size of the data contained in the FTYP box. </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 FTYP box is valid. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#a208170d32cc20d0fff660186eb4861ee">opj_jp2::brand</a>, <a class="el" href="structopj__jp2.html#aac64b2494bc12c8e3dc8ca363523f675">opj_jp2::cl</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2.html#aafa30d9a77179bf5d958a09a96e75262">opj_jp2::jp2_state</a>, <a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9eac331e7d837bf73e7dec2a1a1d805fa78">JP2_STATE_FILE_TYPE</a>, <a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea324c09121187d3035fc5cd0cb2ab69de">JP2_STATE_SIGNATURE</a>, <a class="el" href="structopj__jp2.html#a8abe8bd5f7fcd93be189dfcbf8812971">opj_jp2::minversion</a>, <a class="el" href="structopj__jp2.html#ab70c120d80c4d8924700cdf01e755471">opj_jp2::numcl</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
</div>
</div>
<a class="anchor" id="ga6bfb434e0d150ae769c7e8eb81117723"></a>
<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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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#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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga0e0fac85bb2576b0fe2bff8a251a5814"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_ihdr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_image_header_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_image_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a IHDR box - Image Header box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_image_header_data</td><td>pointer to actual data (already read from file) </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_image_header_size</td><td>the size of the image header </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 image header is valid, false else. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#adb758190fa0884352081f9117f81dd7c">opj_jp2::bpc</a>, <a class="el" href="structopj__jp2.html#a2ad7a5f9ed0c0b24e7c78fdcb2f1de74">opj_jp2::C</a>, <a class="el" href="structopj__jp2.html#a8e5e1cc05ff8c62af2de5a449e7f8360">opj_jp2::comps</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="event_8h.html#a220921068c5e3c97c8f2ad4db0c60726">EVT_INFO</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__jp2.html#aa23fdbe2afadda6daac7757c212466c7">opj_jp2::IPR</a>, <a class="el" href="structopj__jp2.html#a85f8f2c8814bd6f296476a19d382bb74">opj_jp2::numcomps</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__jp2.html#ada6c04ccb24bfd90726e9cc334006aac">opj_jp2::UnkC</a>, and <a class="el" href="structopj__jp2.html#ae13f89811307d08f708b91ca169d6eb5">opj_jp2::w</a>.</p>
</div>
</div>
<a class="anchor" id="gac77bacf6d4801a8842126ef3fbb23bb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_jp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_header_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_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a jpeg2000 file signature box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_header_data</td><td>the data contained in the signature box. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_header_size</td><td>the size of the data contained in the signature box. </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 file signature box is valid. </dd></dl>
<p>References <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2.html#aafa30d9a77179bf5d958a09a96e75262">opj_jp2::jp2_state</a>, <a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea6a09dadb50a6b7097cb30de4199ed3c1">JP2_STATE_NONE</a>, <a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea324c09121187d3035fc5cd0cb2ab69de">JP2_STATE_SIGNATURE</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
</div>
</div>
<a class="anchor" id="ga13296666d7710af2bfb5a5d55480f90b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_jp2h </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_header_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_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the Jpeg2000 file Header box - JP2 Header box (warning, this is a super box). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_header_data</td><td>the data contained in the file header box. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_header_size</td><td>the size of the data contained in the file header box. </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 JP2 Header box was successfully recognized. </dd></dl>
<p>References <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2__header__handler.html#a10f6796223fd6fe473874706436aecd8">opj_jp2_header_handler::handler</a>, <a class="el" href="group___j_p2.html#ga161d0598acfab17dbd5c25bff4000686">JP2_IHDR</a>, <a class="el" href="structopj__jp2.html#a31b79800074b58a6f92ead64ae0a1e5e">opj_jp2::jp2_img_state</a>, <a class="el" href="group___j_p2.html#gga365cc3a24f67d841247836d1a1b12da6a9fb83979377aa7506f557188df391807">JP2_IMG_STATE_NONE</a>, <a class="el" href="group___j_p2.html#gga365cc3a24f67d841247836d1a1b12da6a762a0e16fd931d59e6472f6b80f453d4">JP2_IMG_STATE_UNKNOWN</a>, <a class="el" href="structopj__jp2.html#aafa30d9a77179bf5d958a09a96e75262">opj_jp2::jp2_state</a>, <a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9eac331e7d837bf73e7dec2a1a1d805fa78">JP2_STATE_FILE_TYPE</a>, <a class="el" href="group___j_p2.html#gga7462590194ace4bae9a25d78ee2bda9ea8806dd057f44621f1f973d1992cf2831">JP2_STATE_HEADER</a>, <a class="el" href="structopj__jp2__box.html#a1e05f17424b492e37d2d8ecbd8669f43">opj_jp2_box::length</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="jp2_8c.html#ad275eccf60827f0e1c97af5d63b30f80">opj_jp2_img_find_handler()</a>, <a class="el" href="jp2_8c.html#a7c505f9a7fb2d3edd11ac56d5d4de22f">opj_jp2_read_boxhdr_char()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="structopj__jp2__box.html#a86ff1e8de1f326fc2cdf029c3a3764ee">opj_jp2_box::type</a>.</p>
</div>
</div>
<a class="anchor" id="gaf6030e3df69fb240e22a1a32c715d4e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_read_pclr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_pclr_header_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_pclr_header_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Collect palette data. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>JP2 handle </td></tr>
<tr><td class="paramname">p_pclr_header_data</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_pclr_header_size</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_manager</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if successful, returns false otherwise </dd></dl>
<p>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__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__pclr.html#a5086af17a60ce66dec67fd0fb21cb572">opj_jp2_pclr::entries</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2__color.html#abc3a39c8ede26c3d2e4950cf7c077f31">opj_jp2_color::jp2_pclr</a>, <a class="el" href="structopj__jp2__pclr.html#a93f41a07f4176b4f3a59ec11ce410f07">opj_jp2_pclr::nr_channels</a>, <a class="el" href="structopj__jp2__pclr.html#ae1be1d82e72b48d281b96905df997291">opj_jp2_pclr::nr_entries</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___c_i_o.html#gaa78aa37fb079f5012da1205cd5929aa7">opj_read_bytes</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
</div>
</div>
<a class="anchor" id="ga39499b02d05699c0bbd69412b24c6bd6"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga3f8042c954d1cb5a29080555fa241e10"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga271ca4cacb9ec1d01623e1dc0762af22"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga24d94a6f5cf51200b3366a77e25e547d"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a6b6650daf87a8d475f9a33f1744d8356">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>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="group___j2_k.html#gad278fa72d1461084c57c87a4276850cf">opj_j2k_setup_decoder()</a>.</p>
<p>Referenced by <a class="el" href="openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892">opj_create_decompress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga94441c4e15ce0c7adfc3610152e630f2"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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#a5c303dd5ddb702b9e6f82b8fbf69637d">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#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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__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="group___j_p2.html#ga59612ec7ebcd7881e86e504d288d5ad0">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="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___j2_k.html#ga4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">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="structopj__jp2.html#ada6c04ccb24bfd90726e9cc334006aac">opj_jp2::UnkC</a>, <a class="el" href="structopj__jp2.html#ae13f89811307d08f708b91ca169d6eb5">opj_jp2::w</a>, <a class="el" href="structopj__image.html#a0d01041cfbba0d40ab38836a35544e09">opj_image::x0</a>, <a class="el" href="structopj__image.html#a7a27deb6bf174dd57ee473d1d514f8ef">opj_image::x1</a>, <a class="el" href="structopj__image.html#a9813bacf1939346629c07262c61c8e74">opj_image::y0</a>, and <a class="el" href="structopj__image.html#a80fd916819080f959a601b0089c4c69a">opj_image::y1</a>.</p>
<p>Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga66dbfabf7913693819b19d490be0da13"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_skip_jp2c </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="structopj__jp2.html#a76092894913b42c5f6a3d25c22710040">opj_jp2::j2k_codestream_offset</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#ga8a8ab9c9e1ccdc20a6dd2a2925a3f8c0">opj_stream_skip()</a>, <a class="el" href="group___c_i_o.html#ga5c59a39f3664f9deb654c269153c600a">opj_stream_tell()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p>Referenced by <a class="el" href="jp2_8c.html#acde1c55531d9a33bf7512f70ebeaeb0e">opj_jp2_setup_header_writing()</a>.</p>
</div>
</div>
<a class="anchor" id="ga241be56a14ecbf212a1cef44bc148f7b"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a5c557180c59d54a2f1d29e8639687aa4">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
<a class="anchor" id="ga9ec7891fb6f874ab371d664140a1857d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * opj_jp2_write_bpcc </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>p_nb_bytes_written</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the Bit per Component box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_nb_bytes_written</td><td>pointer to store the nb of bytes written by the function.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the data being copied. </dd></dl>
<p>References <a class="el" href="structopj__jp2__comps.html#a35983fa253b87bb22ba5b3d44aea9223">opj_jp2_comps::bpcc</a>, <a class="el" href="structopj__jp2.html#a8e5e1cc05ff8c62af2de5a449e7f8360">opj_jp2::comps</a>, <a class="el" href="group___j_p2.html#ga9424b8c9fe6b1ef09c2d42123794449d">JP2_BPCC</a>, <a class="el" href="structopj__jp2.html#a85f8f2c8814bd6f296476a19d382bb74">opj_jp2::numcomps</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, and <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gacbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h()</a>.</p>
</div>
</div>
<a class="anchor" id="ga3bd3864189e71d3bebfbc5e63941439a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * opj_jp2_write_cdef </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>p_nb_bytes_written</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the Channel Definition box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_nb_bytes_written</td><td>pointer to store the nb of bytes written by the function.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the data being copied. </dd></dl>
<p>References <a class="el" href="structopj__jp2__cdef__info.html#ac509dcc054a8fbfaf64a7672009de06b">opj_jp2_cdef_info::asoc</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__jp2__cdef.html#a29f47cabdd5e963425d8f714aae315bb">opj_jp2_cdef::info</a>, <a class="el" href="group___j_p2.html#ga059a5377614bba1818531509138607cf">JP2_CDEF</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="structopj__jp2__cdef.html#a40d46b67c1dd74efeaf8dd224da8496c">opj_jp2_cdef::n</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>, and <a class="el" href="structopj__jp2__cdef__info.html#a7cc6773fa31c8f7da3ccf832331d55b7">opj_jp2_cdef_info::typ</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gacbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h()</a>.</p>
</div>
</div>
<a class="anchor" id="ga38b0cc8512611a49a51b7db383f86af7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * opj_jp2_write_colr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>p_nb_bytes_written</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the Colour Specification box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_nb_bytes_written</td><td>pointer to store the nb of bytes written by the function.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the data being copied. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#a586cf1790b0c4858f9dc5ff1ffa5b61b">opj_jp2::approx</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="structopj__jp2.html#af5a9288d5d542391f82aa7ef2b7030a1">opj_jp2::enumcs</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="group___j_p2.html#gade7b1844616a0f75f5ff4cf5f9494985">JP2_COLR</a>, <a class="el" href="structopj__jp2.html#ac5c8d612480d6624fd427db39a5955dd">opj_jp2::meth</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>, and <a class="el" href="structopj__jp2.html#a339671403a394735a3ed05293ee2a50b">opj_jp2::precedence</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gacbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h()</a>.</p>
</div>
</div>
<a class="anchor" id="gad6f065d9f31f70d57bc3203c2122a9b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_write_ftyp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes a FTYP box - File type box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cio</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </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 writing was successful. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#a208170d32cc20d0fff660186eb4861ee">opj_jp2::brand</a>, <a class="el" href="structopj__jp2.html#aac64b2494bc12c8e3dc8ca363523f675">opj_jp2::cl</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="group___j_p2.html#gaaae0ae3fa278598712f2f7aad0130651">JP2_FTYP</a>, <a class="el" href="structopj__jp2.html#a8abe8bd5f7fcd93be189dfcbf8812971">opj_jp2::minversion</a>, <a class="el" href="structopj__jp2.html#ab70c120d80c4d8924700cdf01e755471">opj_jp2::numcl</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="group___c_i_o.html#ga8f590493a14f4e33a1e2bbcf8eaa889d">opj_stream_write_data()</a>, and <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>.</p>
<p>Referenced by <a class="el" href="jp2_8c.html#acde1c55531d9a33bf7512f70ebeaeb0e">opj_jp2_setup_header_writing()</a>.</p>
</div>
</div>
<a class="anchor" id="ga2414d887016326f522cebae1cf94a54a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * opj_jp2_write_ihdr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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>p_nb_bytes_written</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the Image Header box - Image Header box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">jp2</td><td>jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_nb_bytes_written</td><td>pointer to store the nb of bytes written by the function.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the data being copied. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#adb758190fa0884352081f9117f81dd7c">opj_jp2::bpc</a>, <a class="el" href="structopj__jp2.html#a2ad7a5f9ed0c0b24e7c78fdcb2f1de74">opj_jp2::C</a>, <a class="el" href="structopj__jp2.html#a70f6a298859522dbf3c830f0a1eda18d">opj_jp2::h</a>, <a class="el" href="structopj__jp2.html#aa23fdbe2afadda6daac7757c212466c7">opj_jp2::IPR</a>, <a class="el" href="group___j_p2.html#ga161d0598acfab17dbd5c25bff4000686">JP2_IHDR</a>, <a class="el" href="structopj__jp2.html#a85f8f2c8814bd6f296476a19d382bb74">opj_jp2::numcomps</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>, <a class="el" href="structopj__jp2.html#ada6c04ccb24bfd90726e9cc334006aac">opj_jp2::UnkC</a>, and <a class="el" href="structopj__jp2.html#ae13f89811307d08f708b91ca169d6eb5">opj_jp2::w</a>.</p>
<p>Referenced by <a class="el" href="group___j_p2.html#gacbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h()</a>.</p>
</div>
</div>
<a class="anchor" id="gac0946ffbe7ec1a2dcdabe9dd63485ce9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_write_jp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes a jpeg2000 file signature box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cio</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </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 writing was successful. </dd></dl>
<p>References <a class="el" href="group___j_p2.html#ga64144dd2c127abb43a0366baee7f1e7e">JP2_JP</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#ga8f590493a14f4e33a1e2bbcf8eaa889d">opj_stream_write_data()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>.</p>
<p>Referenced by <a class="el" href="jp2_8c.html#acde1c55531d9a33bf7512f70ebeaeb0e">opj_jp2_setup_header_writing()</a>.</p>
</div>
</div>
<a class="anchor" id="ga2e03aa1e225c059d34fc34a11ffc48fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_write_jp2c </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the Jpeg2000 codestream Header box - JP2C Header box. </p>
<p>This function must be called AFTER the coding has been done.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cio</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">jp2</td><td>the jpeg2000 file codec. </td></tr>
<tr><td class="paramname">p_manager</td><td>user event manager.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if writing was successful. </dd></dl>
<p>References <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2.html#a76092894913b42c5f6a3d25c22710040">opj_jp2::j2k_codestream_offset</a>, <a class="el" href="group___j_p2.html#ga1889badc432581a6ecbc32965611919f">JP2_JP2C</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___c_i_o.html#gae456419611db729983d8ca337e3f3293">opj_stream_has_seek()</a>, <a class="el" href="group___c_i_o.html#ga9061d0624a17af80b74e1a114b0c7f06">opj_stream_seek()</a>, <a class="el" href="group___c_i_o.html#ga5c59a39f3664f9deb654c269153c600a">opj_stream_tell()</a>, <a class="el" href="group___c_i_o.html#ga8f590493a14f4e33a1e2bbcf8eaa889d">opj_stream_write_data()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>.</p>
<p>Referenced by <a class="el" href="jp2_8c.html#a45d924fc300f75d460c35170a18e1ae1">opj_jp2_setup_end_header_writing()</a>.</p>
</div>
</div>
<a class="anchor" id="gacbdab130baca04a1d74b841ce978e395"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_jp2_write_jp2h </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the Jpeg2000 file Header box - JP2 Header box (warning, this is a super box). </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 to write data to. </td></tr>
<tr><td class="paramname">p_manager</td><td>user event manager.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if writing was successful. </dd></dl>
<p>References <a class="el" href="structopj__jp2.html#adb758190fa0884352081f9117f81dd7c">opj_jp2::bpc</a>, <a class="el" href="structopj__jp2.html#a93425cf36af61028d51c8e1d8ccb926c">opj_jp2::color</a>, <a class="el" href="event_8h.html#a7323671f4df0a721ae02d610b1269ab9">EVT_ERROR</a>, <a class="el" href="structopj__jp2__img__header__writer__handler.html#a97e7dc257b27421c49fe2160dbac3c74">opj_jp2_img_header_writer_handler::handler</a>, <a class="el" href="structopj__jp2__color.html#a0457dbecaaf7af232fe78218bce45286">opj_jp2_color::jp2_cdef</a>, <a class="el" href="group___j_p2.html#ga7f29581c2ff234c50aee2053e565ac7f">JP2_JP2H</a>, <a class="el" href="structopj__jp2__img__header__writer__handler.html#a28a7b2543673b3f762025a3ee3b9c1ac">opj_jp2_img_header_writer_handler::m_data</a>, <a class="el" href="structopj__jp2__img__header__writer__handler.html#a6602a333477eac73b87c7dba9d8661a3">opj_jp2_img_header_writer_handler::m_size</a>, <a class="el" href="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="group___j_p2.html#ga9ec7891fb6f874ab371d664140a1857d">opj_jp2_write_bpcc()</a>, <a class="el" href="group___j_p2.html#ga3bd3864189e71d3bebfbc5e63941439a">opj_jp2_write_cdef()</a>, <a class="el" href="group___j_p2.html#ga38b0cc8512611a49a51b7db383f86af7">opj_jp2_write_colr()</a>, <a class="el" href="group___j_p2.html#ga2414d887016326f522cebae1cf94a54a">opj_jp2_write_ihdr()</a>, <a class="el" href="group___c_i_o.html#ga8f590493a14f4e33a1e2bbcf8eaa889d">opj_stream_write_data()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="group___c_i_o.html#ga4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a>.</p>
<p>Referenced by <a class="el" href="jp2_8c.html#acde1c55531d9a33bf7512f70ebeaeb0e">opj_jp2_setup_header_writing()</a>.</p>
</div>
</div>
<a class="anchor" id="ga96e24b7a59738febb2f4e89750212021"></a>
<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="group___j_p2.html#gad416d216ba57f4e7d1255f94ce52fef9">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="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">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>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>Referenced by <a class="el" href="openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06">opj_create_compress()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>