openjpeg/doxygen/jpipstream__manager_8h.html

253 lines
15 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: jpipstream_manager.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
&#160;<span id="projectnumber">2.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_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">jpipstream_manager.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="byte__manager_8h_source.html">byte_manager.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="msgqueue__manager_8h_source.html">msgqueue_manager.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ihdrbox__manager_8h_source.html">ihdrbox_manager.h</a>&quot;</code><br />
</div>
<p><a href="jpipstream__manager_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:a23352cc97a7709adf3a34c9628956152"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8h.html#a23352cc97a7709adf3a34c9628956152">update_JPIPstream</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *newstream, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> newstreamlen, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *cache_stream, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> *streamlen)</td></tr>
<tr class="separator:a23352cc97a7709adf3a34c9628956152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1017de7193dd9dd9ce6ef376482b6cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8h.html#aa1017de7193dd9dd9ce6ef376482b6cd">save_codestream</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *codestream, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> streamlen, const char *fmt)</td></tr>
<tr class="separator:aa1017de7193dd9dd9ce6ef376482b6cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a3ef3a0ef8ec42a1f90dd6f2776ec37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8h.html#a6a3ef3a0ef8ec42a1f90dd6f2776ec37">jpipstream_to_pnm</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *jpipstream, <a class="el" href="msgqueue__manager_8h.html#aca215e5fcdab669bcce02bff60c33043">msgqueue_param_t</a> *msgqueue, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> csn, int fw, int fh, <a class="el" href="ihdrbox__manager_8h.html#a993b5e8201d41904d9307722b70eb079">ihdrbox_param_t</a> **ihdrbox)</td></tr>
<tr class="separator:a6a3ef3a0ef8ec42a1f90dd6f2776ec37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38dc84677da3c6c449d00254f62624e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ihdrbox__manager_8h.html#a993b5e8201d41904d9307722b70eb079">ihdrbox_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8h.html#a38dc84677da3c6c449d00254f62624e7">get_SIZ_from_jpipstream</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *jpipstream, <a class="el" href="msgqueue__manager_8h.html#aca215e5fcdab669bcce02bff60c33043">msgqueue_param_t</a> *msgqueue, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> csn)</td></tr>
<tr class="separator:a38dc84677da3c6c449d00254f62624e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a38dc84677da3c6c449d00254f62624e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38dc84677da3c6c449d00254f62624e7">&#9670;&nbsp;</a></span>get_SIZ_from_jpipstream()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ihdrbox__manager_8h.html#a993b5e8201d41904d9307722b70eb079">ihdrbox_param_t</a>* get_SIZ_from_jpipstream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>jpipstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="msgqueue__manager_8h.html#aca215e5fcdab669bcce02bff60c33043">msgqueue_param_t</a> *&#160;</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#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a>&#160;</td>
<td class="paramname"><em>csn</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="structihdrbox__param.html#a7e84d5dedd304c262aa564009253fb09">ihdrbox_param::bpc</a>, <a class="el" href="struct_s_i_zmarker__param.html#a8de864778880574d3b7c27dd13462a85">SIZmarker_param::Csiz</a>, <a class="el" href="j2kheader__manager_8c.html#a6e85dbe0255e26a6027b19afde275b60">get_mainheader_from_j2kstream()</a>, <a class="el" href="structihdrbox__param.html#a2b025acc6283288e882fed39c20a929e">ihdrbox_param::height</a>, <a class="el" href="structihdrbox__param.html#aa604b90fd6ffc3d82336cf80436d8b7d">ihdrbox_param::nc</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="jp2k__encoder_8c.html#aae208fb0cb201969e96cda2e7df3c7cc">recons_j2kmainhead()</a>, <a class="el" href="struct_s_i_zmarker__param.html#a13718b50fb1f83e7e5eb9ef931a553e9">SIZmarker_param::Ssiz</a>, <a class="el" href="structihdrbox__param.html#ad3760ecc26048cde5501e8eb646539fd">ihdrbox_param::width</a>, <a class="el" href="struct_s_i_zmarker__param.html#a9a138921fb5a8e902b627ae02b6ffb3f">SIZmarker_param::Xsiz</a>, and <a class="el" href="struct_s_i_zmarker__param.html#a0f9f980e4c36fb394b87f4041b8344c6">SIZmarker_param::Ysiz</a>.</p>
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>.</p>
</div>
</div>
<a id="a6a3ef3a0ef8ec42a1f90dd6f2776ec37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a3ef3a0ef8ec42a1f90dd6f2776ec37">&#9670;&nbsp;</a></span>jpipstream_to_pnm()</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>* jpipstream_to_pnm </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>jpipstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="msgqueue__manager_8h.html#aca215e5fcdab669bcce02bff60c33043">msgqueue_param_t</a> *&#160;</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#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a>&#160;</td>
<td class="paramname"><em>csn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>fw</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>fh</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="ihdrbox__manager_8h.html#a993b5e8201d41904d9307722b70eb079">ihdrbox_param_t</a> **&#160;</td>
<td class="paramname"><em>ihdrbox</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="jp2k__decoder_8c.html#a261799e8487d1b77fc04948abe701e5f">j2k_to_pnm()</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, and <a class="el" href="jp2k__encoder_8c.html#ae4142d75ff68c5e6e239baa617aac74d">recons_j2k()</a>.</p>
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>.</p>
</div>
</div>
<a id="aa1017de7193dd9dd9ce6ef376482b6cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1017de7193dd9dd9ce6ef376482b6cd">&#9670;&nbsp;</a></span>save_codestream()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void save_codestream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>codestream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>streamlen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>fmt</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="openjpip_8h.html#a43441d763d72585d9cc6c9b4b4ea422e">handle_clientreq()</a>, and <a class="el" href="dec__clientmsg__handler_8h.html#a163197f925cd8d6f60da5b6151e01c3b">handle_JP2saveMSG()</a>.</p>
</div>
</div>
<a id="a23352cc97a7709adf3a34c9628956152"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23352cc97a7709adf3a34c9628956152">&#9670;&nbsp;</a></span>update_JPIPstream()</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>* update_JPIPstream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>newstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>newstreamlen</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> *&#160;</td>
<td class="paramname"><em>cache_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> *&#160;</td>
<td class="paramname"><em>streamlen</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, and <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</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.17
</small></address>
</body>
</html>