helper class with static methods used from different dcmjpeg classes (in particular from the encoder and the decoder part).  
 More...
|  | 
| static EP_Interpretation | getPhotometricInterpretation (DcmItem *item) | 
|  | helper function that locates the photometric interpretation attribute in a DICOM dataset and returns a parsed value. 
 | 
|  | 
| static void | fixPadding (Uint8 *buffer, Uint32 bufSize) | 
|  | adjusts the padding of a JPEG bitstream in the buffer that has odd length, such that the End of Image (EOI) marker ends on an even byte boundary. 
 | 
|  | 
helper class with static methods used from different dcmjpeg classes (in particular from the encoder and the decoder part). 
◆ fixPadding()
  
  | 
        
          | static void DcmJpegHelper::fixPadding | ( | Uint8 * | buffer, |  
          |  |  | Uint32 | bufSize ) |  | static | 
 
adjusts the padding of a JPEG bitstream in the buffer that has odd length, such that the End of Image (EOI) marker ends on an even byte boundary. 
- Parameters
- 
  
    | buffer | pointer to buffer containing compressed JPEG bitstream |  | bufSize | number of bytes used for the JPEG bitstream (including pad byte) |  
 
 
 
◆ getPhotometricInterpretation()
helper function that locates the photometric interpretation attribute in a DICOM dataset and returns a parsed value. 
- Parameters
- 
  
    | item | the dataset in which the element is searched |  
 
- Returns
- photometric interpretation enum, EPI_Unknown if unknown string or attribute missing 
 
 
The documentation for this class was generated from the following file: