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

VLD Class Reference

#include <vld.h>

List of all members.

Public Member Functions

 VLD (const Id &n, In< Marker > &markerIn, In< Bits > &restartIntervalBitsIn, In< Bits > &Cin, In< VYAimageDepth > &imageDepthIn, In< VYAimageComponent > &imageComponentIdIn, In< VYAimageH > &imageHIn, In< VYAimageV > &imageVIn, In< VYAimageDepth > &scanDepthIn, In< VYAimageComponent > &scanComponentIdIn, In< Bits > &HuffmanTableIn, In< VYAid > &HuffmanTableIdIn, Out< VYApixel > &Cout)
const char * type () const
void main ()

Private Member Functions

unsigned char get_symbol (int select)
unsigned int get_size ()
int get_bits (int number)
VYApixel reformat (unsigned long S, int good)
int load_huff_tables ()
void load_restart_interval ()
void abort ()

Private Attributes

InPort< MarkermarkerInP
InPort< BitsrestartIntervalBitsInP
InPort< BitsCinP
InPort< VYAimageDepthimageDepthInP
InPort< VYAimageComponentimageComponentIdInP
InPort< VYAimageHimageHInP
InPort< VYAimageVimageVInP
InPort< VYAimageDepthscanDepthInP
InPort< VYAimageComponentscanComponentIdInP
InPort< BitsHuffmanTableInP
InPort< VYAidHuffmanTableIdInP
OutPort< VYApixel > CoutP
int window
int bit_count
unsigned int restartInterval


Constructor & Destructor Documentation

VLD::VLD const Id &  n,
In< Marker > &  markerIn,
In< Bits > &  restartIntervalBitsIn,
In< Bits > &  Cin,
In< VYAimageDepth > &  imageDepthIn,
In< VYAimageComponent > &  imageComponentIdIn,
In< VYAimageH > &  imageHIn,
In< VYAimageV > &  imageVIn,
In< VYAimageDepth > &  scanDepthIn,
In< VYAimageComponent > &  scanComponentIdIn,
In< Bits > &  HuffmanTableIn,
In< VYAid > &  HuffmanTableIdIn,
Out< VYApixel > &  Cout
 

Definition at line 26 of file vld.cc.

References restartInterval, and window.


Member Function Documentation

void VLD::abort  )  [private]
 

Definition at line 59 of file vld.cc.

Referenced by get_bits(), get_symbol(), and main().

int VLD::get_bits int  number  )  [private]
 

Definition at line 426 of file vld.cc.

References abort(), bit_count, Bits, CinP, RST_MK, and window.

Referenced by get_symbol(), and main().

unsigned int VLD::get_size  )  [private]
 

Definition at line 246 of file vld.cc.

References Bits, and HuffmanTableInP.

Referenced by load_huff_tables().

unsigned char VLD::get_symbol int  select  )  [private]
 

Definition at line 475 of file vld.cc.

References abort(), BAD_LEAF_FLAG, get_bits(), GOOD_LEAF_FLAG, GOOD_NODE_FLAG, HTable, HUFF_FLAG, HUFF_VALUE, and SPECIAL_FLAG.

Referenced by main().

int VLD::load_huff_tables  )  [private]
 

Definition at line 107 of file vld.cc.

References BAD_LEAF_FLAG, Bits, first_quad, get_size(), GOOD_LEAF_FLAG, GOOD_NODE_FLAG, HTable, HUFF_ID, HuffmanTableInP, MAX_CELLS, MAX_SIZE, second_quad, and SPECIAL_FLAG.

Referenced by main().

void VLD::load_restart_interval  )  [private]
 

Definition at line 510 of file vld.cc.

References Bits, restartInterval, and restartIntervalBitsInP.

Referenced by main().

void VLD::main  ) 
 

Definition at line 260 of file vld.cc.

References abort(), AC_CLASS, bit_count, Bits, CinP, CoutP, DC_CLASS, DHT_MK, DRI_MK, first_quad, get_bits(), get_symbol(), HUFF_EOB, HUFF_ID, HUFF_ZRL, HuffmanTableIdInP, imageComponentIdInP, imageDepthInP, imageHInP, imageVInP, load_huff_tables(), load_restart_interval(), Marker, markerInP, reformat(), restartInterval, RST_MK, scanComponentIdInP, scanDepthInP, second_quad, SOS_MK, VYAid, VYAimageComponent, VYAimageDepth, VYAimageH, and VYAimageV.

VYApixel VLD::reformat unsigned long  S,
int  good
[private]
 

Definition at line 411 of file vld.cc.

Referenced by main().

const char* VLD::type  )  const [inline]
 

Definition at line 39 of file vld.h.


Member Data Documentation

int VLD::bit_count [private]
 

Definition at line 72 of file vld.h.

Referenced by get_bits(), and main().

InPort<Bits> VLD::CinP [private]
 

Definition at line 48 of file vld.h.

Referenced by get_bits(), and main().

OutPort<VYApixel> VLD::CoutP [private]
 

Definition at line 59 of file vld.h.

Referenced by main().

InPort<VYAid> VLD::HuffmanTableIdInP [private]
 

Definition at line 56 of file vld.h.

Referenced by main().

InPort<Bits> VLD::HuffmanTableInP [private]
 

Definition at line 55 of file vld.h.

Referenced by get_size(), and load_huff_tables().

InPort<VYAimageComponent> VLD::imageComponentIdInP [private]
 

Definition at line 50 of file vld.h.

Referenced by main().

InPort<VYAimageDepth> VLD::imageDepthInP [private]
 

Definition at line 49 of file vld.h.

Referenced by main().

InPort<VYAimageH> VLD::imageHInP [private]
 

Definition at line 51 of file vld.h.

Referenced by main().

InPort<VYAimageV> VLD::imageVInP [private]
 

Definition at line 52 of file vld.h.

Referenced by main().

InPort<Marker> VLD::markerInP [private]
 

Definition at line 46 of file vld.h.

Referenced by main().

unsigned int VLD::restartInterval [private]
 

Definition at line 73 of file vld.h.

Referenced by load_restart_interval(), main(), and VLD().

InPort<Bits> VLD::restartIntervalBitsInP [private]
 

Definition at line 47 of file vld.h.

Referenced by load_restart_interval().

InPort<VYAimageComponent> VLD::scanComponentIdInP [private]
 

Definition at line 54 of file vld.h.

Referenced by main().

InPort<VYAimageDepth> VLD::scanDepthInP [private]
 

Definition at line 53 of file vld.h.

Referenced by main().

int VLD::window [private]
 

Definition at line 71 of file vld.h.

Referenced by get_bits(), and VLD().


The documentation for this class was generated from the following files:
Generated on Wed Feb 15 14:52:46 2006 for jpegdec by doxygen 1.3.2