Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

Public Types | Public Member Functions | Protected Attributes

IWPixmap::Encode Class Reference

List of all members.

Public Types

enum  CRCBMode { CRCBnone = IW44Image::CRCBnone, CRCBhalf = IW44Image::CRCBhalf, CRCBnormal = IW44Image::CRCBnormal, CRCBfull = IW44Image::CRCBfull }

Public Member Functions

virtual void close_codec (void)
 Encode (void)
virtual int encode_chunk (GP< ByteStream > gbs, const IWEncoderParms &parms)
virtual void encode_iff (IFFByteStream &iff, int nchunks, const IWEncoderParms *parms)
void init (const GPixmap &bm, const GP< GBitmap > mask=0, CRCBMode crcbmode=CRCBnormal)
virtual ~Encode (void)

Protected Attributes

Codec::Encode * cbcodec_enc
Codec::Encode * crcodec_enc
Codec::Encode * ycodec_enc

Detailed Description

IW44 encoded color image. This class provided functions for managing a color image represented as a collection of IW44 wavelet coefficients. The coefficients are stored in a memory efficient data structure. Member function {get_pixmap} renders an arbitrary segment of the image into a {GPixmap}. Member functions {decode_iff} and {encode_iff} read and write DjVu IW44 files (see {IW44Image.h}). Both the copy constructor and the copy operator are declared as private members. It is therefore not possible to make multiple copies of instances of this class.

Definition at line 196 of file IW44EncodeCodec.cpp.

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

Generated by  Doxygen 1.6.0   Back to index