OFFIS DCMTK  Version 3.6.0
djdecode.h
1 /*
2  *
3  * Copyright (C) 1997-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmjpeg
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose: singleton class that registers decoders for all supported JPEG processes.
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:17:17 $
22  * CVS/RCS Revision: $Revision: 1.6 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DJDECODE_H
30 #define DJDECODE_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/ofstd/oftypes.h" /* for OFBool */
34 #include "dcmtk/dcmjpeg/djutils.h"
35 
36 class DJCodecParameter;
37 class DJDecoderBaseline;
38 class DJDecoderExtended;
39 class DJDecoderLossless;
40 class DJDecoderP14SV1;
43 
47 {
48 public:
59  static void registerCodecs(
60  E_DecompressionColorSpaceConversion pDecompressionCSConversion = EDC_photometricInterpretation,
61  E_UIDCreation pCreateSOPInstanceUID = EUC_default,
62  E_PlanarConfiguration pPlanarConfiguration = EPC_default,
63  OFBool predictor6WorkaroundEnable = OFFalse);
64 
70  static void cleanup();
71 
72 private:
73 
75  static OFBool registered;
76 
79 
82 
85 
88 
91 
94 
97 
98 };
99 
100 #endif
101 
102 /*
103  * CVS/RCS Log
104  * $Log: djdecode.h,v $
105  * Revision 1.6 2010-10-14 13:17:17 joergr
106  * Updated copyright header. Added reference to COPYRIGHT file.
107  *
108  * Revision 1.5 2009-10-07 12:44:33 uli
109  * Switched to logging mechanism provided by the "new" oflog module.
110  *
111  * Revision 1.4 2006-03-29 15:58:52 meichel
112  * Added support for decompressing images with 16 bits/pixel compressed with
113  * a faulty lossless JPEG encoder that produces integer overflows in predictor 6.
114  *
115  * Revision 1.3 2005/12/08 16:59:18 meichel
116  * Changed include path schema for all DCMTK header files
117  *
118  * Revision 1.2 2001/11/19 15:13:27 meichel
119  * Introduced verbose mode in module dcmjpeg. If enabled, warning
120  * messages from the IJG library are printed on ofConsole, otherwise
121  * the library remains quiet.
122  *
123  * Revision 1.1 2001/11/13 15:56:20 meichel
124  * Initial release of module dcmjpeg
125  *
126  *
127  */
static void registerCodecs(E_DecompressionColorSpaceConversion pDecompressionCSConversion=EDC_photometricInterpretation, E_UIDCreation pCreateSOPInstanceUID=EUC_default, E_PlanarConfiguration pPlanarConfiguration=EPC_default, OFBool predictor6WorkaroundEnable=OFFalse)
registers decoders for all supported JPEG processes.
Decoder class for JPEG Progressive (lossy, 8/12-bit)
Definition: djdecpro.h:38
singleton class that registers decoders for all supported JPEG processes.
Definition: djdecode.h:46
static DJDecoderSpectralSelection * decsps
pointer to decoder for spectral selection JPEG
Definition: djdecode.h:87
static DJCodecParameter * cp
pointer to codec parameter shared by all decoders
Definition: djdecode.h:78
static DJDecoderExtended * decext
pointer to decoder for extended JPEG
Definition: djdecode.h:84
Decoder class for JPEG Lossless Selection Value 1 (8/12/16-bit)
Definition: djdecsv1.h:38
static DJDecoderP14SV1 * decsv1
pointer to decoder for lossless SV1 JPEG
Definition: djdecode.h:93
static OFBool registered
flag indicating whether the decoders are already registered.
Definition: djdecode.h:75
static DJDecoderLossless * declol
pointer to decoder for lossless JPEG
Definition: djdecode.h:96
Decoder class for JPEG Extended Sequential (lossy, 8/12-bit)
Definition: djdecext.h:38
Decoder class for JPEG Lossless (8/12/16-bit)
Definition: djdeclol.h:38
Decoder class for JPEG Spectral Selection (lossy, 8/12-bit)
Definition: djdecsps.h:38
static DJDecoderBaseline * decbas
pointer to decoder for baseline JPEG
Definition: djdecode.h:81
Decoder class for JPEG Baseline (lossy, 8-bit)
Definition: djdecbas.h:37
static void cleanup()
deregisters decoders.
static DJDecoderProgressive * decpro
pointer to decoder for progressive JPEG
Definition: djdecode.h:90
codec parameter for IJG codecs
Definition: djcparam.h:38


Generated on Wed Dec 14 2016 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.11