#include <mct.h>
|
|
| static void | encode_rev (int32_t *c0, int32_t *c1, int32_t *c2, uint64_t n) |
| | Apply a reversible multi-component transform to an image. More...
|
| |
| static void | decode_rev (int32_t *c0, int32_t *c1, int32_t *c2, uint64_t n) |
| | Apply a reversible multi-component inverse transform to an image. More...
|
| |
| static const double * | get_norms_rev (void) |
| | Get wavelet norms for reversible transform. More...
|
| |
| static void | encode_irrev (int32_t *c0, int32_t *c1, int32_t *c2, uint64_t n) |
| | Apply an irreversible multi-component transform to an image. More...
|
| |
| static void | decode_irrev (float *c0, float *c1, float *c2, uint64_t n) |
| | Apply an irreversible multi-component inverse transform to an image. More...
|
| |
| static const double * | get_norms_irrev (void) |
| | Get wavelet norms for irreversible transform. More...
|
| |
| static bool | encode_custom (uint8_t *p_coding_data, uint64_t n, uint8_t **p_data, uint32_t nb_comp, uint32_t is_signed) |
| | Custom MCT transform. More...
|
| |
| static bool | decode_custom (uint8_t *pDecodingData, uint64_t n, uint8_t **pData, uint32_t pNbComp, uint32_t isSigned) |
| | Custom MCT decode. More...
|
| |
| static void | calculate_norms (double *pNorms, uint32_t nb_comps, float *pMatrix) |
| | Calculate norm of MCT transform. More...
|
| |
◆ calculate_norms()
| static void grk::mct::calculate_norms |
( |
double * |
pNorms, |
|
|
uint32_t |
nb_comps, |
|
|
float * |
pMatrix |
|
) |
| |
|
static |
Calculate norm of MCT transform.
- Parameters
-
| pNorms | MCT data |
| nb_comps | number of components |
| pMatrix | components |
◆ decode_custom()
| static bool grk::mct::decode_custom |
( |
uint8_t * |
pDecodingData, |
|
|
uint64_t |
n, |
|
|
uint8_t ** |
pData, |
|
|
uint32_t |
pNbComp, |
|
|
uint32_t |
isSigned |
|
) |
| |
|
static |
Custom MCT decode.
- Parameters
-
| pDecodingData | MCT data |
| n | size of components |
| pData | components |
| pNbComp | nb of components (i.e. size of p_data) |
| isSigned | tells if the data is signed |
- Returns
- false if function encounter a problem, true otherwise
◆ decode_irrev()
| static void grk::mct::decode_irrev |
( |
float * |
c0, |
|
|
float * |
c1, |
|
|
float * |
c2, |
|
|
uint64_t |
n |
|
) |
| |
|
static |
Apply an irreversible multi-component inverse transform to an image.
- Parameters
-
| c0 | Samples for luminance component |
| c1 | Samples for red chrominance component |
| c2 | Samples for blue chrominance component |
| n | Number of samples for each component |
◆ decode_rev()
| static void grk::mct::decode_rev |
( |
int32_t * |
c0, |
|
|
int32_t * |
c1, |
|
|
int32_t * |
c2, |
|
|
uint64_t |
n |
|
) |
| |
|
static |
Apply a reversible multi-component inverse transform to an image.
- Parameters
-
| c0 | Samples for luminance component |
| c1 | Samples for red chrominance component |
| c2 | Samples for blue chrominance component |
| n | Number of samples for each component |
◆ encode_custom()
| static bool grk::mct::encode_custom |
( |
uint8_t * |
p_coding_data, |
|
|
uint64_t |
n, |
|
|
uint8_t ** |
p_data, |
|
|
uint32_t |
nb_comp, |
|
|
uint32_t |
is_signed |
|
) |
| |
|
static |
Custom MCT transform.
- Parameters
-
| p_coding_data | MCT data |
| n | size of components |
| p_data | components |
| nb_comp | nb of components (i.e. size of p_data) |
| is_signed | indicates if the data is signed |
- Returns
- false if function encounter a problem, true otherwise
◆ encode_irrev()
| static void grk::mct::encode_irrev |
( |
int32_t * |
c0, |
|
|
int32_t * |
c1, |
|
|
int32_t * |
c2, |
|
|
uint64_t |
n |
|
) |
| |
|
static |
Apply an irreversible multi-component transform to an image.
- Parameters
-
| c0 | Samples for red component |
| c1 | Samples for green component |
| c2 | Samples blue component |
| n | Number of samples for each component |
◆ encode_rev()
| static void grk::mct::encode_rev |
( |
int32_t * |
c0, |
|
|
int32_t * |
c1, |
|
|
int32_t * |
c2, |
|
|
uint64_t |
n |
|
) |
| |
|
static |
Apply a reversible multi-component transform to an image.
- Parameters
-
| c0 | Samples for red component |
| c1 | Samples for green component |
| c2 | Samples blue component |
| n | Number of samples for each component |
◆ get_norms_irrev()
| static const double* grk::mct::get_norms_irrev |
( |
void |
| ) |
|
|
static |
Get wavelet norms for irreversible transform.
◆ get_norms_rev()
| static const double* grk::mct::get_norms_rev |
( |
void |
| ) |
|
|
static |
Get wavelet norms for reversible transform.
The documentation for this class was generated from the following file: