Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

pp_.cpp File Reference

#include "pp_.h"

Include dependency graph for pp_.cpp:

Include dependency graph

Go to the source code of this file.

Functions

udword ppUncompressedLen ()
void ppfreemem ()
udword ppread (int)
void ppbytes ()
void ppsequence ()
void bytestodword ()

Variables

const char PP_ID [] = "PP20"
const udword PP_BITS_FAST = 0x09090909
const udword PP_BITS_MEDIOCRE = 0x090a0a0a
const udword PP_BITS_GOOD = 0x090a0b0b
const udword PP_BITS_VERYGOOD = 0x090a0c0c
const udword PP_BITS_BEST = 0x090a0c0d
const char text_packeddatacorrupt [] = "PowerPacker: Packed data is corrupt"
const char text_unrecognized [] = "PowerPacker: Unrecognized compression method"
const char text_unknownformat [] = "Not compressed with PowerPacker"
const char text_notenoughmemory [] = "Not enough free memory"
const char text_fast [] = "PowerPacker: fast compression"
const char text_mediocre [] = "PowerPacker: mediocre compression"
const char text_good [] = "PowerPacker: good compression"
const char text_verygood [] = "PowerPacker: very good compression"
const char text_best [] = "PowerPacker: best compression"
const char * ppErrorString
ubytesourcebuf
ubytereadptr
ubytewriteptr
ubytestartptr
udword current
int bits
ubyte efficiency [4]
udword outputlen
char globalerror


Function Documentation

void bytestodword  )  [inline]
 

Definition at line 275 of file pp_.cpp.

References current, globalerror, ppErrorString, readEndian(), readptr, sourcebuf, text_packeddatacorrupt, and TRUE.

Referenced by ppread().

void ppbytes  )  [inline]
 

Definition at line 232 of file pp_.cpp.

References ppread(), startptr, ubyte, udword, and writeptr.

void ppfreemem  )  [static]
 

Definition at line 196 of file pp_.cpp.

References sourcebuf.

udword ppread int   )  [inline]
 

Definition at line 214 of file pp_.cpp.

References bits, bytestodword(), current, and udword.

Referenced by ppbytes(), and ppsequence().

void ppsequence  )  [inline]
 

Definition at line 247 of file pp_.cpp.

References efficiency, ppread(), startptr, udword, and writeptr.

udword ppUncompressedLen  ) 
 

Definition at line 209 of file pp_.cpp.

References outputlen, and udword.


Variable Documentation

int bits [static]
 

Definition at line 42 of file pp_.cpp.

Referenced by ppread().

udword current [static]
 

Definition at line 41 of file pp_.cpp.

Referenced by bytestodword(), and ppread().

ubyte efficiency[4] [static]
 

Definition at line 43 of file pp_.cpp.

Referenced by ppsequence().

char globalerror [static]
 

Definition at line 45 of file pp_.cpp.

Referenced by bytestodword().

udword outputlen [static]
 

Definition at line 44 of file pp_.cpp.

Referenced by ppUncompressedLen().

const udword PP_BITS_BEST = 0x090a0c0d
 

Definition at line 15 of file pp_.cpp.

const udword PP_BITS_FAST = 0x09090909
 

Definition at line 11 of file pp_.cpp.

const udword PP_BITS_GOOD = 0x090a0b0b
 

Definition at line 13 of file pp_.cpp.

const udword PP_BITS_MEDIOCRE = 0x090a0a0a
 

Definition at line 12 of file pp_.cpp.

const udword PP_BITS_VERYGOOD = 0x090a0c0c
 

Definition at line 14 of file pp_.cpp.

const char PP_ID[] = "PP20"
 

Definition at line 9 of file pp_.cpp.

const char* ppErrorString
 

Definition at line 27 of file pp_.cpp.

Referenced by bytestodword().

ubyte* readptr [static]
 

Definition at line 38 of file pp_.cpp.

Referenced by bytestodword().

ubyte* sourcebuf [static]
 

Definition at line 37 of file pp_.cpp.

Referenced by bytestodword(), and ppfreemem().

ubyte* startptr [static]
 

Definition at line 40 of file pp_.cpp.

Referenced by ppbytes(), and ppsequence().

const char text_best[] = "PowerPacker: best compression"
 

Definition at line 25 of file pp_.cpp.

const char text_fast[] = "PowerPacker: fast compression"
 

Definition at line 21 of file pp_.cpp.

const char text_good[] = "PowerPacker: good compression"
 

Definition at line 23 of file pp_.cpp.

const char text_mediocre[] = "PowerPacker: mediocre compression"
 

Definition at line 22 of file pp_.cpp.

const char text_notenoughmemory[] = "Not enough free memory"
 

Definition at line 20 of file pp_.cpp.

const char text_packeddatacorrupt[] = "PowerPacker: Packed data is corrupt"
 

Definition at line 17 of file pp_.cpp.

Referenced by bytestodword().

const char text_unknownformat[] = "Not compressed with PowerPacker"
 

Definition at line 19 of file pp_.cpp.

const char text_unrecognized[] = "PowerPacker: Unrecognized compression method"
 

Definition at line 18 of file pp_.cpp.

const char text_verygood[] = "PowerPacker: very good compression"
 

Definition at line 24 of file pp_.cpp.

ubyte* writeptr [static]
 

Definition at line 39 of file pp_.cpp.

Referenced by ppbytes(), and ppsequence().


Generated on Tue Feb 8 04:24:08 2005 for Esidplay by doxygen 1.3.3