comparison Core/Enumerations.h @ 3727:090022f1b5e1

auto-generation of primitives to handle transfer syntaxes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Mar 2020 17:10:03 +0100
parents b7cf2e32aafb
children ae31ba2b09a6
comparison
equal deleted inserted replaced
3726:7b7ca203f1a3 3727:090022f1b5e1
241 ErrorCode_AlreadyExistingTag = 2042 /*!< Cannot override the value of a tag that already exists */, 241 ErrorCode_AlreadyExistingTag = 2042 /*!< Cannot override the value of a tag that already exists */,
242 ErrorCode_UnsupportedMediaType = 3000 /*!< Unsupported media type */, 242 ErrorCode_UnsupportedMediaType = 3000 /*!< Unsupported media type */,
243 ErrorCode_START_PLUGINS = 1000000 243 ErrorCode_START_PLUGINS = 1000000
244 }; 244 };
245 245
246 // This enumeration is autogenerated by the script
247 // "Resources/GenerateTransferSyntaxes.py"
248 enum DicomTransferSyntax
249 {
250 DicomTransferSyntax_LittleEndianImplicit /*!< Implicit VR Little Endian */,
251 DicomTransferSyntax_LittleEndianExplicit /*!< Explicit VR Little Endian */,
252 DicomTransferSyntax_DeflatedLittleEndianExplicit /*!< Deflated Explicit VR Little Endian */,
253 DicomTransferSyntax_BigEndianExplicit /*!< Explicit VR Big Endian */,
254 DicomTransferSyntax_JPEGProcess1 /*!< JPEG Baseline (process 1, lossy) */,
255 DicomTransferSyntax_JPEGProcess2_4 /*!< JPEG Extended Sequential (processes 2 & 4) */,
256 DicomTransferSyntax_JPEGProcess3_5 /*!< JPEG Extended Sequential (lossy, 8/12 bit), arithmetic coding */,
257 DicomTransferSyntax_JPEGProcess6_8 /*!< JPEG Spectral Selection, Nonhierarchical (lossy, 8/12 bit) */,
258 DicomTransferSyntax_JPEGProcess7_9 /*!< JPEG Spectral Selection, Nonhierarchical (lossy, 8/12 bit), arithmetic coding */,
259 DicomTransferSyntax_JPEGProcess10_12 /*!< JPEG Full Progression, Nonhierarchical (lossy, 8/12 bit) */,
260 DicomTransferSyntax_JPEGProcess11_13 /*!< JPEG Full Progression, Nonhierarchical (lossy, 8/12 bit), arithmetic coding */,
261 DicomTransferSyntax_JPEGProcess14 /*!< JPEG Lossless, Nonhierarchical with any selection value (process 14) */,
262 DicomTransferSyntax_JPEGProcess15 /*!< JPEG Lossless with any selection value, arithmetic coding */,
263 DicomTransferSyntax_JPEGProcess16_18 /*!< JPEG Extended Sequential, Hierarchical (lossy, 8/12 bit) */,
264 DicomTransferSyntax_JPEGProcess17_19 /*!< JPEG Extended Sequential, Hierarchical (lossy, 8/12 bit), arithmetic coding */,
265 DicomTransferSyntax_JPEGProcess20_22 /*!< JPEG Spectral Selection, Hierarchical (lossy, 8/12 bit) */,
266 DicomTransferSyntax_JPEGProcess21_23 /*!< JPEG Spectral Selection, Hierarchical (lossy, 8/12 bit), arithmetic coding */,
267 DicomTransferSyntax_JPEGProcess24_26 /*!< JPEG Full Progression, Hierarchical (lossy, 8/12 bit) */,
268 DicomTransferSyntax_JPEGProcess25_27 /*!< JPEG Full Progression, Hierarchical (lossy, 8/12 bit), arithmetic coding */,
269 DicomTransferSyntax_JPEGProcess28 /*!< JPEG Lossless, Hierarchical */,
270 DicomTransferSyntax_JPEGProcess29 /*!< JPEG Lossless, Hierarchical, arithmetic coding */,
271 DicomTransferSyntax_JPEGProcess14SV1 /*!< JPEG Lossless, Nonhierarchical, First-Order Prediction (Processes 14 [Selection Value 1]) */,
272 DicomTransferSyntax_JPEGLSLossless /*!< JPEG-LS (lossless) */,
273 DicomTransferSyntax_JPEGLSLossy /*!< JPEG-LS (lossy or near-lossless) */,
274 DicomTransferSyntax_JPEG2000LosslessOnly /*!< JPEG 2000 (lossless) */,
275 DicomTransferSyntax_JPEG2000 /*!< JPEG 2000 (lossless or lossy) */,
276 DicomTransferSyntax_JPEG2000MulticomponentLosslessOnly /*!< JPEG 2000 part 2 multicomponent extensions (lossless) */,
277 DicomTransferSyntax_JPEG2000Multicomponent /*!< JPEG 2000 part 2 multicomponent extensions (lossless or lossy) */,
278 DicomTransferSyntax_JPIPReferenced /*!< JPIP Referenced */,
279 DicomTransferSyntax_JPIPReferencedDeflate /*!< JPIP Referenced Deflate */,
280 DicomTransferSyntax_MPEG2MainProfileAtMainLevel /*!< MPEG2 Main Profile at Main Level */,
281 DicomTransferSyntax_MPEG2MainProfileAtHighLevel /*!< MPEG2 Main Profile at High Level */,
282 DicomTransferSyntax_MPEG4HighProfileLevel4_1 /*!< MPEG4 High Profile / Level 4.1 */,
283 DicomTransferSyntax_MPEG4BDcompatibleHighProfileLevel4_1 /*!< MPEG4 BD-compatible High Profile / Level 4.1 */,
284 DicomTransferSyntax_MPEG4HighProfileLevel4_2_For2DVideo /*!< MPEG4 High Profile / Level 4.2 For 2D Video */,
285 DicomTransferSyntax_MPEG4HighProfileLevel4_2_For3DVideo /*!< MPEG4 High Profile / Level 4.2 For 3D Video */,
286 DicomTransferSyntax_MPEG4StereoHighProfileLevel4_2 /*!< 1.2.840.10008.1.2.4.106 */,
287 DicomTransferSyntax_HEVCMainProfileLevel5_1 /*!< HEVC/H.265 Main Profile / Level 5.1 */,
288 DicomTransferSyntax_HEVCMain10ProfileLevel5_1 /*!< HEVC/H.265 Main 10 Profile / Level 5.1 */,
289 DicomTransferSyntax_RLELossless /*!< RLE - Run Length Encoding (lossless) */,
290 DicomTransferSyntax_RFC2557MimeEncapsulation /*!< RFC 2557 MIME Encapsulation */,
291 DicomTransferSyntax_XML /*!< XML Encoding */
292 };
293
246 enum LogLevel 294 enum LogLevel
247 { 295 {
248 LogLevel_Error, 296 LogLevel_Error,
249 LogLevel_Warning, 297 LogLevel_Warning,
250 LogLevel_Info, 298 LogLevel_Info,
796 bool IsBinaryValueRepresentation(ValueRepresentation vr); 844 bool IsBinaryValueRepresentation(ValueRepresentation vr);
797 845
798 Encoding GetDefaultDicomEncoding(); 846 Encoding GetDefaultDicomEncoding();
799 847
800 void SetDefaultDicomEncoding(Encoding encoding); 848 void SetDefaultDicomEncoding(Encoding encoding);
849
850 const char* GetTransferSyntaxUid(DicomTransferSyntax syntax);
801 } 851 }