Inheritance diagram for DJDecoder:
Public Member Functions | |
DJDecoder () | |
default constructor | |
virtual | ~DJDecoder () |
destructor | |
virtual OFCondition | init ()=0 |
initializes internal object structures. | |
virtual OFCondition | decode (Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned)=0 |
suspended decompression routine. | |
virtual Uint16 | bytesPerSample () const =0 |
returns the number of bytes per sample that will be written when decoding. | |
virtual EP_Interpretation | getDecompressedColorModel () const =0 |
after successful compression, returns the color model of the decompressed image |
Implementations of this class must support suspended decompression in which compressed data for one frame is fed block by block into the decompression routine, see description below.
Definition at line 47 of file djdecabs.h.
|
suspended decompression routine. Decompresses a JPEG frame until finished or out of data. Can be called with new data until a frame is complete.
Implemented in DJDecompressIJG12Bit, DJDecompressIJG16Bit, and DJDecompressIJG8Bit. |
|
initializes internal object structures. Must be called before a new frame is decompressed.
Implemented in DJDecompressIJG12Bit, DJDecompressIJG16Bit, and DJDecompressIJG8Bit. |