1159 lines
70 KiB
HTML
1159 lines
70 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.9.1"/>
|
|
<title>OpenJPEG: MQC - Implementation of an MQ-Coder</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 style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.1.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
|
<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><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">MQC - Implementation of an MQ-Coder</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__mqc__state.html">opj_mqc_state</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This struct defines the state of a context. <a href="structopj__mqc__state.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__mqc.html">opj_mqc</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">MQ coder. <a href="structopj__mqc.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ga2ea7971c7ed2c6e19bc3e9c3ba26b68f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga2ea7971c7ed2c6e19bc3e9c3ba26b68f">MQC_NUMCTXS</a>   19</td></tr>
|
|
<tr class="separator:ga2ea7971c7ed2c6e19bc3e9c3ba26b68f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:ga1f60c8d5f193846052cfa42f09290759"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__mqc__state.html">opj_mqc_state</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga1f60c8d5f193846052cfa42f09290759">opj_mqc_state_t</a></td></tr>
|
|
<tr class="memdesc:ga1f60c8d5f193846052cfa42f09290759"><td class="mdescLeft"> </td><td class="mdescRight">This struct defines the state of a context. <a href="#ga1f60c8d5f193846052cfa42f09290759">More...</a><br /></td></tr>
|
|
<tr class="separator:ga1f60c8d5f193846052cfa42f09290759"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga49560555308b38694eddc876275ed4bc"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structopj__mqc.html">opj_mqc</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a></td></tr>
|
|
<tr class="memdesc:ga49560555308b38694eddc876275ed4bc"><td class="mdescLeft"> </td><td class="mdescRight">MQ coder. <a href="#ga49560555308b38694eddc876275ed4bc">More...</a><br /></td></tr>
|
|
<tr class="separator:ga49560555308b38694eddc876275ed4bc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
|
|
Local static functions</h2></td></tr>
|
|
<tr class="memitem:ga0c8f333dd527ed82faec6dfec5b1711b"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga0c8f333dd527ed82faec6dfec5b1711b">opj_mqc_byteout</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga0c8f333dd527ed82faec6dfec5b1711b"><td class="mdescLeft"> </td><td class="mdescRight">Output a byte, doing bit-stuffing if necessary. <a href="#ga0c8f333dd527ed82faec6dfec5b1711b">More...</a><br /></td></tr>
|
|
<tr class="separator:ga0c8f333dd527ed82faec6dfec5b1711b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga892ac122ab9765e8d865adbbd2aa7d83"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga892ac122ab9765e8d865adbbd2aa7d83">opj_mqc_renorme</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga892ac122ab9765e8d865adbbd2aa7d83"><td class="mdescLeft"> </td><td class="mdescRight">Renormalize mqc->a and mqc->c while encoding, so that mqc->a stays between 0x8000 and 0x10000. <a href="#ga892ac122ab9765e8d865adbbd2aa7d83">More...</a><br /></td></tr>
|
|
<tr class="separator:ga892ac122ab9765e8d865adbbd2aa7d83"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6a4e1d54a533f0fde1e07db5b610b592"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga6a4e1d54a533f0fde1e07db5b610b592">opj_mqc_codemps</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga6a4e1d54a533f0fde1e07db5b610b592"><td class="mdescLeft"> </td><td class="mdescRight">Encode the most probable symbol. <a href="#ga6a4e1d54a533f0fde1e07db5b610b592">More...</a><br /></td></tr>
|
|
<tr class="separator:ga6a4e1d54a533f0fde1e07db5b610b592"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6ba486788a718f67e1aecf82f0a1b23d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga6ba486788a718f67e1aecf82f0a1b23d">opj_mqc_codelps</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga6ba486788a718f67e1aecf82f0a1b23d"><td class="mdescLeft"> </td><td class="mdescRight">Encode the most least symbol. <a href="#ga6ba486788a718f67e1aecf82f0a1b23d">More...</a><br /></td></tr>
|
|
<tr class="separator:ga6ba486788a718f67e1aecf82f0a1b23d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga940632c86f080af1f398f83c9b61a76e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga940632c86f080af1f398f83c9b61a76e">opj_mqc_setbits</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga940632c86f080af1f398f83c9b61a76e"><td class="mdescLeft"> </td><td class="mdescRight">Fill mqc->c with 1's for flushing. <a href="#ga940632c86f080af1f398f83c9b61a76e">More...</a><br /></td></tr>
|
|
<tr class="separator:ga940632c86f080af1f398f83c9b61a76e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2cc1a0c79434187e3495e555c0a92de5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga2cc1a0c79434187e3495e555c0a92de5">opj_mqc_mpsexchange</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const mqc)</td></tr>
|
|
<tr class="memdesc:ga2cc1a0c79434187e3495e555c0a92de5"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#ga2cc1a0c79434187e3495e555c0a92de5">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2cc1a0c79434187e3495e555c0a92de5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gace6e8a3c17fb19c08a4d8020c9f414b7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gace6e8a3c17fb19c08a4d8020c9f414b7">opj_mqc_lpsexchange</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const mqc)</td></tr>
|
|
<tr class="memdesc:gace6e8a3c17fb19c08a4d8020c9f414b7"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#gace6e8a3c17fb19c08a4d8020c9f414b7">More...</a><br /></td></tr>
|
|
<tr class="separator:gace6e8a3c17fb19c08a4d8020c9f414b7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf012e670d76a43f52ca38d514643ad64"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gaf012e670d76a43f52ca38d514643ad64">opj_mqc_bytein</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const mqc)</td></tr>
|
|
<tr class="memdesc:gaf012e670d76a43f52ca38d514643ad64"><td class="mdescLeft"> </td><td class="mdescRight">Input a byte. <a href="#gaf012e670d76a43f52ca38d514643ad64">More...</a><br /></td></tr>
|
|
<tr class="separator:gaf012e670d76a43f52ca38d514643ad64"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4946ec38da7e0d4a5ef29f97c1e3e79a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga4946ec38da7e0d4a5ef29f97c1e3e79a">opj_mqc_renormd</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const mqc)</td></tr>
|
|
<tr class="memdesc:ga4946ec38da7e0d4a5ef29f97c1e3e79a"><td class="mdescLeft"> </td><td class="mdescRight">Renormalize mqc->a and mqc->c while decoding. <a href="#ga4946ec38da7e0d4a5ef29f97c1e3e79a">More...</a><br /></td></tr>
|
|
<tr class="separator:ga4946ec38da7e0d4a5ef29f97c1e3e79a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
|
|
Exported functions</h2></td></tr>
|
|
<tr class="memitem:ga3acb7e6dd9ce8878a97e1f023510be28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga3acb7e6dd9ce8878a97e1f023510be28">opj_mqc_create</a> (void)</td></tr>
|
|
<tr class="memdesc:ga3acb7e6dd9ce8878a97e1f023510be28"><td class="mdescLeft"> </td><td class="mdescRight">Create a new MQC handle. <a href="#ga3acb7e6dd9ce8878a97e1f023510be28">More...</a><br /></td></tr>
|
|
<tr class="separator:ga3acb7e6dd9ce8878a97e1f023510be28"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga136e9f02b4e53ede318511f7d42bf190"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga136e9f02b4e53ede318511f7d42bf190">opj_mqc_destroy</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga136e9f02b4e53ede318511f7d42bf190"><td class="mdescLeft"> </td><td class="mdescRight">Destroy a previously created MQC handle. <a href="#ga136e9f02b4e53ede318511f7d42bf190">More...</a><br /></td></tr>
|
|
<tr class="separator:ga136e9f02b4e53ede318511f7d42bf190"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac9c6d11f48074e5064584d1e5d0dcd0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gac9c6d11f48074e5064584d1e5d0dcd0f">opj_mqc_numbytes</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:gac9c6d11f48074e5064584d1e5d0dcd0f"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of bytes written/read since initialisation. <a href="#gac9c6d11f48074e5064584d1e5d0dcd0f">More...</a><br /></td></tr>
|
|
<tr class="separator:gac9c6d11f48074e5064584d1e5d0dcd0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9b1de23283892ba50029b75ab1b9a91a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga9b1de23283892ba50029b75ab1b9a91a">opj_mqc_resetstates</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga9b1de23283892ba50029b75ab1b9a91a"><td class="mdescLeft"> </td><td class="mdescRight">Reset the states of all the context of the coder/decoder (each context is set to a state where 0 and 1 are more or less equiprobable) <a href="#ga9b1de23283892ba50029b75ab1b9a91a">More...</a><br /></td></tr>
|
|
<tr class="separator:ga9b1de23283892ba50029b75ab1b9a91a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7260daca59a1e01f087a7806db045853"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga7260daca59a1e01f087a7806db045853">opj_mqc_setstate</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> ctxno, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> msb, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> prob)</td></tr>
|
|
<tr class="memdesc:ga7260daca59a1e01f087a7806db045853"><td class="mdescLeft"> </td><td class="mdescRight">Set the state of a particular context. <a href="#ga7260daca59a1e01f087a7806db045853">More...</a><br /></td></tr>
|
|
<tr class="separator:ga7260daca59a1e01f087a7806db045853"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac1a06acd83ef63950db20f73251efab3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gac1a06acd83ef63950db20f73251efab3">opj_mqc_init_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *bp)</td></tr>
|
|
<tr class="memdesc:gac1a06acd83ef63950db20f73251efab3"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the encoder. <a href="#gac1a06acd83ef63950db20f73251efab3">More...</a><br /></td></tr>
|
|
<tr class="separator:gac1a06acd83ef63950db20f73251efab3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabe330c18fbdee2676a2201f88a756be2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gabe330c18fbdee2676a2201f88a756be2">opj_mqc_encode</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> d)</td></tr>
|
|
<tr class="memdesc:gabe330c18fbdee2676a2201f88a756be2"><td class="mdescLeft"> </td><td class="mdescRight">Encode a symbol using the MQ-coder. <a href="#gabe330c18fbdee2676a2201f88a756be2">More...</a><br /></td></tr>
|
|
<tr class="separator:gabe330c18fbdee2676a2201f88a756be2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga39b562515ebaa0a9707c51b6770ad7fe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga39b562515ebaa0a9707c51b6770ad7fe">opj_mqc_flush</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga39b562515ebaa0a9707c51b6770ad7fe"><td class="mdescLeft"> </td><td class="mdescRight">Flush the encoder, so that all remaining data is written. <a href="#ga39b562515ebaa0a9707c51b6770ad7fe">More...</a><br /></td></tr>
|
|
<tr class="separator:ga39b562515ebaa0a9707c51b6770ad7fe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaba5f2d1b605d35e514aeb7a2827996b9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gaba5f2d1b605d35e514aeb7a2827996b9">opj_mqc_bypass_init_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:gaba5f2d1b605d35e514aeb7a2827996b9"><td class="mdescLeft"> </td><td class="mdescRight">BYPASS mode switch, initialization operation. <a href="#gaba5f2d1b605d35e514aeb7a2827996b9">More...</a><br /></td></tr>
|
|
<tr class="separator:gaba5f2d1b605d35e514aeb7a2827996b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad886df66150746e1a41d3e20037683fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gad886df66150746e1a41d3e20037683fb">opj_mqc_bypass_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> d)</td></tr>
|
|
<tr class="memdesc:gad886df66150746e1a41d3e20037683fb"><td class="mdescLeft"> </td><td class="mdescRight">BYPASS mode switch, coding operation. <a href="#gad886df66150746e1a41d3e20037683fb">More...</a><br /></td></tr>
|
|
<tr class="separator:gad886df66150746e1a41d3e20037683fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga06f573a8ddf3566cd663a3fc65a69bc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga06f573a8ddf3566cd663a3fc65a69bc6">opj_mqc_bypass_flush_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga06f573a8ddf3566cd663a3fc65a69bc6"><td class="mdescLeft"> </td><td class="mdescRight">BYPASS mode switch, flush operation. <a href="#ga06f573a8ddf3566cd663a3fc65a69bc6">More...</a><br /></td></tr>
|
|
<tr class="separator:ga06f573a8ddf3566cd663a3fc65a69bc6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga858901a7f568a2845885e537aaeab825"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga858901a7f568a2845885e537aaeab825">opj_mqc_reset_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga858901a7f568a2845885e537aaeab825"><td class="mdescLeft"> </td><td class="mdescRight">RESET mode switch. <a href="#ga858901a7f568a2845885e537aaeab825">More...</a><br /></td></tr>
|
|
<tr class="separator:ga858901a7f568a2845885e537aaeab825"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae7894baeeb49e44f6135cd77e076dd16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gae7894baeeb49e44f6135cd77e076dd16">opj_mqc_restart_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:gae7894baeeb49e44f6135cd77e076dd16"><td class="mdescLeft"> </td><td class="mdescRight">RESTART mode switch (TERMALL) <a href="#gae7894baeeb49e44f6135cd77e076dd16">More...</a><br /></td></tr>
|
|
<tr class="separator:gae7894baeeb49e44f6135cd77e076dd16"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga178f2a2119c59ae30169835162bd73e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga178f2a2119c59ae30169835162bd73e7">opj_mqc_restart_init_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:ga178f2a2119c59ae30169835162bd73e7"><td class="mdescLeft"> </td><td class="mdescRight">RESTART mode switch (TERMALL) reinitialisation. <a href="#ga178f2a2119c59ae30169835162bd73e7">More...</a><br /></td></tr>
|
|
<tr class="separator:ga178f2a2119c59ae30169835162bd73e7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae8351e8a317e68679bf5ce649e91f48d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gae8351e8a317e68679bf5ce649e91f48d">opj_mqc_erterm_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:gae8351e8a317e68679bf5ce649e91f48d"><td class="mdescLeft"> </td><td class="mdescRight">ERTERM mode switch (PTERM) <a href="#gae8351e8a317e68679bf5ce649e91f48d">More...</a><br /></td></tr>
|
|
<tr class="separator:gae8351e8a317e68679bf5ce649e91f48d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf6195cf3fe837a5acbaa721c3e453465"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#gaf6195cf3fe837a5acbaa721c3e453465">opj_mqc_segmark_enc</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc)</td></tr>
|
|
<tr class="memdesc:gaf6195cf3fe837a5acbaa721c3e453465"><td class="mdescLeft"> </td><td class="mdescRight">SEGMARK mode switch (SEGSYM) <a href="#gaf6195cf3fe837a5acbaa721c3e453465">More...</a><br /></td></tr>
|
|
<tr class="separator:gaf6195cf3fe837a5acbaa721c3e453465"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga379332e36caa09ac0741988b65e64625"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga379332e36caa09ac0741988b65e64625">opj_mqc_init_dec</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *mqc, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *bp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> len)</td></tr>
|
|
<tr class="memdesc:ga379332e36caa09ac0741988b65e64625"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the decoder. <a href="#ga379332e36caa09ac0741988b65e64625">More...</a><br /></td></tr>
|
|
<tr class="separator:ga379332e36caa09ac0741988b65e64625"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3eb5cf91b899a932c19f3a24f04a3c0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga3eb5cf91b899a932c19f3a24f04a3c0f">opj_mqc_decode</a> (<a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const mqc)</td></tr>
|
|
<tr class="memdesc:ga3eb5cf91b899a932c19f3a24f04a3c0f"><td class="mdescLeft"> </td><td class="mdescRight">Decode a symbol. <a href="#ga3eb5cf91b899a932c19f3a24f04a3c0f">More...</a><br /></td></tr>
|
|
<tr class="separator:ga3eb5cf91b899a932c19f3a24f04a3c0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7315986b3a52b2e2287a49ab1780ae4f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_q_c.html#ga7315986b3a52b2e2287a49ab1780ae4f">opj_mqc_setcurctx</a>(mqc, ctxno)   (mqc)->curctx = &(mqc)->ctxs[(<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>)(ctxno)]</td></tr>
|
|
<tr class="memdesc:ga7315986b3a52b2e2287a49ab1780ae4f"><td class="mdescLeft"> </td><td class="mdescRight">Set the current context used for coding/decoding. <a href="#ga7315986b3a52b2e2287a49ab1780ae4f">More...</a><br /></td></tr>
|
|
<tr class="separator:ga7315986b3a52b2e2287a49ab1780ae4f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="ga2ea7971c7ed2c6e19bc3e9c3ba26b68f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define MQC_NUMCTXS   19</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga9b1de23283892ba50029b75ab1b9a91a">opj_mqc_resetstates()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga7315986b3a52b2e2287a49ab1780ae4f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define opj_mqc_setcurctx</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">mqc, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">ctxno </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td>   (mqc)->curctx = &(mqc)->ctxs[(<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>)(ctxno)]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the current context used for coding/decoding. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
<tr><td class="paramname">ctxno</td><td>Number that identifies the context </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga379332e36caa09ac0741988b65e64625">opj_mqc_init_dec()</a>, <a class="el" href="group___m_q_c.html#gac1a06acd83ef63950db20f73251efab3">opj_mqc_init_enc()</a>, <a class="el" href="group___m_q_c.html#ga178f2a2119c59ae30169835162bd73e7">opj_mqc_restart_init_enc()</a>, <a class="el" href="group___m_q_c.html#gaf6195cf3fe837a5acbaa721c3e453465">opj_mqc_segmark_enc()</a>, <a class="el" href="group___t1.html#gae29fe78fff17d859098068e31e36e885">opj_t1_dec_clnpass()</a>, <a class="el" href="group___t1.html#ga14bc4e74cc948eb84b76560f6c293240">opj_t1_dec_clnpass_step()</a>, <a class="el" href="group___t1.html#gae80bc5bce7e2811e8979a75c8c6066c3">opj_t1_dec_clnpass_step_partial()</a>, <a class="el" href="group___t1.html#ga8db2d99a01aa0fa42722f685bc853a57">opj_t1_dec_clnpass_step_vsc()</a>, <a class="el" href="group___t1.html#gad38c98b2fe9bfa9b5325fd317bc3d8aa">opj_t1_dec_refpass_step_mqc()</a>, <a class="el" href="group___t1.html#ga5361f3b645fe179487d1296366aae52c">opj_t1_dec_refpass_step_mqc_vsc()</a>, <a class="el" href="group___t1.html#gac075d340c5d616bffc40d7643b925ae2">opj_t1_dec_sigpass_step_mqc()</a>, <a class="el" href="group___t1.html#gad39d53992a7610f79d974ac9b96034d8">opj_t1_dec_sigpass_step_mqc_vsc()</a>, <a class="el" href="group___t1.html#ga33161ec649303a88337ba8fb9877f111">opj_t1_enc_clnpass()</a>, <a class="el" href="group___t1.html#gaa674afcf1709f834ace5bbbb900d080d">opj_t1_enc_clnpass_step()</a>, <a class="el" href="group___t1.html#ga421d79431c9ddd07e3722fb3cff932e8">opj_t1_enc_refpass_step()</a>, and <a class="el" href="group___t1.html#gaea66d58fa183ce4560ed35af951b7404">opj_t1_enc_sigpass_step()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="ga1f60c8d5f193846052cfa42f09290759"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structopj__mqc__state.html">opj_mqc_state</a> <a class="el" href="group___m_q_c.html#ga1f60c8d5f193846052cfa42f09290759">opj_mqc_state_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This struct defines the state of a context. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga49560555308b38694eddc876275ed4bc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structopj__mqc.html">opj_mqc</a> <a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>MQ coder. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gad886df66150746e1a41d3e20037683fb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_bypass_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>d</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>BYPASS mode switch, coding operation. </p>
|
|
<p>JPEG 2000 p 505. </p><h2>Not fully implemented and tested !!</h2>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
<tr><td class="paramname">d</td><td>The symbol to be encoded (0 or 1) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, and <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#ga421d79431c9ddd07e3722fb3cff932e8">opj_t1_enc_refpass_step()</a>, and <a class="el" href="group___t1.html#gaea66d58fa183ce4560ed35af951b7404">opj_t1_enc_sigpass_step()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga06f573a8ddf3566cd663a3fc65a69bc6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_mqc_bypass_flush_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>BYPASS mode switch, flush operation. </p>
|
|
<h2>Not fully implemented and tested !!</h2>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns 1 (always) </dd></dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, and <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaba5f2d1b605d35e514aeb7a2827996b9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_bypass_init_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>BYPASS mode switch, initialization operation. </p>
|
|
<p>JPEG 2000 p 505. </p><h2>Not fully implemented and tested !!</h2>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, and <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf012e670d76a43f52ca38d514643ad64"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void opj_mqc_bytein </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Input a byte. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, and <a class="el" href="structopj__mqc.html#a82b0225c0f832b4ff04bf5dc171ea164">opj_mqc::end</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga379332e36caa09ac0741988b65e64625">opj_mqc_init_dec()</a>, and <a class="el" href="group___m_q_c.html#ga4946ec38da7e0d4a5ef29f97c1e3e79a">opj_mqc_renormd()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga0c8f333dd527ed82faec6dfec5b1711b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_byteout </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Output a byte, doing bit-stuffing if necessary. </p>
|
|
<p>After a 0xff byte, the next byte must be smaller than 0x90. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, and <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#gae8351e8a317e68679bf5ce649e91f48d">opj_mqc_erterm_enc()</a>, <a class="el" href="group___m_q_c.html#ga39b562515ebaa0a9707c51b6770ad7fe">opj_mqc_flush()</a>, <a class="el" href="group___m_q_c.html#ga892ac122ab9765e8d865adbbd2aa7d83">opj_mqc_renorme()</a>, and <a class="el" href="group___m_q_c.html#gae7894baeeb49e44f6135cd77e076dd16">opj_mqc_restart_enc()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6ba486788a718f67e1aecf82f0a1b23d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_codelps </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Encode the most least symbol. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a3393e3287e40e1c4d70f78a706b44907">opj_mqc::curctx</a>, and <a class="el" href="group___m_q_c.html#ga892ac122ab9765e8d865adbbd2aa7d83">opj_mqc_renorme()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#gabe330c18fbdee2676a2201f88a756be2">opj_mqc_encode()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6a4e1d54a533f0fde1e07db5b610b592"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_codemps </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Encode the most probable symbol. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a3393e3287e40e1c4d70f78a706b44907">opj_mqc::curctx</a>, and <a class="el" href="group___m_q_c.html#ga892ac122ab9765e8d865adbbd2aa7d83">opj_mqc_renorme()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#gabe330c18fbdee2676a2201f88a756be2">opj_mqc_encode()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3acb7e6dd9ce8878a97e1f023510be28"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a>* opj_mqc_create </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create a new MQC handle. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns a new MQC handle if successful, returns NULL otherwise </dd></dl>
|
|
|
|
<p>References <a class="el" href="group___m_i_s_c.html#gaed655b4c0cec54620065ab1abf56e8cc">opj_malloc</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#ga7f1a52a233804744f2c7384ac04117f8">opj_t1_create()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3eb5cf91b899a932c19f3a24f04a3c0f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> opj_mqc_decode </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Decode a symbol. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the decoded symbol (0 or 1) </dd></dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a3393e3287e40e1c4d70f78a706b44907">opj_mqc::curctx</a>, <a class="el" href="group___m_q_c.html#gace6e8a3c17fb19c08a4d8020c9f414b7">opj_mqc_lpsexchange()</a>, <a class="el" href="group___m_q_c.html#ga2cc1a0c79434187e3495e555c0a92de5">opj_mqc_mpsexchange()</a>, and <a class="el" href="group___m_q_c.html#ga4946ec38da7e0d4a5ef29f97c1e3e79a">opj_mqc_renormd()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gae29fe78fff17d859098068e31e36e885">opj_t1_dec_clnpass()</a>, <a class="el" href="group___t1.html#ga14bc4e74cc948eb84b76560f6c293240">opj_t1_dec_clnpass_step()</a>, <a class="el" href="group___t1.html#gae80bc5bce7e2811e8979a75c8c6066c3">opj_t1_dec_clnpass_step_partial()</a>, <a class="el" href="group___t1.html#ga8db2d99a01aa0fa42722f685bc853a57">opj_t1_dec_clnpass_step_vsc()</a>, <a class="el" href="group___t1.html#gad38c98b2fe9bfa9b5325fd317bc3d8aa">opj_t1_dec_refpass_step_mqc()</a>, <a class="el" href="group___t1.html#ga5361f3b645fe179487d1296366aae52c">opj_t1_dec_refpass_step_mqc_vsc()</a>, <a class="el" href="group___t1.html#gac075d340c5d616bffc40d7643b925ae2">opj_t1_dec_sigpass_step_mqc()</a>, and <a class="el" href="group___t1.html#gad39d53992a7610f79d974ac9b96034d8">opj_t1_dec_sigpass_step_mqc_vsc()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga136e9f02b4e53ede318511f7d42bf190"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_destroy </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Destroy a previously created MQC handle. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle to destroy </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gadbc87000940d2fc0c5f3e2f0ad28938a">opj_t1_destroy()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabe330c18fbdee2676a2201f88a756be2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_encode </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>d</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Encode a symbol using the MQ-coder. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
<tr><td class="paramname">d</td><td>The symbol to be encoded (0 or 1) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3393e3287e40e1c4d70f78a706b44907">opj_mqc::curctx</a>, <a class="el" href="group___m_q_c.html#ga6ba486788a718f67e1aecf82f0a1b23d">opj_mqc_codelps()</a>, and <a class="el" href="group___m_q_c.html#ga6a4e1d54a533f0fde1e07db5b610b592">opj_mqc_codemps()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#gaf6195cf3fe837a5acbaa721c3e453465">opj_mqc_segmark_enc()</a>, <a class="el" href="group___t1.html#ga33161ec649303a88337ba8fb9877f111">opj_t1_enc_clnpass()</a>, <a class="el" href="group___t1.html#gaa674afcf1709f834ace5bbbb900d080d">opj_t1_enc_clnpass_step()</a>, <a class="el" href="group___t1.html#ga421d79431c9ddd07e3722fb3cff932e8">opj_t1_enc_refpass_step()</a>, and <a class="el" href="group___t1.html#gaea66d58fa183ce4560ed35af951b7404">opj_t1_enc_sigpass_step()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae8351e8a317e68679bf5ce649e91f48d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_erterm_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ERTERM mode switch (PTERM) </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, and <a class="el" href="group___m_q_c.html#ga0c8f333dd527ed82faec6dfec5b1711b">opj_mqc_byteout()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga39b562515ebaa0a9707c51b6770ad7fe"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_flush </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Flush the encoder, so that all remaining data is written. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, <a class="el" href="group___m_q_c.html#ga0c8f333dd527ed82faec6dfec5b1711b">opj_mqc_byteout()</a>, and <a class="el" href="group___m_q_c.html#ga940632c86f080af1f398f83c9b61a76e">opj_mqc_setbits()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga379332e36caa09ac0741988b65e64625"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_mqc_init_dec </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * </td>
|
|
<td class="paramname"><em>bp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>len</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize the decoder. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
<tr><td class="paramname">bp</td><td>Pointer to the start of the buffer from which the bytes will be read </td></tr>
|
|
<tr><td class="paramname">len</td><td>Length of the input buffer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, <a class="el" href="structopj__mqc.html#a82b0225c0f832b4ff04bf5dc171ea164">opj_mqc::end</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>, <a class="el" href="group___m_q_c.html#gaf012e670d76a43f52ca38d514643ad64">opj_mqc_bytein()</a>, <a class="el" href="group___m_q_c.html#ga7315986b3a52b2e2287a49ab1780ae4f">opj_mqc_setcurctx</a>, <a class="el" href="group___m_i_s_c.html#ga44ed06e3c38bcd5a29178db6fd72485e">opj_realloc</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="structopj__mqc.html#ac6e2a167d3bdf52a3c7378cc62d3ff20">opj_mqc::start</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gaa07574c44606911bd26716b4f72aa0bd">opj_t1_decode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac1a06acd83ef63950db20f73251efab3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_init_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * </td>
|
|
<td class="paramname"><em>bp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize the encoder. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
<tr><td class="paramname">bp</td><td>Pointer to the start of the buffer where the bytes will be written </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, <a class="el" href="group___m_q_c.html#ga7315986b3a52b2e2287a49ab1780ae4f">opj_mqc_setcurctx</a>, and <a class="el" href="structopj__mqc.html#ac6e2a167d3bdf52a3c7378cc62d3ff20">opj_mqc::start</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gace6e8a3c17fb19c08a4d8020c9f414b7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> opj_mqc_lpsexchange </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>FIXME DOC. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, and <a class="el" href="structopj__mqc.html#a3393e3287e40e1c4d70f78a706b44907">opj_mqc::curctx</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga3eb5cf91b899a932c19f3a24f04a3c0f">opj_mqc_decode()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2cc1a0c79434187e3495e555c0a92de5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> opj_mqc_mpsexchange </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>FIXME DOC. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a3393e3287e40e1c4d70f78a706b44907">opj_mqc::curctx</a>, and <a class="el" href="structopj__mqc__state.html#a09a5fefe0bd4e7c0d56ec69220dfd990">opj_mqc_state::mps</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga3eb5cf91b899a932c19f3a24f04a3c0f">opj_mqc_decode()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac9c6d11f48074e5064584d1e5d0dcd0f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_mqc_numbytes </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return the number of bytes written/read since initialisation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the number of bytes already encoded </dd></dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, and <a class="el" href="structopj__mqc.html#ac6e2a167d3bdf52a3c7378cc62d3ff20">opj_mqc::start</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga4946ec38da7e0d4a5ef29f97c1e3e79a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> void opj_mqc_renormd </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> *const </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Renormalize mqc->a and mqc->c while decoding. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, and <a class="el" href="group___m_q_c.html#gaf012e670d76a43f52ca38d514643ad64">opj_mqc_bytein()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga3eb5cf91b899a932c19f3a24f04a3c0f">opj_mqc_decode()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga892ac122ab9765e8d865adbbd2aa7d83"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_renorme </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Renormalize mqc->a and mqc->c while encoding, so that mqc->a stays between 0x8000 and 0x10000. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, and <a class="el" href="group___m_q_c.html#ga0c8f333dd527ed82faec6dfec5b1711b">opj_mqc_byteout()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga6ba486788a718f67e1aecf82f0a1b23d">opj_mqc_codelps()</a>, and <a class="el" href="group___m_q_c.html#ga6a4e1d54a533f0fde1e07db5b610b592">opj_mqc_codemps()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga858901a7f568a2845885e537aaeab825"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_reset_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>RESET mode switch. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="group___m_q_c.html#ga9b1de23283892ba50029b75ab1b9a91a">opj_mqc_resetstates()</a>, <a class="el" href="group___m_q_c.html#ga7260daca59a1e01f087a7806db045853">opj_mqc_setstate()</a>, <a class="el" href="group___t1.html#ga335ce360eba4cbd31b9e082535d02180">T1_CTXNO_AGG</a>, <a class="el" href="group___t1.html#ga27ee56916ef86bcbb5c07e55fb719b20">T1_CTXNO_UNI</a>, and <a class="el" href="group___t1.html#ga325280d653d545416723a91f0ebbf428">T1_CTXNO_ZC</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga9b1de23283892ba50029b75ab1b9a91a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_resetstates </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reset the states of all the context of the coder/decoder (each context is set to a state where 0 and 1 are more or less equiprobable) </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a78d587ba23a55100bc1bc669c8d210b4">opj_mqc::ctxs</a>, <a class="el" href="group___m_q_c.html#ga2ea7971c7ed2c6e19bc3e9c3ba26b68f">MQC_NUMCTXS</a>, and <a class="el" href="mqc_8c.html#afafc57c4e04c4cacd89b24eaac991a3f">mqc_states</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga858901a7f568a2845885e537aaeab825">opj_mqc_reset_enc()</a>, <a class="el" href="group___t1.html#gaa07574c44606911bd26716b4f72aa0bd">opj_t1_decode_cblk()</a>, and <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae7894baeeb49e44f6135cd77e076dd16"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_mqc_restart_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>RESTART mode switch (TERMALL) </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns 1 (always) </dd></dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, and <a class="el" href="group___m_q_c.html#ga0c8f333dd527ed82faec6dfec5b1711b">opj_mqc_byteout()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga178f2a2119c59ae30169835162bd73e7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_restart_init_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>RESTART mode switch (TERMALL) reinitialisation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, <a class="el" href="structopj__mqc.html#a3db4ba6d16362a3bb01801c76f3dad63">opj_mqc::bp</a>, <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>, <a class="el" href="structopj__mqc.html#a800663d44b19c3469c242a35840dd9bf">opj_mqc::ct</a>, and <a class="el" href="group___m_q_c.html#ga7315986b3a52b2e2287a49ab1780ae4f">opj_mqc_setcurctx</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf6195cf3fe837a5acbaa721c3e453465"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_segmark_enc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>SEGMARK mode switch (SEGSYM) </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="group___m_q_c.html#gabe330c18fbdee2676a2201f88a756be2">opj_mqc_encode()</a>, and <a class="el" href="group___m_q_c.html#ga7315986b3a52b2e2287a49ab1780ae4f">opj_mqc_setcurctx</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga940632c86f080af1f398f83c9b61a76e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_setbits </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Fill mqc->c with 1's for flushing. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a26cf29944f5a74b2a0af55defaed5e5d">opj_mqc::a</a>, and <a class="el" href="structopj__mqc.html#a4cde92619ccfc00fcaf4e8f168eccb96">opj_mqc::c</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga39b562515ebaa0a9707c51b6770ad7fe">opj_mqc_flush()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga7260daca59a1e01f087a7806db045853"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void opj_mqc_setstate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group___m_q_c.html#ga49560555308b38694eddc876275ed4bc">opj_mqc_t</a> * </td>
|
|
<td class="paramname"><em>mqc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>ctxno</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>msb</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td>
|
|
<td class="paramname"><em>prob</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the state of a particular context. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mqc</td><td>MQC handle </td></tr>
|
|
<tr><td class="paramname">ctxno</td><td>Number that identifies the context </td></tr>
|
|
<tr><td class="paramname">msb</td><td>The MSB of the new state of the context </td></tr>
|
|
<tr><td class="paramname">prob</td><td>Number that identifies the probability of the symbols for the new state of the context </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structopj__mqc.html#a78d587ba23a55100bc1bc669c8d210b4">opj_mqc::ctxs</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="group___m_q_c.html#ga858901a7f568a2845885e537aaeab825">opj_mqc_reset_enc()</a>, <a class="el" href="group___t1.html#gaa07574c44606911bd26716b4f72aa0bd">opj_t1_decode_cblk()</a>, and <a class="el" href="group___t1.html#gad51bfd4e6b2179afe834b1bf1335f9a7">opj_t1_encode_cblk()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|