Go to the documentation of this file.
50 static void encode_rev(int32_t *c0, int32_t *c1, int32_t *c2, uint64_t n);
58 static void decode_rev(int32_t *c0, int32_t *c1, int32_t *c2, uint64_t n);
73 static void encode_irrev(int32_t *c0, int32_t *c1, int32_t *c2, uint64_t n);
81 static void decode_irrev(
float *c0,
float *c1,
float *c2, uint64_t n);
97 static bool encode_custom(uint8_t *p_coding_data, uint64_t n, uint8_t **p_data,
98 uint32_t nb_comp, uint32_t is_signed);
108 static bool decode_custom(uint8_t *pDecodingData, uint64_t n, uint8_t **pData,
109 uint32_t pNbComp, uint32_t isSigned);
static const double * get_norms_rev(void)
Get wavelet norms for reversible transform.
static void calculate_norms(double *pNorms, uint32_t nb_comps, float *pMatrix)
Calculate norm of MCT transform.
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.
static bool decode_custom(uint8_t *pDecodingData, uint64_t n, uint8_t **pData, uint32_t pNbComp, uint32_t isSigned)
Custom MCT decode.
static const double * get_norms_irrev(void)
Get wavelet norms for irreversible transform.
static void decode_irrev(float *c0, float *c1, float *c2, uint64_t n)
Apply an irreversible multi-component inverse transform to an image.
Copyright (C) 2016-2020 Grok Image Compression Inc.
Definition: BitIO.h:27
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.
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.
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.