260 lines
16 KiB
HTML
260 lines
16 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: jp2k_encoder.h File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.2.0</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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_6ec2d9a1b37a1187cc46aeaf3b19e1b3.html">openjpip</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">jp2k_encoder.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="byte__manager_8h_source.html">byte_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="msgqueue__manager_8h_source.html">msgqueue_manager.h</a>"</code><br />
|
|
</div>
|
|
<p><a href="jp2k__encoder_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ae4142d75ff68c5e6e239baa617aac74d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="jp2k__encoder_8h.html#ae4142d75ff68c5e6e239baa617aac74d">recons_j2k</a> (<a class="el" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a> *msgqueue, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *jpipstream, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> csn, int fw, int fh, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *j2klen)</td></tr>
|
|
<tr class="memdesc:ae4142d75ff68c5e6e239baa617aac74d"><td class="mdescLeft"> </td><td class="mdescRight">reconstruct j2k codestream from message queue <a href="#ae4142d75ff68c5e6e239baa617aac74d">More...</a><br /></td></tr>
|
|
<tr class="separator:ae4142d75ff68c5e6e239baa617aac74d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8689276a4011c848be0ac10496bf3809"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="jp2k__encoder_8h.html#a8689276a4011c848be0ac10496bf3809">recons_jp2</a> (<a class="el" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a> *msgqueue, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *jpipstream, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> csn, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *jp2len)</td></tr>
|
|
<tr class="memdesc:a8689276a4011c848be0ac10496bf3809"><td class="mdescLeft"> </td><td class="mdescRight">reconstruct jp2 file codestream from message queue <a href="#a8689276a4011c848be0ac10496bf3809">More...</a><br /></td></tr>
|
|
<tr class="separator:a8689276a4011c848be0ac10496bf3809"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aae208fb0cb201969e96cda2e7df3c7cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="jp2k__encoder_8h.html#aae208fb0cb201969e96cda2e7df3c7cc">recons_j2kmainhead</a> (<a class="el" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a> *msgqueue, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *jpipstream, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> csn, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *j2klen)</td></tr>
|
|
<tr class="memdesc:aae208fb0cb201969e96cda2e7df3c7cc"><td class="mdescLeft"> </td><td class="mdescRight">reconstruct j2k codestream of mainheader from message queue <a href="#aae208fb0cb201969e96cda2e7df3c7cc">More...</a><br /></td></tr>
|
|
<tr class="separator:aae208fb0cb201969e96cda2e7df3c7cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="ae4142d75ff68c5e6e239baa617aac74d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a>* recons_j2k </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a> * </td>
|
|
<td class="paramname"><em>msgqueue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td>
|
|
<td class="paramname"><em>jpipstream</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> </td>
|
|
<td class="paramname"><em>csn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fw</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fh</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> * </td>
|
|
<td class="paramname"><em>j2klen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>reconstruct j2k codestream from message queue </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">msgqueue</td><td>message queue pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">jpipstream</td><td>original jpt- jpp- stream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">csn</td><td>codestream number </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fw</td><td>reconstructing image frame width </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fh</td><td>reconstructing image frame height </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">j2klen</td><td>pointer to the j2k codestream length </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>generated reconstructed j2k codestream </dd></dl>
|
|
|
|
<p>References <a class="el" href="jp2k__encoder_8c.html#a550ca6a746bd47124122bc2790d914d0">recons_codestream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="openjpip_8h.html#ac5f5f8d1b581e02b6f1afb417a7dbef8">decode_jpip()</a>, and <a class="el" href="jpipstream__manager_8h.html#a6a3ef3a0ef8ec42a1f90dd6f2776ec37">jpipstream_to_pnm()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aae208fb0cb201969e96cda2e7df3c7cc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a>* recons_j2kmainhead </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a> * </td>
|
|
<td class="paramname"><em>msgqueue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td>
|
|
<td class="paramname"><em>jpipstream</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> </td>
|
|
<td class="paramname"><em>csn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> * </td>
|
|
<td class="paramname"><em>j2klen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>reconstruct j2k codestream of mainheader from message queue </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">msgqueue</td><td>message queue pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">jpipstream</td><td>original jpt- jpp- stream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">csn</td><td>codestream number </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">j2klen</td><td>pointer to the j2k codestream length </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>generated reconstructed j2k codestream </dd></dl>
|
|
|
|
<p>References <a class="el" href="jp2k__encoder_8c.html#a59c3e28892eb7f1b2bfec422ef933aba">add_mainhead_msgstream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="jpipstream__manager_8h.html#a38dc84677da3c6c449d00254f62624e7">get_SIZ_from_jpipstream()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8689276a4011c848be0ac10496bf3809"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a>* recons_jp2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a> * </td>
|
|
<td class="paramname"><em>msgqueue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td>
|
|
<td class="paramname"><em>jpipstream</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> </td>
|
|
<td class="paramname"><em>csn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> * </td>
|
|
<td class="paramname"><em>jp2len</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>reconstruct jp2 file codestream from message queue </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">msgqueue</td><td>message queue pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">jpipstream</td><td>original jpt- jpp- stream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">csn</td><td>codestream number </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">jp2len</td><td>pointer to the jp2 codestream length </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>generated reconstructed jp2 codestream </dd></dl>
|
|
|
|
<p>References <a class="el" href="jp2k__encoder_8c.html#acb31f818ceb9ea74dccfe83f60d6efe9">add_emptyboxstream()</a>, <a class="el" href="jp2k__encoder_8c.html#a7cbcd4b8d0f130426d34bdc3571463fc">add_msgstream()</a>, <a class="el" href="structmsgqueue__param.html#a7e14c8f89c279bc703cc76070ef2316e">msgqueue_param::first</a>, <a class="el" href="msgqueue__manager_8h.html#a939962e031be51df7f09de3cf05f83e4">METADATA_MSG</a>, <a class="el" href="structmessage__param.html#af349d721c012c38dc1626ee162c767b2">message_param::next</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="structplaceholder__param.html#ab93cef245c48fc559277a34ce7693787">placeholder_param::OrigBH</a>, <a class="el" href="structplaceholder__param.html#a8986cbfa09947528724c1f152270cb9a">placeholder_param::OrigBHlen</a>, <a class="el" href="structmessage__param.html#a690bbcfbf5400ae15b68a17495ca5640">message_param::phld</a>, <a class="el" href="jp2k__encoder_8c.html#a550ca6a746bd47124122bc2790d914d0">recons_codestream()</a>, and <a class="el" href="jp2k__encoder_8c.html#a8a32427c8bfa4c356ed9cd130808bbbd">search_message()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="openjpip_8h.html#ac5f5f8d1b581e02b6f1afb417a7dbef8">decode_jpip()</a>, and <a class="el" href="dec__clientmsg__handler_8h.html#a163197f925cd8d6f60da5b6151e01c3b">handle_JP2saveMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|