1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.17"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>OpenJPEG: invert.c File Reference</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="doxygen.css" rel="stylesheet" type="text/css" />
15 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <table cellspacing="0" cellpadding="0">
19 <tr style="height: 56px;">
20 <td id="projectalign" style="padding-left: 0.5em;">
21 <div id="projectname">OpenJPEG
22  <span id="projectnumber">2.5.0</span>
29 <!-- end header part -->
30 <!-- Generated by Doxygen 1.8.17 -->
31 <script type="text/javascript" src="menudata.js"></script>
32 <script type="text/javascript" src="menu.js"></script>
33 <script type="text/javascript">
34 /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
36 initMenu('',false,false,'search.php','Search');
38 /* @license-end */</script>
39 <div id="main-nav"></div>
40 <div id="nav-path" class="navpath">
42 <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>
47 <a href="#func-members">Functions</a> </div>
48 <div class="headertitle">
49 <div class="title">invert.c File Reference</div> </div>
51 <div class="contents">
52 <div class="textblock"><code>#include "<a class="el" href="opj__includes_8h_source.html">opj_includes.h</a>"</code><br />
53 </div><table class="memberdecls">
54 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
55 Functions</h2></td></tr>
56 <tr class="memitem:a40666080ced941508395998c700a4b70"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="invert_8c.html#a40666080ced941508395998c700a4b70">opj_lupDecompose</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *matrix, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *permutations, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_swap_area, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> nb_compo)</td></tr>
57 <tr class="memdesc:a40666080ced941508395998c700a4b70"><td class="mdescLeft"> </td><td class="mdescRight">LUP decomposition. <a href="invert_8c.html#a40666080ced941508395998c700a4b70">More...</a><br /></td></tr>
58 <tr class="separator:a40666080ced941508395998c700a4b70"><td class="memSeparator" colspan="2"> </td></tr>
59 <tr class="memitem:a46eabfad7813b7e0b0f3c6ef462fc3da"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="invert_8c.html#a46eabfad7813b7e0b0f3c6ef462fc3da">opj_lupSolve</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pResult, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pMatrix, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pVector, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *pPermutations, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> nb_compo, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_intermediate_data)</td></tr>
60 <tr class="memdesc:a46eabfad7813b7e0b0f3c6ef462fc3da"><td class="mdescLeft"> </td><td class="mdescRight">LUP solving. <a href="invert_8c.html#a46eabfad7813b7e0b0f3c6ef462fc3da">More...</a><br /></td></tr>
61 <tr class="separator:a46eabfad7813b7e0b0f3c6ef462fc3da"><td class="memSeparator" colspan="2"> </td></tr>
62 <tr class="memitem:a88339411e582e3c36af4b808df8561e4"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="invert_8c.html#a88339411e582e3c36af4b808df8561e4">opj_lupInvert</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pSrcMatrix, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pDestMatrix, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> nb_compo, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *pPermutations, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_src_temp, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_dest_temp, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_swap_area)</td></tr>
63 <tr class="memdesc:a88339411e582e3c36af4b808df8561e4"><td class="mdescLeft"> </td><td class="mdescRight">LUP inversion (call with the result of lupDecompose) <a href="invert_8c.html#a88339411e582e3c36af4b808df8561e4">More...</a><br /></td></tr>
64 <tr class="separator:a88339411e582e3c36af4b808df8561e4"><td class="memSeparator" colspan="2"> </td></tr>
65 <tr class="memitem:a7a19282d629041177b0c0fdf8a039b08"><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="invert_8c.html#a7a19282d629041177b0c0fdf8a039b08">opj_matrix_inversion_f</a> (<a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pSrcMatrix, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *pDestMatrix, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> nb_compo)</td></tr>
66 <tr class="memdesc:a7a19282d629041177b0c0fdf8a039b08"><td class="mdescLeft"> </td><td class="mdescRight">Matrix inversion. <a href="invert_8c.html#a7a19282d629041177b0c0fdf8a039b08">More...</a><br /></td></tr>
67 <tr class="separator:a7a19282d629041177b0c0fdf8a039b08"><td class="memSeparator" colspan="2"> </td></tr>
69 <h2 class="groupheader">Function Documentation</h2>
70 <a id="a40666080ced941508395998c700a4b70"></a>
71 <h2 class="memtitle"><span class="permalink"><a href="#a40666080ced941508395998c700a4b70">◆ </a></span>opj_lupDecompose()</h2>
74 <div class="memproto">
75 <table class="mlabels">
77 <td class="mlabels-left">
78 <table class="memname">
80 <td class="memname">static <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_lupDecompose </td>
82 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
83 <td class="paramname"><em>matrix</em>, </td>
86 <td class="paramkey"></td>
88 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> * </td>
89 <td class="paramname"><em>permutations</em>, </td>
92 <td class="paramkey"></td>
94 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
95 <td class="paramname"><em>p_swap_area</em>, </td>
98 <td class="paramkey"></td>
100 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
101 <td class="paramname"><em>nb_compo</em> </td>
110 <td class="mlabels-right">
111 <span class="mlabels"><span class="mlabel">static</span></span> </td>
114 </div><div class="memdoc">
116 <p>LUP decomposition. </p>
118 <p class="reference">References <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
120 <p class="reference">Referenced by <a class="el" href="invert_8h.html#a7a19282d629041177b0c0fdf8a039b08">opj_matrix_inversion_f()</a>.</p>
124 <a id="a88339411e582e3c36af4b808df8561e4"></a>
125 <h2 class="memtitle"><span class="permalink"><a href="#a88339411e582e3c36af4b808df8561e4">◆ </a></span>opj_lupInvert()</h2>
127 <div class="memitem">
128 <div class="memproto">
129 <table class="mlabels">
131 <td class="mlabels-left">
132 <table class="memname">
134 <td class="memname">static void opj_lupInvert </td>
136 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
137 <td class="paramname"><em>pSrcMatrix</em>, </td>
140 <td class="paramkey"></td>
142 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
143 <td class="paramname"><em>pDestMatrix</em>, </td>
146 <td class="paramkey"></td>
148 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
149 <td class="paramname"><em>nb_compo</em>, </td>
152 <td class="paramkey"></td>
154 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> * </td>
155 <td class="paramname"><em>pPermutations</em>, </td>
158 <td class="paramkey"></td>
160 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
161 <td class="paramname"><em>p_src_temp</em>, </td>
164 <td class="paramkey"></td>
166 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
167 <td class="paramname"><em>p_dest_temp</em>, </td>
170 <td class="paramkey"></td>
172 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
173 <td class="paramname"><em>p_swap_area</em> </td>
182 <td class="mlabels-right">
183 <span class="mlabels"><span class="mlabel">static</span></span> </td>
186 </div><div class="memdoc">
188 <p>LUP inversion (call with the result of lupDecompose) </p>
190 <p class="reference">References <a class="el" href="invert_8c.html#a46eabfad7813b7e0b0f3c6ef462fc3da">opj_lupSolve()</a>.</p>
192 <p class="reference">Referenced by <a class="el" href="invert_8h.html#a7a19282d629041177b0c0fdf8a039b08">opj_matrix_inversion_f()</a>.</p>
196 <a id="a46eabfad7813b7e0b0f3c6ef462fc3da"></a>
197 <h2 class="memtitle"><span class="permalink"><a href="#a46eabfad7813b7e0b0f3c6ef462fc3da">◆ </a></span>opj_lupSolve()</h2>
199 <div class="memitem">
200 <div class="memproto">
201 <table class="mlabels">
203 <td class="mlabels-left">
204 <table class="memname">
206 <td class="memname">static void opj_lupSolve </td>
208 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
209 <td class="paramname"><em>pResult</em>, </td>
212 <td class="paramkey"></td>
214 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
215 <td class="paramname"><em>pMatrix</em>, </td>
218 <td class="paramkey"></td>
220 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
221 <td class="paramname"><em>pVector</em>, </td>
224 <td class="paramkey"></td>
226 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> * </td>
227 <td class="paramname"><em>pPermutations</em>, </td>
230 <td class="paramkey"></td>
232 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
233 <td class="paramname"><em>nb_compo</em>, </td>
236 <td class="paramkey"></td>
238 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
239 <td class="paramname"><em>p_intermediate_data</em> </td>
248 <td class="mlabels-right">
249 <span class="mlabels"><span class="mlabel">static</span></span> </td>
252 </div><div class="memdoc">
256 <p class="reference">Referenced by <a class="el" href="invert_8c.html#a88339411e582e3c36af4b808df8561e4">opj_lupInvert()</a>.</p>
260 <a id="a7a19282d629041177b0c0fdf8a039b08"></a>
261 <h2 class="memtitle"><span class="permalink"><a href="#a7a19282d629041177b0c0fdf8a039b08">◆ </a></span>opj_matrix_inversion_f()</h2>
263 <div class="memitem">
264 <div class="memproto">
265 <table class="memname">
267 <td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_matrix_inversion_f </td>
269 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
270 <td class="paramname"><em>pSrcMatrix</em>, </td>
273 <td class="paramkey"></td>
275 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> * </td>
276 <td class="paramname"><em>pDestMatrix</em>, </td>
279 <td class="paramkey"></td>
281 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
282 <td class="paramname"><em>nb_compo</em> </td>
290 </div><div class="memdoc">
292 <p>Matrix inversion. </p>
293 <p>Calculates a n x n double matrix inversion with a LUP method. </p>
295 <p class="reference">References <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="invert_8c.html#a40666080ced941508395998c700a4b70">opj_lupDecompose()</a>, <a class="el" href="invert_8c.html#a88339411e582e3c36af4b808df8561e4">opj_lupInvert()</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>
297 <p class="reference">Referenced by <a class="el" href="j2k_8h.html#a4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>.</p>
301 </div><!-- contents -->
302 <!-- start footer part -->
303 <hr class="footer"/><address class="footer"><small>
304 Generated by  <a href="http://www.doxygen.org/index.html">
305 <img class="footer" src="doxygen.png" alt="doxygen"/>