Logo Search packages:      
Sourcecode: sam2p version File versions

ASCII85Encode Class Reference

Inheritance diagram for ASCII85Encode:

Encoder GenBuffer::Writable

List of all members.


Detailed Description

Does output EOD (end-of-data) marker `~>'

Definition at line 38 of file encoder.cpp.


Public Member Functions

 ASCII85Encode (GenBuffer::Writable &out_, unsigned maxcpl_)
Writable & format (char const *fmt,...)
Writable & format (slen_t n, char const *fmt,...)
Writable & operator<< (bool b)
Writable & operator<< (unsigned long n)
Writable & operator<< (unsigned int n)
Writable & operator<< (unsigned short n)
Writable & operator<< (signed long n)
Writable & operator<< (signed int n)
Writable & operator<< (signed short n)
Writable & operator<< (void const *)
Writable & operator<< (char const *)
Writable & operator<< (char c)
Writable & operator<< (GenBuffer const &b)
virtual Writable & vformat (char const *fmt, va_list ap)
virtual Writable & vformat (slen_t n, char const *fmt, va_list ap)
virtual void vi_putcc (char c)
virtual void vi_write (char const *buf, slen_t len)
void write_num (unsigned long n, unsigned zdigits)
void write_num (unsigned long n)
void write_num (signed long n)

Static Public Member Functions

static PSEncoder * newASCII85Encode (GenBuffer::Writable &out_, unsigned maxcpl_)
static PSEncoder * newASCIIHexEncode (GenBuffer::Writable &out_, unsigned maxcpl_)
static PSEncoder * newCCITTFaxEncode (GenBuffer::Writable &out_, slendiff_t K, slen_t Columns, bool EndOfLine=false, bool BlackIs1=false)
static PSEncoder * newDCTEncode (GenBuffer::Writable &out_, slen_t Columns, slen_t Rows, unsigned char Colors, unsigned char quality=75, unsigned char const *HSamples=(unsigned char *) NULLP, unsigned char const *VSamples=(unsigned char *) NULLP, unsigned char(*QuantTables)[64]=0, double QFactor=1.0, unsigned numHuffTables=0, unsigned char **HuffTables=(unsigned char **) NULLP, unsigned char ColorTransform=2)
static PSEncoder * newDCTEncode (GenBuffer::Writable &out_, slen_t Columns, slen_t Rows, unsigned char Colors, unsigned char ColorTransform, SimBuffer::Flat const &other_parameters)
static PSEncoder * newDCTIJGEncode (GenBuffer::Writable &out_, slen_t Columns, slen_t Rows, unsigned char Colors, unsigned char quality)
static PSEncoder * newFlateEncode (GenBuffer::Writable &out_, signed Effort=-1)
static PSEncoder * newLZWEncode (GenBuffer::Writable &out_)
static EncodernewPredictor (GenBuffer::Writable &out_, unsigned char type, unsigned char bpc_, slen_t columns_, unsigned char cpp_)
static PSEncoder * newRunLengthEncode (GenBuffer::Writable &out_, slen_t RecordSize=0)
static void writeFrom (GenBuffer::Writable &out, GenBuffer::Readable &in)
static void writeFrom (GenBuffer::Writable &out, FILE *f)

Protected Member Functions

void wout (unsigned PTS_INT32_T buf_)

Static Protected Member Functions

static void iter_write_sub (char const *beg, slen_t len, void *data)

Protected Attributes

unsigned ascii85breaklen
unsigned PTS_INT32_T ascii85buf
unsigned ascii85left
unsigned maxcpl
char * obuf
char * obufend
char * op
GenBuffer::Writableout

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

Generated by  Doxygen 1.6.0   Back to index