| DCMTK Version 3.6.9
    OFFIS DICOM Toolkit | 
this class encapsulates the decompression routines of the IJG JPEG library configured for 12 bits/sample. More...
 Inheritance diagram for DJDecompressIJG12Bit:
 Inheritance diagram for DJDecompressIJG12Bit:| Public Member Functions | |
| DJDecompressIJG12Bit (const DJCodecParameter &cp, OFBool isYBR) | |
| constructor | |
| virtual | ~DJDecompressIJG12Bit () | 
| 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 | emitMessage (int msg_level) const | 
| callback function used to report warning messages and the like. | |
|  Public Member Functions inherited from DJDecoder | |
| DJDecoder () | |
| default constructor | |
| virtual | ~DJDecoder () | 
| destructor | |
| Private Member Functions | |
| DJDecompressIJG12Bit (const DJDecompressIJG12Bit &) | |
| private undefined copy constructor | |
| DJDecompressIJG12Bit & | operator= (const DJDecompressIJG12Bit &) | 
| private undefined copy assignment operator | |
| void | cleanup () | 
| cleans up cinfo structure, called from destructor and error handlers | |
| Private Attributes | |
| const DJCodecParameter * | cparam | 
| codec parameters | |
| dcmtk_jpeg12_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 | |
this class encapsulates the decompression routines of the IJG JPEG library configured for 12 bits/sample.
| DJDecompressIJG12Bit::DJDecompressIJG12Bit | ( | const DJCodecParameter & | cp, | 
| OFBool | isYBR ) | 
constructor
| cp | codec parameters | 
| isYBR | flag indicating if DICOM photometric interpretation is YCbCr | 
Referenced by DJDecompressIJG12Bit(), and operator=().
| 
 | virtual | 
suspended decompression routine.
Decompresses a JPEG frame until finished or out of data. Can be called with new data until a frame is complete.
| compressedFrameBuffer | pointer to compressed input data, must not be NULL | 
| compressedFrameBufferSize | size of buffer, in bytes | 
| uncompressedFrameBuffer | pointer to uncompressed output data, must not be NULL. This buffer must not change between multiple decode() calls for a single frame. | 
| uncompressedFrameBufferSize | size of buffer, in bytes (!) Buffer must be large enough to contain a complete frame. | 
| isSigned | OFTrue, if uncompressed pixel data is signed, OFFalse otherwise | 
Implements DJDecoder.
| 
 | virtual | 
callback function used to report warning messages and the like.
Should not be called by user code directly.
| msg_level | -1 for warnings, 0 and above for trace messages | 
| 
 | virtual | 
initializes internal object structures.
Must be called before a new frame is decompressed.
Implements DJDecoder.