Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

StreamPredictor Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/Stream.h>

Collaboration diagram for StreamPredictor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StreamPredictor (Stream *strA, int predictorA, int widthA, int nCompsA, int nBitsA)
 ~StreamPredictor ()
int lookChar ()
int getChar ()

Private Member Functions

GBool getNextLine ()

Private Attributes

Streamstr
int predictor
int width
int nComps
int nBits
int nVals
int pixBytes
int rowBytes
GucharpredLine
int predIdx

Constructor & Destructor Documentation

StreamPredictor::StreamPredictor Stream strA,
int  predictorA,
int  widthA,
int  nCompsA,
int  nBitsA
 

Definition at line 401 of file Stream.cc.

References gmalloc(), nBits, nComps, nVals, pixBytes, predictor, predIdx, predLine, rowBytes, str, and width.

StreamPredictor::~StreamPredictor  ) 
 

Definition at line 417 of file Stream.cc.

References gfree(), and predLine.


Member Function Documentation

int StreamPredictor::getChar  ) 
 

Definition at line 430 of file Stream.cc.

References getNextLine(), predIdx, predLine, and rowBytes.

Referenced by FlateStream::getChar(), and LZWStream::getChar().

GBool StreamPredictor::getNextLine  )  [private]
 

Definition at line 439 of file Stream.cc.

References Stream::getRawChar(), gFalse, gTrue, i, nBits, nComps, nVals, p, pixBytes, predictor, predIdx, predLine, rowBytes, and str.

Referenced by getChar(), and lookChar().

int StreamPredictor::lookChar  ) 
 

Definition at line 421 of file Stream.cc.

References getNextLine(), predIdx, predLine, and rowBytes.

Referenced by FlateStream::lookChar(), and LZWStream::lookChar().


Member Data Documentation

int StreamPredictor::nBits [private]
 

Definition at line 232 of file Stream.h.

Referenced by getNextLine(), and StreamPredictor().

int StreamPredictor::nComps [private]
 

Definition at line 231 of file Stream.h.

Referenced by getNextLine(), and StreamPredictor().

int StreamPredictor::nVals [private]
 

Definition at line 233 of file Stream.h.

Referenced by getNextLine(), and StreamPredictor().

int StreamPredictor::pixBytes [private]
 

Definition at line 234 of file Stream.h.

Referenced by getNextLine(), and StreamPredictor().

int StreamPredictor::predictor [private]
 

Definition at line 229 of file Stream.h.

Referenced by getNextLine(), and StreamPredictor().

int StreamPredictor::predIdx [private]
 

Definition at line 237 of file Stream.h.

Referenced by getChar(), getNextLine(), lookChar(), and StreamPredictor().

Guchar* StreamPredictor::predLine [private]
 

Definition at line 236 of file Stream.h.

Referenced by getChar(), getNextLine(), lookChar(), StreamPredictor(), and ~StreamPredictor().

int StreamPredictor::rowBytes [private]
 

Definition at line 235 of file Stream.h.

Referenced by getChar(), getNextLine(), lookChar(), and StreamPredictor().

Stream* StreamPredictor::str [private]
 

Definition at line 228 of file Stream.h.

Referenced by getNextLine(), and StreamPredictor().

int StreamPredictor::width [private]
 

Definition at line 230 of file Stream.h.

Referenced by StreamPredictor().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:52:35 2005 for OPIE by  doxygen 1.4.2