Inheritance diagram for DJDecompressIJG8Bit:

Public Member Functions | |
| DJDecompressIJG8Bit (const DJCodecParameter &cp, OFBool isYBR) | |
| constructor | |
| virtual | ~DJDecompressIJG8Bit () |
| destructor | |
| virtual OFCondition | init () |
| initializes internal object structures. | |
| virtual OFCondition | decode (Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned) |
| suspended decompression routine. | |
| virtual Uint16 | bytesPerSample () const |
| returns the number of bytes per sample that will be written when decoding. | |
| virtual EP_Interpretation | getDecompressedColorModel () const |
| after successful compression, returns the color model of the decompressed image | |
| virtual void | outputMessage () const |
| callback function used to report warning messages and the like. | |
Private Member Functions | |
| DJDecompressIJG8Bit (const DJDecompressIJG8Bit &) | |
| private undefined copy constructor | |
| DJDecompressIJG8Bit & | operator= (const DJDecompressIJG8Bit &) |
| private undefined copy assignment operator | |
| void | cleanup () |
| cleans up cinfo structure, called from destructor and error handlers | |
Private Attributes | |
| const DJCodecParameter * | cparam |
| codec parameters | |
| jpeg_decompress_struct * | cinfo |
| decompression structure | |
| int | suspension |
| position of last suspend | |
| void * | jsampBuffer |
| temporary storage for row buffer during suspension | |
| OFBool | dicomPhotometricInterpretationIsYCbCr |
| Flag indicating if DICOM photometric interpretation is YCbCr. | |
| EP_Interpretation | decompressedColorModel |
| color model after decompression | |
Definition at line 50 of file djdijg8.h.
|
||||||||||||
|
constructor
|
|
||||||||||||||||||||||||
|
suspended decompression routine. Decompresses a JPEG frame until finished or out of data. Can be called with new data until a frame is complete.
Implements DJDecoder. |
|
|
initializes internal object structures. Must be called before a new frame is decompressed.
Implements DJDecoder. |
|
|
callback function used to report warning messages and the like. Should not be called by user code directly. |