Signal Filtering Functions

Functions that provide functionality of generating output signal based on the input signal like signal integral, etc.

Integral

Compute the indefinite integral of a given signal. The i-th element is computed to be

\[ s'_i = \sum_0^i s_j \]

Functions

NppStatus nppsIntegralGetBufferSize_32s(size_t nLength, size_t *hpBufferSize)

Device scratch buffer size (in bytes) for 32s nppsIntegral.

This primitive provides the correct buffer size for nppsIntegral_32s.

Parameters
NppStatus nppsIntegral_32s_Ctx(const Npp32s *pSrc, Npp32s *pDst, size_t nLength, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Compute cumulative sum of 32-bit signed integer signal.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsIntegral_32s(const Npp32s *pSrc, Npp32s *pDst, size_t nLength, Npp8u *pDeviceBuffer)

Compute cumulative sum of 32-bit signed integer signal.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.