ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::ArjDecoder Class Reference

Collaboration diagram for Common::ArjDecoder:

List of all members.

Public Member Functions

 ArjDecoder (const ArjHeader *hdr)
 ~ArjDecoder ()
void decode (int32 origsize)
void decode_f (int32 origsize)
void init_getbits ()
void fillbuf (int n)
uint16 getbits (int n)
void make_table (int nchar, byte *bitlen, int tablebits, uint16 *table, int tablesize)
void read_pt_len (int nn, int nbit, int i_special)
void read_c_len (void)
uint16 decode_c (void)
uint16 decode_p (void)
void decode_start (void)
int16 decode_ptr (void)
int16 decode_len (void)

Public Attributes

ReadStream_compressed
MemoryWriteStream_outstream
uint16 _bitbuf
uint16 _bytebuf
int32 _compsize
int _bitcount

Private Attributes

byte _ntext [ARJ_FDICSIZ]
uint16 _left [2 *ARJ_NC-1]
uint16 _right [2 *ARJ_NC-1]
byte _c_len [ARJ_NC]
byte _pt_len [ARJ_NPT]
uint16 _c_table [ARJ_CTABLESIZE]
uint16 _pt_table [ARJ_PTABLESIZE]
uint16 _blocksize

Detailed Description

Definition at line 94 of file unarj.cpp.


Constructor & Destructor Documentation

Common::ArjDecoder::ArjDecoder ( const ArjHeader hdr  )  [inline]

Definition at line 96 of file unarj.cpp.

Common::ArjDecoder::~ArjDecoder (  )  [inline]

Definition at line 106 of file unarj.cpp.


Member Function Documentation

void Common::ArjDecoder::decode ( int32  origsize  ) 

Definition at line 562 of file unarj.cpp.

uint16 Common::ArjDecoder::decode_c ( void   ) 

Definition at line 507 of file unarj.cpp.

void Common::ArjDecoder::decode_f ( int32  origsize  ) 

Definition at line 652 of file unarj.cpp.

int16 Common::ArjDecoder::decode_len ( void   ) 

Definition at line 630 of file unarj.cpp.

uint16 Common::ArjDecoder::decode_p ( void   ) 

Definition at line 533 of file unarj.cpp.

int16 Common::ArjDecoder::decode_ptr ( void   ) 

Definition at line 608 of file unarj.cpp.

void Common::ArjDecoder::decode_start ( void   ) 

Definition at line 556 of file unarj.cpp.

void Common::ArjDecoder::fillbuf ( int  n  ) 

Definition at line 322 of file unarj.cpp.

uint16 Common::ArjDecoder::getbits ( int  n  ) 

Definition at line 340 of file unarj.cpp.

void Common::ArjDecoder::init_getbits (  ) 

Definition at line 314 of file unarj.cpp.

void Common::ArjDecoder::make_table ( int  nchar,
byte bitlen,
int  tablebits,
uint16 table,
int  tablesize 
)

Definition at line 352 of file unarj.cpp.

void Common::ArjDecoder::read_c_len ( void   ) 

Definition at line 458 of file unarj.cpp.

void Common::ArjDecoder::read_pt_len ( int  nn,
int  nbit,
int  i_special 
)

Definition at line 420 of file unarj.cpp.


Member Data Documentation

Definition at line 118 of file unarj.cpp.

Definition at line 121 of file unarj.cpp.

Definition at line 147 of file unarj.cpp.

Definition at line 119 of file unarj.cpp.

byte Common::ArjDecoder::_c_len[ARJ_NC] [private]

Definition at line 142 of file unarj.cpp.

uint16 Common::ArjDecoder::_c_table[ARJ_CTABLESIZE] [private]

Definition at line 145 of file unarj.cpp.

Definition at line 120 of file unarj.cpp.

uint16 Common::ArjDecoder::_left[2 *ARJ_NC-1] [private]

Definition at line 140 of file unarj.cpp.

byte Common::ArjDecoder::_ntext[ARJ_FDICSIZ] [private]

Definition at line 138 of file unarj.cpp.

byte Common::ArjDecoder::_pt_len[ARJ_NPT] [private]

Definition at line 143 of file unarj.cpp.

uint16 Common::ArjDecoder::_pt_table[ARJ_PTABLESIZE] [private]

Definition at line 146 of file unarj.cpp.

uint16 Common::ArjDecoder::_right[2 *ARJ_NC-1] [private]

Definition at line 141 of file unarj.cpp.


The documentation for this class was generated from the following file:


Generated on Sat May 25 2019 05:05:22 for ResidualVM by doxygen 1.7.1
curved edge   curved edge