Computes the size of the GIT encoding state structure.
IppStatus ippsEncodeGITGetSize_8u (int maxSrcLen, int maxDstLen, int* pGITStateSize);
maxSrcLen |
Maximum length of the source buffer. |
maxDstLen |
Maximum length of the destination buffer. |
pGITStateSize |
Pointer to the size of the GIT encoding state structure. |
The function ippsEncodeGITGetSize is declared in the ippdc.h file. This function computes the size in bytes of the GIT encoding state structure. Its size depends on the maxSrcLen and maxDstLen parameters, which are the maximum lengths of the input and output data buffers, respectively.
The function should be called prior to the function ippsEncodeGITInit.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer pGITStateSize 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.