Public Member Functions | |
virtual | ~DcmCodecList () |
destructor | |
Static Public Member Functions | |
static OFCondition | registerCodec (const DcmCodec *aCodec, const DcmRepresentationParameter *aDefaultRepParam, const DcmCodecParameter *aCodecParameter) |
registers a codec object in the global list of codecs consulted by dcmdata whenever conversion to/from compressed transfer syntaxes is requested. | |
static OFCondition | deregisterCodec (const DcmCodec *aCodec) |
deregisters a codec and it's parameter objects from the global list. | |
static OFCondition | updateCodecParameter (const DcmCodec *aCodec, const DcmCodecParameter *aCodecParameter) |
updates the codec parameters object for a codec that has been registered before. | |
static OFCondition | decode (const DcmXfer &fromType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, DcmPolymorphOBOW &uncompressedPixelData, DcmStack &pixelStack) |
looks for a codec that is able to decode from the given transfer syntax and calls the decode() method of the codec. | |
static OFCondition | encode (const E_TransferSyntax fromRepType, const Uint16 *pixelData, const Uint32 length, const E_TransferSyntax toRepType, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, DcmStack &pixelStack) |
looks for a codec that is able to encode from the given transfer syntax and calls the encode() method of the codec. | |
static OFCondition | encode (const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const E_TransferSyntax toRepType, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, DcmStack &pixelStack) |
looks for a codec that is able to transcode (re-compresses) from the given transfer syntax to the given transfer syntax and calls the encode() method of the codec. | |
static OFBool | canChangeCoding (const E_TransferSyntax fromRepType, const E_TransferSyntax toRepType) |
looks for a codec that claims to be able to convert between the given transfer syntaxes. | |
Private Member Functions | |
DcmCodecList (const DcmCodec *aCodec, const DcmRepresentationParameter *aDefaultRepParam, const DcmCodecParameter *aCodecParameter) | |
constructor | |
DcmCodecList (const DcmCodecList &) | |
private undefined copy constructor | |
DcmCodecList & | operator= (const DcmCodecList &) |
private undefined copy assignment operator | |
Private Attributes | |
const DcmCodec * | codec |
pointer to codec object | |
const DcmRepresentationParameter * | defaultRepParam |
pointer to default representation parameter | |
const DcmCodecParameter * | codecParameter |
pointer to codec parameter set | |
Static Private Attributes | |
static OFList< DcmCodecList * > | registeredCodecs |
singleton list of registered codecs | |
Friends | |
class | DcmCodecListDummyFriend |
All operations on the list are protected by a read/write lock and, therefore, are safe for multi-thread applications.
Definition at line 236 of file dccodec.h.
|
constructor
|
|
looks for a codec that claims to be able to convert between the given transfer syntaxes. A read lock on the list of codecs is acquired until this method returns.
|
|
looks for a codec that is able to decode from the given transfer syntax and calls the decode() method of the codec. A read lock on the list of codecs is acquired until this method returns.
|
|
deregisters a codec and it's parameter objects from the global list. This call is safe in multi-thread operations.
|
|
looks for a codec that is able to transcode (re-compresses) from the given transfer syntax to the given transfer syntax and calls the encode() method of the codec. A read lock on the list of codecs is acquired until this method returns.
|
|
looks for a codec that is able to encode from the given transfer syntax and calls the encode() method of the codec. A read lock on the list of codecs is acquired until this method returns.
|
|
registers a codec object in the global list of codecs consulted by dcmdata whenever conversion to/from compressed transfer syntaxes is requested. This function must not be called before main() is started, e.g. from a constructor of a global object. This call is safe in multi-thread operations.
|
|
updates the codec parameters object for a codec that has been registered before. This call is safe in multi-thread operations.
|