Go to the source code of this file.
|
NDArray * | compressJPEG (NDArray *input, int quality, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | decompressJPEG (NDArray *input, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | compressBlosc (NDArray *input, int clevel, int shuffle, NDCodecBloscComp_t compressor, int numThreads, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | decompressBlosc (NDArray *input, int numThreads, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | compressLZ4 (NDArray *input, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | decompressLZ4 (NDArray *input, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | compressBSLZ4 (NDArray *input, NDCodecStatus_t *status, char *errorMessage) |
|
NDArray * | decompressBSLZ4 (NDArray *input, NDCodecStatus_t *status, char *errorMessage) |
|
◆ FIRST_NDCODEC_PARAM
#define FIRST_NDCODEC_PARAM NDCodecMode |
◆ NDCodecBloscCLevelString
#define NDCodecBloscCLevelString "BLOSC_CLEVEL" /* (int r/w) Blosc compression level */ |
◆ NDCodecBloscCompressorString
#define NDCodecBloscCompressorString "BLOSC_COMPRESSOR" /* (NDCodecBloscComp_t r/w) Which Blosc compressor to use */ |
◆ NDCodecBloscNumThreadsString
#define NDCodecBloscNumThreadsString "BLOSC_NUMTHREADS" /* (int r/w) Number of threads to be used by Blosc */ |
◆ NDCodecBloscShuffleString
#define NDCodecBloscShuffleString "BLOSC_SHUFFLE" /* (bool r/w) Should Blosc apply shuffling? */ |
◆ NDCodecCodecErrorString
#define NDCodecCodecErrorString "CODEC_ERROR" /* (string r/o) Error message if compression fails */ |
◆ NDCodecCodecStatusString
#define NDCodecCodecStatusString "CODEC_STATUS" /* (int r/o) Compression status: success or failure */ |
◆ NDCodecCompFactorString
#define NDCodecCompFactorString "COMP_FACTOR" /* (double r/o) Compression percentage (0 = no compression) */ |
◆ NDCodecCompressorString
#define NDCodecCompressorString "COMPRESSOR" /* (NDCodecCompressor_t r/w) Which codec to use */ |
◆ NDCodecJPEGQualityString
#define NDCodecJPEGQualityString "JPEG_QUALITY" /* (int r/w) JPEG Compression quality */ |
◆ NDCodecModeString
#define NDCodecModeString "MODE" /* (NDCodecMode_t r/w) Mode: Compress/Decompress */ |
◆ NDCodecBloscComp_t
Enumerator |
---|
NDCODEC_BLOSC_BLOSCLZ | |
NDCODEC_BLOSC_LZ4 | |
NDCODEC_BLOSC_LZ4HC | |
NDCODEC_BLOSC_SNAPPY | |
NDCODEC_BLOSC_ZLIB | |
NDCODEC_BLOSC_ZSTD | |
◆ NDCodecMode_t
Compress/decompress NDArrays according to available codecs.
This plugin is a source of NDArray callbacks, passing the (possibly compressed/decompressed) NDArray data to clients that register for callbacks. The plugin currently supports the following codecs (if available at compile time):
Enumerator |
---|
NDCODEC_COMPRESS | |
NDCODEC_DECOMPRESS | |
◆ NDCodecStatus_t
Enumerator |
---|
NDCODEC_SUCCESS | |
NDCODEC_WARNING | |
NDCODEC_ERROR | |
◆ compressBlosc()
◆ compressBSLZ4()
◆ compressJPEG()
◆ compressLZ4()
◆ decompressBlosc()
◆ decompressBSLZ4()
◆ decompressJPEG()
◆ decompressLZ4()