OpenJPEG 1.5.1
mct.c File Reference
#include "opj_includes.h"

Functions

void mct_encode (int *restrict c0, int *restrict c1, int *restrict c2, int n)
 
void mct_decode (int *restrict c0, int *restrict c1, int *restrict c2, int n)
 
double mct_getnorm (int compno)
 Get norm of the basis function used for the reversible multi-component transform.
 
void mct_encode_real (int *restrict c0, int *restrict c1, int *restrict c2, int n)
 
void mct_decode_real (float *restrict c0, float *restrict c1, float *restrict c2, int n)
 
double mct_getnorm_real (int compno)
 Get norm of the basis function used for the irreversible multi-component transform.
 

Variables

static const double mct_norms [3] = { 1.732, .8292, .8292 }
 
static const double mct_norms_real [3] = { 1.732, 1.805, 1.573 }
 

Function Documentation

◆ mct_decode()

void mct_decode ( int *restrict c0,
int *restrict c1,
int *restrict c2,
int n )

Referenced by tcd_decode_tile().

◆ mct_decode_real()

void mct_decode_real ( float *restrict c0,
float *restrict c1,
float *restrict c2,
int n )

Referenced by tcd_decode_tile().

◆ mct_encode()

void mct_encode ( int *restrict c0,
int *restrict c1,
int *restrict c2,
int n )

Referenced by tcd_encode_tile().

◆ mct_encode_real()

void mct_encode_real ( int *restrict c0,
int *restrict c1,
int *restrict c2,
int n )

References fix_mul().

Referenced by tcd_encode_tile().

◆ mct_getnorm()

double mct_getnorm ( int compno)

Get norm of the basis function used for the reversible multi-component transform.

Parameters
compnoNumber of the component (0->Y, 1->U, 2->V)
Returns

References mct_norms.

Referenced by t1_getwmsedec().

◆ mct_getnorm_real()

double mct_getnorm_real ( int compno)

Get norm of the basis function used for the irreversible multi-component transform.

Parameters
compnoNumber of the component (0->Y, 1->U, 2->V)
Returns

References mct_norms_real.

Referenced by t1_getwmsedec().

Variable Documentation

◆ mct_norms

const double mct_norms[3] = { 1.732, .8292, .8292 }
static

Referenced by mct_getnorm().

◆ mct_norms_real

const double mct_norms_real[3] = { 1.732, 1.805, 1.573 }
static

Referenced by mct_getnorm_real().