Grok  7.6.0
grk::mct Class Reference

#include <mct.h>

Static Public Member Functions

Exported functions
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...
 

Member Function Documentation

◆ calculate_norms()

static void grk::mct::calculate_norms ( double *  pNorms,
uint32_t  nb_comps,
float *  pMatrix 
)
static

Calculate norm of MCT transform.

Parameters
pNormsMCT data
nb_compsnumber of components
pMatrixcomponents

◆ 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
pDecodingDataMCT data
nsize of components
pDatacomponents
pNbCompnb of components (i.e. size of p_data)
isSignedtells 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
c0Samples for luminance component
c1Samples for red chrominance component
c2Samples for blue chrominance component
nNumber 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
c0Samples for luminance component
c1Samples for red chrominance component
c2Samples for blue chrominance component
nNumber 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_dataMCT data
nsize of components
p_datacomponents
nb_compnb of components (i.e. size of p_data)
is_signedindicates 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
c0Samples for red component
c1Samples for green component
c2Samples blue component
nNumber 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
c0Samples for red component
c1Samples for green component
c2Samples blue component
nNumber 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: