DecodeGITGetSize

Computes the size of the GIT decoding state structure.

Syntax

IppStatus ippsDecodeGITGetSize_8u (int maxSrcLen, int* pGITStateSize);

Parameters

maxSrcLen

Maximum length of the source buffer.

pGITStateSize

Pointer to the size of the GIT decoding state structure.

Description

The function ippsDecodeGITGetSize is declared in the ippdc.h file. This function computes the size in bytes pGITStateSize of the GIT decoding state structure. Its value depends on the maxSrcLen parameter, which is the maximum length of the input data buffer.

The function should be called prior to the function ippsDecodeGITInit.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pointer pGITStateSize is NULL.

ippStsSizeErr

Indicates an error if maxSrcLen is less than or equal to 0.

Submit feedback on this help topic

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