INVERT - Implementation of a matrix inversion


Exported functions

OPJ_BOOL opj_matrix_inversion_f (OPJ_FLOAT32 *pSrcMatrix, OPJ_FLOAT32 *pDestMatrix, OPJ_UINT32 nb_compo)
 Calculates a n x n double matrix inversion with a LUP method.

Function Documentation

OPJ_BOOL opj_matrix_inversion_f ( OPJ_FLOAT32 pSrcMatrix,
OPJ_FLOAT32 pDestMatrix,
OPJ_UINT32  nb_compo 
)

Calculates a n x n double matrix inversion with a LUP method.

Data is aligned, rows after rows (or columns after columns). The function does not take ownership of any memory block, data must be fred by the user.

Parameters:
pSrcMatrix the matrix to invert.
pDestMatrix data to store the inverted matrix.
n size of the matrix
Returns:
OPJ_TRUE if the inversion is successful, OPJ_FALSE if the matrix is singular.

References OPJ_FALSE, opj_free, opj_lupDecompose(), opj_lupInvert(), opj_malloc, and OPJ_TRUE.

Referenced by opj_j2k_setup_encoder().


Generated on Thu Jan 7 21:55:08 2016 for OpenJPEG by  doxygen 1.5.6