Static Public Member Functions | |
static void | registerCodecs (OFBool pCreateSOPInstanceUID=OFFalse, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, OFBool pConvertToSC=OFFalse) |
registers RLE encoder. | |
static void | cleanup () |
deregisters encoder. | |
Private Member Functions | |
DcmRLEEncoderRegistration (const DcmRLEEncoderRegistration &) | |
private undefined copy constructor | |
DcmRLEEncoderRegistration & | operator= (const DcmRLEEncoderRegistration &) |
private undefined copy assignment operator | |
Static Private Attributes | |
static OFBool | registered |
flag indicating whether the encoder is already registered. | |
static DcmRLECodecParameter * | cp |
pointer to codec parameter | |
static DcmRLECodecEncoder * | codec |
pointer to RLE encoder | |
Friends | |
class | DcmRLEEncoderRegistrationDummyFriend |
Definition at line 41 of file dcrleerg.h.
static void DcmRLEEncoderRegistration::registerCodecs | ( | OFBool | pCreateSOPInstanceUID = OFFalse , |
|
Uint32 | pFragmentSize = 0 , |
|||
OFBool | pCreateOffsetTable = OFTrue , |
|||
OFBool | pConvertToSC = OFFalse | |||
) | [static] |
registers RLE encoder.
If already registered, call is ignored unless cleanup() has been performed before.
pCreateSOPInstanceUID | flag indicating whether or not a new SOP Instance UID should be assigned upon compression. | |
pFragmentSize | maximum fragment size (in kbytes) for compression, 0 for unlimited. | |
pCreateOffsetTable | create offset table during image compression? | |
pConvertToSC | flag indicating whether image should be converted to Secondary Capture upon compression |
static void DcmRLEEncoderRegistration::cleanup | ( | ) | [static] |
deregisters encoder.
Attention: Must not be called while other threads might still use the registered codecs, e.g. because they are currently encoding DICOM data sets through dcmdata.