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
Functions
-
NppStatus nppsIntegralGetBufferSize_32s(int nLength, int *hpBufferSize)
Device scratch buffer size (in bytes) for 32s nppsIntegral.
This primitive provides the correct buffer size for nppsIntegral_32s.
- Parameters
nLength – Signal Length.
hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
-
NppStatus nppsIntegral_32s_Ctx(const Npp32s *pSrc, Npp32s *pDst, int nLength, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
Compute cumulative sum of 32-bit signed integer signal.
- Parameters
pSrc – Source Signal Pointer.
pDst – Pointer to the output result.
nLength – Signal Length.
pDeviceBuffer – Pointer to the required device memory allocation.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsIntegral_32s(const Npp32s *pSrc, Npp32s *pDst, int nLength, Npp8u *pDeviceBuffer)
Compute cumulative sum of 32-bit signed integer signal.
- Parameters
pSrc – Source Signal Pointer.
pDst – Pointer to the output result.
nLength – Signal Length.
pDeviceBuffer – Pointer to the required device memory allocation.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.