Allocates memory and initializes the LZ77 decoding structure.
IppStatus ippsDecodeLZ77InitAlloc_8u(IppLZ77Chcksm checksum, IppLZ77State_8u** ppLZ77State);
checksum |
Specifies an algorithm to compute the checksum for input data (see checksum Parameter). |
ppLZ77State |
Double pointer to the LZ77 decoding structure. |
The function ippsDecodeLZ77InitAlloc is declared in the ippdc.h file. This function allocates memory and initializes the decoding state structure ppLZ77State. The function uses different algorithms to compute the checksum for input data in accordance with the value of the parameter checksum. The decoding state structure is used by the function ippsDecodeLZ77.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer ppLZ77State is NULL. |
ippStsBadArgErr |
Indicates an error if the checksum parameter has an illiegal value. |
ippStsMemAlloc |
Indicates an error if memory allocation fails. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.