MomentGetStateSize

Computes the size of the external buffer for the moment context structure.

Syntax

IppStatus ippiMomentGetStateSize_64s(IppHintAlgorithm hint, int* pBufferSize);

Parameters

pBufferSize

Pointer to the computed value of the buffer size.

hint

Option to select the algorithmic implementation of the function.

Description

The function ippiMomentGetStateSize is declared in the ippi.h file. Use this function to determine the size of the external work buffer for the moment context structure to be initialized by the function ippiMomentInit. Computation algorithm is specified by hint argument (see Table “Hint Arguments for Image Moment Functions”).

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error condition if pBufferSize pointer is NULL.

Submit feedback on this help topic

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