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

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

Referenced by tcd_decode_tile().

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

Referenced by tcd_decode_tile().

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

Referenced by tcd_encode_tile().

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

References fix_mul().

Referenced by tcd_encode_tile().


Variable Documentation

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

Referenced by mct_getnorm().

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

Referenced by mct_getnorm_real().


Generated on Mon Dec 19 12:34:13 2016 for OpenJPEG by  doxygen 1.5.6