Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

SADGetBufferSize

Computes the size of the work buffer for the
ippiSAD
function.

Syntax

IppStatus ippiSADGetBufferSize(IppiSize
srcRoiSize
, IppiSize
tplRoiSize
, IppDataType
dataType
, int
numChannels
, IppiROIShape
shape
, int*
pBufferSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
srcRoiSize
Size of the source ROI in pixels.
tplRoiSize
Size of the template ROI in pixels.
shape
Enumeration that defines the shape of the result of the SAD operation (see Structures and Enumerators).
dataType
Type of the input data.
numChannels
Number of channels in the images.
pBufferSize
Pointer to the computed value of the external buffer size.
Description
The
ippiSADGetBufferSize
function computes the size of the external work buffer (in bytes) needed for the
ippiSAD
function and stores the result in the
*pBufferSize
parameter.
Return Values
ippStsNoErr
Indicates no error. Any other value indicates an error or a warning.
ippStsNullPtrErr
Indicates an error condition if the
pBufferSize
pointer is
NULL
.
ippStsSizeErr
Indicates an error condition if
srcRoiSize
or
tplRoiSize
has a field with a zero or negative value.
ippStsNotSupportedModeErr
Indicates an error condition if either
shape
does not equal
ippiROIValid
or
numChannels
does not equal 1.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804