openjpeg/doxygen/mct_8c.html

646 lines
38 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: mct.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- 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>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">mct.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="opj__includes_8h_source.html">opj_includes.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8c2e968e30529831ef36eec4465b1f05"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a8c2e968e30529831ef36eec4465b1f05">opj_mct_get_mct_norms</a> ()</td></tr>
<tr class="memdesc:a8c2e968e30529831ef36eec4465b1f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="mct_8c.html#a8c2e968e30529831ef36eec4465b1f05">More...</a><br /></td></tr>
<tr class="separator:a8c2e968e30529831ef36eec4465b1f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb79fc95188bbfa68d03653d3fcc9e1a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#afb79fc95188bbfa68d03653d3fcc9e1a">opj_mct_get_mct_norms_real</a> ()</td></tr>
<tr class="memdesc:afb79fc95188bbfa68d03653d3fcc9e1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="mct_8c.html#afb79fc95188bbfa68d03653d3fcc9e1a">More...</a><br /></td></tr>
<tr class="separator:afb79fc95188bbfa68d03653d3fcc9e1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e088c46d09402da9fed35b5d69e5cc7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a9e088c46d09402da9fed35b5d69e5cc7">opj_mct_encode</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c2, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> n)</td></tr>
<tr class="memdesc:a9e088c46d09402da9fed35b5d69e5cc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a reversible multi-component transform to an image. <a href="mct_8c.html#a9e088c46d09402da9fed35b5d69e5cc7">More...</a><br /></td></tr>
<tr class="separator:a9e088c46d09402da9fed35b5d69e5cc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb37d906cdb9b61f900c3e3dd4962a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a3cb37d906cdb9b61f900c3e3dd4962a6">opj_mct_decode</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c2, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> n)</td></tr>
<tr class="memdesc:a3cb37d906cdb9b61f900c3e3dd4962a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a reversible multi-component inverse transform to an image. <a href="mct_8c.html#a3cb37d906cdb9b61f900c3e3dd4962a6">More...</a><br /></td></tr>
<tr class="separator:a3cb37d906cdb9b61f900c3e3dd4962a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0057a99c1b106532e3efd5b21c0db8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#af0057a99c1b106532e3efd5b21c0db8d">opj_mct_getnorm</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> compno)</td></tr>
<tr class="memdesc:af0057a99c1b106532e3efd5b21c0db8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get norm of the basis function used for the reversible multi-component transform. <a href="mct_8c.html#af0057a99c1b106532e3efd5b21c0db8d">More...</a><br /></td></tr>
<tr class="separator:af0057a99c1b106532e3efd5b21c0db8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace5e4626543ebab61a4303e84fa24c06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#ace5e4626543ebab61a4303e84fa24c06">opj_mct_encode_real</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c0, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c1, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c2, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> n)</td></tr>
<tr class="memdesc:ace5e4626543ebab61a4303e84fa24c06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply an irreversible multi-component transform to an image. <a href="mct_8c.html#ace5e4626543ebab61a4303e84fa24c06">More...</a><br /></td></tr>
<tr class="separator:ace5e4626543ebab61a4303e84fa24c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad62db08e463484d3c6cce91ec6a2ded4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#ad62db08e463484d3c6cce91ec6a2ded4">opj_mct_decode_real</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c0, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c1, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a> c2, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> n)</td></tr>
<tr class="memdesc:ad62db08e463484d3c6cce91ec6a2ded4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply an irreversible multi-component inverse transform to an image. <a href="mct_8c.html#ad62db08e463484d3c6cce91ec6a2ded4">More...</a><br /></td></tr>
<tr class="separator:ad62db08e463484d3c6cce91ec6a2ded4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c7653885e57c72c29586be6116d322b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a1c7653885e57c72c29586be6116d322b">opj_mct_getnorm_real</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> compno)</td></tr>
<tr class="memdesc:a1c7653885e57c72c29586be6116d322b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get norm of the basis function used for the irreversible multi-component transform. <a href="mct_8c.html#a1c7653885e57c72c29586be6116d322b">More...</a><br /></td></tr>
<tr class="separator:a1c7653885e57c72c29586be6116d322b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644e976b61b1d8be8579ec8810a45892"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a644e976b61b1d8be8579ec8810a45892">opj_mct_encode_custom</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *pCodingdata, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> n, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> **pData, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> pNbComp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> isSigned)</td></tr>
<tr class="memdesc:a644e976b61b1d8be8579ec8810a45892"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="mct_8c.html#a644e976b61b1d8be8579ec8810a45892">More...</a><br /></td></tr>
<tr class="separator:a644e976b61b1d8be8579ec8810a45892"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8e2e3d8aa6ca1cff878d163e6d7926d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#ae8e2e3d8aa6ca1cff878d163e6d7926d">opj_mct_decode_custom</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *pDecodingData, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> n, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> **pData, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> pNbComp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> isSigned)</td></tr>
<tr class="memdesc:ae8e2e3d8aa6ca1cff878d163e6d7926d"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="mct_8c.html#ae8e2e3d8aa6ca1cff878d163e6d7926d">More...</a><br /></td></tr>
<tr class="separator:ae8e2e3d8aa6ca1cff878d163e6d7926d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17deca12d689763b6db927b6d80abed6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a17deca12d689763b6db927b6d80abed6">opj_calculate_norms</a> (<a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *pNorms, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> pNbComps, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pMatrix)</td></tr>
<tr class="memdesc:a17deca12d689763b6db927b6d80abed6"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="mct_8c.html#a17deca12d689763b6db927b6d80abed6">More...</a><br /></td></tr>
<tr class="separator:a17deca12d689763b6db927b6d80abed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a5eb3553f171c49274b6a94f1abb11a1d"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#a5eb3553f171c49274b6a94f1abb11a1d">opj_mct_norms</a> [3] = { 1.732, .8292, .8292 }</td></tr>
<tr class="separator:a5eb3553f171c49274b6a94f1abb11a1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4012669a9dab0a3b785af3c20ea976b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mct_8c.html#ac4012669a9dab0a3b785af3c20ea976b">opj_mct_norms_real</a> [3] = { 1.732, 1.805, 1.573 }</td></tr>
<tr class="separator:ac4012669a9dab0a3b785af3c20ea976b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a17deca12d689763b6db927b6d80abed6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17deca12d689763b6db927b6d80abed6">&#9670;&nbsp;</a></span>opj_calculate_norms()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_calculate_norms </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *&#160;</td>
<td class="paramname"><em>pNorms</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_nb_comps</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *&#160;</td>
<td class="paramname"><em>pMatrix</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></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">pNorms</td><td>MCT data </td></tr>
<tr><td class="paramname">p_nb_comps</td><td>size of components </td></tr>
<tr><td class="paramname">pMatrix</td><td>components </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">Referenced by <a class="el" href="j2k_8h.html#a4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>.</p>
</div>
</div>
<a id="a3cb37d906cdb9b61f900c3e3dd4962a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cb37d906cdb9b61f900c3e3dd4962a6">&#9670;&nbsp;</a></span>opj_mct_decode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_mct_decode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>n</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Apply a reversible multi-component inverse transform to an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c0</td><td>Samples for luminance component </td></tr>
<tr><td class="paramname">c1</td><td>Samples for red chrominance component </td></tr>
<tr><td class="paramname">c2</td><td>Samples for blue chrominance component </td></tr>
<tr><td class="paramname">n</td><td>Number of samples for each component </td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a5732e7b54aa86da12858cb5b42e32f81">opj_tcd_mct_decode()</a>.</p>
</div>
</div>
<a id="ae8e2e3d8aa6ca1cff878d163e6d7926d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8e2e3d8aa6ca1cff878d163e6d7926d">&#9670;&nbsp;</a></span>opj_mct_decode_custom()</h2>
<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_mct_decode_custom </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>pDecodingData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> **&#160;</td>
<td class="paramname"><em>pData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>pNbComp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>isSigned</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></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">pDecodingData</td><td>MCT data </td></tr>
<tr><td class="paramname">n</td><td>size of components </td></tr>
<tr><td class="paramname">pData</td><td>components </td></tr>
<tr><td class="paramname">pNbComp</td><td>nb of components (i.e. size of p_data) </td></tr>
<tr><td class="paramname">isSigned</td><td>tells if the data is signed </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_FALSE if function encounter a problem, OPJ_TRUE otherwise </dd></dl>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a5732e7b54aa86da12858cb5b42e32f81">opj_tcd_mct_decode()</a>.</p>
</div>
</div>
<a id="ad62db08e463484d3c6cce91ec6a2ded4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad62db08e463484d3c6cce91ec6a2ded4">&#9670;&nbsp;</a></span>opj_mct_decode_real()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_mct_decode_real </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>n</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Apply an irreversible multi-component inverse transform to an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c0</td><td>Samples for luminance component </td></tr>
<tr><td class="paramname">c1</td><td>Samples for red chrominance component </td></tr>
<tr><td class="paramname">c2</td><td>Samples for blue chrominance component </td></tr>
<tr><td class="paramname">n</td><td>Number of samples for each component </td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a5732e7b54aa86da12858cb5b42e32f81">opj_tcd_mct_decode()</a>.</p>
</div>
</div>
<a id="a9e088c46d09402da9fed35b5d69e5cc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e088c46d09402da9fed35b5d69e5cc7">&#9670;&nbsp;</a></span>opj_mct_encode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_mct_encode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>n</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Apply a reversible multi-component transform to an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c0</td><td>Samples for red component </td></tr>
<tr><td class="paramname">c1</td><td>Samples for green component </td></tr>
<tr><td class="paramname">c2</td><td>Samples blue component </td></tr>
<tr><td class="paramname">n</td><td>Number of samples for each component </td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a39c7e4cc2e8b84619388cb807caa03cf">opj_tcd_mct_encode()</a>.</p>
</div>
</div>
<a id="a644e976b61b1d8be8579ec8810a45892"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a644e976b61b1d8be8579ec8810a45892">&#9670;&nbsp;</a></span>opj_mct_encode_custom()</h2>
<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_mct_encode_custom </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_coding_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> **&#160;</td>
<td class="paramname"><em>p_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_nb_comp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>is_signed</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></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">p_coding_data</td><td>MCT data </td></tr>
<tr><td class="paramname">n</td><td>size of components </td></tr>
<tr><td class="paramname">p_data</td><td>components </td></tr>
<tr><td class="paramname">p_nb_comp</td><td>nb of components (i.e. size of p_data) </td></tr>
<tr><td class="paramname">is_signed</td><td>tells if the data is signed </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_FALSE if function encounter a problem, OPJ_TRUE otherwise </dd></dl>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="opj__intmath_8h.html#aa2130d6482126a20e6680f82b254857b">opj_int_fix_mul()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a39c7e4cc2e8b84619388cb807caa03cf">opj_tcd_mct_encode()</a>.</p>
</div>
</div>
<a id="ace5e4626543ebab61a4303e84fa24c06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace5e4626543ebab61a4303e84fa24c06">&#9670;&nbsp;</a></span>opj_mct_encode_real()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_mct_encode_real </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *<a class="el" href="opj__includes_8h.html#a47acbf7ae97e1ef7371a1c92a42505b2">OPJ_RESTRICT</a>&#160;</td>
<td class="paramname"><em>c2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>n</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Apply an irreversible multi-component transform to an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c0</td><td>Samples for red component </td></tr>
<tr><td class="paramname">c1</td><td>Samples for green component </td></tr>
<tr><td class="paramname">c2</td><td>Samples blue component </td></tr>
<tr><td class="paramname">n</td><td>Number of samples for each component </td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#a39c7e4cc2e8b84619388cb807caa03cf">opj_tcd_mct_encode()</a>.</p>
</div>
</div>
<a id="a8c2e968e30529831ef36eec4465b1f05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c2e968e30529831ef36eec4465b1f05">&#9670;&nbsp;</a></span>opj_mct_get_mct_norms()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>* opj_mct_get_mct_norms </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
<p class="reference">References <a class="el" href="mct_8c.html#a5eb3553f171c49274b6a94f1abb11a1d">opj_mct_norms</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#ad72fe72839a232fcd2ba4dd82588be2e">opj_tcd_t1_encode()</a>.</p>
</div>
</div>
<a id="afb79fc95188bbfa68d03653d3fcc9e1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb79fc95188bbfa68d03653d3fcc9e1a">&#9670;&nbsp;</a></span>opj_mct_get_mct_norms_real()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>* opj_mct_get_mct_norms_real </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
<p class="reference">References <a class="el" href="mct_8c.html#ac4012669a9dab0a3b785af3c20ea976b">opj_mct_norms_real</a>.</p>
<p class="reference">Referenced by <a class="el" href="tcd_8c.html#ad72fe72839a232fcd2ba4dd82588be2e">opj_tcd_t1_encode()</a>.</p>
</div>
</div>
<a id="af0057a99c1b106532e3efd5b21c0db8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0057a99c1b106532e3efd5b21c0db8d">&#9670;&nbsp;</a></span>opj_mct_getnorm()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> opj_mct_getnorm </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>compno</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get norm of the basis function used for the reversible multi-component transform. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">compno</td><td>Number of the component (0-&gt;Y, 1-&gt;U, 2-&gt;V) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="mct_8c.html#a5eb3553f171c49274b6a94f1abb11a1d">opj_mct_norms</a>.</p>
</div>
</div>
<a id="a1c7653885e57c72c29586be6116d322b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c7653885e57c72c29586be6116d322b">&#9670;&nbsp;</a></span>opj_mct_getnorm_real()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> opj_mct_getnorm_real </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>compno</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get norm of the basis function used for the irreversible multi-component transform. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">compno</td><td>Number of the component (0-&gt;Y, 1-&gt;U, 2-&gt;V) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="mct_8c.html#ac4012669a9dab0a3b785af3c20ea976b">opj_mct_norms_real</a>.</p>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a5eb3553f171c49274b6a94f1abb11a1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5eb3553f171c49274b6a94f1abb11a1d">&#9670;&nbsp;</a></span>opj_mct_norms</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> opj_mct_norms[3] = { 1.732, .8292, .8292 }</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 class="reference">Referenced by <a class="el" href="mct_8h.html#a0a0a5db3026594c424f839a04f5e3563">opj_mct_get_mct_norms()</a>, and <a class="el" href="mct_8h.html#af0057a99c1b106532e3efd5b21c0db8d">opj_mct_getnorm()</a>.</p>
</div>
</div>
<a id="ac4012669a9dab0a3b785af3c20ea976b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4012669a9dab0a3b785af3c20ea976b">&#9670;&nbsp;</a></span>opj_mct_norms_real</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> opj_mct_norms_real[3] = { 1.732, 1.805, 1.573 }</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 class="reference">Referenced by <a class="el" href="mct_8h.html#a50079f1a3e75e803369af730c73dc035">opj_mct_get_mct_norms_real()</a>, and <a class="el" href="mct_8h.html#a1c7653885e57c72c29586be6116d322b">opj_mct_getnorm_real()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>