|
NEP 4.3.0
NetCDF Expansion Pack
|
JPEG data-precision detection for JPEG Lossless frames. More...
Functions | |
| int | dicom_jpeg_lossless_precision (const void *src, size_t src_len) |
JPEG data-precision detection for JPEG Lossless frames.
This is a plain byte scan of the raw JPEG stream for a Start-Of-Frame marker and does not depend on any JPEG decoding library, so it is always available whenever DICOM support is built, independent of whether the JPEG Lossless codec (HAVE_DICOM_LOSSLESS) is available.
| int dicom_jpeg_lossless_precision | ( | const void * | src, |
| size_t | src_len ) |
Determine the sample bit precision of a JPEG Lossless frame by scanning for its Start-Of-Frame marker.
| src | Raw JPEG Lossless stream. |
| src_len | Length of src in bytes. |