254 lines
15 KiB
HTML
254 lines
15 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.11"/>
|
|
<title>OpenJPEG: jpipstream_manager.c 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.4.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<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_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.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <stdio.h></code><br />
|
|
<code>#include <stdlib.h></code><br />
|
|
<code>#include <string.h></code><br />
|
|
<code>#include <time.h></code><br />
|
|
<code>#include "<a class="el" href="jpipstream__manager_8h_source.html">jpipstream_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="jp2k__encoder_8h_source.html">jp2k_encoder.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="jp2k__decoder_8h_source.html">jp2k_decoder.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="ihdrbox__manager_8h_source.html">ihdrbox_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="j2kheader__manager_8h_source.html">j2kheader_manager.h</a>"</code><br />
|
|
</div><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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8c.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"> </td></tr>
|
|
<tr class="memitem:aa1017de7193dd9dd9ce6ef376482b6cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8c.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"> </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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8c.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#a48165c91ebacfac47c1b5aca2f82869f">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#ae88b004f80ae7e57d50cdbee20e25199">ihdrbox_param_t</a> **ihdrbox)</td></tr>
|
|
<tr class="separator:a6a3ef3a0ef8ec42a1f90dd6f2776ec37"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a38dc84677da3c6c449d00254f62624e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ihdrbox__manager_8h.html#ae88b004f80ae7e57d50cdbee20e25199">ihdrbox_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="jpipstream__manager_8c.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#a48165c91ebacfac47c1b5aca2f82869f">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"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="a38dc84677da3c6c449d00254f62624e7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="ihdrbox__manager_8h.html#ae88b004f80ae7e57d50cdbee20e25199">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> * </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#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#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> </td>
|
|
<td class="paramname"><em>csn</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>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="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="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>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6a3ef3a0ef8ec42a1f90dd6f2776ec37"></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>* jpipstream_to_pnm </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="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#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="ihdrbox__manager_8h.html#ae88b004f80ae7e57d50cdbee20e25199">ihdrbox_param_t</a> ** </td>
|
|
<td class="paramname"><em>ihdrbox</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="jp2k__decoder_8c.html#a261799e8487d1b77fc04948abe701e5f">j2k_to_pnm()</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="jp2k__encoder_8c.html#ae4142d75ff68c5e6e239baa617aac74d">recons_j2k()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa1017de7193dd9dd9ce6ef376482b6cd"></a>
|
|
<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> * </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> </td>
|
|
<td class="paramname"><em>streamlen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>fmt</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>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 class="anchor" id="a23352cc97a7709adf3a34c9628956152"></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>* update_JPIPstream </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </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> </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> * </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> * </td>
|
|
<td class="paramname"><em>streamlen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
|
|
|
|
<p>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  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|