261 lines
16 KiB
HTML
261 lines
16 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>OpenJPEG: 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.5.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54d80c9412497e935deb5677b5fae801.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#aca215e5fcdab669bcce02bff60c33043">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="jp2k__encoder_8h.html#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#aca215e5fcdab669bcce02bff60c33043">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="jp2k__encoder_8h.html#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#aca215e5fcdab669bcce02bff60c33043">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="jp2k__encoder_8h.html#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 id="ae4142d75ff68c5e6e239baa617aac74d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae4142d75ff68c5e6e239baa617aac74d">◆ </a></span>recons_j2k()</h2>
|
|
|
|
<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#aca215e5fcdab669bcce02bff60c33043">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 class="reference">References <a class="el" href="jp2k__encoder_8c.html#a550ca6a746bd47124122bc2790d914d0">recons_codestream()</a>.</p>
|
|
|
|
<p class="reference">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 id="aae208fb0cb201969e96cda2e7df3c7cc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aae208fb0cb201969e96cda2e7df3c7cc">◆ </a></span>recons_j2kmainhead()</h2>
|
|
|
|
<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#aca215e5fcdab669bcce02bff60c33043">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 class="reference">References <a class="el" href="jp2k__encoder_8c.html#a59c3e28892eb7f1b2bfec422ef933aba">add_mainhead_msgstream()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="jpipstream__manager_8h.html#a38dc84677da3c6c449d00254f62624e7">get_SIZ_from_jpipstream()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8689276a4011c848be0ac10496bf3809"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8689276a4011c848be0ac10496bf3809">◆ </a></span>recons_jp2()</h2>
|
|
|
|
<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#aca215e5fcdab669bcce02bff60c33043">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 class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">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 class="reference">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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|