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. |
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.
pSrcMatrix | the matrix to invert. | |
pDestMatrix | data to store the inverted matrix. | |
n | size of the matrix |
References OPJ_FALSE, opj_free, opj_lupDecompose(), opj_lupInvert(), opj_malloc, and OPJ_TRUE.
Referenced by opj_j2k_setup_encoder().