106 lines
39 KiB
HTML
106 lines
39 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: msgqueue_manager.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
|
|
 <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="headertitle">
|
|
<div class="title">msgqueue_manager.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="msgqueue__manager_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> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * $Id$</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <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> <span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (c) 2010-2011, Kaori Hagihara</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Copyright (c) 2011, Lucian Corlaciu, GSoC</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * are met:</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <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="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> */</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#ifndef MSGQUEUE_MANAGER_H_</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"># define MSGQUEUE_MANAGER_H_</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="byte__manager_8h.html">byte_manager.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="cachemodel__manager_8h.html">cachemodel_manager.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="placeholder__manager_8h.html">placeholder_manager.h</a>"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#a12f5f794f68329ce570a0392fd069086"> 39</a></span> <span class="preprocessor">#define PRECINCT_MSG 0</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#a8ad2151a5aff20272f147ea6b4ad1799"> 40</a></span> <span class="preprocessor">#define EXT_PRECINCT_MSG 1</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#ad460cf0bf7ad1208a1d61cfd0112caa6"> 41</a></span> <span class="preprocessor">#define TILE_HEADER_MSG 2</span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#a148949bc29272aa6d5253a6a767846e2"> 42</a></span> <span class="preprocessor">#define TILE_MSG 4</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#aeaa65a7cc8582a45f79abbb05a1fd101"> 43</a></span> <span class="preprocessor">#define EXT_TILE_MSG 5</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#a15f39a0ef0f722a593b4774baf2baabe"> 44</a></span> <span class="preprocessor">#define MAINHEADER_MSG 6</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="msgqueue__manager_8h.html#a939962e031be51df7f09de3cf05f83e4"> 45</a></span> <span class="preprocessor">#define METADATA_MSG 8</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structmessage__param.html"> 48</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmessage__param.html">message_param</a> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structmessage__param.html#a9b248b2996284bbd74016a6e7c6fbff2"> 50</a></span>  <a class="code" href="structmessage__param.html#a9b248b2996284bbd74016a6e7c6fbff2">last_byte</a>; </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structmessage__param.html#a4d4b77a8111511d94d48154371cd500b"> 51</a></span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structmessage__param.html#a4d4b77a8111511d94d48154371cd500b">in_class_id</a>; </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structmessage__param.html#a0d3ac8fe6d949fe168fe14929daa7224"> 52</a></span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structmessage__param.html#a0d3ac8fe6d949fe168fe14929daa7224">class_id</a>; </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structmessage__param.html#a4d72cb84ea9e3a60da3ce9accf40c771"> 53</a></span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structmessage__param.html#a4d72cb84ea9e3a60da3ce9accf40c771">csn</a>; </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structmessage__param.html#a9b69c2af8de7d5a4ce100bf970ec5d8d"> 54</a></span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structmessage__param.html#a9b69c2af8de7d5a4ce100bf970ec5d8d">bin_offset</a>; </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structmessage__param.html#a8fa65a3974908677c1405731e18702ac"> 55</a></span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structmessage__param.html#a8fa65a3974908677c1405731e18702ac">length</a>; </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structmessage__param.html#ac3b5e05d810e6db48a19b83783662074"> 56</a></span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="structmessage__param.html#ac3b5e05d810e6db48a19b83783662074">aux</a>; </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structmessage__param.html#ab3bc71f3b707116692159e2f1870a2ef"> 57</a></span>  <a class="code" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> <a class="code" href="structmessage__param.html#ab3bc71f3b707116692159e2f1870a2ef">res_offset</a>; </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structmessage__param.html#a690bbcfbf5400ae15b68a17495ca5640"> 58</a></span>  <a class="code" href="structplaceholder__param.html">placeholder_param_t</a> *<a class="code" href="structmessage__param.html#a690bbcfbf5400ae15b68a17495ca5640">phld</a>; </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structmessage__param.html#af349d721c012c38dc1626ee162c767b2"> 59</a></span>  <span class="keyword">struct </span><a class="code" href="structmessage__param.html">message_param</a> *<a class="code" href="structmessage__param.html#af349d721c012c38dc1626ee162c767b2">next</a>; </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> } <a class="code" href="msgqueue__manager_8h.html#a588a24c15d3a8cb1d11d3cfce2dd13c7">message_param_t</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structmsgqueue__param.html"> 63</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmsgqueue__param.html">msgqueue_param</a> {</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structmsgqueue__param.html#a7e14c8f89c279bc703cc76070ef2316e"> 64</a></span>  <a class="code" href="structmessage__param.html">message_param_t</a> *<a class="code" href="structmsgqueue__param.html#a7e14c8f89c279bc703cc76070ef2316e">first</a>; </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structmsgqueue__param.html#a2d8aa598b4ae2f4f749bd71d1d715859"> 65</a></span>  <a class="code" href="structmessage__param.html">message_param_t</a> *<a class="code" href="structmsgqueue__param.html#a2d8aa598b4ae2f4f749bd71d1d715859">last</a>; </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structmsgqueue__param.html#afcc9b4bd6183bda56e33dee00951e13c"> 66</a></span>  <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> <a class="code" href="structmsgqueue__param.html#afcc9b4bd6183bda56e33dee00951e13c">stateless</a>; </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structmsgqueue__param.html#a15939f868dffe44db2efff83d57e0f00"> 67</a></span>  <a class="code" href="structcachemodel__param.html">cachemodel_param_t</a> *<a class="code" href="structmsgqueue__param.html#a15939f868dffe44db2efff83d57e0f00">cachemodel</a>; </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> } <a class="code" href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> * <a class="code" href="msgqueue__manager_8h.html#a122b60ed8a415bb0ded95b2476c6a62c">gene_msgqueue</a>(<a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> stateless,</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="structcachemodel__param.html">cachemodel_param_t</a> *cachemodel);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#aff1807285e0f47bbea20d5a6473dd08f">delete_msgqueue</a>(<a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> **msgqueue);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#af5fa6e0b27c0fb48ef6e0acc09c96b88">delete_message_in_msgqueue</a>(<a class="code" href="structmessage__param.html">message_param_t</a> **message,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#aa075bf2e59a3a9cba532d2331dd9a36e">print_msgqueue</a>(<a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#a0a6f0ae1b724d1ccb7852f3e4ef1fd32">enqueue_mainheader</a>(<a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#a3280c3cd4e26ac1e3bdd27d6f5bbf999">enqueue_tileheader</a>(<span class="keywordtype">int</span> tile_id, <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#a4982e5cda507b39bfc074b4c4b60e3ae">enqueue_tile</a>(<a class="code" href="byte__manager_8h.html#aad2d957f29839c12c87e4dd945807d36">Byte4_t</a> tile_id, <span class="keywordtype">int</span> level, <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#afd5f028cafe553d84aa7545ee5837d66">enqueue_precinct</a>(<span class="keywordtype">int</span> seq_id, <span class="keywordtype">int</span> tile_id, <span class="keywordtype">int</span> comp_id, <span class="keywordtype">int</span> layers,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#a8b6b00d2ba2bad2a483aed202cf25610">enqueue_metadata</a>(<a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> meta_id, <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#ae67910d9d277b55a257b2b47165000f1">recons_stream_from_msgqueue</a>(<a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue, <span class="keywordtype">int</span> tmpfd);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#a61bc0c6328b8bc088a3652842642c4ae">parse_JPIPstream</a>(<a class="code" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *JPIPstream, <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> streamlen, <a class="code" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset,</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue);</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="keywordtype">void</span> <a class="code" href="msgqueue__manager_8h.html#a804b7467d1c130ece21fee3e6be15732">parse_metamsg</a>(<a class="code" href="structmsgqueue__param.html">msgqueue_param_t</a> *msgqueue, <a class="code" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *stream,</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> streamlen, <a class="code" href="structmetadatalist__param.html">metadatalist_param_t</a> *metadatalist);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <a class="code" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> <a class="code" href="msgqueue__manager_8h.html#a3e8eeeef9d2895126594bdb9d1b991c4">comp_precinct_id</a>(<span class="keywordtype">int</span> t, <span class="keywordtype">int</span> c, <span class="keywordtype">int</span> s, <span class="keywordtype">int</span> num_components,</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">int</span> num_tiles);</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#endif </span><span class="comment">/* !MSGQUEUE_MANAGER_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="structmsgqueue__param_html_afcc9b4bd6183bda56e33dee00951e13c"><div class="ttname"><a href="structmsgqueue__param.html#afcc9b4bd6183bda56e33dee00951e13c">msgqueue_param::stateless</a></div><div class="ttdeci">OPJ_BOOL stateless</div><div class="ttdoc">if this is a stateless message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:66</div></div>
|
|
<div class="ttc" id="structmessage__param_html_a4d4b77a8111511d94d48154371cd500b"><div class="ttname"><a href="structmessage__param.html#a4d4b77a8111511d94d48154371cd500b">message_param::in_class_id</a></div><div class="ttdeci">Byte8_t in_class_id</div><div class="ttdoc">in-class identifier A.2.3 </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:51</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="openjpeg_8h_html_a64948c8a524dee101c5a4d7293e6158c"><div class="ttname"><a href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a></div><div class="ttdeci">int64_t OPJ_OFF_T</div><div class="ttdef"><b>Definition:</b> openjpeg.h:130</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a48165c91ebacfac47c1b5aca2f82869f"><div class="ttname"><a href="msgqueue__manager_8h.html#a48165c91ebacfac47c1b5aca2f82869f">msgqueue_param_t</a></div><div class="ttdeci">struct msgqueue_param msgqueue_param_t</div><div class="ttdoc">message queue parameters </div></div>
|
|
<div class="ttc" id="structmessage__param_html_a8fa65a3974908677c1405731e18702ac"><div class="ttname"><a href="structmessage__param.html#a8fa65a3974908677c1405731e18702ac">message_param::length</a></div><div class="ttdeci">Byte8_t length</div><div class="ttdoc">message byte length </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:55</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a122b60ed8a415bb0ded95b2476c6a62c"><div class="ttname"><a href="msgqueue__manager_8h.html#a122b60ed8a415bb0ded95b2476c6a62c">gene_msgqueue</a></div><div class="ttdeci">msgqueue_param_t * gene_msgqueue(OPJ_BOOL stateless, cachemodel_param_t *cachemodel)</div><div class="ttdoc">generate message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:59</div></div>
|
|
<div class="ttc" id="structmessage__param_html_af349d721c012c38dc1626ee162c767b2"><div class="ttname"><a href="structmessage__param.html#af349d721c012c38dc1626ee162c767b2">message_param::next</a></div><div class="ttdeci">struct message_param * next</div><div class="ttdoc">pointer to the next message </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:59</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="structmessage__param_html_ab3bc71f3b707116692159e2f1870a2ef"><div class="ttname"><a href="structmessage__param.html#ab3bc71f3b707116692159e2f1870a2ef">message_param::res_offset</a></div><div class="ttdeci">OPJ_OFF_T res_offset</div><div class="ttdoc">offset in the resource </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:57</div></div>
|
|
<div class="ttc" id="structmessage__param_html_ac3b5e05d810e6db48a19b83783662074"><div class="ttname"><a href="structmessage__param.html#ac3b5e05d810e6db48a19b83783662074">message_param::aux</a></div><div class="ttdeci">Byte8_t aux</div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:56</div></div>
|
|
<div class="ttc" id="structmessage__param_html_a4d72cb84ea9e3a60da3ce9accf40c771"><div class="ttname"><a href="structmessage__param.html#a4d72cb84ea9e3a60da3ce9accf40c771">message_param::csn</a></div><div class="ttdeci">Byte8_t csn</div><div class="ttdoc">index of the codestream </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:53</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a4982e5cda507b39bfc074b4c4b60e3ae"><div class="ttname"><a href="msgqueue__manager_8h.html#a4982e5cda507b39bfc074b4c4b60e3ae">enqueue_tile</a></div><div class="ttdeci">void enqueue_tile(Byte4_t tile_id, int level, msgqueue_param_t *msgqueue)</div><div class="ttdoc">enqueue tile data-bin into message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:198</div></div>
|
|
<div class="ttc" id="structcachemodel__param_html"><div class="ttname"><a href="structcachemodel__param.html">cachemodel_param</a></div><div class="ttdoc">Cache model parameters. </div><div class="ttdef"><b>Definition:</b> cachemodel_manager.h:37</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a61bc0c6328b8bc088a3652842642c4ae"><div class="ttname"><a href="msgqueue__manager_8h.html#a61bc0c6328b8bc088a3652842642c4ae">parse_JPIPstream</a></div><div class="ttdeci">void parse_JPIPstream(Byte_t *JPIPstream, Byte8_t streamlen, OPJ_OFF_T offset, msgqueue_param_t *msgqueue)</div><div class="ttdoc">parse JPT- JPP- stream to message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:631</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a588a24c15d3a8cb1d11d3cfce2dd13c7"><div class="ttname"><a href="msgqueue__manager_8h.html#a588a24c15d3a8cb1d11d3cfce2dd13c7">message_param_t</a></div><div class="ttdeci">struct message_param message_param_t</div><div class="ttdoc">message parameters </div></div>
|
|
<div class="ttc" id="structmessage__param_html_a9b69c2af8de7d5a4ce100bf970ec5d8d"><div class="ttname"><a href="structmessage__param.html#a9b69c2af8de7d5a4ce100bf970ec5d8d">message_param::bin_offset</a></div><div class="ttdeci">Byte8_t bin_offset</div><div class="ttdoc">offset of the data in this message from the start of the data-bin </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:54</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a8b6b00d2ba2bad2a483aed202cf25610"><div class="ttname"><a href="msgqueue__manager_8h.html#a8b6b00d2ba2bad2a483aed202cf25610">enqueue_metadata</a></div><div class="ttdeci">void enqueue_metadata(Byte8_t meta_id, msgqueue_param_t *msgqueue)</div><div class="ttdoc">enqueue Metadata-bin into message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:323</div></div>
|
|
<div class="ttc" id="placeholder__manager_8h_html"><div class="ttname"><a href="placeholder__manager_8h.html">placeholder_manager.h</a></div></div>
|
|
<div class="ttc" id="structmsgqueue__param_html_a7e14c8f89c279bc703cc76070ef2316e"><div class="ttname"><a href="structmsgqueue__param.html#a7e14c8f89c279bc703cc76070ef2316e">msgqueue_param::first</a></div><div class="ttdeci">message_param_t * first</div><div class="ttdoc">first message pointer of the list </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:64</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a804b7467d1c130ece21fee3e6be15732"><div class="ttname"><a href="msgqueue__manager_8h.html#a804b7467d1c130ece21fee3e6be15732">parse_metamsg</a></div><div class="ttdeci">void parse_metamsg(msgqueue_param_t *msgqueue, Byte_t *stream, Byte8_t streamlen, metadatalist_param_t *metadatalist)</div><div class="ttdoc">parse JPT- JPP- stream to message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:687</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_afd5f028cafe553d84aa7545ee5837d66"><div class="ttname"><a href="msgqueue__manager_8h.html#afd5f028cafe553d84aa7545ee5837d66">enqueue_precinct</a></div><div class="ttdeci">void enqueue_precinct(int seq_id, int tile_id, int comp_id, int layers, msgqueue_param_t *msgqueue)</div><div class="ttdoc">enqueue precinct data-bin into message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:256</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a3e8eeeef9d2895126594bdb9d1b991c4"><div class="ttname"><a href="msgqueue__manager_8h.html#a3e8eeeef9d2895126594bdb9d1b991c4">comp_precinct_id</a></div><div class="ttdeci">Byte8_t comp_precinct_id(int t, int c, int s, int num_components, int num_tiles)</div><div class="ttdoc">compute precinct ID A.3.2.1 </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:311</div></div>
|
|
<div class="ttc" id="structmessage__param_html_a690bbcfbf5400ae15b68a17495ca5640"><div class="ttname"><a href="structmessage__param.html#a690bbcfbf5400ae15b68a17495ca5640">message_param::phld</a></div><div class="ttdeci">placeholder_param_t * phld</div><div class="ttdoc">placeholder pointer in index </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:58</div></div>
|
|
<div class="ttc" id="structmessage__param_html_a0d3ac8fe6d949fe168fe14929daa7224"><div class="ttname"><a href="structmessage__param.html#a0d3ac8fe6d949fe168fe14929daa7224">message_param::class_id</a></div><div class="ttdeci">Byte8_t class_id</div><div class="ttdoc">class identifiers </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:52</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_ae67910d9d277b55a257b2b47165000f1"><div class="ttname"><a href="msgqueue__manager_8h.html#ae67910d9d277b55a257b2b47165000f1">recons_stream_from_msgqueue</a></div><div class="ttdeci">void recons_stream_from_msgqueue(msgqueue_param_t *msgqueue, int tmpfd)</div><div class="ttdoc">reconstruct JPT/JPP-stream from message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:443</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a0a6f0ae1b724d1ccb7852f3e4ef1fd32"><div class="ttname"><a href="msgqueue__manager_8h.html#a0a6f0ae1b724d1ccb7852f3e4ef1fd32">enqueue_mainheader</a></div><div class="ttdeci">void enqueue_mainheader(msgqueue_param_t *msgqueue)</div><div class="ttdoc">enqueue main header data-bin into message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:135</div></div>
|
|
<div class="ttc" id="structmessage__param_html"><div class="ttname"><a href="structmessage__param.html">message_param</a></div><div class="ttdoc">message parameters </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:48</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_a3280c3cd4e26ac1e3bdd27d6f5bbf999"><div class="ttname"><a href="msgqueue__manager_8h.html#a3280c3cd4e26ac1e3bdd27d6f5bbf999">enqueue_tileheader</a></div><div class="ttdeci">void enqueue_tileheader(int tile_id, msgqueue_param_t *msgqueue)</div><div class="ttdoc">enqueue tile headers data-bin into message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:165</div></div>
|
|
<div class="ttc" id="structmsgqueue__param_html_a15939f868dffe44db2efff83d57e0f00"><div class="ttname"><a href="structmsgqueue__param.html#a15939f868dffe44db2efff83d57e0f00">msgqueue_param::cachemodel</a></div><div class="ttdeci">cachemodel_param_t * cachemodel</div><div class="ttdoc">reference cachemodel pointer </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:67</div></div>
|
|
<div class="ttc" id="byte__manager_8h_html_aad2d957f29839c12c87e4dd945807d36"><div class="ttname"><a href="byte__manager_8h.html#aad2d957f29839c12c87e4dd945807d36">Byte4_t</a></div><div class="ttdeci">uint32_t Byte4_t</div><div class="ttdef"><b>Definition:</b> byte_manager.h:39</div></div>
|
|
<div class="ttc" id="structplaceholder__param_html"><div class="ttname"><a href="structplaceholder__param.html">placeholder_param</a></div><div class="ttdoc">A.3.6.3 Placeholder box format. </div><div class="ttdef"><b>Definition:</b> placeholder_manager.h:39</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="structmsgqueue__param_html_a2d8aa598b4ae2f4f749bd71d1d715859"><div class="ttname"><a href="structmsgqueue__param.html#a2d8aa598b4ae2f4f749bd71d1d715859">msgqueue_param::last</a></div><div class="ttdeci">message_param_t * last</div><div class="ttdoc">last message pointer of the list </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:65</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_aa075bf2e59a3a9cba532d2331dd9a36e"><div class="ttname"><a href="msgqueue__manager_8h.html#aa075bf2e59a3a9cba532d2331dd9a36e">print_msgqueue</a></div><div class="ttdeci">void print_msgqueue(msgqueue_param_t *msgqueue)</div><div class="ttdoc">print message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:97</div></div>
|
|
<div class="ttc" id="cachemodel__manager_8h_html"><div class="ttname"><a href="cachemodel__manager_8h.html">cachemodel_manager.h</a></div></div>
|
|
<div class="ttc" id="structmessage__param_html_a9b248b2996284bbd74016a6e7c6fbff2"><div class="ttname"><a href="structmessage__param.html#a9b248b2996284bbd74016a6e7c6fbff2">message_param::last_byte</a></div><div class="ttdeci">OPJ_BOOL last_byte</div><div class="ttdoc">if message contains the last byte of the data-bin </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.h:50</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_aff1807285e0f47bbea20d5a6473dd08f"><div class="ttname"><a href="msgqueue__manager_8h.html#aff1807285e0f47bbea20d5a6473dd08f">delete_msgqueue</a></div><div class="ttdeci">void delete_msgqueue(msgqueue_param_t **msgqueue)</div><div class="ttdoc">delete message queue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:75</div></div>
|
|
<div class="ttc" id="msgqueue__manager_8h_html_af5fa6e0b27c0fb48ef6e0acc09c96b88"><div class="ttname"><a href="msgqueue__manager_8h.html#af5fa6e0b27c0fb48ef6e0acc09c96b88">delete_message_in_msgqueue</a></div><div class="ttdeci">void delete_message_in_msgqueue(message_param_t **message, msgqueue_param_t *msgqueue)</div><div class="ttdoc">delete a message in msgqueue </div><div class="ttdef"><b>Definition:</b> msgqueue_manager.c:795</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="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  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|