this class encapsulates the compression routines of the IJG JPEG library configured for 8 bits/sample.
More...
|
| DJCompressIJG8Bit (const DJCodecParameter &cp, EJ_Mode mode, Uint8 quality) |
| constructor for lossy JPEG More...
|
|
| DJCompressIJG8Bit (const DJCodecParameter &cp, EJ_Mode mode, int prediction, int ptrans) |
| constructor for lossless JPEG More...
|
|
virtual | ~DJCompressIJG8Bit () |
| destructor
|
|
virtual OFCondition | encode (Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint16 *image_buffer, Uint8 *&to, Uint32 &length) |
| single frame compression routine for 16-bit raw pixel data. More...
|
|
virtual OFCondition | encode (Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint8 *image_buffer, Uint8 *&to, Uint32 &length) |
| single frame compression routine for 8-bit raw pixel data. More...
|
|
virtual Uint16 | bytesPerSample () const |
| returns the number of bytes per sample that will be expected when encoding.
|
|
virtual Uint16 | bitsPerSample () const |
| returns the number of bits per sample that will be expected when encoding.
|
|
void | initDestination (jpeg_compress_struct *cinfo) |
| callback for IJG compress destination manager. More...
|
|
int | emptyOutputBuffer (jpeg_compress_struct *cinfo) |
| callback for IJG compress destination manager. More...
|
|
void | termDestination (jpeg_compress_struct *cinfo) |
| callback for IJG compress destination manager. More...
|
|
virtual void | emitMessage (void *arg, int msg_level) const |
| callback function used to report warning messages and the like. More...
|
|
| DJEncoder () |
| default constructor
|
|
virtual | ~DJEncoder () |
| destructor
|
|
virtual OFCondition | encode (Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint16 *image_buffer, Uint8 *&to, Uint32 &length)=0 |
| single frame compression routine for 16-bit raw pixel data. More...
|
|
virtual OFCondition | encode (Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint8 *image_buffer, Uint8 *&to, Uint32 &length)=0 |
| single frame compression routine for 8-bit raw pixel data. More...
|
|
virtual Uint16 | bytesPerSample () const =0 |
| returns the number of bytes per sample that will be expected when encoding.
|
|
virtual Uint16 | bitsPerSample () const =0 |
| returns the number of bits per sample that will be expected when encoding.
|
|
|
const DJCodecParameter * | cparam |
| codec parameters
|
|
Uint8 | quality |
| for lossy compression, defines compression quality factor
|
|
int | psv |
| for lossless compression, defines selection value
|
|
int | pt |
| for lossless compression, defines point transform
|
|
EJ_Mode | modeofOperation |
| enum for mode of operation (baseline, sequential, progressive etc.)
|
|
OFList< unsigned char * > | pixelDataList |
| list of compressed pixel data blocks
|
|
size_t | bytesInLastBlock |
| filled number of bytes in last block in pixelDataList
|
|
this class encapsulates the compression routines of the IJG JPEG library configured for 8 bits/sample.