1 #ifndef NDPluginCodec_H 2 #define NDPluginCodec_H 4 #include <epicsTypes.h> 8 #define NDCodecModeString "MODE" 9 #define NDCodecCompressorString "COMPRESSOR" 10 #define NDCodecCompFactorString "COMP_FACTOR" 11 #define NDCodecCodecStatusString "CODEC_STATUS" 12 #define NDCodecCodecErrorString "CODEC_ERROR" 13 #define NDCodecJPEGQualityString "JPEG_QUALITY" 14 #define NDCodecBloscCompressorString "BLOSC_COMPRESSOR" 15 #define NDCodecBloscCLevelString "BLOSC_CLEVEL" 16 #define NDCodecBloscShuffleString "BLOSC_SHUFFLE" 17 #define NDCodecBloscNumThreadsString "BLOSC_NUMTHREADS" 71 NDPluginCodec(
const char *portName,
int queueSize,
int blockingCallbacks,
72 const char *NDArrayPort,
int NDArrayAddr,
73 int maxBuffers,
size_t maxMemory,
74 int priority,
int stackSize,
int maxThreads);
82 #define FIRST_NDCODEC_PARAM NDCodecMode Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:56
int NDCodecCodecStatus
Definition: NDPluginCodec.h:85
Definition: NDPluginCodec.h:40
Definition: NDPluginCodec.h:46
NDArray * decompressJPEG(NDArray *input, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:340
virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value)
Called when asyn clients call pasynInt32->write().
Definition: NDPluginDriver.cpp:684
int NDCodecCodecError
Definition: NDPluginCodec.h:86
NDArray * compressLZ4(NDArray *input, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:614
NDCodecBloscComp_t
Definition: NDPluginCodec.h:35
Definition: NDPluginCodec.h:36
list value
Definition: makeDbAndEdl.py:234
Definition: NDPluginCodec.h:31
int NDCodecCompressor
Definition: NDPluginCodec.h:83
int NDCodecBloscCLevel
Definition: NDPluginCodec.h:89
NDArray * compressBlosc(NDArray *input, int clevel, int shuffle, NDCodecBloscComp_t compressor, int numThreads, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:445
Definition: NDPluginCodec.h:69
Definition: NDPluginCodec.h:38
NDArray * decompressBlosc(NDArray *input, int numThreads, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:453
NDArray * decompressBSLZ4(NDArray *input, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:635
NDCodecMode_t
Compress/decompress NDArrays according to available codecs.
Definition: NDPluginCodec.h:30
NDArray * compressJPEG(NDArray *input, int quality, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:334
int NDCodecJPEGQuality
Definition: NDPluginCodec.h:87
int NDCodecBloscShuffle
Definition: NDPluginCodec.h:90
int NDCodecBloscCompressor
Definition: NDPluginCodec.h:88
Definition: NDPluginCodec.h:37
virtual void processCallbacks(NDArray *pArray)=0
NDCodecStatus_t
Definition: NDPluginCodec.h:44
NDArray * decompressLZ4(NDArray *input, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:621
int NDCodecMode
Definition: NDPluginCodec.h:81
NDArray * compressBSLZ4(NDArray *input, NDCodecStatus_t *status, char *errorMessage)
Definition: NDPluginCodec.cpp:628
Definition: NDPluginCodec.h:39
int NDCodecCompFactor
Definition: NDPluginCodec.h:84
Definition: NDPluginCodec.h:32
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92
Definition: NDPluginCodec.h:41
int NDCodecBloscNumThreads
Definition: NDPluginCodec.h:91
Definition: NDPluginCodec.h:45
Definition: NDPluginCodec.h:47