Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

MomentGetStateSize

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

Syntax

IppStatus ippiMomentGetStateSize_64f(IppHintAlgorithm hint, int* pSize);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pSize

Pointer to the computed value of the buffer size.

hint

Option to select the algorithmic implementation of the function.

Description

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 pSize pointer is NULL.