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


Classes

class  clip::clip_internal::pic_rep< PEL >
class  clip::clip_internal::double_dereferenced_picture_of_< PEL >
struct  clip::clip_internal::CImgDisplay
class  clip::clip_internal::camdriver< PEL >
struct  clip::clip_internal::huff_tables_tag
struct  clip::clip_internal::coeff_buf_tag
class  clip::clip_internal::progressive_block_decoder
class  clip::clip_internal::jpeg_decoder_stream
class  clip::clip_internal::jpeg_decoder_file_stream
class  clip::clip_internal::jpeg_decoder

Typedefs

typedef signed char schar
typedef signed short int16
typedef unsigned short uint16
typedef signed int int32
typedef clip::clip_internal::huff_tables_tag huff_tables_t
typedef clip::clip_internal::huff_tables_tagPhuff_tables_t
typedef clip::clip_internal::coeff_buf_tag coeff_buf_t
typedef clip::clip_internal::coeff_buf_tagPcoeff_buf_t
typedef void(* Pdecode_block_func )(jpeg_decoder *, int, int, int)
typedef jpeg_decoder_streamPjpeg_decoder_stream
typedef jpeg_decoder_file_streamPjpeg_decoder_file_stream
typedef jpeg_decoderPjpeg_decoder

Enumerations

enum  JPEG_MARKER {
  M_SOF0 = 0xC0, M_SOF1 = 0xC1, M_SOF2 = 0xC2, M_SOF3 = 0xC3,
  M_SOF5 = 0xC5, M_SOF6 = 0xC6, M_SOF7 = 0xC7, M_JPG = 0xC8,
  M_SOF9 = 0xC9, M_SOF10 = 0xCA, M_SOF11 = 0xCB, M_SOF13 = 0xCD,
  M_SOF14 = 0xCE, M_SOF15 = 0xCF, M_DHT = 0xC4, M_DAC = 0xCC,
  M_RST0 = 0xD0, M_RST1 = 0xD1, M_RST2 = 0xD2, M_RST3 = 0xD3,
  M_RST4 = 0xD4, M_RST5 = 0xD5, M_RST6 = 0xD6, M_RST7 = 0xD7,
  M_SOI = 0xD8, M_EOI = 0xD9, M_SOS = 0xDA, M_DQT = 0xDB,
  M_DNL = 0xDC, M_DRI = 0xDD, M_DHP = 0xDE, M_EXP = 0xDF,
  M_APP0 = 0xE0, M_APP15 = 0xEF, M_JPG0 = 0xF0, M_JPG13 = 0xFD,
  M_COM = 0xFE, M_TEM = 0x01, M_ERROR = 0x100
}

Functions

template<typename PEL> PEL maxval_of_3 (const picture_of_< PEL > &a, const picture_of_< PEL > &b, const picture_of_< PEL > &c)
template<typename PEL> PEL minval_of_3 (const picture_of_< PEL > &a, const picture_of_< PEL > &b, const picture_of_< PEL > &c)
long int cimg_time ()
void cimg_sleep (const int milliseconds)
int cimg_wait (const int milliseconds)
template<typename PEL> void move_420_block (int yTL, int yTR, int yBL, int yBR, int u, int v, int rowPixels, PEL *pg, PEL *pr, PEL *pb, PEL *pgplus, PEL *prplus, PEL *pbplus)
template<typename PEL> void colour_convert (PEL **g, PEL **r, PEL **b, const int height, const int width, const unsigned char *in)
template<typename PEL> void transfer_data (const unsigned char *src, PEL **r, PEL **g, PEL **b, const int campic_width, const int campic_height, const int pic_type, const bool toucam)
int pic_params (const int inx, const int iny, int &outx, int &outy)
void idct (BLOCK_TYPE *data, unsigned char *Pdst_ptr)
void jpeg_idct_ifast (BLOCK_TYPE *inptr, short *quantptr, unsigned char **outptr, int output_col)
void jpeg_idct_ifast_deinit (void)
bool jpeg_idct_ifast_avail (void)
int clip_jpeg_decode (unsigned char ***components, const char *filename, int &rows, int &cols, int &pnmtype)
void clip_jpeg_finish (unsigned char ***components, int rows, int cols, int pnmtype)
int clip_bmp_decode (unsigned char ***components, const char *name, int &rows, int &cols, int &type)
void clip_bmp_finish (unsigned char ***components, int rows, int cols, int type)
void bmp_colour_read (ifstream &fin, const int height, const int width, unsigned char ***components)
void bmp_mono_read (ifstream &fin, const int height, const int width, unsigned char ***components)
void bmp_colour_write (ofstream &fout, const int height, const int width, unsigned char ***components)
void bmp_mono_write (ofstream &fout, const int height, const int width, unsigned char ***components)
int bmp_write (const char *filename, const int &type, unsigned char ***components, const int &rows, const int &cols)
int gr_rescale (int in, int inlow, int inhigh, int outlow, int outhigh)
template<typename T> void BTL_Eigen (bool mv, int n, T *a, T *r)
template<typename T> void BTL_Esort (bool mv, int n, T *a, T *r)
template<class T> T Worden_absoluteValue (T value)
template<class T> T Worden_determinant (picture_of_< T > &a)
template<class T> bool Worden_inverse (picture_of_< T > &a)
template<class T> void Worden_lubksb (picture_of_< T > &a, int *indx, T *b)
template<class T> bool Worden_ludcmp (picture_of_< T > &a, int *indx, int &d)
template<class T> bool Worden_linsolve (const picture_of_< T > &a, picture_of_< T > &b, picture_of_< T > &x)
template<class T> bool Worden_eigsolve (const picture_of_< T > &a, const T &evalue, picture_of_< T > &evec)

Variables

camdriver< void > * fg = 0
picture_of_< int > * pcurr = 0
colour_picture_of_< int > * cpcurr = 0
const int JPGD_FAILED = -1
const int JPGD_DONE = 1
const int JPGD_OKAY = 0
const int extend_test [16]
const int extend_offset [16]
const int extend_mask []
int ZAG [64]
const int AAN_SCALE_BITS = 14
const int IFAST_SCALE_BITS = 2
int16 aan_scales [64]
const unsigned char uchar_font [13][659]
const double NUMERICS_FLOAT_MIN = DBL_MIN


Typedef Documentation

typedef struct clip::clip_internal::coeff_buf_tag clip::clip_internal::coeff_buf_t
 

typedef struct clip::clip_internal::huff_tables_tag clip::clip_internal::huff_tables_t
 

typedef signed short clip::clip_internal::int16
 

typedef signed int clip::clip_internal::int32
 

typedef struct clip::clip_internal::coeff_buf_tag * clip::clip_internal::Pcoeff_buf_t
 

typedef void(* clip::clip_internal::Pdecode_block_func)(jpeg_decoder *, int, int, int)
 

typedef struct clip::clip_internal::huff_tables_tag * clip::clip_internal::Phuff_tables_t
 

typedef jpeg_decoder* clip::clip_internal::Pjpeg_decoder
 

typedef jpeg_decoder_file_stream* clip::clip_internal::Pjpeg_decoder_file_stream
 

typedef jpeg_decoder_stream* clip::clip_internal::Pjpeg_decoder_stream
 

typedef signed char clip::clip_internal::schar
 

typedef unsigned short clip::clip_internal::uint16
 


Enumeration Type Documentation

enum JPEG_MARKER
 

Enumeration values:
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 


Function Documentation

void bmp_colour_read ifstream &  fin,
const int  height,
const int  width,
unsigned char ***  components
 

void bmp_colour_write ofstream &  fout,
const int  height,
const int  width,
unsigned char ***  components
 

void bmp_mono_read ifstream &  fin,
const int  height,
const int  width,
unsigned char ***  components
 

void bmp_mono_write ofstream &  fout,
const int  height,
const int  width,
unsigned char ***  components
 

int bmp_write const char *  filename,
const int &  type,
unsigned char ***  components,
const int &  rows,
const int &  cols
 

template<typename T>
void BTL_Eigen bool  mv,
int  n,
T *  a,
T *  r
 

template<typename T>
void BTL_Esort bool  mv,
int  n,
T *  a,
T *  r
 

void cimg_sleep const int  milliseconds  )  [inline]
 

long int cimg_time  )  [inline]
 

int cimg_wait const int  milliseconds  ) 
 

int clip::clip_internal::clip_bmp_decode unsigned char ***  components,
const char *  name,
int &  rows,
int &  cols,
int &  type
 

void clip_bmp_finish unsigned char ***  components,
int  rows,
int  cols,
int  type
 

int clip_jpeg_decode unsigned char ***  components,
const char *  filename,
int &  rows,
int &  cols,
int &  pnmtype
 

void clip_jpeg_finish unsigned char ***  components,
int  rows,
int  cols,
int  pnmtype
 

template<typename PEL>
void colour_convert PEL **  g,
PEL **  r,
PEL **  b,
const int  height,
const int  width,
const unsigned char *  in
 

int gr_rescale int  in,
int  inlow,
int  inhigh,
int  outlow,
int  outhigh
[inline]
 

void clip::clip_internal::idct BLOCK_TYPE *  data,
unsigned char *  Pdst_ptr
 

void jpeg_idct_ifast BLOCK_TYPE *  inptr,
short *  quantptr,
unsigned char **  outptr,
int  output_col
 

bool jpeg_idct_ifast_avail void   ) 
 

void jpeg_idct_ifast_deinit void   ) 
 

template<typename PEL>
PEL maxval_of_3 const picture_of_< PEL > &  a,
const picture_of_< PEL > &  b,
const picture_of_< PEL > &  c
[inline]
 

template<typename PEL>
PEL minval_of_3 const picture_of_< PEL > &  a,
const picture_of_< PEL > &  b,
const picture_of_< PEL > &  c
[inline]
 

template<typename PEL>
void move_420_block int  yTL,
int  yTR,
int  yBL,
int  yBR,
int  u,
int  v,
int  rowPixels,
PEL *  pg,
PEL *  pr,
PEL *  pb,
PEL *  pgplus,
PEL *  prplus,
PEL *  pbplus
[inline, static]
 

int pic_params const int  inx,
const int  iny,
int &  outx,
int &  outy
[static]
 

template<typename PEL>
void transfer_data const unsigned char *  src,
PEL **  r,
PEL **  g,
PEL **  b,
const int  campic_width,
const int  campic_height,
const int  pic_type,
const bool  toucam
 

template<class T>
T Worden_absoluteValue value  )  [inline]
 

template<class T>
T Worden_determinant picture_of_< T > &  a  ) 
 

template<class T>
bool Worden_eigsolve const picture_of_< T > &  a,
const T &  evalue,
picture_of_< T > &  evec
 

template<class T>
bool Worden_inverse picture_of_< T > &  a  ) 
 

template<class T>
bool Worden_linsolve const picture_of_< T > &  a,
picture_of_< T > &  b,
picture_of_< T > &  x
 

template<class T>
void Worden_lubksb picture_of_< T > &  a,
int *  indx,
T *  b
 

template<class T>
bool Worden_ludcmp picture_of_< T > &  a,
int *  indx,
int &  d
 


Variable Documentation

const int clip::clip_internal::AAN_SCALE_BITS = 14
 

int16 clip::clip_internal::aan_scales[64] [static]
 

Initial value:

{ 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520, 22725, 31521, 29692, 26722, 22725, 17855, 12299, 6270, 21407, 29692, 27969, 25172, 21407, 16819, 11585, 5906, 19266, 26722, 25172, 22654, 19266, 15137, 10426, 5315, 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520, 12873, 17855, 16819, 15137, 12873, 10114, 6967, 3552, 8867, 12299, 11585, 10426, 8867, 6967, 4799, 2446, 4520, 6270, 5906, 5315, 4520, 3552, 2446, 1247 }

colour_picture_of_<int>* clip::clip_internal::cpcurr = 0 [static]
 

const int clip::clip_internal::extend_mask[]
 

Initial value:

{ 0, (1<<0), (1<<1), (1<<2), (1<<3), (1<<4), (1<<5), (1<<6), (1<<7), (1<<8), (1<<9), (1<<10), (1<<11), (1<<12), (1<<13), (1<<14), (1<<15), (1<<16), }

const int clip::clip_internal::extend_offset[16]
 

Initial value:

{ 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1, ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1, ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1, ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 }

const int clip::clip_internal::extend_test[16]
 

Initial value:

{ 0, 0x0001, 0x0002, 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080, 0x0100, 0x0200, 0x0400, 0x0800, 0x1000, 0x2000, 0x4000 }

class camdriver< void >* clip::clip_internal::fg = 0 [static]
 

const int clip::clip_internal::IFAST_SCALE_BITS = 2
 

const int clip::clip_internal::JPGD_DONE = 1
 

const int clip::clip_internal::JPGD_FAILED = -1
 

const int clip::clip_internal::JPGD_OKAY = 0
 

const double clip::clip_internal::NUMERICS_FLOAT_MIN = DBL_MIN [static]
 

picture_of_<int>* clip::clip_internal::pcurr = 0 [static]
 

const unsigned char clip::clip_internal::uchar_font[13][659] [static]
 

int clip::clip_internal::ZAG[64] [static]
 

Initial value:

{ 0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5, 12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28, 35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30, 37, 44, 51, 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63, }


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