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

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

FilterGetBufSize

Calculates the size of the working buffer.

Syntax

IppStatus ipprFilterGetBufSize(IpprVolume dstVolume, IpprVolume kernelVolume, int nChannel, int* pSize);

Include Files

ippi.h

Domain Dependencies

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

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

Parameters

dstVolume

Size of the processed volume.

kernelVolume

Size of the kernel volume.

nChannel

Number of channels or planes, possible value is one.

pSize

Pointer to the size of the external buffer.

Description

This function operates with VOI. This function computes the size of the working buffer pSize that is required for the function ipprFilter.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error condition if pSize pointer is NULL.

ippStsNumChannelErr

Indicates an error condition if nChannel has an illegal value.

ippStsSizeErr

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