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