openjpeg/doxygen/mqc_8h_source.html

250 lines
52 KiB
HTML
Raw Normal View History

2022-05-13 20:21:13 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2015-07-10 18:06:19 +02:00
<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"/>
2022-05-13 20:21:13 +02:00
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: mqc.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;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2022-05-13 20:21:13 +02:00
&#160;<span id="projectnumber">2.5.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-13 20:21:13 +02:00
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<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_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
2015-07-10 18:06:19 +02:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">mqc.h</div> </div>
</div><!--header-->
<div class="contents">
2022-05-13 20:21:13 +02:00
<a href="mqc_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"> * The copyright in this software is being made available under the 2-clauses</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * BSD License, included below. This software may be subject to other third</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * party and contributor rights, including patent rights, and no such rights</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * are granted under this license.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Copyright (c) 2001-2003, David Janssens</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * Copyright (c) 2002-2003, Yannick Verschueren</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Copyright (c) 2003-2007, Francois-Olivier Devaux</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * Copyright (c) 2003-2014, Antonin Descampe</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * Copyright (c) 2005, Herve Drolon, FreeImage Team</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * Copyright (c) 2008, Jerome Fimes, Communications &amp; Systemes &lt;jerome.fimes@c-s.fr&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * are met:</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</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="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</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="l00036"></a><span class="lineno"> 36</span>&#160;<span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#ifndef OPJ_MQC_H</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#define OPJ_MQC_H</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="opj__common_8h.html">opj_common.h</a>&quot;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structopj__mqc__state.html"> 58</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structopj__mqc__state.html">opj_mqc_state</a> {</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structopj__mqc__state.html#a1ee680e4a9420ef645e2c3081a04c9c5"> 60</a></span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="structopj__mqc__state.html#a1ee680e4a9420ef645e2c3081a04c9c5">qeval</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structopj__mqc__state.html#a09a5fefe0bd4e7c0d56ec69220dfd990"> 62</a></span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="structopj__mqc__state.html#a09a5fefe0bd4e7c0d56ec69220dfd990">mps</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structopj__mqc__state.html#a9d8b039eb49c4edcb382da2ee82d7142"> 64</a></span>&#160; <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structopj__mqc__state.html">opj_mqc_state</a> *<a class="code" href="structopj__mqc__state.html#a9d8b039eb49c4edcb382da2ee82d7142">nmps</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structopj__mqc__state.html#a2fa65c94ba4d3cbdac26e9ce48f228e5"> 66</a></span>&#160; <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structopj__mqc__state.html">opj_mqc_state</a> *<a class="code" href="structopj__mqc__state.html#a2fa65c94ba4d3cbdac26e9ce48f228e5">nlps</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;} <a class="code" href="mqc_8h.html#a9825c307fa8289e5cb331dd7225c33c2">opj_mqc_state_t</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="mqc_8h.html#a2ea7971c7ed2c6e19bc3e9c3ba26b68f"> 69</a></span>&#160;<span class="preprocessor">#define MQC_NUMCTXS 19</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structopj__mqc.html"> 74</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structopj__mqc.html">opj_mqc</a> {</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96"> 76</a></span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">c</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d"> 78</a></span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">a</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf"> 80</a></span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">ct</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">/* only used by decoder, to count the number of times a terminating 0xFF &gt;0x8F marker is read */</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a49f134a3878811e59581b25fc829a069"> 82</a></span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="structopj__mqc.html#a49f134a3878811e59581b25fc829a069">end_of_byte_stream_counter</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63"> 84</a></span>&#160; <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *<a class="code" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">bp</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structopj__mqc.html#ac6e2a167d3bdf52a3c7378cc62d3ff20"> 86</a></span>&#160; <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *<a class="code" href="structopj__mqc.html#ac6e2a167d3bdf52a3c7378cc62d3ff20">start</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a82b0225c0f832b4ff04bf5dc171ea164"> 88</a></span>&#160; <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *<a class="code" href="structopj__mqc.html#a82b0225c0f832b4ff04bf5dc171ea164">end</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a2ecaf46cd4f26b606e95a3180e1e664f"> 90</a></span>&#160; <span class="keyword">const</span> <a class="code" href="structopj__mqc__state.html">opj_mqc_state_t</a> *<a class="code" href="structopj__mqc.html#a2ecaf46cd4f26b606e95a3180e1e664f">ctxs</a>[<a class="code" href="mqc_8h.html#a2ea7971c7ed2c6e19bc3e9c3ba26b68f">MQC_NUMCTXS</a>];</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a602dc46a34bc1875c9ad30e49d059e19"> 92</a></span>&#160; <span class="keyword">const</span> <a class="code" href="structopj__mqc__state.html">opj_mqc_state_t</a> **<a class="code" href="structopj__mqc.html#a602dc46a34bc1875c9ad30e49d059e19">curctx</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="comment">/* lut_ctxno_zc shifted by (1 &lt;&lt; 9) * bandno */</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structopj__mqc.html#ac6c52e5944b6186886f0d3b853ac3b01"> 94</a></span>&#160; <span class="keyword">const</span> <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a>* <a class="code" href="structopj__mqc.html#ac6c52e5944b6186886f0d3b853ac3b01">lut_ctxno_zc_orient</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structopj__mqc.html#a464f7ff357673a604755c3bfd0b26a85"> 96</a></span>&#160; <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> <a class="code" href="structopj__mqc.html#a464f7ff357673a604755c3bfd0b26a85">backup</a>[<a class="code" href="opj__common_8h.html#a7f1b41029a9c8a29b973c4200df596dd">OPJ_COMMON_CBLK_DATA_EXTRA</a>];</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;} <a class="code" href="mqc_8h.html#a88db3570f4dea454a8a2251b174d5050">opj_mqc_t</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="mqc_8h.html#af45d4e27106b58c5cc51bf4eaa2b3f4f"> 99</a></span>&#160;<span class="preprocessor">#define BYPASS_CT_INIT 0xDEADBEEF</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mqc__inl_8h.html">mqc_inl.h</a>&quot;</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="comment">/* ----------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="mqc_8h.html#ac9c6d11f48074e5064584d1e5d0dcd0f">opj_mqc_numbytes</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a9b1de23283892ba50029b75ab1b9a91a">opj_mqc_resetstates</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a7260daca59a1e01f087a7806db045853">opj_mqc_setstate</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> ctxno, <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> msb,</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> prob);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#ac1a06acd83ef63950db20f73251efab3">opj_mqc_init_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *bp);</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="mqc_8h.html#a7315986b3a52b2e2287a49ab1780ae4f"> 139</a></span>&#160;<span class="preprocessor">#define opj_mqc_setcurctx(mqc, ctxno) (mqc)-&gt;curctx = &amp;(mqc)-&gt;ctxs[(OPJ_UINT32)(ctxno)]</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a39b562515ebaa0a9707c51b6770ad7fe">opj_mqc_flush</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#aba5f2d1b605d35e514aeb7a2827996b9">opj_mqc_bypass_init_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> <a class="code" href="mqc_8h.html#a4a259d02eadde28d92edac74dbc40323">opj_mqc_bypass_get_extra_bytes</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> erterm);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#ad886df66150746e1a41d3e20037683fb">opj_mqc_bypass_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> d);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a9eb31de8e3ede6acad7469f9ea0b0d1b">opj_mqc_bypass_flush_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> erterm);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a858901a7f568a2845885e537aaeab825">opj_mqc_reset_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#ifdef notdef</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;<a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_mqc_restart_enc(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a178f2a2119c59ae30169835162bd73e7">opj_mqc_restart_init_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#ae8351e8a317e68679bf5ce649e91f48d">opj_mqc_erterm_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#af6195cf3fe837a5acbaa721c3e453465">opj_mqc_segmark_enc</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#aa0e4b75040d645307e25dd53528e8512">opj_mqc_init_dec</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *bp, <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> len,</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> extra_writable_bytes);</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a683734858d69085fd07394d1d3fae633">opj_mqc_raw_init_dec</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc, <a class="code" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *bp, <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> len,</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="code" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> extra_writable_bytes);</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; </div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mqc_8h.html#a5bdec54dabf502c578e46d6b34ce8b93">opq_mqc_finish_dec</a>(<a class="code" href="structopj__mqc.html">opj_mqc_t</a> *mqc);</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;<span class="comment">/*static INLINE OPJ_UINT32 opj_mqc_decode(opj_mqc_t * const mqc);*/</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;<span class="comment">/* ----------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; </div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* OPJ_MQC_H */</span><span class="preprocessor"></span></div>
2015-07-10 18:06:19 +02:00
</div><!-- fragment --></div><!-- contents -->
2022-05-13 20:21:13 +02:00
<div class="ttc" id="amqc_8h_html_a9825c307fa8289e5cb331dd7225c33c2"><div class="ttname"><a href="mqc_8h.html#a9825c307fa8289e5cb331dd7225c33c2">opj_mqc_state_t</a></div><div class="ttdeci">struct opj_mqc_state opj_mqc_state_t</div><div class="ttdoc">This struct defines the state of a context.</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a22de44e15bddae7edfacf4e9ac9bb199"><div class="ttname"><a href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a></div><div class="ttdeci">unsigned char OPJ_BYTE</div><div class="ttdef"><b>Definition:</b> openjpeg.h:123</div></div>
<div class="ttc" id="amqc_8c_html_a683734858d69085fd07394d1d3fae633"><div class="ttname"><a href="mqc_8c.html#a683734858d69085fd07394d1d3fae633">opj_mqc_raw_init_dec</a></div><div class="ttdeci">void opj_mqc_raw_init_dec(opj_mqc_t *mqc, OPJ_BYTE *bp, OPJ_UINT32 len, OPJ_UINT32 extra_writable_bytes)</div><div class="ttdoc">Initialize the decoder for RAW decoding.</div><div class="ttdef"><b>Definition:</b> mqc.c:463</div></div>
<div class="ttc" id="amqc__inl_8h_html"><div class="ttname"><a href="mqc__inl_8h.html">mqc_inl.h</a></div></div>
<div class="ttc" id="amqc_8c_html_ac1a06acd83ef63950db20f73251efab3"><div class="ttname"><a href="mqc_8c.html#ac1a06acd83ef63950db20f73251efab3">opj_mqc_init_enc</a></div><div class="ttdeci">void opj_mqc_init_enc(opj_mqc_t *mqc, OPJ_BYTE *bp)</div><div class="ttdoc">Initialize the encoder.</div><div class="ttdef"><b>Definition:</b> mqc.c:188</div></div>
<div class="ttc" id="amqc_8c_html_a858901a7f568a2845885e537aaeab825"><div class="ttname"><a href="mqc_8c.html#a858901a7f568a2845885e537aaeab825">opj_mqc_reset_enc</a></div><div class="ttdeci">void opj_mqc_reset_enc(opj_mqc_t *mqc)</div><div class="ttdoc">RESET mode switch.</div><div class="ttdef"><b>Definition:</b> mqc.c:310</div></div>
<div class="ttc" id="astructopj__mqc_html"><div class="ttname"><a href="structopj__mqc.html">opj_mqc</a></div><div class="ttdoc">MQ coder.</div><div class="ttdef"><b>Definition:</b> mqc.h:74</div></div>
<div class="ttc" id="astructopj__mqc_html_a3db4ba6d16362a3bb01801c76f3dad63"><div class="ttname"><a href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a></div><div class="ttdeci">OPJ_BYTE * bp</div><div class="ttdoc">pointer to the current position in the buffer</div><div class="ttdef"><b>Definition:</b> mqc.h:84</div></div>
<div class="ttc" id="amqc_8c_html_ae8351e8a317e68679bf5ce649e91f48d"><div class="ttname"><a href="mqc_8c.html#ae8351e8a317e68679bf5ce649e91f48d">opj_mqc_erterm_enc</a></div><div class="ttdeci">void opj_mqc_erterm_enc(opj_mqc_t *mqc)</div><div class="ttdoc">ERTERM mode switch (PTERM)</div><div class="ttdef"><b>Definition:</b> mqc.c:357</div></div>
<div class="ttc" id="astructopj__mqc_html_a602dc46a34bc1875c9ad30e49d059e19"><div class="ttname"><a href="structopj__mqc.html#a602dc46a34bc1875c9ad30e49d059e19">opj_mqc::curctx</a></div><div class="ttdeci">const opj_mqc_state_t ** curctx</div><div class="ttdoc">Active context.</div><div class="ttdef"><b>Definition:</b> mqc.h:92</div></div>
<div class="ttc" id="aopj__common_8h_html_a7f1b41029a9c8a29b973c4200df596dd"><div class="ttname"><a href="opj__common_8h.html#a7f1b41029a9c8a29b973c4200df596dd">OPJ_COMMON_CBLK_DATA_EXTRA</a></div><div class="ttdeci">#define OPJ_COMMON_CBLK_DATA_EXTRA</div><div class="ttdoc">Margin for a fake FFFF marker.</div><div class="ttdef"><b>Definition:</b> opj_common.h:39</div></div>
<div class="ttc" id="at1_8h_html_a27ee56916ef86bcbb5c07e55fb719b20"><div class="ttname"><a href="t1_8h.html#a27ee56916ef86bcbb5c07e55fb719b20">T1_CTXNO_UNI</a></div><div class="ttdeci">#define T1_CTXNO_UNI</div><div class="ttdef"><b>Definition:</b> t1.h:65</div></div>
<div class="ttc" id="amqc_8c_html_aba5f2d1b605d35e514aeb7a2827996b9"><div class="ttname"><a href="mqc_8c.html#aba5f2d1b605d35e514aeb7a2827996b9">opj_mqc_bypass_init_enc</a></div><div class="ttdeci">void opj_mqc_bypass_init_enc(opj_mqc_t *mqc)</div><div class="ttdoc">BYPASS mode switch, initialization operation.</div><div class="ttdef"><b>Definition:</b> mqc.c:229</div></div>
<div class="ttc" id="amqc_8c_html_af6195cf3fe837a5acbaa721c3e453465"><div class="ttname"><a href="mqc_8c.html#af6195cf3fe837a5acbaa721c3e453465">opj_mqc_segmark_enc</a></div><div class="ttdeci">void opj_mqc_segmark_enc(opj_mqc_t *mqc)</div><div class="ttdoc">SEGMARK mode switch (SEGSYM)</div><div class="ttdef"><b>Definition:</b> mqc.c:410</div></div>
<div class="ttc" id="amqc_8h_html_ae8351e8a317e68679bf5ce649e91f48d"><div class="ttname"><a href="mqc_8h.html#ae8351e8a317e68679bf5ce649e91f48d">opj_mqc_erterm_enc</a></div><div class="ttdeci">void opj_mqc_erterm_enc(opj_mqc_t *mqc)</div><div class="ttdoc">ERTERM mode switch (PTERM)</div><div class="ttdef"><b>Definition:</b> mqc.c:357</div></div>
<div class="ttc" id="amqc_8h_html_a9b1de23283892ba50029b75ab1b9a91a"><div class="ttname"><a href="mqc_8h.html#a9b1de23283892ba50029b75ab1b9a91a">opj_mqc_resetstates</a></div><div class="ttdeci">void opj_mqc_resetstates(opj_mqc_t *mqc)</div><div class="ttdoc">Reset the states of all the context of the coder/decoder (each context is set to a state where 0 and ...</div><div class="ttdef"><b>Definition:</b> mqc.c:478</div></div>
<div class="ttc" id="at1_8h_html_a335ce360eba4cbd31b9e082535d02180"><div class="ttname"><a href="t1_8h.html#a335ce360eba4cbd31b9e082535d02180">T1_CTXNO_AGG</a></div><div class="ttdeci">#define T1_CTXNO_AGG</div><div class="ttdef"><b>Definition:</b> t1.h:64</div></div>
<div class="ttc" id="aopj__common_8h_html"><div class="ttname"><a href="opj__common_8h.html">opj_common.h</a></div></div>
<div class="ttc" id="at1_8h_html_a325280d653d545416723a91f0ebbf428"><div class="ttname"><a href="t1_8h.html#a325280d653d545416723a91f0ebbf428">T1_CTXNO_ZC</a></div><div class="ttdeci">#define T1_CTXNO_ZC</div><div class="ttdef"><b>Definition:</b> t1.h:61</div></div>
<div class="ttc" id="amqc_8c_html_a4a259d02eadde28d92edac74dbc40323"><div class="ttname"><a href="mqc_8c.html#a4a259d02eadde28d92edac74dbc40323">opj_mqc_bypass_get_extra_bytes</a></div><div class="ttdeci">OPJ_UINT32 opj_mqc_bypass_get_extra_bytes(opj_mqc_t *mqc, OPJ_BOOL erterm)</div><div class="ttdoc">Return number of extra bytes to add to opj_mqc_numbytes() for the² size of a non-terminating BYPASS p...</div><div class="ttdef"><b>Definition:</b> mqc.c:266</div></div>
<div class="ttc" id="amqc_8c_html_ad886df66150746e1a41d3e20037683fb"><div class="ttname"><a href="mqc_8c.html#ad886df66150746e1a41d3e20037683fb">opj_mqc_bypass_enc</a></div><div class="ttdeci">void opj_mqc_bypass_enc(opj_mqc_t *mqc, OPJ_UINT32 d)</div><div class="ttdoc">BYPASS mode switch, coding operation.</div><div class="ttdef"><b>Definition:</b> mqc.c:247</div></div>
<div class="ttc" id="amqc__inl_8h_html_ac6bb4b724da9bf77a3241ce9b5fdf1b7"><div class="ttname"><a href="mqc__inl_8h.html#ac6bb4b724da9bf77a3241ce9b5fdf1b7">opj_mqc_codemps_macro</a></div><div class="ttdeci">#define opj_mqc_codemps_macro(mqc, curctx, a, c, ct)</div><div class="ttdef"><b>Definition:</b> mqc_inl.h:225</div></div>
<div class="ttc" id="astructopj__mqc__state_html_a9d8b039eb49c4edcb382da2ee82d7142"><div class="ttname"><a href="structopj__mqc__state.html#a9d8b039eb49c4edcb382da2ee82d7142">opj_mqc_state::nmps</a></div><div class="ttdeci">const struct opj_mqc_state * nmps</div><div class="ttdoc">next state if the next encoded symbol is the MPS</div><div class="ttdef"><b>Definition:</b> mqc.h:64</div></div>
<div class="ttc" id="astructopj__mqc__state_html_a09a5fefe0bd4e7c0d56ec69220dfd990"><div class="ttname"><a href="structopj__mqc__state.html#a09a5fefe0bd4e7c0d56ec69220dfd990">opj_mqc_state::mps</a></div><div class="ttdeci">OPJ_UINT32 mps</div><div class="ttdoc">the Most Probable Symbol (0 or 1)</div><div class="ttdef"><b>Definition:</b> mqc.h:62</div></div>
<div class="ttc" id="amqc_8h_html_a178f2a2119c59ae30169835162bd73e7"><div class="ttname"><a href="mqc_8h.html#a178f2a2119c59ae30169835162bd73e7">opj_mqc_restart_init_enc</a></div><div class="ttdeci">void opj_mqc_restart_init_enc(opj_mqc_t *mqc)</div><div class="ttdoc">RESTART mode switch (TERMALL) reinitialisation.</div><div class="ttdef"><b>Definition:</b> mqc.c:337</div></div>
<div class="ttc" id="amqc_8c_html_a5bdec54dabf502c578e46d6b34ce8b93"><div class="ttname"><a href="mqc_8c.html#a5bdec54dabf502c578e46d6b34ce8b93">opq_mqc_finish_dec</a></div><div class="ttdeci">void opq_mqc_finish_dec(opj_mqc_t *mqc)</div><div class="ttdoc">Terminate RAW/MQC decoding.</div><div class="ttdef"><b>Definition:</b> mqc.c:472</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a2eb6f9e0395b47b8d5e3eeae4fe0c116"><div class="ttname"><a href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a></div><div class="ttdeci">#define INLINE</div><div class="ttdef"><b>Definition:</b> openjpeg.h:65</div></div>
<div class="ttc" id="amqc_8h_html_af45d4e27106b58c5cc51bf4eaa2b3f4f"><div class="ttname"><a href="mqc_8h.html#af45d4e27106b58c5cc51bf4eaa2b3f4f">BYPASS_CT_INIT</a></div><div class="ttdeci">#define BYPASS_CT_INIT</div><div class="ttdef"><b>Definition:</b> mqc.h:99</div></div>
<div class="ttc" id="amqc_8h_html_a39b562515ebaa0a9707c51b6770ad7fe"><div class="ttname"><a href="mqc_8h.html#a39b562515ebaa0a9707c51b6770ad7fe">opj_mqc_flush</a></div><div class="ttdeci">void opj_mqc_flush(opj_mqc_t *mqc)</div><div class="ttdoc">Flush the encoder, so that all remaining data is written.</div><div class="ttdef"><b>Definition:</b> mqc.c:212</div></div>
<div class="ttc" id="amqc_8c_html_ac9c6d11f48074e5064584d1e5d0dcd0f"><div class="ttname"><a href="mqc_8c.html#ac9c6d11f48074e5064584d1e5d0dcd0f">opj_mqc_numbytes</a></div><div class="ttdeci">OPJ_UINT32 opj_mqc_numbytes(opj_mqc_t *mqc)</div><div class="ttdoc">Return the number of bytes written/read since initialisation.</div><div class="ttdef"><b>Definition:</b> mqc.c:179</div></div>
<div class="ttc" id="astructopj__mqc_html_a26cf29944f5a74b2a0af55defaed5e5d"><div class="ttname"><a href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a></div><div class="ttdeci">OPJ_UINT32 a</div><div class="ttdoc">only used by MQ decoder</div><div class="ttdef"><b>Definition:</b> mqc.h:78</div></div>
<div class="ttc" id="amqc_8h_html_aa0e4b75040d645307e25dd53528e8512"><div class="ttname"><a href="mqc_8h.html#aa0e4b75040d645307e25dd53528e8512">opj_mqc_init_dec</a></div><div class="ttdeci">void opj_mqc_init_dec(opj_mqc_t *mqc, OPJ_BYTE *bp, OPJ_UINT32 len, OPJ_UINT32 extra_writable_bytes)</div><div class="ttdoc">Initialize the decoder for MQ decoding.</div><div class="ttdef"><b>Definition:</b> mqc.c:439</div></div>
<div class="ttc" id="amqc_8h_html_ad886df66150746e1a41d3e20037683fb"><div class="ttname"><a href="mqc_8h.html#ad886df66150746e1a41d3e20037683fb">opj_mqc_bypass_enc</a></div><div class="ttdeci">void opj_mqc_bypass_enc(opj_mqc_t *mqc, OPJ_UINT32 d)</div><div class="ttdoc">BYPASS mode switch, coding operation.</div><div class="ttdef"><b>Definition:</b> mqc.c:247</div></div>
<div class="ttc" id="amqc_8c_html_a7260daca59a1e01f087a7806db045853"><div class="ttname"><a href="mqc_8c.html#a7260daca59a1e01f087a7806db045853">opj_mqc_setstate</a></div><div class="ttdeci">void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob)</div><div class="ttdoc">Set the state of a particular context.</div><div class="ttdef"><b>Definition:</b> mqc.c:486</div></div>
<div class="ttc" id="aopenjpeg_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:116</div></div>
<div class="ttc" id="astructopj__mqc_html_a2ecaf46cd4f26b606e95a3180e1e664f"><div class="ttname"><a href="structopj__mqc.html#a2ecaf46cd4f26b606e95a3180e1e664f">opj_mqc::ctxs</a></div><div class="ttdeci">const opj_mqc_state_t * ctxs[MQC_NUMCTXS]</div><div class="ttdoc">Array of contexts.</div><div class="ttdef"><b>Definition:</b> mqc.h:90</div></div>
<div class="ttc" id="amqc_8c_html_a2c3c376c7ad5a8c6edd5c82891efd296"><div class="ttname"><a href="mqc_8c.html#a2c3c376c7ad5a8c6edd5c82891efd296">mqc_states</a></div><div class="ttdeci">static const opj_mqc_state_t mqc_states[47 *2]</div><div class="ttdef"><b>Definition:</b> mqc.c:61</div></div>
<div class="ttc" id="aopj__includes_8h_html"><div class="ttname"><a href="opj__includes_8h.html">opj_includes.h</a></div></div>
<div class="ttc" id="amqc_8c_html_ada0d3e133f41e9ae4011cf4023756c4e"><div class="ttname"><a href="mqc_8c.html#ada0d3e133f41e9ae4011cf4023756c4e">opj_mqc_codelps</a></div><div class="ttdeci">static INLINE void opj_mqc_codelps(opj_mqc_t *mqc)</div><div class="ttdoc">Encode the most least symbol.</div><div class="ttdef"><b>Definition:</b> mqc.c:391</div></div>
<div class="ttc" id="amqc_8h_html_ac9c6d11f48074e5064584d1e5d0dcd0f"><div class="ttname"><a href="mqc_8h.html#ac9c6d11f48074e5064584d1e5d0dcd0f">opj_mqc_numbytes</a></div><div class="ttdeci">OPJ_UINT32 opj_mqc_numbytes(opj_mqc_t *mqc)</div><div class="ttdoc">Return the number of bytes written/read since initialisation.</div><div class="ttdef"><b>Definition:</b> mqc.c:179</div></div>
<div class="ttc" id="amqc_8h_html_a683734858d69085fd07394d1d3fae633"><div class="ttname"><a href="mqc_8h.html#a683734858d69085fd07394d1d3fae633">opj_mqc_raw_init_dec</a></div><div class="ttdeci">void opj_mqc_raw_init_dec(opj_mqc_t *mqc, OPJ_BYTE *bp, OPJ_UINT32 len, OPJ_UINT32 extra_writable_bytes)</div><div class="ttdoc">Initialize the decoder for RAW decoding.</div><div class="ttdef"><b>Definition:</b> mqc.c:463</div></div>
<div class="ttc" id="amqc_8h_html_ac1a06acd83ef63950db20f73251efab3"><div class="ttname"><a href="mqc_8h.html#ac1a06acd83ef63950db20f73251efab3">opj_mqc_init_enc</a></div><div class="ttdeci">void opj_mqc_init_enc(opj_mqc_t *mqc, OPJ_BYTE *bp)</div><div class="ttdoc">Initialize the encoder.</div><div class="ttdef"><b>Definition:</b> mqc.c:188</div></div>
<div class="ttc" id="amqc_8c_html_aad5ddb4b3dbb39df1fc60702c163397a"><div class="ttname"><a href="mqc_8c.html#aad5ddb4b3dbb39df1fc60702c163397a">opj_mqc_codemps</a></div><div class="ttdeci">static INLINE void opj_mqc_codemps(opj_mqc_t *mqc)</div><div class="ttdoc">Encode the most probable symbol.</div><div class="ttdef"><b>Definition:</b> mqc.c:382</div></div>
<div class="ttc" id="amqc_8c_html_aa0e4b75040d645307e25dd53528e8512"><div class="ttname"><a href="mqc_8c.html#aa0e4b75040d645307e25dd53528e8512">opj_mqc_init_dec</a></div><div class="ttdeci">void opj_mqc_init_dec(opj_mqc_t *mqc, OPJ_BYTE *bp, OPJ_UINT32 len, OPJ_UINT32 extra_writable_bytes)</div><div class="ttdoc">Initialize the decoder for MQ decoding.</div><div class="ttdef"><b>Definition:</b> mqc.c:439</div></div>
<div class="ttc" id="astructopj__mqc_html_a82b0225c0f832b4ff04bf5dc171ea164"><div class="ttname"><a href="structopj__mqc.html#a82b0225c0f832b4ff04bf5dc171ea164">opj_mqc::end</a></div><div class="ttdeci">OPJ_BYTE * end</div><div class="ttdoc">pointer to the end of the buffer</div><div class="ttdef"><b>Definition:</b> mqc.h:88</div></div>
<div class="ttc" id="amqc_8h_html_aba5f2d1b605d35e514aeb7a2827996b9"><div class="ttname"><a href="mqc_8h.html#aba5f2d1b605d35e514aeb7a2827996b9">opj_mqc_bypass_init_enc</a></div><div class="ttdeci">void opj_mqc_bypass_init_enc(opj_mqc_t *mqc)</div><div class="ttdoc">BYPASS mode switch, initialization operation.</div><div class="ttdef"><b>Definition:</b> mqc.c:229</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a3cec91ef9e73677f0dbd60d4e42401b9"><div class="ttname"><a href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a></div><div class="ttdeci">int32_t OPJ_INT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:131</div></div>
<div class="ttc" id="amqc_8h_html_a7315986b3a52b2e2287a49ab1780ae4f"><div class="ttname"><a href="mqc_8h.html#a7315986b3a52b2e2287a49ab1780ae4f">opj_mqc_setcurctx</a></div><div class="ttdeci">#define opj_mqc_setcurctx(mqc, ctxno)</div><div class="ttdoc">Set the current context used for coding/decoding.</div><div class="ttdef"><b>Definition:</b> mqc.h:139</div></div>
<div class="ttc" id="amqc_8c_html_a39b562515ebaa0a9707c51b6770ad7fe"><div class="ttname"><a href="mqc_8c.html#a39b562515ebaa0a9707c51b6770ad7fe">opj_mqc_flush</a></div><div class="ttdeci">void opj_mqc_flush(opj_mqc_t *mqc)</div><div class="ttdoc">Flush the encoder, so that all remaining data is written.</div><div class="ttdef"><b>Definition:</b> mqc.c:212</div></div>
<div class="ttc" id="astructopj__mqc__state_html_a2fa65c94ba4d3cbdac26e9ce48f228e5"><div class="ttname"><a href="structopj__mqc__state.html#a2fa65c94ba4d3cbdac26e9ce48f228e5">opj_mqc_state::nlps</a></div><div class="ttdeci">const struct opj_mqc_state * nlps</div><div class="ttdoc">next state if the next encoded symbol is the LPS</div><div class="ttdef"><b>Definition:</b> mqc.h:66</div></div>
<div class="ttc" id="astructopj__mqc_html_ac6e2a167d3bdf52a3c7378cc62d3ff20"><div class="ttname"><a href="structopj__mqc.html#ac6e2a167d3bdf52a3c7378cc62d3ff20">opj_mqc::start</a></div><div class="ttdeci">OPJ_BYTE * start</div><div class="ttdoc">pointer to the start of the buffer</div><div class="ttdef"><b>Definition:</b> mqc.h:86</div></div>
<div class="ttc" id="amqc_8h_html_a9eb31de8e3ede6acad7469f9ea0b0d1b"><div class="ttname"><a href="mqc_8h.html#a9eb31de8e3ede6acad7469f9ea0b0d1b">opj_mqc_bypass_flush_enc</a></div><div class="ttdeci">void opj_mqc_bypass_flush_enc(opj_mqc_t *mqc, OPJ_BOOL erterm)</div><div class="ttdoc">BYPASS mode switch, flush operation.</div><div class="ttdef"><b>Definition:</b> mqc.c:272</div></div>
<div class="ttc" id="amqc_8c_html_a6367db2a4c3eee85678978f60090363b"><div class="ttname"><a href="mqc_8c.html#a6367db2a4c3eee85678978f60090363b">opj_mqc_encode</a></div><div class="ttdeci">static INLINE void opj_mqc_encode(opj_mqc_t *mqc, OPJ_UINT32 d)</div><div class="ttdoc">Encode a symbol using the MQ-coder.</div><div class="ttdef"><b>Definition:</b> mqc.c:401</div></div>
<div class="ttc" id="amqc_8h_html_a7260daca59a1e01f087a7806db045853"><div class="ttname"><a href="mqc_8h.html#a7260daca59a1e01f087a7806db045853">opj_mqc_setstate</a></div><div class="ttdeci">void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob)</div><div class="ttdoc">Set the state of a particular context.</div><div class="ttdef"><b>Definition:</b> mqc.c:486</div></div>
<div class="ttc" id="amqc_8c_html_a0cc80a2b2d042ee956b24a0c4437de46"><div class="ttname"><a href="mqc_8c.html#a0cc80a2b2d042ee956b24a0c4437de46">opj_mqc_renorme</a></div><div class="ttdeci">static INLINE void opj_mqc_renorme(opj_mqc_t *mqc)</div><div class="ttdef"><b>Definition:</b> mqc.c:373</div></div>
<div class="ttc" id="amqc_8h_html_a5bdec54dabf502c578e46d6b34ce8b93"><div class="ttname"><a href="mqc_8h.html#a5bdec54dabf502c578e46d6b34ce8b93">opq_mqc_finish_dec</a></div><div class="ttdeci">void opq_mqc_finish_dec(opj_mqc_t *mqc)</div><div class="ttdoc">Terminate RAW/MQC decoding.</div><div class="ttdef"><b>Definition:</b> mqc.c:472</div></div>
<div class="ttc" id="astructopj__mqc__state_html_a1ee680e4a9420ef645e2c3081a04c9c5"><div class="ttname"><a href="structopj__mqc__state.html#a1ee680e4a9420ef645e2c3081a04c9c5">opj_mqc_state::qeval</a></div><div class="ttdeci">OPJ_UINT32 qeval</div><div class="ttdoc">the probability of the Least Probable Symbol (0.75-&gt;0x8000, 1.5-&gt;0xffff)</div><div class="ttdef"><b>Definition:</b> mqc.h:60</div></div>
<div class="ttc" id="amqc_8h_html_af6195cf3fe837a5acbaa721c3e453465"><div class="ttname"><a href="mqc_8h.html#af6195cf3fe837a5acbaa721c3e453465">opj_mqc_segmark_enc</a></div><div class="ttdeci">void opj_mqc_segmark_enc(opj_mqc_t *mqc)</div><div class="ttdoc">SEGMARK mode switch (SEGSYM)</div><div class="ttdef"><b>Definition:</b> mqc.c:410</div></div>
<div class="ttc" id="amqc_8c_html_a9b1de23283892ba50029b75ab1b9a91a"><div class="ttname"><a href="mqc_8c.html#a9b1de23283892ba50029b75ab1b9a91a">opj_mqc_resetstates</a></div><div class="ttdeci">void opj_mqc_resetstates(opj_mqc_t *mqc)</div><div class="ttdoc">Reset the states of all the context of the coder/decoder (each context is set to a state where 0 and ...</div><div class="ttdef"><b>Definition:</b> mqc.c:478</div></div>
<div class="ttc" id="amqc_8c_html_a9eb31de8e3ede6acad7469f9ea0b0d1b"><div class="ttname"><a href="mqc_8c.html#a9eb31de8e3ede6acad7469f9ea0b0d1b">opj_mqc_bypass_flush_enc</a></div><div class="ttdeci">void opj_mqc_bypass_flush_enc(opj_mqc_t *mqc, OPJ_BOOL erterm)</div><div class="ttdoc">BYPASS mode switch, flush operation.</div><div class="ttdef"><b>Definition:</b> mqc.c:272</div></div>
<div class="ttc" id="amqc_8c_html_a4f0a5a2ce3c6ff564f7dc9bdaae4f961"><div class="ttname"><a href="mqc_8c.html#a4f0a5a2ce3c6ff564f7dc9bdaae4f961">opj_mqc_init_dec_common</a></div><div class="ttdeci">static void opj_mqc_init_dec_common(opj_mqc_t *mqc, OPJ_BYTE *bp, OPJ_UINT32 len, OPJ_UINT32 extra_writable_bytes)</div><div class="ttdef"><b>Definition:</b> mqc.c:420</div></div>
<div class="ttc" id="amqc_8c_html_a0c8f333dd527ed82faec6dfec5b1711b"><div class="ttname"><a href="mqc_8c.html#a0c8f333dd527ed82faec6dfec5b1711b">opj_mqc_byteout</a></div><div class="ttdeci">void opj_mqc_byteout(opj_mqc_t *mqc)</div><div class="ttdoc">Output a byte, doing bit-stuffing if necessary.</div><div class="ttdef"><b>Definition:</b> mqc.c:492</div></div>
<div class="ttc" id="amqc_8h_html_a4a259d02eadde28d92edac74dbc40323"><div class="ttname"><a href="mqc_8h.html#a4a259d02eadde28d92edac74dbc40323">opj_mqc_bypass_get_extra_bytes</a></div><div class="ttdeci">OPJ_UINT32 opj_mqc_bypass_get_extra_bytes(opj_mqc_t *mqc, OPJ_BOOL erterm)</div><div class="ttdoc">Return number of extra bytes to add to opj_mqc_numbytes() for the² size of a non-terminating BYPASS p...</div><div class="ttdef"><b>Definition:</b> mqc.c:266</div></div>
<div class="ttc" id="astructopj__mqc_html_a4cde92619ccfc00fcaf4e8f168eccb96"><div class="ttname"><a href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a></div><div class="ttdeci">OPJ_UINT32 c</div><div class="ttdoc">temporary buffer where bits are coded or decoded</div><div class="ttdef"><b>Definition:</b> mqc.h:76</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a4cb1e6e6b6ef2df499d5c02f7df54cbb"><div class="ttname"><a href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a></div><div class="ttdeci">uint32_t OPJ_UINT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:132</div></div>
<div class="ttc" id="amqc_8h_html_a858901a7f568a2845885e537aaeab825"><div class="ttname"><a href="mqc_8h.html#a858901a7f568a2845885e537aaeab825">opj_mqc_reset_enc</a></div><div class="ttdeci">void opj_mqc_reset_enc(opj_mqc_t *mqc)</div><div class="ttdoc">RESET mode switch.</div><div class="ttdef"><b>Definition:</b> mqc.c:310</div></div>
<div class="ttc" id="amqc__inl_8h_html_a2fba3969acc0cfbeac82390f5c4dd875"><div class="ttname"><a href="mqc__inl_8h.html#a2fba3969acc0cfbeac82390f5c4dd875">opj_mqc_renorme_macro</a></div><div class="ttdeci">#define opj_mqc_renorme_macro(mqc, a_, c_, ct_)</div><div class="ttdoc">Renormalize mqc-&gt;a and mqc-&gt;c while encoding, so that mqc-&gt;a stays between 0x8000 and 0x10000.</div><div class="ttdef"><b>Definition:</b> mqc_inl.h:210</div></div>
<div class="ttc" id="amqc__inl_8h_html_a833694258cf5a2a12738f6d2d4a15107"><div class="ttname"><a href="mqc__inl_8h.html#a833694258cf5a2a12738f6d2d4a15107">opj_mqc_codelps_macro</a></div><div class="ttdeci">#define opj_mqc_codelps_macro(mqc, curctx, a, c, ct)</div><div class="ttdef"><b>Definition:</b> mqc_inl.h:241</div></div>
<div class="ttc" id="astructopj__mqc__state_html"><div class="ttname"><a href="structopj__mqc__state.html">opj_mqc_state</a></div><div class="ttdoc">This struct defines the state of a context.</div><div class="ttdef"><b>Definition:</b> mqc.h:58</div></div>
<div class="ttc" id="amqc_8c_html_a178f2a2119c59ae30169835162bd73e7"><div class="ttname"><a href="mqc_8c.html#a178f2a2119c59ae30169835162bd73e7">opj_mqc_restart_init_enc</a></div><div class="ttdeci">void opj_mqc_restart_init_enc(opj_mqc_t *mqc)</div><div class="ttdoc">RESTART mode switch (TERMALL) reinitialisation.</div><div class="ttdef"><b>Definition:</b> mqc.c:337</div></div>
<div class="ttc" id="astructopj__mqc_html_a464f7ff357673a604755c3bfd0b26a85"><div class="ttname"><a href="structopj__mqc.html#a464f7ff357673a604755c3bfd0b26a85">opj_mqc::backup</a></div><div class="ttdeci">OPJ_BYTE backup[OPJ_COMMON_CBLK_DATA_EXTRA]</div><div class="ttdoc">Original value of the 2 bytes at end[0] and end[1].</div><div class="ttdef"><b>Definition:</b> mqc.h:96</div></div>
<div class="ttc" id="amqc__inl_8h_html_af1feff8274fe5a9da129d93322fce03e"><div class="ttname"><a href="mqc__inl_8h.html#af1feff8274fe5a9da129d93322fce03e">opj_mqc_bytein</a></div><div class="ttdeci">static INLINE void opj_mqc_bytein(opj_mqc_t *const mqc)</div><div class="ttdoc">Input a byte.</div><div class="ttdef"><b>Definition:</b> mqc_inl.h:175</div></div>
<div class="ttc" id="amqc_8c_html_a22d3ee14b5fa548d998bfcef2b34f344"><div class="ttname"><a href="mqc_8c.html#a22d3ee14b5fa548d998bfcef2b34f344">opj_mqc_setbits</a></div><div class="ttdeci">static void opj_mqc_setbits(opj_mqc_t *mqc)</div><div class="ttdoc">Fill mqc-&gt;c with 1's for flushing.</div><div class="ttdef"><b>Definition:</b> mqc.c:164</div></div>
<div class="ttc" id="amqc_8h_html_a88db3570f4dea454a8a2251b174d5050"><div class="ttname"><a href="mqc_8h.html#a88db3570f4dea454a8a2251b174d5050">opj_mqc_t</a></div><div class="ttdeci">struct opj_mqc opj_mqc_t</div><div class="ttdoc">MQ coder.</div></div>
<div class="ttc" id="astructopj__mqc_html_a800663d44b19c3469c242a35840dd9bf"><div class="ttname"><a href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a></div><div class="ttdeci">OPJ_UINT32 ct</div><div class="ttdoc">number of bits already read or free to write</div><div class="ttdef"><b>Definition:</b> mqc.h:80</div></div>
<div class="ttc" id="amqc_8h_html_a2ea7971c7ed2c6e19bc3e9c3ba26b68f"><div class="ttname"><a href="mqc_8h.html#a2ea7971c7ed2c6e19bc3e9c3ba26b68f">MQC_NUMCTXS</a></div><div class="ttdeci">#define MQC_NUMCTXS</div><div class="ttdef"><b>Definition:</b> mqc.h:69</div></div>
<div class="ttc" id="astructopj__mqc_html_a49f134a3878811e59581b25fc829a069"><div class="ttname"><a href="structopj__mqc.html#a49f134a3878811e59581b25fc829a069">opj_mqc::end_of_byte_stream_counter</a></div><div class="ttdeci">OPJ_UINT32 end_of_byte_stream_counter</div><div class="ttdef"><b>Definition:</b> mqc.h:82</div></div>
<div class="ttc" id="astructopj__mqc_html_ac6c52e5944b6186886f0d3b853ac3b01"><div class="ttname"><a href="structopj__mqc.html#ac6c52e5944b6186886f0d3b853ac3b01">opj_mqc::lut_ctxno_zc_orient</a></div><div class="ttdeci">const OPJ_BYTE * lut_ctxno_zc_orient</div><div class="ttdef"><b>Definition:</b> mqc.h:94</div></div>
2015-07-10 18:06:19 +02:00
<!-- 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"/>
2022-05-13 20:21:13 +02:00
</a> 1.8.17
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>