Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-DDCC7FF7-C9BB-4D45-9B35-FC82BA1F82EC
Visible to Intel only — GUID: GUID-DDCC7FF7-C9BB-4D45-9B35-FC82BA1F82EC
EncodeZ1Z2_BZ2
Performs the bzip2-specific Z1Z2 encoding.
Syntax
IppStatus ippsEncodeZ1Z2_BZ2_8u16u(Ipp8u** ppSrc, int* pSrcLen, Ipp16u* pDst, int* pDstLen, int freqTable[258]);
Include Files
ippdc.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
ppSrc |
Double pointer to the source buffer. |
pSrcLen |
Pointer to the length of the source buffer, after decoding - pointer to the size of the remaining data. |
pDst |
Pointer to the destination buffer. |
pDstLen |
Pointer to the length of the destination buffer, after decoding - pointer to the resulting size of the destination buffer. |
freqTable |
Table of frequencies collected for the alphabet symbols. |
Description
This function performs the bzip2-specific Z1Z2 encoding.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the pointers is NULL. |
ippStsSizeErr |
Indicates an error if length of the source or destination buffer is less than or equal to 0. |
ippStsDstSizeLessExpected |
Indicates a warning if size of the destination buffer is insufficient to store all output elements. |