32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmjpeg/djdecabs.h"
77 Uint8 *compressedFrameBuffer,
78 Uint32 compressedFrameBufferSize,
79 Uint8 *uncompressedFrameBuffer,
80 Uint32 uncompressedFrameBufferSize,
virtual void emitMessage(int msg_level) const
callback function used to report warning messages and the like.
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be written when decoding.
virtual OFCondition init()
initializes internal object structures.
EP_Interpretation decompressedColorModel
color model after decompression
int suspension
position of last suspend
jpeg_decompress_struct * cinfo
decompression structure
DJDecompressIJG8Bit(const DJCodecParameter &cp, OFBool isYBR)
constructor
virtual OFCondition decode(Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned)
suspended decompression routine.
virtual ~DJDecompressIJG8Bit()
destructor
virtual EP_Interpretation getDecompressedColorModel() const
after successful compression, returns the color model of the decompressed image
OFBool dicomPhotometricInterpretationIsYCbCr
Flag indicating if DICOM photometric interpretation is YCbCr.
this class encapsulates the decompression routines of the IJG JPEG library configured for 8 bits/samp...
DJDecompressIJG8Bit & operator=(const DJDecompressIJG8Bit &)
private undefined copy assignment operator
void * jsampBuffer
temporary storage for row buffer during suspension
void cleanup()
cleans up cinfo structure, called from destructor and error handlers
codec parameter for IJG codecs
const DJCodecParameter * cparam
codec parameters
abstract base class for decompression classes.
General purpose class for condition codes.