DJDecoderRegistration Class Reference

singleton class that registers decoders for all supported JPEG processes. More...

List of all members.

Static Public Member Functions

void registerCodecs (E_DecompressionColorSpaceConversion pDecompressionCSConversion=EDC_photometricInterpretation, E_UIDCreation pCreateSOPInstanceUID=EUC_default, E_PlanarConfiguration pPlanarConfiguration=EPC_default, OFBool pVerbose=OFFalse)
 registers decoders for all supported JPEG processes.
void cleanup ()
 deregisters decoders.

Static Private Attributes

OFBool registered
 flag indicating whether the decoders are already registered.
DJCodecParametercp
 pointer to codec parameter shared by all decoders
DJDecoderBaselinedecbas
 pointer to decoder for baseline JPEG
DJDecoderExtendeddecext
 pointer to decoder for extended JPEG
DJDecoderSpectralSelectiondecsps
 pointer to decoder for spectral selection JPEG
DJDecoderProgressivedecpro
 pointer to decoder for progressive JPEG
DJDecoderP14SV1decsv1
 pointer to decoder for lossless SV1 JPEG
DJDecoderLosslessdeclol
 pointer to decoder for lossless JPEG


Detailed Description

singleton class that registers decoders for all supported JPEG processes.

Definition at line 51 of file djdecode.h.


Member Function Documentation

void DJDecoderRegistration::cleanup  )  [static]
 

deregisters decoders.

Attention: Must not be called while other threads might still use the registered codecs, e.g. because they are currently decoding DICOM data sets through dcmdata.

void DJDecoderRegistration::registerCodecs E_DecompressionColorSpaceConversion  pDecompressionCSConversion = EDC_photometricInterpretation,
E_UIDCreation  pCreateSOPInstanceUID = EUC_default,
E_PlanarConfiguration  pPlanarConfiguration = EPC_default,
OFBool  pVerbose = OFFalse
[static]
 

registers decoders for all supported JPEG processes.

If already registered, call is ignored unless cleanup() has been performed before.

Parameters:
pCreateSOPInstanceUID flag indicating whether or not a new SOP Instance UID should be assigned upon decompression.
pPlanarConfiguration flag indicating how planar configuration of color images should be encoded upon decompression.
pVerbose verbose mode flag


The documentation for this class was generated from the following file:


Generated on 4 Nov 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.8