openjpeg/doxygen/openjpip_8h_source.html

305 lines
54 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>OpenJPEG: openjpip.h Source File</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.2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;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&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_6ec2d9a1b37a1187cc46aeaf3b19e1b3.html">openjpip</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">openjpip.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="openjpip_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * $Id$</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (c) 2010-2011, Kaori Hagihara</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * are met:</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS&#39;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#ifndef OPENJPIP_H_</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor"># define OPENJPIP_H_</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="session__manager_8h.html">session_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="target__manager_8h.html">target_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="query__parser_8h.html">query_parser.h</a>&quot;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="msgqueue__manager_8h.html">msgqueue_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sock__manager_8h.html">sock_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="auxtrans__manager_8h.html">auxtrans_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#ifdef SERVER</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &quot;fcgi_stdio.h&quot;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#define logstream FCGI_stdout</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="openjpip_8h.html#ac322e421aefb8ec9ccc10bef953e3d82"> 48</a></span>&#160;<span class="preprocessor">#define FCGI_stdout stdout</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="openjpip_8h.html#a77b5d5af2adb2cfa7ec785b592fc4074"> 49</a></span>&#160;<span class="preprocessor">#define FCGI_stderr stderr</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="openjpip_8h.html#a31c99676da88bb0bcdb350710f00fa96"> 50</a></span>&#160;<span class="preprocessor">#define logstream stderr</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cache__manager_8h.html">cache_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="byte__manager_8h.html">byte_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="imgsock__manager_8h.html">imgsock_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="metadata__manager_8h.html">metadata_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ihdrbox__manager_8h.html">ihdrbox_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="index__manager_8h.html">index_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*SERVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"> *==========================================================</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="comment"> * JPIP server API</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment"> *==========================================================</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#ifdef SERVER</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>server_record {</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="structsessionlist__param.html">sessionlist_param_t</a> *sessionlist; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="structtargetlist__param.html">targetlist_param_t</a> *targetlist; </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="structauxtrans__param.html">auxtrans_param_t</a> auxtrans;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;} server_record_t;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>QR {</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="structquery__param.html">query_param_t</a> *query; </div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue; </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="structchannel__param.html">channel_param_t</a> *channel; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;} QR_t;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;server_record_t * init_JPIPserver(<span class="keywordtype">int</span> tcp_auxport, <span class="keywordtype">int</span> udp_auxport);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="keywordtype">void</span> terminate_JPIPserver(server_record_t **rec);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;QR_t * parse_querystring(<span class="keyword">const</span> <span class="keywordtype">char</span> *query_string);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> process_JPIPrequest(server_record_t *rec, QR_t *qr);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="keywordtype">void</span> send_responsedata(server_record_t *rec, QR_t *qr);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="keywordtype">void</span> end_QRprocess(server_record_t *rec, QR_t **qr);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="keywordtype">void</span> local_log(<a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> query, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> messages, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> sessions,</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> targets, QR_t *qr, server_record_t *rec);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*SERVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="comment"> *==========================================================</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="comment"> * JPIP decoding server API</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="comment"> *==========================================================</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="preprocessor">#ifndef SERVER</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structdec__server__record.html"> 157</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdec__server__record.html">dec_server_record</a> {</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structdec__server__record.html#acf54a3183c24403af919253f273c703c"> 158</a></span>&#160; <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *<a class="code" href="structdec__server__record.html#acf54a3183c24403af919253f273c703c">cachelist</a>; </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="structdec__server__record.html#a73fae00e20bed648ff618a3be0d0a713"> 159</a></span>&#160; <a class="code" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *<a class="code" href="structdec__server__record.html#a73fae00e20bed648ff618a3be0d0a713">jpipstream</a>; </div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structdec__server__record.html#a64a34bae32044c8cd57285abb1fcffb2"> 160</a></span>&#160; <a class="code" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> <a class="code" href="structdec__server__record.html#a64a34bae32044c8cd57285abb1fcffb2">jpipstreamlen</a>; </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structdec__server__record.html#a52f7141b9880f038a7f47dbdb98713a4"> 161</a></span>&#160; <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *<a class="code" href="structdec__server__record.html#a52f7141b9880f038a7f47dbdb98713a4">msgqueue</a>; </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structdec__server__record.html#a3585f17f6d95223111fbd43d35ef34a4"> 162</a></span>&#160; <a class="code" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> <a class="code" href="structdec__server__record.html#a3585f17f6d95223111fbd43d35ef34a4">listening_socket</a>; </div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;} <a class="code" href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad"> 167</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> <a class="code" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="structdec__server__record.html">dec_server_record_t</a> * <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#ae5c902178b9b0aa3b752de016a1074d7">init_dec_server</a>(<span class="keywordtype">int</span> port);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <span class="keywordtype">void</span> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a05f5e9a3abc177c5a18e0a97c77cc2e0">terminate_dec_server</a>(<a class="code" href="structdec__server__record.html">dec_server_record_t</a> **rec);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#aeabf53674cdfc09c134a513fdd664b87">accept_connection</a>(<a class="code" href="structdec__server__record.html">dec_server_record_t</a> *rec);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a43441d763d72585d9cc6c9b4b4ea422e">handle_clientreq</a>(<a class="code" href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a> client,</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="code" href="structdec__server__record.html">dec_server_record_t</a> *rec);</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*SERVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="comment"> *==========================================================</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="comment"> * JPIP tool API</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="comment"> *==========================================================</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="preprocessor">#ifndef SERVER</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="comment"> * jpip to JP2 or J2K</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html"> 217</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structjpip__dec__param.html">jpip_dec_param</a> {</div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#a026b1fc8941ad8e1ca06e695201773d0"> 218</a></span>&#160; <a class="code" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *<a class="code" href="structjpip__dec__param.html#a026b1fc8941ad8e1ca06e695201773d0">jpipstream</a>; </div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#ab17f26d3d77a190d6825cadb26435732"> 219</a></span>&#160; <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structjpip__dec__param.html#ab17f26d3d77a190d6825cadb26435732">jpiplen</a>; </div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#ada24ff506e93e063fc95eb0a3be992bb"> 220</a></span>&#160; <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *<a class="code" href="structjpip__dec__param.html#ada24ff506e93e063fc95eb0a3be992bb">msgqueue</a>; </div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#a038c38958b1662bb10221bf098bb4432"> 221</a></span>&#160; <a class="code" href="structmetadatalist__param.html">metadatalist_param_t</a> *<a class="code" href="structjpip__dec__param.html#a038c38958b1662bb10221bf098bb4432">metadatalist</a>; </div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#aa41cfeb8f514be44d42fc3a16a962372"> 222</a></span>&#160; <a class="code" href="structihdrbox__param.html">ihdrbox_param_t</a> *<a class="code" href="structjpip__dec__param.html#aa41cfeb8f514be44d42fc3a16a962372">ihdrbox</a>; </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#a3929502b6815b4ff21f3d7550f4f6a37"> 223</a></span>&#160; <a class="code" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *<a class="code" href="structjpip__dec__param.html#a3929502b6815b4ff21f3d7550f4f6a37">jp2kstream</a>; </div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="structjpip__dec__param.html#a495cf208c9181a6141991a25fde6c5bc"> 224</a></span>&#160; <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structjpip__dec__param.html#a495cf208c9181a6141991a25fde6c5bc">jp2klen</a>; </div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;} <a class="code" href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a>;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="structjpip__dec__param.html">jpip_dec_param_t</a> * <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a1e7187bd7a446489759e2ea37c35cdf9">init_jpipdecoder</a>(<a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> jp2);</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <span class="keywordtype">void</span> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#ab156b0a2b84b452a759cd7657a4f3585">destroy_jpipdecoder</a>(<a class="code" href="structjpip__dec__param.html">jpip_dec_param_t</a> **dec);</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#af7bc76c0c6c484227e8440cc87567158">fread_jpip</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> fname[],</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="code" href="structjpip__dec__param.html">jpip_dec_param_t</a> *dec);</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <span class="keywordtype">void</span> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#ac5f5f8d1b581e02b6f1afb417a7dbef8">decode_jpip</a>(<a class="code" href="structjpip__dec__param.html">jpip_dec_param_t</a> *dec);</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a8a52ee0dcf764d6fe53e4bad8dd50c26">fwrite_jp2k</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> fname[],</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="code" href="structjpip__dec__param.html">jpip_dec_param_t</a> *dec);</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <span class="keywordtype">void</span> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a33462880bc3c9bca15ac1086d73e4080">output_log</a>(<a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> messages, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> metadata,</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> ihdrbox, <a class="code" href="structjpip__dec__param.html">jpip_dec_param_t</a> *dec);</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<span class="comment"> * test the format of index (cidx) box in JP2 file</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc"> 285</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="structindex__param.html">index_param_t</a> <a class="code" href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a>;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <a class="code" href="structindex__param.html">index_t</a> * <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a191391a64b5ce564276e3ed5f9ac138b">get_index_from_JP2file</a>(<span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <span class="keywordtype">void</span> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a94cba1bb36c08739e9983119af4d47e2">destroy_index</a>(<a class="code" href="structindex__param.html">index_t</a> **idx);</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<a class="code" href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a> <span class="keywordtype">void</span> <a class="code" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> <a class="code" href="openjpip_8h.html#a2ff3d3894ccf463eb4f1fd87ca408dcb">output_index</a>(<a class="code" href="structindex__param.html">index_t</a> *index);</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*SERVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !OPENJPIP_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="query__parser_8h_html"><div class="ttname"><a href="query__parser_8h.html">query_parser.h</a></div></div>
<div class="ttc" id="structjpip__dec__param_html_a038c38958b1662bb10221bf098bb4432"><div class="ttname"><a href="structjpip__dec__param.html#a038c38958b1662bb10221bf098bb4432">jpip_dec_param::metadatalist</a></div><div class="ttdeci">metadatalist_param_t * metadatalist</div><div class="ttdoc">metadata list going into JP2 file </div><div class="ttdef"><b>Definition:</b> openjpip.h:221</div></div>
<div class="ttc" id="openjpip_8h_html_ab2759569c481f3c1ff4153d8c298cacc"><div class="ttname"><a href="openjpip_8h.html#ab2759569c481f3c1ff4153d8c298cacc">index_t</a></div><div class="ttdeci">index_param_t index_t</div><div class="ttdoc">Redefinition of index parameters. </div><div class="ttdef"><b>Definition:</b> openjpip.h:285</div></div>
<div class="ttc" id="byte__manager_8h_html_ade896f5d51f03e046a004d006b53a8b0"><div class="ttname"><a href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a></div><div class="ttdeci">uint8_t Byte_t</div><div class="ttdef"><b>Definition:</b> byte_manager.h:37</div></div>
<div class="ttc" id="structmsgqueue__param_html"><div class="ttname"><a href="structmsgqueue__param.html">msgqueue_param</a></div><div class="ttdoc">message queue parameters </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:63</div></div>
<div class="ttc" id="structjpip__dec__param_html_ab17f26d3d77a190d6825cadb26435732"><div class="ttname"><a href="structjpip__dec__param.html#ab17f26d3d77a190d6825cadb26435732">jpip_dec_param::jpiplen</a></div><div class="ttdeci">Byte8_t jpiplen</div><div class="ttdoc">length of jpipstream </div><div class="ttdef"><b>Definition:</b> openjpip.h:219</div></div>
<div class="ttc" id="structdec__server__record_html_a64a34bae32044c8cd57285abb1fcffb2"><div class="ttname"><a href="structdec__server__record.html#a64a34bae32044c8cd57285abb1fcffb2">dec_server_record::jpipstreamlen</a></div><div class="ttdeci">OPJ_SIZE_T jpipstreamlen</div><div class="ttdoc">length of jpipstream </div><div class="ttdef"><b>Definition:</b> openjpip.h:160</div></div>
<div class="ttc" id="ihdrbox__manager_8h_html"><div class="ttname"><a href="ihdrbox__manager_8h.html">ihdrbox_manager.h</a></div></div>
<div class="ttc" id="structdec__server__record_html"><div class="ttname"><a href="structdec__server__record.html">dec_server_record</a></div><div class="ttdoc">Decoding server static records. </div><div class="ttdef"><b>Definition:</b> openjpip.h:157</div></div>
<div class="ttc" id="openjpip_8h_html_aeabf53674cdfc09c134a513fdd664b87"><div class="ttname"><a href="openjpip_8h.html#aeabf53674cdfc09c134a513fdd664b87">accept_connection</a></div><div class="ttdeci">OPJ_API client_t OPJ_CALLCONV accept_connection(dec_server_record_t *rec)</div><div class="ttdoc">Accept client connection. </div><div class="ttdef"><b>Definition:</b> openjpip.c:260</div></div>
<div class="ttc" id="openjpeg_8h_html_abb5dad6294f4611f1925388e919b16f4"><div class="ttname"><a href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a></div><div class="ttdeci">int OPJ_BOOL</div><div class="ttdef"><b>Definition:</b> openjpeg.h:110</div></div>
<div class="ttc" id="openjpip_8h_html_a43441d763d72585d9cc6c9b4b4ea422e"><div class="ttname"><a href="openjpip_8h.html#a43441d763d72585d9cc6c9b4b4ea422e">handle_clientreq</a></div><div class="ttdeci">OPJ_API OPJ_BOOL OPJ_CALLCONV handle_clientreq(client_t client, dec_server_record_t *rec)</div><div class="ttdoc">Handle client request. </div><div class="ttdef"><b>Definition:</b> openjpip.c:272</div></div>
<div class="ttc" id="openjpip_8h_html_ab156b0a2b84b452a759cd7657a4f3585"><div class="ttname"><a href="openjpip_8h.html#ab156b0a2b84b452a759cd7657a4f3585">destroy_jpipdecoder</a></div><div class="ttdeci">OPJ_API void OPJ_CALLCONV destroy_jpipdecoder(jpip_dec_param_t **dec)</div><div class="ttdoc">Destroy jpip decoding parameters. </div><div class="ttdef"><b>Definition:</b> openjpip.c:433</div></div>
<div class="ttc" id="openjpip_8h_html_a33462880bc3c9bca15ac1086d73e4080"><div class="ttname"><a href="openjpip_8h.html#a33462880bc3c9bca15ac1086d73e4080">output_log</a></div><div class="ttdeci">OPJ_API void OPJ_CALLCONV output_log(OPJ_BOOL messages, OPJ_BOOL metadata, OPJ_BOOL ihdrbox, jpip_dec_param_t *dec)</div><div class="ttdoc">Option; print out parameter values to stderr. </div><div class="ttdef"><b>Definition:</b> openjpip.c:416</div></div>
<div class="ttc" id="structjpip__dec__param_html_a495cf208c9181a6141991a25fde6c5bc"><div class="ttname"><a href="structjpip__dec__param.html#a495cf208c9181a6141991a25fde6c5bc">jpip_dec_param::jp2klen</a></div><div class="ttdeci">Byte8_t jp2klen</div><div class="ttdoc">length of j2kstream or JP2 file </div><div class="ttdef"><b>Definition:</b> openjpip.h:224</div></div>
<div class="ttc" id="index__manager_8h_html"><div class="ttname"><a href="index__manager_8h.html">index_manager.h</a></div></div>
<div class="ttc" id="openjpip_8h_html_a2ff3d3894ccf463eb4f1fd87ca408dcb"><div class="ttname"><a href="openjpip_8h.html#a2ff3d3894ccf463eb4f1fd87ca408dcb">output_index</a></div><div class="ttdeci">OPJ_API void OPJ_CALLCONV output_index(index_t *index)</div><div class="ttdoc">print index parameters </div><div class="ttdef"><b>Definition:</b> openjpip.c:479</div></div>
<div class="ttc" id="structjpip__dec__param_html_aa41cfeb8f514be44d42fc3a16a962372"><div class="ttname"><a href="structjpip__dec__param.html#aa41cfeb8f514be44d42fc3a16a962372">jpip_dec_param::ihdrbox</a></div><div class="ttdeci">ihdrbox_param_t * ihdrbox</div><div class="ttdoc">ihdr box going into JP2 file </div><div class="ttdef"><b>Definition:</b> openjpip.h:222</div></div>
<div class="ttc" id="structcachelist__param_html"><div class="ttname"><a href="structcachelist__param.html">cachelist_param</a></div><div class="ttdef"><b>Definition:</b> cache_manager.h:50</div></div>
<div class="ttc" id="metadata__manager_8h_html"><div class="ttname"><a href="metadata__manager_8h.html">metadata_manager.h</a></div></div>
<div class="ttc" id="structdec__server__record_html_acf54a3183c24403af919253f273c703c"><div class="ttname"><a href="structdec__server__record.html#acf54a3183c24403af919253f273c703c">dec_server_record::cachelist</a></div><div class="ttdeci">cachelist_param_t * cachelist</div><div class="ttdoc">cache list </div><div class="ttdef"><b>Definition:</b> openjpip.h:158</div></div>
<div class="ttc" id="openjpip_8h_html_a191391a64b5ce564276e3ed5f9ac138b"><div class="ttname"><a href="openjpip_8h.html#a191391a64b5ce564276e3ed5f9ac138b">get_index_from_JP2file</a></div><div class="ttdeci">OPJ_API index_t *OPJ_CALLCONV get_index_from_JP2file(int fd)</div><div class="ttdoc">Parse JP2 file and get index information from cidx box inside. </div><div class="ttdef"><b>Definition:</b> openjpip.c:446</div></div>
<div class="ttc" id="openjpeg_8h_html_aba7397be054e36dc0284a6589736135e"><div class="ttname"><a href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a></div><div class="ttdeci">size_t OPJ_SIZE_T</div><div class="ttdef"><b>Definition:</b> openjpeg.h:133</div></div>
<div class="ttc" id="structdec__server__record_html_a52f7141b9880f038a7f47dbdb98713a4"><div class="ttname"><a href="structdec__server__record.html#a52f7141b9880f038a7f47dbdb98713a4">dec_server_record::msgqueue</a></div><div class="ttdeci">msgqueue_param_t * msgqueue</div><div class="ttdoc">parsed message queue of jpipstream </div><div class="ttdef"><b>Definition:</b> openjpip.h:161</div></div>
<div class="ttc" id="structjpip__dec__param_html_a3929502b6815b4ff21f3d7550f4f6a37"><div class="ttname"><a href="structjpip__dec__param.html#a3929502b6815b4ff21f3d7550f4f6a37">jpip_dec_param::jp2kstream</a></div><div class="ttdeci">Byte_t * jp2kstream</div><div class="ttdoc">J2K codestream or JP2 file codestream. </div><div class="ttdef"><b>Definition:</b> openjpip.h:223</div></div>
<div class="ttc" id="structtargetlist__param_html"><div class="ttname"><a href="structtargetlist__param.html">targetlist_param</a></div><div class="ttdoc">Target list parameters. </div><div class="ttdef"><b>Definition:</b> target_manager.h:59</div></div>
<div class="ttc" id="openjpip_8h_html_a94cba1bb36c08739e9983119af4d47e2"><div class="ttname"><a href="openjpip_8h.html#a94cba1bb36c08739e9983119af4d47e2">destroy_index</a></div><div class="ttdeci">OPJ_API void OPJ_CALLCONV destroy_index(index_t **idx)</div><div class="ttdoc">Destroy index parameters. </div><div class="ttdef"><b>Definition:</b> openjpip.c:474</div></div>
<div class="ttc" id="structdec__server__record_html_a73fae00e20bed648ff618a3be0d0a713"><div class="ttname"><a href="structdec__server__record.html#a73fae00e20bed648ff618a3be0d0a713">dec_server_record::jpipstream</a></div><div class="ttdeci">Byte_t * jpipstream</div><div class="ttdoc">JPT/JPP stream. </div><div class="ttdef"><b>Definition:</b> openjpip.h:159</div></div>
<div class="ttc" id="sock__manager_8h_html_a8dc8083897335125630f1af5dafd5831"><div class="ttname"><a href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a></div><div class="ttdeci">int SOCKET</div><div class="ttdef"><b>Definition:</b> sock_manager.h:40</div></div>
<div class="ttc" id="structauxtrans__param_html"><div class="ttname"><a href="structauxtrans__param.html">auxtrans_param</a></div><div class="ttdoc">auxiliary transport setting parameters </div><div class="ttdef"><b>Definition:</b> auxtrans_manager.h:38</div></div>
<div class="ttc" id="msgqueue__manager_8h_html"><div class="ttname"><a href="msgqueue__manager_8h.html">msgqueue_manager.h</a></div></div>
<div class="ttc" id="target__manager_8h_html"><div class="ttname"><a href="target__manager_8h.html">target_manager.h</a></div></div>
<div class="ttc" id="openjpip_8h_html_ac5f5f8d1b581e02b6f1afb417a7dbef8"><div class="ttname"><a href="openjpip_8h.html#ac5f5f8d1b581e02b6f1afb417a7dbef8">decode_jpip</a></div><div class="ttdeci">OPJ_API void OPJ_CALLCONV decode_jpip(jpip_dec_param_t *dec)</div><div class="ttdoc">Decode jpip codestream. </div><div class="ttdef"><b>Definition:</b> openjpip.c:376</div></div>
<div class="ttc" id="structindex__param_html"><div class="ttname"><a href="structindex__param.html">index_param</a></div><div class="ttdoc">index parameters </div><div class="ttdef"><b>Definition:</b> index_manager.h:86</div></div>
<div class="ttc" id="imgsock__manager_8h_html"><div class="ttname"><a href="imgsock__manager_8h.html">imgsock_manager.h</a></div></div>
<div class="ttc" id="openjpip_8h_html_a05f5e9a3abc177c5a18e0a97c77cc2e0"><div class="ttname"><a href="openjpip_8h.html#a05f5e9a3abc177c5a18e0a97c77cc2e0">terminate_dec_server</a></div><div class="ttdeci">OPJ_API void OPJ_CALLCONV terminate_dec_server(dec_server_record_t **rec)</div><div class="ttdoc">Terminate the image decoding server. </div><div class="ttdef"><b>Definition:</b> openjpip.c:244</div></div>
<div class="ttc" id="structjpip__dec__param_html_ada24ff506e93e063fc95eb0a3be992bb"><div class="ttname"><a href="structjpip__dec__param.html#ada24ff506e93e063fc95eb0a3be992bb">jpip_dec_param::msgqueue</a></div><div class="ttdeci">msgqueue_param_t * msgqueue</div><div class="ttdoc">message queue </div><div class="ttdef"><b>Definition:</b> openjpip.h:220</div></div>
<div class="ttc" id="structquery__param_html"><div class="ttname"><a href="structquery__param.html">query_param</a></div><div class="ttdoc">Query parameters. </div><div class="ttdef"><b>Definition:</b> query_parser.h:47</div></div>
<div class="ttc" id="structdec__server__record_html_a3585f17f6d95223111fbd43d35ef34a4"><div class="ttname"><a href="structdec__server__record.html#a3585f17f6d95223111fbd43d35ef34a4">dec_server_record::listening_socket</a></div><div class="ttdeci">SOCKET listening_socket</div><div class="ttdoc">listenning socket </div><div class="ttdef"><b>Definition:</b> openjpip.h:162</div></div>
<div class="ttc" id="openjpip_8h_html_ae5c902178b9b0aa3b752de016a1074d7"><div class="ttname"><a href="openjpip_8h.html#ae5c902178b9b0aa3b752de016a1074d7">init_dec_server</a></div><div class="ttdeci">OPJ_API dec_server_record_t *OPJ_CALLCONV init_dec_server(int port)</div><div class="ttdoc">Initialize the image decoding server. </div><div class="ttdef"><b>Definition:</b> openjpip.c:230</div></div>
<div class="ttc" id="structjpip__dec__param_html_a026b1fc8941ad8e1ca06e695201773d0"><div class="ttname"><a href="structjpip__dec__param.html#a026b1fc8941ad8e1ca06e695201773d0">jpip_dec_param::jpipstream</a></div><div class="ttdeci">Byte_t * jpipstream</div><div class="ttdoc">JPT/JPP-stream. </div><div class="ttdef"><b>Definition:</b> openjpip.h:218</div></div>
<div class="ttc" id="structjpip__dec__param_html"><div class="ttname"><a href="structjpip__dec__param.html">jpip_dec_param</a></div><div class="ttdoc">JPIP decoding parameters. </div><div class="ttdef"><b>Definition:</b> openjpip.h:217</div></div>
<div class="ttc" id="structsessionlist__param_html"><div class="ttname"><a href="structsessionlist__param.html">sessionlist_param</a></div><div class="ttdoc">Session list parameters. </div><div class="ttdef"><b>Definition:</b> session_manager.h:45</div></div>
<div class="ttc" id="openjpip_8h_html_a27c269fda9707020ddd072462aea2879"><div class="ttname"><a href="openjpip_8h.html#a27c269fda9707020ddd072462aea2879">jpip_dec_param_t</a></div><div class="ttdeci">struct jpip_dec_param jpip_dec_param_t</div><div class="ttdoc">JPIP decoding parameters. </div></div>
<div class="ttc" id="openjpeg_8h_html_aedc1e23ea6654d0cc416bc390687458b"><div class="ttname"><a href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a></div><div class="ttdeci">#define OPJ_CALLCONV</div><div class="ttdef"><b>Definition:</b> openjpeg.h:92</div></div>
<div class="ttc" id="openjpip_8h_html_af7bc76c0c6c484227e8440cc87567158"><div class="ttname"><a href="openjpip_8h.html#af7bc76c0c6c484227e8440cc87567158">fread_jpip</a></div><div class="ttdeci">OPJ_API OPJ_BOOL OPJ_CALLCONV fread_jpip(const char fname[], jpip_dec_param_t *dec)</div><div class="ttdoc">Read jpip codestream from a file. </div><div class="ttdef"><b>Definition:</b> openjpip.c:350</div></div>
<div class="ttc" id="structihdrbox__param_html"><div class="ttname"><a href="structihdrbox__param.html">ihdrbox_param</a></div><div class="ttdoc">I.5.3.1 Image Header box. </div><div class="ttdef"><b>Definition:</b> ihdrbox_manager.h:39</div></div>
<div class="ttc" id="sock__manager_8h_html"><div class="ttname"><a href="sock__manager_8h.html">sock_manager.h</a></div></div>
<div class="ttc" id="auxtrans__manager_8h_html"><div class="ttname"><a href="auxtrans__manager_8h.html">auxtrans_manager.h</a></div></div>
<div class="ttc" id="byte__manager_8h_html"><div class="ttname"><a href="byte__manager_8h.html">byte_manager.h</a></div></div>
<div class="ttc" id="openjpeg_8h_html_a90b59bf5c66846dc3317a89089091f91"><div class="ttname"><a href="openjpeg_8h.html#a90b59bf5c66846dc3317a89089091f91">OPJ_API</a></div><div class="ttdeci">#define OPJ_API</div><div class="ttdef"><b>Definition:</b> openjpeg.h:89</div></div>
<div class="ttc" id="openjpip_8h_html_a1e7187bd7a446489759e2ea37c35cdf9"><div class="ttname"><a href="openjpip_8h.html#a1e7187bd7a446489759e2ea37c35cdf9">init_jpipdecoder</a></div><div class="ttdeci">OPJ_API jpip_dec_param_t *OPJ_CALLCONV init_jpipdecoder(OPJ_BOOL jp2)</div><div class="ttdoc">Initialize jpip decoder. </div><div class="ttdef"><b>Definition:</b> openjpip.c:334</div></div>
<div class="ttc" id="openjpip_8h_html_a8a52ee0dcf764d6fe53e4bad8dd50c26"><div class="ttname"><a href="openjpip_8h.html#a8a52ee0dcf764d6fe53e4bad8dd50c26">fwrite_jp2k</a></div><div class="ttdeci">OPJ_API OPJ_BOOL OPJ_CALLCONV fwrite_jp2k(const char fname[], jpip_dec_param_t *dec)</div><div class="ttdoc">Write J2K/JP2 codestream to a file. </div><div class="ttdef"><b>Definition:</b> openjpip.c:394</div></div>
<div class="ttc" id="openjpip_8h_html_a9ffc16809d0a534ebf55ed64394cedad"><div class="ttname"><a href="openjpip_8h.html#a9ffc16809d0a534ebf55ed64394cedad">client_t</a></div><div class="ttdeci">SOCKET client_t</div><div class="ttdoc">Client socket identifier. </div><div class="ttdef"><b>Definition:</b> openjpip.h:167</div></div>
<div class="ttc" id="openjpip_8h_html_a6413b56e4cf2303b22da7498490447e6"><div class="ttname"><a href="openjpip_8h.html#a6413b56e4cf2303b22da7498490447e6">dec_server_record_t</a></div><div class="ttdeci">struct dec_server_record dec_server_record_t</div><div class="ttdoc">Decoding server static records. </div></div>
<div class="ttc" id="cache__manager_8h_html"><div class="ttname"><a href="cache__manager_8h.html">cache_manager.h</a></div></div>
<div class="ttc" id="byte__manager_8h_html_a89544bfd8f79b949793e43e323e1ace1"><div class="ttname"><a href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a></div><div class="ttdeci">uint64_t Byte8_t</div><div class="ttdef"><b>Definition:</b> byte_manager.h:40</div></div>
<div class="ttc" id="structchannel__param_html"><div class="ttname"><a href="structchannel__param.html">channel_param</a></div><div class="ttdoc">Channel parameters. </div><div class="ttdef"><b>Definition:</b> channel_manager.h:43</div></div>
<div class="ttc" id="session__manager_8h_html"><div class="ttname"><a href="session__manager_8h.html">session_manager.h</a></div></div>
<div class="ttc" id="structmetadatalist__param_html"><div class="ttname"><a href="structmetadatalist__param.html">metadatalist_param</a></div><div class="ttdoc">metadata-bin list parameters </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:54</div></div>
</div><!-- fragment --></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.10
</small></address>
</body>
</html>