<!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: MCT - Implementation of a multi-component transform</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="headertitle"> <div class="title">MCT - Implementation of a multi-component transform</div> </div> </div><!--header--> <div class="contents"> <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:ga4c635854fb40c1aa2f5e4206ca4b91e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#ga4c635854fb40c1aa2f5e4206ca4b91e9">opj_mct_encode</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> n)</td></tr> <tr class="memdesc:ga4c635854fb40c1aa2f5e4206ca4b91e9"><td class="mdescLeft"> </td><td class="mdescRight">Apply a reversible multi-component transform to an image. <a href="#ga4c635854fb40c1aa2f5e4206ca4b91e9">More...</a><br /></td></tr> <tr class="separator:ga4c635854fb40c1aa2f5e4206ca4b91e9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaa4042666d76a1914cb9eb7577bce919f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#gaa4042666d76a1914cb9eb7577bce919f">opj_mct_decode</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> n)</td></tr> <tr class="memdesc:gaa4042666d76a1914cb9eb7577bce919f"><td class="mdescLeft"> </td><td class="mdescRight">Apply a reversible multi-component inverse transform to an image. <a href="#gaa4042666d76a1914cb9eb7577bce919f">More...</a><br /></td></tr> <tr class="separator:gaa4042666d76a1914cb9eb7577bce919f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaf0057a99c1b106532e3efd5b21c0db8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#gaf0057a99c1b106532e3efd5b21c0db8d">opj_mct_getnorm</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> compno)</td></tr> <tr class="memdesc:gaf0057a99c1b106532e3efd5b21c0db8d"><td class="mdescLeft"> </td><td class="mdescRight">Get norm of the basis function used for the reversible multi-component transform. <a href="#gaf0057a99c1b106532e3efd5b21c0db8d">More...</a><br /></td></tr> <tr class="separator:gaf0057a99c1b106532e3efd5b21c0db8d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaf0615e331c4c70efca1587e7d53d35f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#gaf0615e331c4c70efca1587e7d53d35f7">opj_mct_encode_real</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> *c2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> n)</td></tr> <tr class="memdesc:gaf0615e331c4c70efca1587e7d53d35f7"><td class="mdescLeft"> </td><td class="mdescRight">Apply an irreversible multi-component transform to an image. <a href="#gaf0615e331c4c70efca1587e7d53d35f7">More...</a><br /></td></tr> <tr class="separator:gaf0615e331c4c70efca1587e7d53d35f7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga0cb4986bc64aad4d1e69e204644fe7bd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#ga0cb4986bc64aad4d1e69e204644fe7bd">opj_mct_decode_real</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *c0, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *c1, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *c2, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> n)</td></tr> <tr class="memdesc:ga0cb4986bc64aad4d1e69e204644fe7bd"><td class="mdescLeft"> </td><td class="mdescRight">Apply an irreversible multi-component inverse transform to an image. <a href="#ga0cb4986bc64aad4d1e69e204644fe7bd">More...</a><br /></td></tr> <tr class="separator:ga0cb4986bc64aad4d1e69e204644fe7bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga1c7653885e57c72c29586be6116d322b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#ga1c7653885e57c72c29586be6116d322b">opj_mct_getnorm_real</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> compno)</td></tr> <tr class="memdesc:ga1c7653885e57c72c29586be6116d322b"><td class="mdescLeft"> </td><td class="mdescRight">Get norm of the basis function used for the irreversible multi-component transform. <a href="#ga1c7653885e57c72c29586be6116d322b">More...</a><br /></td></tr> <tr class="separator:ga1c7653885e57c72c29586be6116d322b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gab0946464e132487d1acffbeddd1a1a2e"><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_c_t.html#gab0946464e132487d1acffbeddd1a1a2e">opj_mct_encode_custom</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_coding_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> n, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> **p_data, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_nb_comp, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> is_signed)</td></tr> <tr class="memdesc:gab0946464e132487d1acffbeddd1a1a2e"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#gab0946464e132487d1acffbeddd1a1a2e">More...</a><br /></td></tr> <tr class="separator:gab0946464e132487d1acffbeddd1a1a2e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gac0b1a49e61935677a112911388f8b796"><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_c_t.html#gac0b1a49e61935677a112911388f8b796">opj_mct_decode_custom</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *pDecodingData, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</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:gac0b1a49e61935677a112911388f8b796"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#gac0b1a49e61935677a112911388f8b796">More...</a><br /></td></tr> <tr class="separator:gac0b1a49e61935677a112911388f8b796"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga55767639f97b4abaaaafaec75fc89e17"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#ga55767639f97b4abaaaafaec75fc89e17">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> p_nb_comps, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pMatrix)</td></tr> <tr class="memdesc:ga55767639f97b4abaaaafaec75fc89e17"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#ga55767639f97b4abaaaafaec75fc89e17">More...</a><br /></td></tr> <tr class="separator:ga55767639f97b4abaaaafaec75fc89e17"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga0a0a5db3026594c424f839a04f5e3563"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#ga0a0a5db3026594c424f839a04f5e3563">opj_mct_get_mct_norms</a> (void)</td></tr> <tr class="memdesc:ga0a0a5db3026594c424f839a04f5e3563"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#ga0a0a5db3026594c424f839a04f5e3563">More...</a><br /></td></tr> <tr class="separator:ga0a0a5db3026594c424f839a04f5e3563"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga50079f1a3e75e803369af730c73dc035"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_t.html#ga50079f1a3e75e803369af730c73dc035">opj_mct_get_mct_norms_real</a> (void)</td></tr> <tr class="memdesc:ga50079f1a3e75e803369af730c73dc035"><td class="mdescLeft"> </td><td class="mdescRight">FIXME DOC. <a href="#ga50079f1a3e75e803369af730c73dc035">More...</a><br /></td></tr> <tr class="separator:ga50079f1a3e75e803369af730c73dc035"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="ga55767639f97b4abaaaafaec75fc89e17"></a> <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> * </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> </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> * </td> <td class="paramname"><em>pMatrix</em> </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>Referenced by <a class="el" href="group___j2_k.html#ga4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>.</p> </div> </div> <a class="anchor" id="gaa4042666d76a1914cb9eb7577bce919f"></a> <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> * </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> * </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> * </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#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td> <td class="paramname"><em>n</em> </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> </div> </div> <a class="anchor" id="gac0b1a49e61935677a112911388f8b796"></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_mct_decode_custom </td> <td>(</td> <td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * </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#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </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> ** </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> </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> </td> <td class="paramname"><em>isSigned</em> </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>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="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>, <a class="el" href="group___m_i_s_c.html#gaed655b4c0cec54620065ab1abf56e8cc">opj_malloc</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p> <p>Referenced by <a class="el" href="tcd_8c.html#ab040b82c73ab305a8142639054800ef5">opj_tcd_mct_decode()</a>.</p> </div> </div> <a class="anchor" id="ga0cb4986bc64aad4d1e69e204644fe7bd"></a> <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> * </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> * </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> * </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#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td> <td class="paramname"><em>n</em> </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> </div> </div> <a class="anchor" id="ga4c635854fb40c1aa2f5e4206ca4b91e9"></a> <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> * </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> * </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> * </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#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td> <td class="paramname"><em>n</em> </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> </div> </div> <a class="anchor" id="gab0946464e132487d1acffbeddd1a1a2e"></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_mct_encode_custom </td> <td>(</td> <td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> * </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#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </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> ** </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> </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> </td> <td class="paramname"><em>is_signed</em> </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>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="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>, <a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaa2130d6482126a20e6680f82b254857b">opj_int_fix_mul()</a>, <a class="el" href="group___m_i_s_c.html#gaed655b4c0cec54620065ab1abf56e8cc">opj_malloc</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p> <p>Referenced by <a class="el" href="tcd_8c.html#af0fbcfabaf70468f95c6b7f4430dfd76">opj_tcd_mct_encode()</a>.</p> </div> </div> <a class="anchor" id="gaf0615e331c4c70efca1587e7d53d35f7"></a> <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#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> * </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> * </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> * </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#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td> <td class="paramname"><em>n</em> </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> </div> </div> <a class="anchor" id="ga0a0a5db3026594c424f839a04f5e3563"></a> <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="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>FIXME DOC. </p> <p>References <a class="el" href="mct_8c.html#a5eb3553f171c49274b6a94f1abb11a1d">opj_mct_norms</a>.</p> <p>Referenced by <a class="el" href="tcd_8c.html#ac55bd74758fdfba4c54b9a566a76f855">opj_tcd_t1_encode()</a>.</p> </div> </div> <a class="anchor" id="ga50079f1a3e75e803369af730c73dc035"></a> <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="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>FIXME DOC. </p> <p>References <a class="el" href="mct_8c.html#ac4012669a9dab0a3b785af3c20ea976b">opj_mct_norms_real</a>.</p> <p>Referenced by <a class="el" href="tcd_8c.html#ac55bd74758fdfba4c54b9a566a76f855">opj_tcd_t1_encode()</a>.</p> </div> </div> <a class="anchor" id="gaf0057a99c1b106532e3efd5b21c0db8d"></a> <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> </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->Y, 1->U, 2->V) </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd></dd></dl> <p>References <a class="el" href="mct_8c.html#a5eb3553f171c49274b6a94f1abb11a1d">opj_mct_norms</a>.</p> </div> </div> <a class="anchor" id="ga1c7653885e57c72c29586be6116d322b"></a> <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> </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->Y, 1->U, 2->V) </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd></dd></dl> <p>References <a class="el" href="mct_8c.html#ac4012669a9dab0a3b785af3c20ea976b">opj_mct_norms_real</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>