Developer Reference for Intel® Integrated Performance Primitives 2018
Performs LZ4 decoding.
IppStatus ippsDecodeLZ4_8u(const Ipp8u* pSrc, int srcLen, Ipp8u* pDst, int* pDstLen);
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. |
pDst |
Pointer to the compressed data. |
pDstLen |
Pointer to the length of the uncompressed data. |
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. |