Merge pull request #636 from uclouvain/opj_malloc-625
[openjpeg.git] / src / lib / openjp2 / invert.h
index 669a68e313d45bf09fce1f9dcd51aa241d249933..2fae8e54bdf163a3718b11d55738622dd099d69d 100644 (file)
@@ -1,4 +1,9 @@
 /*
+ * The copyright in this software is being made available under the 2-clauses 
+ * BSD License, included below. This software may be subject to other third 
+ * party and contributor rights, including patent rights, and no such rights
+ * are granted under this license.
+ *
  * Copyright (c) 2008, Jerome Fimes, Communications & Systemes <jerome.fimes@c-s.fr>
  * All rights reserved.
  *
 
 #ifndef __INVERT_H
 #define __INVERT_H
-/**\r
-@file invert.h\r
-@brief Implementation of the matrix inversion\r
-\r
-The function in INVERT.H compute a matrix inversion with a LUP method\r
+/**
+@file invert.h
+@brief Implementation of the matrix inversion
+
+The function in INVERT.H compute a matrix inversion with a LUP method
 */
 
-/** @defgroup INVERT INVERT - Implementation of a matrix inversion */\r
+/** @defgroup INVERT INVERT - Implementation of a matrix inversion */
 /*@{*/
-/** @name Exported functions */\r
+/** @name Exported functions */
 /*@{*/
 /* ----------------------------------------------------------------------- */
 
@@ -45,14 +50,15 @@ The function in INVERT.H compute a matrix inversion with a LUP method
  *
  * @param pSrcMatrix   the matrix to invert.
  * @param pDestMatrix  data to store the inverted matrix. 
+ * @param n size of the matrix
  * @return OPJ_TRUE if the inversion is successful, OPJ_FALSE if the matrix is singular.
  */
-opj_bool opj_matrix_inversion_f(OPJ_FLOAT32 * pSrcMatrix,
+OPJ_BOOL opj_matrix_inversion_f(OPJ_FLOAT32 * pSrcMatrix,
                                 OPJ_FLOAT32 * pDestMatrix, 
-                                OPJ_UINT32 n);
-/* ----------------------------------------------------------------------- */\r
-/*@}*/\r
-\r
+                                OPJ_UINT32 nb_compo);
+/* ----------------------------------------------------------------------- */
+/*@}*/
+
 /*@}*/
 
-#endif /* __INVERT_H */ 
\ No newline at end of file
+#endif /* __INVERT_H */