Stores the data block without compression.
IppStatus ippsEncodeLZ77StoredBlock_8u(Ipp8u** ppSrc, int* pSrcLen, Ipp8u** ppDst, int* pDstLen, IppLZ77Flush flush, IppLZ77State_8u* pLZ77State);
ppSrc |
Double pointer to the source buffer. |
pSrcLen |
Pointer to the length of the source buffer. |
ppDst |
Double pointer to the destination buffer. |
pDstLen |
Pointer to the length of the destination buffer. |
flush |
Specifies the encoding mode for data blocks (see flush Parameter). |
pLZ77State |
Pointer to the LZ77 encoding state structure. |
The ippsEncodeLZ77StoredBlock function is declared in the ippdc.h file. This function copies source data ppSrc data to the destination buffer ppDst without Huffman encoding.
The function ippsEncodeLZ77StoredBlock writes the marker of the end of the block to the output stream and aligns the output data in accordance with the specified parameter flush.
The function uses the LZ77 encoding state structure pLZ77State that must be previously initialized by the function ippsEncodeLZ77InitAlloc or ippsEncodeLZ77Init.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error if DstLen is less than or equal to 0. |
ippStsDstSizeLessExpected |
Indicates a warning that the size of the destination buffer is insufficient for completing the operation. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.