29 #ifndef DCMJPLS_DJLSUTILS_H 30 #define DCMJPLS_DJLSUTILS_H 32 #include "dcmtk/config/osconfig.h" 33 #include "dcmtk/ofstd/ofcond.h" 34 #include "dcmtk/oflog/oflog.h" 41 #define DCMJPLS_TRACE(msg) OFLOG_TRACE(DCM_dcmjplsGetLogger(), msg) 42 #define DCMJPLS_DEBUG(msg) OFLOG_DEBUG(DCM_dcmjplsGetLogger(), msg) 43 #define DCMJPLS_INFO(msg) OFLOG_INFO(DCM_dcmjplsGetLogger(), msg) 44 #define DCMJPLS_WARN(msg) OFLOG_WARN(DCM_dcmjplsGetLogger(), msg) 45 #define DCMJPLS_ERROR(msg) OFLOG_ERROR(DCM_dcmjplsGetLogger(), msg) 46 #define DCMJPLS_FATAL(msg) OFLOG_FATAL(DCM_dcmjplsGetLogger(), msg) 69 enum JLS_PlanarConfiguration
89 enum JLS_CompressionBitDepth
110 extern const OFCondition EC_JLSUncompressedBufferTooSmall;
113 extern const OFCondition EC_JLSCompressedBufferTooSmall;
116 extern const OFCondition EC_JLSCodecUnsupportedImageType;
119 extern const OFCondition EC_JLSCodecInvalidParameters;
122 extern const OFCondition EC_JLSCodecUnsupportedValue;
125 extern const OFCondition EC_JLSInvalidCompressedData;
128 extern const OFCondition EC_JLSUnsupportedBitDepthForTransform;
131 extern const OFCondition EC_JLSUnsupportedColorTransform;
134 extern const OFCondition EC_JLSUnsupportedBitDepth;
137 extern const OFCondition EC_JLSCannotComputeNumberOfFragments;
143 extern const OFCondition EC_JLSUnsupportedPhotometricInterpretation;
146 extern const OFCondition EC_JLSUnsupportedPixelRepresentation;
149 extern const OFCondition EC_JLSUnsupportedImageType;
152 extern const OFCondition EC_JLSTooMuchCompressedData;
simple wrapper around the "low-level" Logger object to make it easier to switch to a different system...
General purpose class for condition codes.