Computes the size of the external buffer for the moment context structure.
IppStatus ippiMomentGetStateSize_64s(IppHintAlgorithm hint, int* pBufferSize);
pBufferSize |
Pointer to the computed value of the buffer size. |
hint |
Option to select the algorithmic implementation of the function. |
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”).
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pBufferSize pointer is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.