Allocates memory and initializes the GIT decoding state structure.
IppStatus ippsDecodeGITInitAlloc_8u (int maxSrcLen, int maxDstLen, IppGITState_8u** ppGITState);
maxSrcLen |
Maximum length of the source buffer. |
maxDstLen |
Maximum length of the destination buffer. |
ppGITState |
Double pointer to the GIT decoding state structure. |
The function ippsDecodeGITInitAlloc is declared in the ippdc.h file. This function allocates memory and initializes the GIT decoding state structure ppGITState. This structure is used by the function ippsDecodeGIT.
The size of the GIT decoding state structure depends on the value of the maxDstLen parameter, which sets the upper bound on the lengths of the source and destination buffers. In subsequent functions, do not specify a greater size of the buffers, as the functions will return an error message.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer ppGITState is NULL. |
ippStsSizeErr |
Indicates an error if maxSrcLen or maxDstLen is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.