Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members


Classes

class  clip::apt1_0::compactor
class  clip::apt1_0::cfileio
class  clip::apt1_0::rlcomp
struct  clip::apt1_0::entry
class  clip::apt1_0::palettize
class  clip::apt1_0::bwpalettize
class  clip::apt1_0::pca3d

Functions

int apt_decode (unsigned char ***components, FILE *cfp, int &rows, int &cols, int &pnmtype, int &topmaxval, char **comment, int &bytesperpel)
void apt_finish (unsigned char ***components, int truerows, int truecols, int pnmtype)
int apt_encode (unsigned char ***incomponents, FILE *cfp, int rows, int cols, int pnmtype, int quality, const char *comment, const int numbits)
int get_ridgethresh (int spacing)
int get_numlevels ()
int makescratch (const int &xmax, const int &ymax)
int deletescratch (const int &ymax)
void enc_plane (unsigned char **in, const int &xmax, const int &ymax, const int &fromlevel, const int &tolevel, const int *spacing, rlcomp *codeout, const int &minval, const int &maxval, const int &comp, const int &truecols, const int &truerows)
int bincode (unsigned char ***pyr, const int &inrows, const int &incols, rlcomp *codeout, int fromlevel, const int *spacing, const int pnmtype, const int &truerows, const int &truecols)
void calc_colour_transform (unsigned char ***components, int *transform, int num_rows, int num_cols)
void rgb_pca (unsigned char ***components, int *transform, int num_rows, int num_cols)
int calcq (int dynamicrange, int quality, int *qvals, int numbands)
void gettrueminmax (unsigned char ***components, const int pnmtype, int *minval, int *maxval, const int &rows, const int &cols)
void pad (unsigned char ***incomponents, unsigned char ***pbuf, int &rows, int &cols, int pnmtype)
const unsigned char ** initclip (const int &bottomval, const int &topval, int pnmtype)
void dec_plane (unsigned char ***out, const int &XMAX, const int &YMAX, const int &fromlevel, const int *spacing, rlcomp *codein, const int *minval, const int *maxval, const int pnmtype, const int &truecols, const int &truerows)
void pca_rgb (unsigned char ***components, int *transform, int num_rows, int num_cols, const unsigned char **clip)
int read_header (FILE *cfp, int &pnmtype, int &rows, int &cols, int *minval, int *maxval, int *tminval, int *tmaxval, int &numlevels, char &coltype, int *spacing, int *transform, char **comment)
void order_filter (unsigned char ***components, int nr, int nc, int numcomps, int quality)
const unsigned char ** initclip (const int *minval, const int *maxval, int pnmtype)
int prepare_decoder (const int &sq_quant_spacing, const int &di_quant_spacing, const int &maxval)
int read_header (FILE *cfp, int &pnmtype, int &rows, int &cols, int *minval, int *maxval, int &ominval, int &omaxval, int &numlevels, char &coltype, int *spacing, int *transform, char **comment, int &bilevel)
void to_bilevel (unsigned char ***components, const int pnmtype, int *minval, int *maxval, const int &rows, const int &cols)
void unmktopcode (unsigned char topcode, int &l0rec, int &l1rec, int &l2rec, int &r0rec, int &r1rec, int &r2rec, int &cdcoder, int &efcoder, rlcomp *codein, const int neg_correct, int pnmtype)
void dec_level (unsigned char ***out, const int &XMAX, const int &YMAX, const int &level, const int &sq_spacing, const int &di_spacing, rlcomp *codein, const int pnmtype, const int &maxval, int actuallower[3][256], int actualhigher[3][256])
void dec_plane (unsigned char ***out, const int &xmax, const int &ymax, const int &fromlevel, const int *spacing, rlcomp *codein, const int &minval, const int &maxval, const int pnmtype)
int eight_bit_decode (unsigned char ***components, FILE *cfp, int &rows, int &cols, int &pnmtype, int &topmaxval, char **comment, int if_eq_two_alloc_double_space, cfileio &fio, rlcomp *codein)
void prepare_encoder (const int &sq_quant_spacing, const int &di_quant_spacing, const int &maximum)
void from_bilevel (unsigned char ***components, const int pnmtype, int *minval, int *maxval, const int &rows, const int &cols, int &bilevel)
void enc_level (unsigned char **in, const int &XMAX, const int &YMAX, const int &level, const int &sq_spacing, const int &di_spacing, const int &minval, const int &maxval, const int &comp, const int &truecols, const int &truerows, int actuallower[], int actualhigher[])
void mktopcode (const unsigned char scratchval, const unsigned char &l0, const unsigned char &l1, const unsigned char &l2, unsigned char rscratchval, const unsigned char &r0, const unsigned char &r1, const unsigned char &r2, const int pnmtype, rlcomp *codeout, const int putflag, const int sendright, const int &range)
int bincode (unsigned char ***pyr, const int &inrows, const int &incols, rlcomp *codeout, int fromlevel, const int *spacing, const int pnmtype, const int &maxval)
int eight_bit_encode (unsigned char ***incomponents, FILE *cfp, int rows, int cols, int pnmtype, int quality, const char *comment, cfileio &fio)

Variables

const int TABLEBITS = 12
const int MASK = (1<<TABLEBITS)-1
const int TABLESIZE = (1<<TABLEBITS)
const int FLAGWORDCHUNK = 3
const int FLAGWORDS = 3*3*3
const int MAXFLAG = 63
const int numcoders = 8
const int SST = 0
const int DST = 4
const int orderarray [81]
const int shiftbits = 15
unsigned char Aclip [3][512+256]
unsigned char * clip [3]
int Asq_decode_table [513] = { 0}
int * sq_decode_table
int sq_range
int sq_out_of_range [256]
int Adi_decode_table [513] = { 0}
int * di_decode_table
int di_range
int di_out_of_range [256]
int Aabt [513]
int * abt
char commentbuf [256]
int numlevels
const int enc_numlevels = 6
int Asq_encode_table [513] = { 0}
int * sq_encode_table
int sq_arr [19]
int Adi_encode_table [513] = { 0}
int * di_encode_table
int di_arr [19]
unsigned char ** scratch
unsigned char ** predictors
unsigned char ** ridge


Function Documentation

int clip::apt1_0::apt_decode unsigned char ***  components,
FILE *  cfp,
int &  rows,
int &  cols,
int &  pnmtype,
int &  topmaxval,
char **  comment,
int &  bytesperpel
 

int clip::apt1_0::apt_encode unsigned char ***  incomponents,
FILE *  cfp,
int  rows,
int  cols,
int  pnmtype,
int  quality,
const char *  comment,
const int  numbits
 

void clip::apt1_0::apt_finish unsigned char ***  components,
int  truerows,
int  truecols,
int  pnmtype
 

int bincode unsigned char ***  pyr,
const int &  inrows,
const int &  incols,
rlcomp *  codeout,
int  fromlevel,
const int *  spacing,
const int  pnmtype,
const int &  maxval
 

int bincode unsigned char ***  pyr,
const int &  inrows,
const int &  incols,
rlcomp *  codeout,
int  fromlevel,
const int *  spacing,
const int  pnmtype,
const int &  truerows,
const int &  truecols
 

void clip::apt1_0::calc_colour_transform unsigned char ***  components,
int *  transform,
int  num_rows,
int  num_cols
 

int clip::apt1_0::calcq int  dynamicrange,
int  quality,
int *  qvals,
int  numbands
 

void dec_level unsigned char ***  out,
const int &  XMAX,
const int &  YMAX,
const int &  level,
const int &  sq_spacing,
const int &  di_spacing,
rlcomp *  codein,
const int  pnmtype,
const int &  maxval,
int  actuallower[3][256],
int  actualhigher[3][256]
 

void dec_plane unsigned char ***  out,
const int &  xmax,
const int &  ymax,
const int &  fromlevel,
const int *  spacing,
rlcomp *  codein,
const int &  minval,
const int &  maxval,
const int  pnmtype
 

void dec_plane unsigned char ***  out,
const int &  XMAX,
const int &  YMAX,
const int &  fromlevel,
const int *  spacing,
rlcomp *  codein,
const int *  minval,
const int *  maxval,
const int  pnmtype,
const int &  truecols,
const int &  truerows
 

int clip::apt1_0::deletescratch const int &  ymax  ) 
 

int eight_bit_decode unsigned char ***  components,
FILE *  cfp,
int &  rows,
int &  cols,
int &  pnmtype,
int &  topmaxval,
char **  comment,
int  if_eq_two_alloc_double_space,
cfileio &  fio,
rlcomp *  codein
 

int eight_bit_encode unsigned char ***  incomponents,
FILE *  cfp,
int  rows,
int  cols,
int  pnmtype,
int  quality,
const char *  comment,
cfileio &  fio
 

void enc_level unsigned char **  in,
const int &  XMAX,
const int &  YMAX,
const int &  level,
const int &  sq_spacing,
const int &  di_spacing,
const int &  minval,
const int &  maxval,
const int &  comp,
const int &  truecols,
const int &  truerows,
int  actuallower[],
int  actualhigher[]
 

void clip::apt1_0::enc_plane unsigned char **  in,
const int &  xmax,
const int &  ymax,
const int &  fromlevel,
const int &  tolevel,
const int *  spacing,
rlcomp *  codeout,
const int &  minval,
const int &  maxval,
const int &  comp,
const int &  truecols,
const int &  truerows
 

void from_bilevel unsigned char ***  components,
const int  pnmtype,
int *  minval,
int *  maxval,
const int &  rows,
const int &  cols,
int &  bilevel
 

int clip::apt1_0::get_numlevels  ) 
 

int get_ridgethresh int  spacing  )  [inline]
 

void clip::apt1_0::gettrueminmax unsigned char ***  components,
const int  pnmtype,
int *  minval,
int *  maxval,
const int &  rows,
const int &  cols
 

const unsigned char** initclip const int *  minval,
const int *  maxval,
int  pnmtype
 

const unsigned char** initclip const int &  bottomval,
const int &  topval,
int  pnmtype
 

int clip::apt1_0::makescratch const int &  xmax,
const int &  ymax
 

void mktopcode const unsigned char  scratchval,
const unsigned char &  l0,
const unsigned char &  l1,
const unsigned char &  l2,
unsigned char  rscratchval,
const unsigned char &  r0,
const unsigned char &  r1,
const unsigned char &  r2,
const int  pnmtype,
rlcomp *  codeout,
const int  putflag,
const int  sendright,
const int &  range
 

void order_filter unsigned char ***  components,
int  nr,
int  nc,
int  numcomps,
int  quality
 

void clip::apt1_0::pad unsigned char ***  incomponents,
unsigned char ***  pbuf,
int &  rows,
int &  cols,
int  pnmtype
 

void clip::apt1_0::pca_rgb unsigned char ***  components,
int *  transform,
int  num_rows,
int  num_cols,
const unsigned char **  clip
 

int prepare_decoder const int &  sq_quant_spacing,
const int &  di_quant_spacing,
const int &  maxval
 

void prepare_encoder const int &  sq_quant_spacing,
const int &  di_quant_spacing,
const int &  maximum
 

int read_header FILE *  cfp,
int &  pnmtype,
int &  rows,
int &  cols,
int *  minval,
int *  maxval,
int &  ominval,
int &  omaxval,
int &  numlevels,
char &  coltype,
int *  spacing,
int *  transform,
char **  comment,
int &  bilevel
 

int read_header FILE *  cfp,
int &  pnmtype,
int &  rows,
int &  cols,
int *  minval,
int *  maxval,
int *  tminval,
int *  tmaxval,
int &  numlevels,
char &  coltype,
int *  spacing,
int *  transform,
char **  comment
 

void clip::apt1_0::rgb_pca unsigned char ***  components,
int *  transform,
int  num_rows,
int  num_cols
 

void to_bilevel unsigned char ***  components,
const int  pnmtype,
int *  minval,
int *  maxval,
const int &  rows,
const int &  cols
 

void unmktopcode unsigned char  topcode,
int &  l0rec,
int &  l1rec,
int &  l2rec,
int &  r0rec,
int &  r1rec,
int &  r2rec,
int &  cdcoder,
int &  efcoder,
rlcomp *  codein,
const int  neg_correct,
int  pnmtype
 


Variable Documentation

int clip::apt1_0::Aabt[513] [static]
 

int* clip::apt1_0::abt [static]
 

unsigned char clip::apt1_0::Aclip[3][512+256] [static]
 

int clip::apt1_0::Adi_decode_table[513] = { 0} [static]
 

int clip::apt1_0::Adi_encode_table[513] = { 0} [static]
 

int clip::apt1_0::Asq_decode_table[513] = { 0} [static]
 

int clip::apt1_0::Asq_encode_table[513] = { 0} [static]
 

unsigned char* clip::apt1_0::clip[3] [static]
 

char clip::apt1_0::commentbuf[256] [static]
 

int clip::apt1_0::di_arr[19] [static]
 

int* clip::apt1_0::di_decode_table [static]
 

int* clip::apt1_0::di_encode_table [static]
 

int clip::apt1_0::di_out_of_range[256] [static]
 

int clip::apt1_0::di_range [static]
 

const int clip::apt1_0::DST = 4
 

const int clip::apt1_0::enc_numlevels = 6
 

const int clip::apt1_0::FLAGWORDCHUNK = 3
 

const int clip::apt1_0::FLAGWORDS = 3*3*3
 

const int clip::apt1_0::MASK = (1<<TABLEBITS)-1
 

const int clip::apt1_0::MAXFLAG = 63
 

const int clip::apt1_0::numcoders = 8
 

int clip::apt1_0::numlevels [static]
 

const int clip::apt1_0::orderarray[81] [static]
 

unsigned char** clip::apt1_0::predictors [static]
 

unsigned char** clip::apt1_0::ridge [static]
 

unsigned char** clip::apt1_0::scratch [static]
 

const int clip::apt1_0::shiftbits = 15
 

int clip::apt1_0::sq_arr[19] [static]
 

int* clip::apt1_0::sq_decode_table [static]
 

int* clip::apt1_0::sq_encode_table [static]
 

int clip::apt1_0::sq_out_of_range[256] [static]
 

int clip::apt1_0::sq_range [static]
 

const int clip::apt1_0::SST = 0
 

const int clip::apt1_0::TABLEBITS = 12
 

const int clip::apt1_0::TABLESIZE = (1<<TABLEBITS)
 


Generated on Sat Mar 5 17:34:35 2005 for clip by doxygen 1.3.8