|
OpenJPEG 2.5.4
|
#include "opj_includes.h"Functions | |
| static OPJ_BOOL | opj_lupDecompose (OPJ_FLOAT32 *matrix, OPJ_UINT32 *permutations, OPJ_FLOAT32 *p_swap_area, OPJ_UINT32 nb_compo) |
| LUP decomposition. | |
| static void | opj_lupSolve (OPJ_FLOAT32 *pResult, OPJ_FLOAT32 *pMatrix, OPJ_FLOAT32 *pVector, OPJ_UINT32 *pPermutations, OPJ_UINT32 nb_compo, OPJ_FLOAT32 *p_intermediate_data) |
| LUP solving. | |
| static void | opj_lupInvert (OPJ_FLOAT32 *pSrcMatrix, OPJ_FLOAT32 *pDestMatrix, OPJ_UINT32 nb_compo, OPJ_UINT32 *pPermutations, OPJ_FLOAT32 *p_src_temp, OPJ_FLOAT32 *p_dest_temp, OPJ_FLOAT32 *p_swap_area) |
| LUP inversion (call with the result of lupDecompose). | |
| OPJ_BOOL | opj_matrix_inversion_f (OPJ_FLOAT32 *pSrcMatrix, OPJ_FLOAT32 *pDestMatrix, OPJ_UINT32 nb_compo) |
| Matrix inversion. | |
|
static |
LUP decomposition.
References OPJ_FALSE, opj_lupDecompose(), and OPJ_TRUE.
Referenced by opj_lupDecompose(), and opj_matrix_inversion_f().
|
static |
LUP inversion (call with the result of lupDecompose).
References opj_lupInvert(), and opj_lupSolve().
Referenced by opj_lupInvert(), and opj_matrix_inversion_f().
|
static |
| OPJ_BOOL opj_matrix_inversion_f | ( | OPJ_FLOAT32 * | pSrcMatrix, |
| OPJ_FLOAT32 * | pDestMatrix, | ||
| OPJ_UINT32 | nb_compo ) |
Matrix inversion.
Calculates a n x n double matrix inversion with a LUP method.
Matrix inversion.
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. |
| nb_compo | size of the matrix |
References OPJ_FALSE, opj_free(), opj_lupDecompose(), opj_lupInvert(), opj_malloc(), opj_matrix_inversion_f(), and OPJ_TRUE.
Referenced by opj_j2k_setup_encoder(), and opj_matrix_inversion_f().