/usr/include/dcmtk/dcmdata/dccodec.h is in libdcmtk2-dev 3.6.0-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 | /*
*
* Copyright (C) 1997-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Andreas Barth
*
* Purpose: Interface of abstract class DcmCodec and the class DcmCodecStruct
*
* Last Update: $Author: joergr $
* Update Date: $Date: 2010-10-14 13:15:40 $
* CVS/RCS Revision: $Revision: 1.24 $
* Status: $State: Exp $
*
* CVS/RCS Log at end of file
*
*/
#ifndef DCCODEC_H
#define DCCODEC_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/ofstd/ofcond.h"
#include "dcmtk/dcmdata/dctypes.h"
#include "dcmtk/dcmdata/dcxfer.h"
#include "dcmtk/ofstd/oflist.h"
class DcmStack;
class DcmRepresentationParameter;
class DcmPixelSequence;
class DcmPolymorphOBOW;
class DcmItem;
class DcmTagKey;
/** abstract base class for a codec parameter object that
* describes the settings (modes of operations) for one
* particular codec (DcmCodec) object.
*/
class DcmCodecParameter
{
public:
/// default constructor
DcmCodecParameter() {}
/// copy constructor
DcmCodecParameter(const DcmCodecParameter&) {}
/// destructor
virtual ~DcmCodecParameter() {}
/** this methods creates a copy of type DcmCodecParameter *
* it must be overweritten in every subclass.
* @return copy of this object
*/
virtual DcmCodecParameter *clone() const = 0;
/** returns the class name as string.
* can be used as poor man's RTTI replacement.
*/
virtual const char *className() const = 0;
};
/** abstract base class for a codec object that can be registered
* in dcmdata and performs transfer syntax transformation (i.e.
* compressing, decompressing or transcoding between different
* compressed transfer syntaxes).
* When dcmdata is requested to write a transfer syntax that differs
* from the current one (i.e. the one in which the object was read),
* dcmdata dynamically searches for a DcmCodec object that is able
* to create the desired transfer syntax. If no suitable codec
* is found, the write operation fails.
*/
class DcmCodec
{
public:
/// default constructor
DcmCodec() {}
/// destructor
virtual ~DcmCodec() {}
/** decompresses the given pixel sequence and
* stores the result in the given uncompressedPixelData element.
* @param fromRepParam current representation parameter of compressed data, may be NULL
* @param pixSeq compressed pixel sequence
* @param uncompressedPixelData uncompressed pixel data stored in this element
* @param cp codec parameters for this codec
* @param objStack stack pointing to the location of the pixel data
* element in the current dataset.
* @return EC_Normal if successful, an error code otherwise.
*/
virtual OFCondition decode(
const DcmRepresentationParameter * fromRepParam,
DcmPixelSequence * pixSeq,
DcmPolymorphOBOW& uncompressedPixelData,
const DcmCodecParameter * cp,
const DcmStack& objStack) const = 0;
/** decompresses a single frame from the given pixel sequence and
* stores the result in the given buffer.
* @param fromParam representation parameter of current compressed
* representation, may be NULL.
* @param fromPixSeq compressed pixel sequence
* @param cp codec parameters for this codec
* @param dataset pointer to dataset in which pixel data element is contained
* @param frameNo number of frame, starting with 0 for the first frame
* @param startFragment index of the compressed fragment that contains
* all or the first part of the compressed bitstream for the given frameNo.
* Upon successful return this parameter is updated to contain the index
* of the first compressed fragment of the next frame.
* When unknown, zero should be passed. In this case the decompression
* algorithm will try to determine the index by itself, which will always
* work if frames are decompressed in increasing order from first to last,
* but may fail if frames are decompressed in random order, multiple fragments
* per frame and multiple frames are present in the dataset, and the offset
* table is empty.
* @param buffer pointer to buffer where frame is to be stored
* @param bufSize size of buffer in bytes
* @param decompressedColorModel upon successful return, the color model
* of the decompressed image (which may be different from the one used
* in the compressed images) is returned in this parameter.
* @return EC_Normal if successful, an error code otherwise.
*/
virtual OFCondition decodeFrame(
const DcmRepresentationParameter * fromParam,
DcmPixelSequence * fromPixSeq,
const DcmCodecParameter * cp,
DcmItem *dataset,
Uint32 frameNo,
Uint32& startFragment,
void *buffer,
Uint32 bufSize,
OFString& decompressedColorModel) const = 0;
/** compresses the given uncompressed DICOM image and stores
* the result in the given pixSeq element.
* @param pixelData pointer to the uncompressed image data in OW format
* and local byte order
* @param length of the pixel data field in bytes
* @param toRepParam representation parameter describing the desired
* compressed representation (e.g. JPEG quality)
* @param pixSeq compressed pixel sequence (pointer to new DcmPixelSequence object
* allocated on heap) returned in this parameter upon success.
* @param cp codec parameters for this codec
* @param objStack stack pointing to the location of the pixel data
* element in the current dataset.
* @return EC_Normal if successful, an error code otherwise.
*/
virtual OFCondition encode(
const Uint16 * pixelData,
const Uint32 length,
const DcmRepresentationParameter * toRepParam,
DcmPixelSequence * & pixSeq,
const DcmCodecParameter *cp,
DcmStack & objStack) const = 0;
/** transcodes (re-compresses) the given compressed DICOM image and stores
* the result in the given toPixSeq element.
* @param fromRepType current transfer syntax of the compressed image
* @param fromRepParam current representation parameter of compressed data, may be NULL
* @param fromPixSeq compressed pixel sequence
* @param toRepParam representation parameter describing the desired
* new compressed representation (e.g. JPEG quality)
* @param toPixSeq compressed pixel sequence (pointer to new DcmPixelSequence object
* allocated on heap) returned in this parameter upon success.
* @param cp codec parameters for this codec
* @param objStack stack pointing to the location of the pixel data
* element in the current dataset.
* @return EC_Normal if successful, an error code otherwise.
*/
virtual OFCondition encode(
const E_TransferSyntax fromRepType,
const DcmRepresentationParameter * fromRepParam,
DcmPixelSequence * fromPixSeq,
const DcmRepresentationParameter * toRepParam,
DcmPixelSequence * & toPixSeq,
const DcmCodecParameter * cp,
DcmStack & objStack) const = 0;
/** checks if this codec is able to convert from the
* given current transfer syntax to the given new
* transfer syntax
* @param oldRepType current transfer syntax
* @param newRepType desired new transfer syntax
* @return true if transformation is supported by this codec, false otherwise.
*/
virtual OFBool canChangeCoding(
const E_TransferSyntax oldRepType,
const E_TransferSyntax newRepType) const = 0;
/** determine color model of the decompressed image
* @param fromParam representation parameter of current compressed
* representation, may be NULL
* @param fromPixSeq compressed pixel sequence
* @param cp codec parameters for this codec
* @param dataset pointer to dataset in which pixel data element is contained
* @param dataset pointer to DICOM dataset in which this pixel data object
* is located. Used to access photometric interpretation.
* @param decompressedColorModel upon successful return, the color model
* of the decompressed image (which may be different from the one used
* in the compressed images) is returned in this parameter
* @return EC_Normal if successful, an error code otherwise
*/
virtual OFCondition determineDecompressedColorModel(
const DcmRepresentationParameter *fromParam,
DcmPixelSequence *fromPixSeq,
const DcmCodecParameter *cp,
DcmItem *dataset,
OFString &decompressedColorModel) const = 0;
// static helper methods that have proven useful in codec classes derived from DcmCodec
/** helper function that inserts a string attribute with a given value into a dataset
* if missing in the dataset.
* @param dataset dataset to insert to, must not be NULL.
* @param tag tag key of attribute to check/insert
* @param val string value, may be NULL.
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition insertStringIfMissing(DcmItem *dataset, const DcmTagKey& tag, const char *val);
/** helper function that converts a dataset containing a DICOM image
* into a valid (standard extended) Secondary Capture object
* by inserting all attributes that are type 1/2 in Secondary Capture
* and missing in the source dataset. Replaces SOP Class UID
* by Secondary Capture. It does not, however, change an existing SOP Instance UID.
* @param dataset dataset to insert to, must not be NULL.
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition convertToSecondaryCapture(DcmItem *dataset);
/** create new SOP instance UID and Source Image Sequence
* referencing the old SOP instance (if present)
* @param dataset dataset to be modified
* @param purposeOfReferenceCodingScheme coding scheme designator for purpose of reference code sequence
* @param purposeOfReferenceCodeValue code value for purpose of reference code sequence
* @param purposeOfReferenceCodeMeaning code meaning for purpose of reference code sequence
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition newInstance(
DcmItem *dataset,
const char *purposeOfReferenceCodingScheme = NULL,
const char *purposeOfReferenceCodeValue = NULL,
const char *purposeOfReferenceCodeMeaning = NULL);
/** set first value of Image Type to DERIVED.
* @param dataset dataset to be modified
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition updateImageType(DcmItem *dataset);
/** insert code sequence into the given dataset
* @param dataset dataset to insert into
* @param tagKey tag of the code sequence
* @param codingSchemeDesignator coding scheme designator for the sequence item
* @param codeValue code value for the sequence item
* @param codeMeaning code meaning for the sequence item
* @return EC_Normal if successul, an error code otherwise
*/
static OFCondition insertCodeSequence(
DcmItem *dataset,
const DcmTagKey &tagKey,
const char *codingSchemeDesignator,
const char *codeValue,
const char *codeMeaning);
/** determine the index number (starting with zero) of the compressed pixel data fragment
* corresponding to the given frame (also starting with zero)
* @param frameNo frame number
* @param numberOfFrames number of frames of this image
* @param fromPixSeq compressed pixel sequence
* @param currentItem index of compressed pixel data fragment returned in this parameter on success
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition determineStartFragment(
Uint32 frameNo,
Sint32 numberOfFrames,
DcmPixelSequence * fromPixSeq,
Uint32& currentItem);
};
/** singleton that keeps list of registered codecs for dcmdata.
* All operations on the list are protected by a read/write lock
* and, therefore, are safe for multi-thread applications.
*/
class DcmCodecList
{
public:
/// destructor
virtual ~DcmCodecList();
/** 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.
* @param aCodec pointer to codec object.
* Must remain unmodified and valid until the codec has been deregistered.
* @param aDefaultRepParam default representation parameter.
* Must remain unmodified and valid until the codec has been deregistered.
* @param aCodecParameter codec parameter.
* Must remain unmodified and valid until the codec has been deregistered or the
* parameter has been replaced by a call to updateCodecParameter()
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition registerCodec(
const DcmCodec *aCodec,
const DcmRepresentationParameter *aDefaultRepParam,
const DcmCodecParameter *aCodecParameter);
/** deregisters a codec and it's parameter objects from the global list.
* This call is safe in multi-thread operations.
* @param aCodec pointer to registered codec
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition deregisterCodec(const DcmCodec *aCodec);
/** updates the codec parameters object for a codec that has been registered before.
* This call is safe in multi-thread operations.
* @param aCodec pointer to codec object that has been registered before
* @param aCodecParameter codec parameter.
* Must remain unmodified and valid until the codec has been deregistered or the
* parameter has been replaced by another call to updateCodecParameter()
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition updateCodecParameter(
const DcmCodec *aCodec,
const DcmCodecParameter *aCodecParameter);
/** 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.
* @param fromType transfer syntax to decode from
* @param fromParam representation parameter of current compressed
* representation, may be NULL.
* @param fromPixSeq compressed pixel sequence
* @param uncompressedPixelData uncompressed pixel data stored in this element
* @param pixelStack stack pointing to the location of the pixel data
* element in the current dataset.
* @return EC_Normal if successful, an error code otherwise.
*/
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 decodeFrame() method of the codec. A read lock on the list of
* codecs is acquired until this method returns.
* @param fromType transfer syntax to decode from
* @param fromParam representation parameter of current compressed
* representation, may be NULL.
* @param fromPixSeq compressed pixel sequence
* @param dataset pointer to dataset in which pixel data element is contained
* @param frameNo number of frame, starting with 0 for the first frame
* @param startFragment index of the compressed fragment that contains
* all or the first part of the compressed bitstream for the given frameNo.
* Upon successful return this parameter is updated to contain the index
* of the first compressed fragment of the next frame.
* When unknown, zero should be passed. In this case the decompression
* algorithm will try to determine the index by itself, which will always
* work if frames are decompressed in increasing order from first to last,
* but may fail if frames are decompressed in random order, multiple fragments
* per frame and multiple frames are present in the dataset, and the offset
* table is empty.
* @param buffer pointer to buffer where frame is to be stored
* @param bufSize size of buffer in bytes
* @param decompressedColorModel upon successful return, the color model
* of the decompressed image (which may be different from the one used
* in the compressed images) is returned in this parameter.
* @return EC_Normal if successful, an error code otherwise.
*/
static OFCondition decodeFrame(
const DcmXfer & fromType,
const DcmRepresentationParameter * fromParam,
DcmPixelSequence * fromPixSeq,
DcmItem *dataset,
Uint32 frameNo,
Uint32& startFragment,
void *buffer,
Uint32 bufSize,
OFString& decompressedColorModel);
/** 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.
* @param fromRepType transfer syntax to encode from
* @param pixelData pointer to the uncompressed image data in OW format
* and local byte order
* @param length of the pixel data field in bytes
* @param toRepType transfer syntax to compress to
* @param toRepParam representation parameter describing the desired
* compressed representation (e.g. JPEG quality)
* @param pixSeq compressed pixel sequence (pointer to new DcmPixelSequence object
* allocated on heap) returned in this parameter upon success.
* @param pixelStack stack pointing to the location of the pixel data
* element in the current dataset.
* @return EC_Normal if successful, an error code otherwise.
*/
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 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.
* @param fromRepType current transfer syntax of the compressed image
* @param fromParam current representation parameter of compressed data, may be NULL
* @param fromPixSeq compressed pixel sequence
* @param toRepType transfer syntax to compress to
* @param toRepParam representation parameter describing the desired
* new compressed representation (e.g. JPEG quality)
* @param toPixSeq compressed pixel sequence (pointer to new DcmPixelSequence object
* allocated on heap) returned in this parameter upon success.
* @param pixelStack stack pointing to the location of the pixel data
* element in the current dataset.
* @return EC_Normal if successful, an error code otherwise.
*/
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 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.
* @param fromRepType current transfer syntax
* @param toRepType desired new transfer syntax
* @return true if transformation is supported by a codec, false otherwise.
*/
static OFBool canChangeCoding(
const E_TransferSyntax fromRepType,
const E_TransferSyntax toRepType);
/** determine color model of the decompressed image
* @param fromType transfer syntax to decode from
* @param fromParam representation parameter of current compressed
* representation, may be NULL
* @param fromPixSeq compressed pixel sequence
* @param dataset pointer to dataset in which pixel data element is contained
* @param decompressedColorModel upon successful return, the color model
* of the decompressed image (which may be different from the one used
* in the compressed images) is returned in this parameter
* @return EC_Normal if successful, an error code otherwise
*/
static OFCondition determineDecompressedColorModel(
const DcmXfer &fromType,
const DcmRepresentationParameter *fromParam,
DcmPixelSequence *fromPixSeq,
DcmItem *dataset,
OFString &decompressedColorModel);
private:
/** constructor
* @param aCodec pointer to codec object.
* @param aDefaultRepParam default representation parameter.
* @param aCodecParameter codec parameter.
*/
DcmCodecList(
const DcmCodec *aCodec,
const DcmRepresentationParameter *aDefaultRepParam,
const DcmCodecParameter *aCodecParameter);
/// private undefined copy constructor
DcmCodecList(const DcmCodecList &);
/// private undefined copy assignment operator
DcmCodecList &operator=(const DcmCodecList &);
/// pointer to codec object
const DcmCodec * codec;
/// pointer to default representation parameter
const DcmRepresentationParameter * defaultRepParam;
/// pointer to codec parameter set
const DcmCodecParameter * codecParameter;
/// singleton list of registered codecs
static OFList<DcmCodecList *> registeredCodecs;
#ifdef WITH_THREADS
/// read/write lock guarding access to singleton list
static OFReadWriteLock codecLock;
#endif
// dummy friend declaration to prevent gcc from complaining
// that this class only defines private constructors and has no friends.
friend class DcmCodecListDummyFriend;
};
#endif
/*
** CVS/RCS Log:
** $Log: dccodec.h,v $
** Revision 1.24 2010-10-14 13:15:40 joergr
** Updated copyright header. Added reference to COPYRIGHT file.
**
** Revision 1.23 2010-10-04 14:26:21 joergr
** Fixed issue with codec registry when compiled on Linux x86_64 with "configure
** --disable-threads" (replaced "#ifdef _REENTRANT" by "#ifdef WITH_THREADS").
**
** Revision 1.22 2010-03-01 09:08:44 uli
** Removed some unnecessary include directives in the headers.
**
** Revision 1.21 2009-11-17 16:36:51 joergr
** Added new method that allows for determining the color model of the
** decompressed image.
**
** Revision 1.20 2009-11-04 09:58:07 uli
** Switched to logging mechanism provided by the "new" oflog module
**
** Revision 1.19 2008-05-29 10:46:13 meichel
** Implemented new method DcmPixelData::getUncompressedFrame
** that permits frame-wise access to compressed and uncompressed
** objects without ever loading the complete object into main memory.
** For this new method to work with compressed images, all classes derived from
** DcmCodec need to implement a new method decodeFrame(). For now, only
** dummy implementations returning an error code have been defined.
**
** Revision 1.18 2005/12/09 14:48:14 meichel
** Added missing virtual destructors
**
** Revision 1.17 2005/12/08 16:28:01 meichel
** Changed include path schema for all DCMTK header files
**
** Revision 1.16 2004/08/24 14:54:18 meichel
** Updated compression helper methods. Image type is not set to SECONDARY
** any more, support for the purpose of reference code sequence added.
**
** Revision 1.15 2003/06/12 13:35:23 joergr
** Fixed inconsistent API documentation reported by Doxygen.
**
** Revision 1.14 2002/05/24 14:51:41 meichel
** Moved helper methods that are useful for different compression techniques
** from module dcmjpeg to module dcmdata
**
** Revision 1.13 2002/02/27 14:21:20 meichel
** Declare dcmdata read/write locks only when compiled in multi-thread mode
**
** Revision 1.12 2001/11/12 16:29:51 meichel
** Added dummy friend class declaration to singleton class DcmCodecList
** to keep gcc from squawking.
**
** Revision 1.11 2001/11/08 16:19:39 meichel
** Changed interface for codec registration. Now everything is thread-safe
** and multiple codecs can be registered for a single transfer syntax (e.g.
** one encoder and one decoder).
**
** Revision 1.10 2001/09/25 17:19:07 meichel
** Updated abstract class DcmCodecParameter for use with dcmjpeg.
** Added new function deregisterGlobalCodec().
**
** Revision 1.9 2001/06/01 15:48:34 meichel
** Updated copyright header
**
** Revision 1.8 2001/05/25 09:53:51 meichel
** Modified DcmCodec::decode() interface, required for future dcmjpeg module.
**
** Revision 1.7 2000/09/27 08:19:54 meichel
** Minor changes in DcmCodec interface, required for future dcmjpeg module.
**
** Revision 1.6 2000/04/14 16:09:12 meichel
** Made function DcmCodec and related functions thread safe.
** registerGlobalCodec() should not be called anymore from the constructor
** of global objects.
**
** Revision 1.5 2000/03/08 16:26:11 meichel
** Updated copyright header.
**
** Revision 1.4 1999/03/31 09:24:31 meichel
** Updated copyright header in module dcmdata
**
** Revision 1.3 1998/07/15 15:48:43 joergr
** Removed several compiler warnings reported by gcc 2.8.1 with
** additional options, e.g. missing copy constructors and assignment
** operators, initialization of member variables in the body of a
** constructor instead of the member initialization list, hiding of
** methods by use of identical names, uninitialized member variables,
** missing const declaration of char pointers. Replaced tabs by spaces.
**
** Revision 1.2 1997/07/24 13:07:45 andreas
** - Make DcmCodec:canChangeCoding abstract
**
** Revision 1.1 1997/07/21 07:54:57 andreas
** - New environment for encapsulated pixel representations. DcmPixelData
** can contain different representations and uses codecs to convert
** between them. Codecs are derived from the DcmCodec class. New error
** codes are introduced for handling of representations. New internal
** value representation (only for ident()) for PixelData
**
*/
|