657 lines
50 KiB
HTML
657 lines
50 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: openjpip.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.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="#nested-classes">Data Structures</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">openjpip.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="session__manager_8h_source.html">session_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="target__manager_8h_source.html">target_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="query__parser_8h_source.html">query_parser.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="msgqueue__manager_8h_source.html">msgqueue_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="sock__manager_8h_source.html">sock_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="auxtrans__manager_8h_source.html">auxtrans_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="cache__manager_8h_source.html">cache_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="byte__manager_8h_source.html">byte_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="imgsock__manager_8h_source.html">imgsock_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="metadata__manager_8h_source.html">metadata_manager.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="index__manager_8h_source.html">index_manager.h</a>"</code><br />
|
|
</div>
|
|
<p><a href="openjpip_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="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structdec__server__record.html">dec_server_record</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Decoding server static records. <a href="structdec__server__record.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjpip__dec__param.html">jpip_dec_param</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">JPIP decoding parameters. <a href="structjpip__dec__param.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>   stdout</td></tr>
|
|
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>   stderr</td></tr>
|
|
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>   stderr</td></tr>
|
|
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2"> </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:a6413b56e4cf2303b22da7498490447e6"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structdec__server__record.html">dec_server_record</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a></td></tr>
|
|
<tr class="memdesc:a6413b56e4cf2303b22da7498490447e6"><td class="mdescLeft"> </td><td class="mdescRight">Decoding server static records. <a href="#a6413b56e4cf2303b22da7498490447e6">More...</a><br /></td></tr>
|
|
<tr class="separator:a6413b56e4cf2303b22da7498490447e6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ffc16809d0a534ebf55ed64394cedad"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a></td></tr>
|
|
<tr class="memdesc:a9ffc16809d0a534ebf55ed64394cedad"><td class="mdescLeft"> </td><td class="mdescRight">Client socket identifier. <a href="#a9ffc16809d0a534ebf55ed64394cedad">More...</a><br /></td></tr>
|
|
<tr class="separator:a9ffc16809d0a534ebf55ed64394cedad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a27c269fda9707020ddd072462aea2879"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjpip__dec__param.html">jpip_dec_param</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a></td></tr>
|
|
<tr class="memdesc:a27c269fda9707020ddd072462aea2879"><td class="mdescLeft"> </td><td class="mdescRight">JPIP decoding parameters. <a href="#a27c269fda9707020ddd072462aea2879">More...</a><br /></td></tr>
|
|
<tr class="separator:a27c269fda9707020ddd072462aea2879"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2759569c481f3c1ff4153d8c298cacc"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="index__manager_8h.html#ac47781e88a7799358fb9c56238a6a251">index_param_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a></td></tr>
|
|
<tr class="memdesc:ab2759569c481f3c1ff4153d8c298cacc"><td class="mdescLeft"> </td><td class="mdescRight">Redefinition of index parameters. <a href="#ab2759569c481f3c1ff4153d8c298cacc">More...</a><br /></td></tr>
|
|
<tr class="separator:ab2759569c481f3c1ff4153d8c298cacc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ae5c902178b9b0aa3b752de016a1074d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> *<a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#ae5c902178b9b0aa3b752de016a1074d7">init_dec_server</a> (int port)</td></tr>
|
|
<tr class="memdesc:ae5c902178b9b0aa3b752de016a1074d7"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the image decoding server. <a href="#ae5c902178b9b0aa3b752de016a1074d7">More...</a><br /></td></tr>
|
|
<tr class="separator:ae5c902178b9b0aa3b752de016a1074d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a05f5e9a3abc177c5a18e0a97c77cc2e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a05f5e9a3abc177c5a18e0a97c77cc2e0">terminate_dec_server</a> (<a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> **rec)</td></tr>
|
|
<tr class="memdesc:a05f5e9a3abc177c5a18e0a97c77cc2e0"><td class="mdescLeft"> </td><td class="mdescRight">Terminate the image decoding server. <a href="#a05f5e9a3abc177c5a18e0a97c77cc2e0">More...</a><br /></td></tr>
|
|
<tr class="separator:a05f5e9a3abc177c5a18e0a97c77cc2e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeabf53674cdfc09c134a513fdd664b87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#aeabf53674cdfc09c134a513fdd664b87">accept_connection</a> (<a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> *rec)</td></tr>
|
|
<tr class="memdesc:aeabf53674cdfc09c134a513fdd664b87"><td class="mdescLeft"> </td><td class="mdescRight">Accept client connection. <a href="#aeabf53674cdfc09c134a513fdd664b87">More...</a><br /></td></tr>
|
|
<tr class="separator:aeabf53674cdfc09c134a513fdd664b87"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a43441d763d72585d9cc6c9b4b4ea422e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a43441d763d72585d9cc6c9b4b4ea422e">handle_clientreq</a> (<a class="el" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a> client, <a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> *rec)</td></tr>
|
|
<tr class="memdesc:a43441d763d72585d9cc6c9b4b4ea422e"><td class="mdescLeft"> </td><td class="mdescRight">Handle client request. <a href="#a43441d763d72585d9cc6c9b4b4ea422e">More...</a><br /></td></tr>
|
|
<tr class="separator:a43441d763d72585d9cc6c9b4b4ea422e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1e7187bd7a446489759e2ea37c35cdf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> *<a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a1e7187bd7a446489759e2ea37c35cdf9">init_jpipdecoder</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> jp2)</td></tr>
|
|
<tr class="memdesc:a1e7187bd7a446489759e2ea37c35cdf9"><td class="mdescLeft"> </td><td class="mdescRight">Initialize jpip decoder. <a href="#a1e7187bd7a446489759e2ea37c35cdf9">More...</a><br /></td></tr>
|
|
<tr class="separator:a1e7187bd7a446489759e2ea37c35cdf9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab156b0a2b84b452a759cd7657a4f3585"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#ab156b0a2b84b452a759cd7657a4f3585">destroy_jpipdecoder</a> (<a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> **dec)</td></tr>
|
|
<tr class="memdesc:ab156b0a2b84b452a759cd7657a4f3585"><td class="mdescLeft"> </td><td class="mdescRight">Destroy jpip decoding parameters. <a href="#ab156b0a2b84b452a759cd7657a4f3585">More...</a><br /></td></tr>
|
|
<tr class="separator:ab156b0a2b84b452a759cd7657a4f3585"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af7bc76c0c6c484227e8440cc87567158"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#af7bc76c0c6c484227e8440cc87567158">fread_jpip</a> (const char fname[], <a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> *dec)</td></tr>
|
|
<tr class="memdesc:af7bc76c0c6c484227e8440cc87567158"><td class="mdescLeft"> </td><td class="mdescRight">Read jpip codestream from a file. <a href="#af7bc76c0c6c484227e8440cc87567158">More...</a><br /></td></tr>
|
|
<tr class="separator:af7bc76c0c6c484227e8440cc87567158"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac5f5f8d1b581e02b6f1afb417a7dbef8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#ac5f5f8d1b581e02b6f1afb417a7dbef8">decode_jpip</a> (<a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> *dec)</td></tr>
|
|
<tr class="memdesc:ac5f5f8d1b581e02b6f1afb417a7dbef8"><td class="mdescLeft"> </td><td class="mdescRight">Decode jpip codestream. <a href="#ac5f5f8d1b581e02b6f1afb417a7dbef8">More...</a><br /></td></tr>
|
|
<tr class="separator:ac5f5f8d1b581e02b6f1afb417a7dbef8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a52ee0dcf764d6fe53e4bad8dd50c26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a8a52ee0dcf764d6fe53e4bad8dd50c26">fwrite_jp2k</a> (const char fname[], <a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> *dec)</td></tr>
|
|
<tr class="memdesc:a8a52ee0dcf764d6fe53e4bad8dd50c26"><td class="mdescLeft"> </td><td class="mdescRight">Write J2K/JP2 codestream to a file. <a href="#a8a52ee0dcf764d6fe53e4bad8dd50c26">More...</a><br /></td></tr>
|
|
<tr class="separator:a8a52ee0dcf764d6fe53e4bad8dd50c26"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a33462880bc3c9bca15ac1086d73e4080"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a33462880bc3c9bca15ac1086d73e4080">output_log</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> messages, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> metadata, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> ihdrbox, <a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> *dec)</td></tr>
|
|
<tr class="memdesc:a33462880bc3c9bca15ac1086d73e4080"><td class="mdescLeft"> </td><td class="mdescRight">Option; print out parameter values to stderr. <a href="#a33462880bc3c9bca15ac1086d73e4080">More...</a><br /></td></tr>
|
|
<tr class="separator:a33462880bc3c9bca15ac1086d73e4080"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a191391a64b5ce564276e3ed5f9ac138b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a> *<a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a191391a64b5ce564276e3ed5f9ac138b">get_index_from_JP2file</a> (int fd)</td></tr>
|
|
<tr class="memdesc:a191391a64b5ce564276e3ed5f9ac138b"><td class="mdescLeft"> </td><td class="mdescRight">Parse JP2 file and get index information from cidx box inside. <a href="#a191391a64b5ce564276e3ed5f9ac138b">More...</a><br /></td></tr>
|
|
<tr class="separator:a191391a64b5ce564276e3ed5f9ac138b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a94cba1bb36c08739e9983119af4d47e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a94cba1bb36c08739e9983119af4d47e2">destroy_index</a> (<a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a> **idx)</td></tr>
|
|
<tr class="memdesc:a94cba1bb36c08739e9983119af4d47e2"><td class="mdescLeft"> </td><td class="mdescRight">Destroy index parameters. <a href="#a94cba1bb36c08739e9983119af4d47e2">More...</a><br /></td></tr>
|
|
<tr class="separator:a94cba1bb36c08739e9983119af4d47e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2ff3d3894ccf463eb4f1fd87ca408dcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="openjpip_8h.html#a2ff3d3894ccf463eb4f1fd87ca408dcb">output_index</a> (<a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a> *index)</td></tr>
|
|
<tr class="memdesc:a2ff3d3894ccf463eb4f1fd87ca408dcb"><td class="mdescLeft"> </td><td class="mdescRight">print index parameters <a href="#a2ff3d3894ccf463eb4f1fd87ca408dcb">More...</a><br /></td></tr>
|
|
<tr class="separator:a2ff3d3894ccf463eb4f1fd87ca408dcb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stderr   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stdout   stdout</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a31c99676da88bb0bcdb350710f00fa96"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define logstream   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="a9ffc16809d0a534ebf55ed64394cedad"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> <a class="el" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Client socket identifier. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6413b56e4cf2303b22da7498490447e6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structdec__server__record.html">dec_server_record</a> <a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Decoding server static records. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab2759569c481f3c1ff4153d8c298cacc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="index__manager_8h.html#ac47781e88a7799358fb9c56238a6a251">index_param_t</a> <a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Redefinition of index parameters. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a27c269fda9707020ddd072462aea2879"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structjpip__dec__param.html">jpip_dec_param</a> <a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>JPIP decoding parameters. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="aeabf53674cdfc09c134a513fdd664b87"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> accept_connection </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> * </td>
|
|
<td class="paramname"><em>rec</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Accept client connection. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">rec</td><td>decoding server static record pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>client socket ID, -1 if failed </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a792461126a522ddf1db31e7353c055d8">accept_socket()</a>, and <a class="el" href="structdec__server__record.html#a3585f17f6d95223111fbd43d35ef34a4">dec_server_record::listening_socket</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac5f5f8d1b581e02b6f1afb417a7dbef8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> decode_jpip </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> * </td>
|
|
<td class="paramname"><em>dec</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Decode jpip codestream. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">dec</td><td>JPIP decoding parameters pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structmessage__param.html#a4d72cb84ea9e3a60da3ce9accf40c771">message_param::csn</a>, <a class="el" href="structmsgqueue__param.html#a7e14c8f89c279bc703cc76070ef2316e">msgqueue_param::first</a>, <a class="el" href="ihdrbox__manager_8c.html#acdf07688caab4b647bb302cfeed5a718">gene_ihdrbox()</a>, <a class="el" href="structjpip__dec__param.html#aa41cfeb8f514be44d42fc3a16a962372">jpip_dec_param::ihdrbox</a>, <a class="el" href="structjpip__dec__param.html#a495cf208c9181a6141991a25fde6c5bc">jpip_dec_param::jp2klen</a>, <a class="el" href="structjpip__dec__param.html#a3929502b6815b4ff21f3d7550f4f6a37">jpip_dec_param::jp2kstream</a>, <a class="el" href="structjpip__dec__param.html#ab17f26d3d77a190d6825cadb26435732">jpip_dec_param::jpiplen</a>, <a class="el" href="structjpip__dec__param.html#a026b1fc8941ad8e1ca06e695201773d0">jpip_dec_param::jpipstream</a>, <a class="el" href="structjpip__dec__param.html#a038c38958b1662bb10221bf098bb4432">jpip_dec_param::metadatalist</a>, <a class="el" href="structjpip__dec__param.html#ada24ff506e93e063fc95eb0a3be992bb">jpip_dec_param::msgqueue</a>, <a class="el" href="msgqueue__manager_8c.html#a61bc0c6328b8bc088a3652842642c4ae">parse_JPIPstream()</a>, <a class="el" href="msgqueue__manager_8c.html#a804b7467d1c130ece21fee3e6be15732">parse_metamsg()</a>, <a class="el" href="jp2k__encoder_8c.html#ae4142d75ff68c5e6e239baa617aac74d">recons_j2k()</a>, and <a class="el" href="jp2k__encoder_8c.html#a8689276a4011c848be0ac10496bf3809">recons_jp2()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a94cba1bb36c08739e9983119af4d47e2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> destroy_index </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a> ** </td>
|
|
<td class="paramname"><em>idx</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Destroy index parameters. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>addressof the index pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="index__manager_8c.html#a8547a6683f5846c256ed1a0b5a55ad29">delete_index()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab156b0a2b84b452a759cd7657a4f3585"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> destroy_jpipdecoder </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> ** </td>
|
|
<td class="paramname"><em>dec</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Destroy jpip decoding parameters. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">dec</td><td>address of JPIP decoding parameters pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="metadata__manager_8c.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist()</a>, <a class="el" href="msgqueue__manager_8c.html#aff1807285e0f47bbea20d5a6473dd08f">delete_msgqueue()</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af7bc76c0c6c484227e8440cc87567158"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> fread_jpip </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>fname</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> * </td>
|
|
<td class="paramname"><em>dec</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Read jpip codestream from a file. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fname</td><td>file name </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">dec</td><td>JPIP decoding parameters pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if succeed </dd></dl>
|
|
|
|
<p>References <a class="el" href="byte__manager_8c.html#a955af5bd7b57f186c3174728fa160ff0">get_filesize()</a>, <a class="el" href="structjpip__dec__param.html#ab17f26d3d77a190d6825cadb26435732">jpip_dec_param::jpiplen</a>, <a class="el" href="structjpip__dec__param.html#a026b1fc8941ad8e1ca06e695201773d0">jpip_dec_param::jpipstream</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>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8a52ee0dcf764d6fe53e4bad8dd50c26"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> fwrite_jp2k </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>fname</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> * </td>
|
|
<td class="paramname"><em>dec</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Write J2K/JP2 codestream to a file. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fname</td><td>file name </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">dec</td><td>JPIP decoding parameters pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if succeed </dd></dl>
|
|
|
|
<p>References <a class="el" href="structjpip__dec__param.html#a495cf208c9181a6141991a25fde6c5bc">jpip_dec_param::jp2klen</a>, <a class="el" href="structjpip__dec__param.html#a3929502b6815b4ff21f3d7550f4f6a37">jpip_dec_param::jp2kstream</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a191391a64b5ce564276e3ed5f9ac138b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a>* <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> get_index_from_JP2file </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fd</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Parse JP2 file and get index information from cidx box inside. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fd</td><td>file descriptor of the JP2 file </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated structure of index parameters </dd></dl>
|
|
|
|
<p>References <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>, and <a class="el" href="index__manager_8c.html#aeda761f27ce8cb0ed202d0ea2aa64c7e">parse_jp2file()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a43441d763d72585d9cc6c9b4b4ea422e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> handle_clientreq </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a> </td>
|
|
<td class="paramname"><em>client</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> * </td>
|
|
<td class="paramname"><em>rec</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Handle client request. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">client</td><td>client socket ID </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">rec</td><td>decoding server static record pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if succeed </dd></dl>
|
|
|
|
<p>References <a class="el" href="structdec__server__record.html#acf54a3183c24403af919253f273c703c">dec_server_record::cachelist</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaa9a175716967f609dfad2631136cce0f9">CIDDST</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaaebfceef8e9c933e7ec8f60e52221212b">CIDREQ</a>, <a class="el" href="sock__manager_8c.html#af35003e15c5a408a198d4b3eb717bfdd">close_socket()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#aa47b5aa4364e9df31b03eca619009445">handle_CIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#a1b541c52a440a95733cd0f961189ad5a">handle_dstCIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#a163197f925cd8d6f60da5b6151e01c3b">handle_JP2saveMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#a86f804d83268e44baef977b7b54cbbcc">handle_TIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8c.html#a22becf5f598618de947805f858b1a617">handle_XMLreqMSG()</a>, <a class="el" href="imgsock__manager_8c.html#a88596b309ecbf50e65da25a0aea426e4">identify_clientmsg()</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaad396ff7696b62b0d53dbe344cff664f4">JP2SAVE</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaa0dfb6f17f0bee8ddc98b1e8950de6529">JPIPSTREAM</a>, <a class="el" href="structdec__server__record.html#a73fae00e20bed648ff618a3be0d0a713">dec_server_record::jpipstream</a>, <a class="el" href="structdec__server__record.html#a64a34bae32044c8cd57285abb1fcffb2">dec_server_record::jpipstreamlen</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaaa1d590c1e9fe651a91a0580c2401e705">MSGERROR</a>, <a class="el" href="structdec__server__record.html#a52f7141b9880f038a7f47dbdb98713a4">dec_server_record::msgqueue</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaa8b60c6e0b99c9733b4bee376cafa8863">PNMREQ</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaa76bdc8adfd6c6463ab269ff4c06be9b4">QUIT</a>, <a class="el" href="jpipstream__manager_8c.html#aa1017de7193dd9dd9ce6ef376482b6cd">save_codestream()</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaa5bbfd69d9021c8a179d51e1c530f6ed6">SIZREQ</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaab4f6faa284af2005585a1fc3c61b8ac7">TIDREQ</a>, and <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaacabd3c9cad61c4e2fed057afb09169cd">XMLREQ</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae5c902178b9b0aa3b752de016a1074d7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a>* <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> init_dec_server </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>port</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize the image decoding server. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">port</td><td>opening tcp port (valid No. 49152-65535) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>initialized decoding server record pointer </dd></dl>
|
|
|
|
<p>References <a class="el" href="structdec__server__record.html#acf54a3183c24403af919253f273c703c">dec_server_record::cachelist</a>, <a class="el" href="cache__manager_8c.html#a0de1bb714bff02327255920dfc5bd838">gene_cachelist()</a>, <a class="el" href="msgqueue__manager_8c.html#a122b60ed8a415bb0ded95b2476c6a62c">gene_msgqueue()</a>, <a class="el" href="structdec__server__record.html#a73fae00e20bed648ff618a3be0d0a713">dec_server_record::jpipstream</a>, <a class="el" href="structdec__server__record.html#a64a34bae32044c8cd57285abb1fcffb2">dec_server_record::jpipstreamlen</a>, <a class="el" href="structdec__server__record.html#a3585f17f6d95223111fbd43d35ef34a4">dec_server_record::listening_socket</a>, <a class="el" href="structdec__server__record.html#a52f7141b9880f038a7f47dbdb98713a4">dec_server_record::msgqueue</a>, <a class="el" href="sock__manager_8c.html#a3c822e28c71631b25683cc57e8e4536b">open_listeningsocket()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1e7187bd7a446489759e2ea37c35cdf9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a>* <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> init_jpipdecoder </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>jp2</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize jpip decoder. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">jp2</td><td>true in case of jp2 file encoding, else j2k file encoding </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>JPIP decoding parameters pointer </dd></dl>
|
|
|
|
<p>References <a class="el" href="metadata__manager_8c.html#a109c77c889ca43e454720f61692bd960">gene_metadatalist()</a>, <a class="el" href="msgqueue__manager_8c.html#a122b60ed8a415bb0ded95b2476c6a62c">gene_msgqueue()</a>, <a class="el" href="structjpip__dec__param.html#a038c38958b1662bb10221bf098bb4432">jpip_dec_param::metadatalist</a>, <a class="el" href="structjpip__dec__param.html#ada24ff506e93e063fc95eb0a3be992bb">jpip_dec_param::msgqueue</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2ff3d3894ccf463eb4f1fd87ca408dcb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> output_index </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a> * </td>
|
|
<td class="paramname"><em>index</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print index parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index parameters </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="index__manager_8c.html#acba4fd559491e3b10a80e0d14839c8bf">print_index()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a33462880bc3c9bca15ac1086d73e4080"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> output_log </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>messages</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>metadata</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>ihdrbox</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a> * </td>
|
|
<td class="paramname"><em>dec</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Option; print out parameter values to stderr. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">messages</td><td>true if queue of messages is to be printed out </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">metadata</td><td>true if metadata is to be printed out </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ihdrbox</td><td>true if image header data is to be printed out </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">dec</td><td>JPIP decoding parameters pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structihdrbox__param.html#a7e84d5dedd304c262aa564009253fb09">ihdrbox_param::bpc</a>, <a class="el" href="structihdrbox__param.html#a2b025acc6283288e882fed39c20a929e">ihdrbox_param::height</a>, <a class="el" href="structjpip__dec__param.html#aa41cfeb8f514be44d42fc3a16a962372">jpip_dec_param::ihdrbox</a>, <a class="el" href="structjpip__dec__param.html#a038c38958b1662bb10221bf098bb4432">jpip_dec_param::metadatalist</a>, <a class="el" href="structjpip__dec__param.html#ada24ff506e93e063fc95eb0a3be992bb">jpip_dec_param::msgqueue</a>, <a class="el" href="structihdrbox__param.html#aa604b90fd6ffc3d82336cf80436d8b7d">ihdrbox_param::nc</a>, <a class="el" href="metadata__manager_8c.html#a8ec018d5900f7a94fed49db0d823e508">print_allmetadata()</a>, <a class="el" href="msgqueue__manager_8c.html#aa075bf2e59a3a9cba532d2331dd9a36e">print_msgqueue()</a>, and <a class="el" href="structihdrbox__param.html#ad3760ecc26048cde5501e8eb646539fd">ihdrbox_param::width</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a05f5e9a3abc177c5a18e0a97c77cc2e0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> terminate_dec_server </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a> ** </td>
|
|
<td class="paramname"><em>rec</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Terminate the image decoding server. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">rec</td><td>address of deleting decoding server static record pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#af35003e15c5a408a198d4b3eb717bfdd">close_socket()</a>, <a class="el" href="cache__manager_8c.html#a60b3dc9f408f026931faa4589d1e4c1b">delete_cachelist()</a>, <a class="el" href="msgqueue__manager_8c.html#aff1807285e0f47bbea20d5a6473dd08f">delete_msgqueue()</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</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>
|