00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef DJDECABS_H
00030 #define DJDECABS_H
00031
00032 #include "dcmtk/config/osconfig.h"
00033 #include "dcmtk/dcmdata/dctypes.h"
00034 #include "dcmtk/dcmjpeg/djutils.h"
00035 #include "dcmtk/dcmimgle/diutils.h"
00036
00042 class DJDecoder
00043 {
00044 public:
00045
00047 DJDecoder()
00048 {
00049 }
00050
00052 virtual ~DJDecoder()
00053 {
00054 }
00055
00060 virtual OFCondition init() = 0;
00061
00074 virtual OFCondition decode(
00075 Uint8 *compressedFrameBuffer,
00076 Uint32 compressedFrameBufferSize,
00077 Uint8 *uncompressedFrameBuffer,
00078 Uint32 uncompressedFrameBufferSize,
00079 OFBool isSigned) = 0;
00080
00083 virtual Uint16 bytesPerSample() const = 0;
00084
00088 virtual EP_Interpretation getDecompressedColorModel() const = 0;
00089
00090 };
00091
00092 #endif
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110