EncodeGITGetSize

Computes the size of the GIT encoding state structure.

Syntax

IppStatus ippsEncodeGITGetSize_8u (int maxSrcLen, int maxDstLen, int* pGITStateSize);

Parameters

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.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.