Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

codec37_decoder Class Reference

decoder for codec 37. More...

#include <codec37.h>

Inheritance diagram for codec37_decoder:

Inheritance graph
[legend]
Collaboration diagram for codec37_decoder:

Collaboration graph
[legend]
List of all members.

Public Methods

bool init_size (const point &, const rect &) throw (std::exception)
 codec37_decoder () throw ()
void clean () throw ()
virtual ~codec37_decoder () throw ()
bool decode (blitter &, chunck &) throw (std::exception)

Protected Methods

void maketable (int, int)
void proc1 (blitter &, chunck &, int, int, int, int)
void proc2 (blitter &, chunck &, int)
void proc3_with_fdfe (blitter &, chunck &, int, int, int)
void proc3_without_fdfe (blitter &, chunck &, int, int, int)
void proc4 (blitter &, chunck &, int, int, int)
const rectget_rect () const throw ()
const pointget_size () const throw ()

Static Protected Methods

unsigned int expand (unsigned char b)

Private Attributes

int _deltaSize
unsigned char * _deltaBufs [2]
unsigned char * _deltaBuf
short * _offset_table
int _curtable
unsigned short _prev_seq_nb
int _table_last_pitch
int _table_last_index

Static Private Attributes

const int DELTA_ADD

Detailed Description

decoder for codec 37.

Definition at line 52 of file codec37.h.


Constructor & Destructor Documentation

codec37_decoder::codec37_decoder   throw ()
 

Definition at line 61 of file codec37.cpp.

codec37_decoder::~codec37_decoder   throw () [virtual]
 

Definition at line 89 of file codec37.cpp.


Member Function Documentation

void codec37_decoder::clean   throw ()
 

Definition at line 73 of file codec37.cpp.

bool codec37_decoder::decode blitter  ,
chunck  
throw (std::exception) [virtual]
 

Implements decoder.

Definition at line 444 of file codec37.cpp.

References blitter::blit().

unsigned int codec37_decoder::expand unsigned char    b [inline, static, protected]
 

Definition at line 70 of file codec37.h.

Referenced by proc3_with_fdfe(), proc3_without_fdfe(), and proc4().

const rect& decoder::get_rect   const throw () [inline, protected, inherited]
 

Definition at line 43 of file decoder.h.

const point& decoder::get_size   const throw () [inline, protected, inherited]
 

Definition at line 44 of file decoder.h.

bool codec37_decoder::init_size const point  ,
const rect  
throw (std::exception) [virtual]
 

Reimplemented from decoder.

Definition at line 36 of file codec37.cpp.

References decoder::init_size().

void codec37_decoder::maketable int   ,
int   
[protected]
 

Definition at line 93 of file codec37.cpp.

References _offset_table, _table_last_index, and _table_last_pitch.

void codec37_decoder::proc1 blitter  ,
chunck  ,
int   ,
int   ,
int   ,
int   
[protected]
 

Definition at line 212 of file codec37.cpp.

References _offset_table, blitter::advance(), blitter::block_copy(), chunck::eof(), chunck::get_byte(), and blitter::put_block().

void codec37_decoder::proc2 blitter  ,
chunck  ,
int   
[protected]
 

Definition at line 246 of file codec37.cpp.

References blitter::blit(), chunck::get_byte(), chunck::get_char(), blitter::put(), and chunck::tell().

void codec37_decoder::proc3_with_fdfe blitter  ,
chunck  ,
int   ,
int   ,
int   
[protected]
 

Definition at line 274 of file codec37.cpp.

References _offset_table, blitter::advance(), blitter::block_copy(), expand(), chunck::get_byte(), and blitter::put_block().

void codec37_decoder::proc3_without_fdfe blitter  ,
chunck  ,
int   ,
int   ,
int   
[protected]
 

Definition at line 329 of file codec37.cpp.

References _offset_table, blitter::advance(), blitter::block_copy(), expand(), chunck::get_byte(), and blitter::put_block().

void codec37_decoder::proc4 blitter  ,
chunck  ,
int   ,
int   ,
int   
[protected]
 

Definition at line 366 of file codec37.cpp.

References _offset_table, blitter::advance(), blitter::block_copy(), expand(), chunck::get_byte(), and blitter::put_block().


Member Data Documentation

int codec37_decoder::_curtable [private]
 

Definition at line 58 of file codec37.h.

unsigned char* codec37_decoder::_deltaBuf [private]
 

Definition at line 56 of file codec37.h.

unsigned char* codec37_decoder::_deltaBufs[2] [private]
 

Definition at line 55 of file codec37.h.

int codec37_decoder::_deltaSize [private]
 

Definition at line 54 of file codec37.h.

short* codec37_decoder::_offset_table [private]
 

Definition at line 57 of file codec37.h.

Referenced by maketable(), proc1(), proc3_with_fdfe(), proc3_without_fdfe(), and proc4().

unsigned short codec37_decoder::_prev_seq_nb [private]
 

Definition at line 59 of file codec37.h.

int codec37_decoder::_table_last_index [private]
 

Definition at line 61 of file codec37.h.

Referenced by maketable().

int codec37_decoder::_table_last_pitch [private]
 

Definition at line 60 of file codec37.h.

Referenced by maketable().

const int codec37_decoder::DELTA_ADD [static, private]
 

Definition at line 62 of file codec37.h.


The documentation for this class was generated from the following files:
Generated on Fri Aug 9 22:54:31 2002 for san_player by doxygen1.2.16