Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
Contents

FilterILSGetBufferSize

Computes the size of the work buffer.

Syntax

IppStatus ippiFilterILSGetBufferSize (IppiFilterILSType
filter
, IppiSize
dstRoiSize
, IppDataType
dataType
, int
numChannels
, int*
pSpecSize
, int*
pBufInitSize
, int*
pBufferSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
filter
Filter type:
Norm
or
Welsch
.
dataType
Data type flavors.
dstRoiSize
Size of the source and destination ROI in pixels.
numChannels
Number of channels.
pSpecSize
Pointer to the size (in bytes) of the specification structure.
pBufInitSize
Pointer to the size (in bytes) of the init temp buffer.
pBufferSize
Pointer to the size (in bytes) of the work buffer.
Description
This function computes the size of the buffers required for filtering operations. Call this function before using the
ippiFilterILSInit
and
ippiFilterILS
functions.
Return Values
ippStsNoErr
Indicates no error. Any other value indicates an error.
ippStsNullPtrErr
Indicates an error condition if any of the specified pointers is
NULL
.
ippStsStepErr
Indicates an error condition if one of the steps has a zero or negative value.
ippStsSizeErr
Indicates an error condition if one of the fields of
dstRoiSize
has a zero or negative value.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.