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

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

FilterGetBufSize

Computes the size of the work buffer.

Syntax

IppStatus ippiFilterGetBufSize_64f_C1R(IppiSize kernelSize, int roiWidth, int* pSize);

Include Files

ippi.h

Domain Dependencies

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

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

Parameters

kernelSize

Size of the rectangular kernel in pixels.

roiWidth

Width of the image ROI in pixels.

pSize

Pointer to the size of the work buffer.

Description

This function operates with ROI (see Regions of Interest in Intel IPP).

This function computes the size of the work buffer pSize that is required for the function ippiFilter (flavor that operates on data of the Ipp64f type).

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error if pSize is NULL.

ippStsSizeErr

Indicates an error if kernelSize has a field with a zero or negative value, or roiWidth is less than or equal to zero.