00001 /* 00002 * 00003 * Copyright (C) 1997-2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmjpeg 00019 * 00020 * Author: Marco Eichelberg 00021 * 00022 * Purpose: singleton class that registers decoders for all supported JPEG processes. 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:59:18 $ 00026 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmjpeg/include/dcmtk/dcmjpeg/djdecode.h,v $ 00027 * CVS/RCS Revision: $Revision: 1.3 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 #ifndef DJDECODE_H 00035 #define DJDECODE_H 00036 00037 #include "dcmtk/config/osconfig.h" 00038 #include "dcmtk/ofstd/oftypes.h" /* for OFBool */ 00039 #include "dcmtk/dcmjpeg/djutils.h" 00040 00041 class DJCodecParameter; 00042 class DJDecoderBaseline; 00043 class DJDecoderExtended; 00044 class DJDecoderLossless; 00045 class DJDecoderP14SV1; 00046 class DJDecoderProgressive; 00047 class DJDecoderSpectralSelection; 00048 00051 class DJDecoderRegistration 00052 { 00053 public: 00063 static void registerCodecs( 00064 E_DecompressionColorSpaceConversion pDecompressionCSConversion = EDC_photometricInterpretation, 00065 E_UIDCreation pCreateSOPInstanceUID = EUC_default, 00066 E_PlanarConfiguration pPlanarConfiguration = EPC_default, 00067 OFBool pVerbose = OFFalse); 00068 00074 static void cleanup(); 00075 00076 private: 00077 00079 static OFBool registered; 00080 00082 static DJCodecParameter *cp; 00083 00085 static DJDecoderBaseline *decbas; 00086 00088 static DJDecoderExtended *decext; 00089 00091 static DJDecoderSpectralSelection *decsps; 00092 00094 static DJDecoderProgressive *decpro; 00095 00097 static DJDecoderP14SV1 *decsv1; 00098 00100 static DJDecoderLossless *declol; 00101 00102 }; 00103 00104 #endif 00105 00106 /* 00107 * CVS/RCS Log 00108 * $Log: djdecode.h,v $ 00109 * Revision 1.3 2005/12/08 16:59:18 meichel 00110 * Changed include path schema for all DCMTK header files 00111 * 00112 * Revision 1.2 2001/11/19 15:13:27 meichel 00113 * Introduced verbose mode in module dcmjpeg. If enabled, warning 00114 * messages from the IJG library are printed on ofConsole, otherwise 00115 * the library remains quiet. 00116 * 00117 * Revision 1.1 2001/11/13 15:56:20 meichel 00118 * Initial release of module dcmjpeg 00119 * 00120 * 00121 */