Developer Reference

  • 2021
  • 06/28/2021
  • Public Content
Contents

SumWindow

Sums elements in the mask applied to each element of a vector.

Syntax

IppStatus ippsSumWindow_8u32f(const Ipp8u*
pSrc
, Ipp32f*
pDst
, int
len
, int
maskSize
);
IppStatus ippsSumWindow_16s32f(const Ipp16s*
pSrc
, Ipp32f*
pDst
, int
len
, int
maskSize
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc
Pointer to the source vector.
pDst
Pointer to the destination vector.
len
Number of elements of the vector.
maskSize
Size of the mask.
Description
This function sets each element in the destination vector
pDst
as the sum of
maskSize
elements of the source vector
pSrc
. The computation is performed as follows:
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when one of the specified pointers is
NULL
.
ippStsMaskSizeErr
Indicates an error when
maskSize
is less than or equal to 0.

Product and Performance Information

1

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