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

ID 790148
Date 3/22/2024
Public
Document Table of Contents

FloodFillGetSize_Grad

Calculates size of temporary buffer for the gradient flood filling.

Syntax

IppStatus ippiFloodFillGetSize_Grad(IppiSize roiSize, int* pBufSize);

Include Files

ippcv.h

Domain Dependencies

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

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

Parameters

roiSize
Size of the source image ROI in pixels.
pBufSize
Pointer to the variable that returns the size of the temporary buffer.

Description

This function calculates the size of the temporary buffer to be used by the function ippiFloodFill_Grad.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if pBufSize pointer is NULL.

ippStsSizeErr

Indicates an error condition if roiSize has a field with zero or negative value.