Developer Reference for Intel® Integrated Performance Primitives 2018
Performs LZ4 decoding.
IppStatus ippsDecodeLZ4_8u(const Ipp8u* pSrc, int srcLen, Ipp8u* pDst, int* pDstLen);
IppStatus ippsDecodeLZ4Dict_8u(const Ipp8u* pSrc, int* pSrcLen, Ipp8u* pDst, int dstIdx, int* pDstLen, const Ipp8u* pDict, int dictSize);
ippdc.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pSrc |
Pointer to the source data. |
srcLen |
Length of the source data for decompression. |
pSrcLen |
Pointer to the length of the source data for decompression. |
pDst |
Pointer to the compressed data. |
pDstLen |
Pointer to the length of the uncompressed data. |
dstIdx |
Index of the starting byte in the destination vector. |
pDict |
Pointer to the dictionary. |
dictSize |
Length of the dictionary. |
This function performs decoding of the source data pSrc using the LZ4 algorithm. The destination buffer must have sufficient length for the operation. The length of the uncompressed data is set to pDstLen.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if at lease one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error if the srcLen value is less than, or equal to zero. |
ippStsMemAllocErr |
Indicates an error if the size of the allocated memory is not sufficient for decompression. |