Initializes the GIT decoding state structure.
IppStatus ippsDecodeGITInit_8u (int maxDstLen, IppGITState_8u* pGITState);
maxDstLen |
Maximum length of the destination buffer. |
pGITState |
Pointer to memory allocated for the GIT decoding state structure. |
The function ippsDecodeGITInit is declared in the ippdc.h file. This function initializes the GIT decoding state structure pGITState in the external buffer. The size of this buffer must be computeded by the function ippsDecodeGITGetSize. Alternatively this structure can be initialized by the function ippsDecodeGITInitAlloc.
The size of the GIT decoding state structure depends on the value of the parameter maxDstLen, 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.
The parameter maxDstLen of the ippsDecodeGITInit and ippsDecodeGITGetSize functions must be the same to avoid an error in the function ippsDecodeGIT.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer pGITState is NULL. |
ippStsSizeErr |
Indicates an error if maxDstLen is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.