Main Page | Namespace List | Compound List | File List | Compound Members | File Members

datatype.h File Reference

#include <stdio.h>

Go to the source code of this file.

Compounds

struct  ImageComponent

Defines

#define first_quad(c)   ((c)>>4)
#define second_quad(c)   ((c)&15)
#define ceil_div(N, D)   ( (N>(D*(N/D)))? (N/D)+1 : N/D )
#define floor_div(N, D)   ( (N<(D*(N/D)))? (N/D)-1 : N/D )
#define RST_MK(x)   ( (0xFFF8&(x)) == 0xFFD0 )

Typedefs

typedef unsigned char VYAimageComponent
typedef unsigned char VYAimageDepth
typedef unsigned int VYAimageH
typedef unsigned int VYAimageV
typedef unsigned int VYAimageX
typedef unsigned int VYAimageY
typedef unsigned char VYAid
typedef unsigned char VYAbyte
typedef unsigned char Bits
typedef unsigned int Marker

Variables

const Marker SOI_MK = 0xFFD8
const Marker COM_MK = 0xFFFE
const Marker APP_MK = 0xFFE0
const Marker DQT_MK = 0xFFDB
const Marker SOF_MK = 0xFFC0
const Marker DHT_MK = 0xFFC4
const Marker SOS_MK = 0xFFDA
const Marker DRI_MK = 0xFFDD
const Marker EOI_MK = 0xFFD9
const Marker MK_MSK = 0xFFF0


Define Documentation

#define ceil_div N,
 )     ( (N>(D*(N/D)))? (N/D)+1 : N/D )
 

Definition at line 19 of file datatype.h.

Referenced by Raster::main().

#define first_quad  )     ((c)>>4)
 

Definition at line 16 of file datatype.h.

Referenced by VLD::load_huff_tables(), IQ::load_quant_tables(), VLD::main(), and SOF::main().

#define floor_div N,
 )     ( (N<(D*(N/D)))? (N/D)-1 : N/D )
 

Definition at line 20 of file datatype.h.

#define RST_MK  )     ( (0xFFF8&(x)) == 0xFFD0 )
 

Definition at line 53 of file datatype.h.

Referenced by VLD::get_bits(), VLD::main(), and DMX::main().

#define second_quad  )     ((c)&15)
 

Definition at line 17 of file datatype.h.

Referenced by VLD::load_huff_tables(), IQ::load_quant_tables(), VLD::main(), and SOF::main().


Typedef Documentation

typedef unsigned char Bits
 

Definition at line 35 of file datatype.h.

Referenced by VLD::get_bits(), DMX::get_marker(), VLD::get_size(), SOF::get_size(), IQ::get_size(), VLD::load_huff_tables(), IQ::load_quant_tables(), VLD::load_restart_interval(), VLD::main(), SOS::main(), SOF::main(), and DMX::main().

typedef unsigned int Marker
 

Definition at line 36 of file datatype.h.

Referenced by VLD::main(), IQ::main(), and DMX::main().

typedef unsigned char VYAbyte
 

Definition at line 33 of file datatype.h.

typedef unsigned char VYAid
 

Definition at line 32 of file datatype.h.

Referenced by VLD::main(), SOS::main(), SOF::main(), and IQ::main().

typedef unsigned char VYAimageComponent
 

Definition at line 26 of file datatype.h.

Referenced by VLD::main(), SOS::main(), SOF::main(), Raster::main(), and IQ::main().

typedef unsigned char VYAimageDepth
 

Definition at line 27 of file datatype.h.

Referenced by VLD::main(), SOS::main(), SOF::main(), Raster::main(), and IQ::main().

typedef unsigned int VYAimageH
 

Definition at line 28 of file datatype.h.

Referenced by VLD::main(), SOF::main(), Raster::main(), and IQ::main().

typedef unsigned int VYAimageV
 

Definition at line 29 of file datatype.h.

Referenced by VLD::main(), SOF::main(), Raster::main(), and IQ::main().

typedef unsigned int VYAimageX
 

Definition at line 30 of file datatype.h.

Referenced by Raster::main().

typedef unsigned int VYAimageY
 

Definition at line 31 of file datatype.h.

Referenced by Raster::main().


Variable Documentation

const Marker APP_MK = 0xFFE0
 

Definition at line 44 of file datatype.h.

Referenced by DMX::main().

const Marker COM_MK = 0xFFFE
 

Definition at line 43 of file datatype.h.

Referenced by DMX::main().

const Marker DHT_MK = 0xFFC4
 

Definition at line 47 of file datatype.h.

Referenced by VLD::main(), and DMX::main().

const Marker DQT_MK = 0xFFDB
 

Definition at line 45 of file datatype.h.

Referenced by IQ::main(), and DMX::main().

const Marker DRI_MK = 0xFFDD
 

Definition at line 49 of file datatype.h.

Referenced by VLD::main(), and DMX::main().

const Marker EOI_MK = 0xFFD9
 

Definition at line 50 of file datatype.h.

Referenced by DMX::main().

const Marker MK_MSK = 0xFFF0
 

Definition at line 52 of file datatype.h.

Referenced by DMX::main().

const Marker SOF_MK = 0xFFC0
 

Definition at line 46 of file datatype.h.

Referenced by DMX::main().

const Marker SOI_MK = 0xFFD8
 

Definition at line 42 of file datatype.h.

Referenced by DMX::main().

const Marker SOS_MK = 0xFFDA
 

Definition at line 48 of file datatype.h.

Referenced by VLD::main(), and DMX::main().


Generated on Wed Feb 15 14:52:45 2006 for jpegdec by doxygen 1.3.2