NVIDIA 2D Image And Signal Performance Primitives (NPP)
Version 11.8..*
|
Calculates the number of elements from specified range in the samples of a signal. More...
Functions | |
NppStatus | nppsCountInRangeGetBufferSize_32s_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx) |
Device-buffer size (in bytes) for nppsCountInRange_32s. More... |
|
NppStatus | nppsCountInRangeGetBufferSize_32s (int nLength, int *hpBufferSize) |
NppStatus | nppsCountInRange_32s_Ctx (const Npp32s *pSrc, int nLength, int *pCounts, Npp32s nLowerBound, Npp32s nUpperBound, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) |
Computes the number of elements whose values fall into the specified range on a 32-bit signed integer array. More... |
|
NppStatus | nppsCountInRange_32s (const Npp32s *pSrc, int nLength, int *pCounts, Npp32s nLowerBound, Npp32s nUpperBound, Npp8u *pDeviceBuffer) |
Calculates the number of elements from specified range in the samples of a signal.
NppStatus nppsCountInRange_32s | ( | const Npp32s * | pSrc, |
int | nLength, | ||
int * | pCounts, | ||
Npp32s | nLowerBound, | ||
Npp32s | nUpperBound, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppsCountInRange_32s_Ctx | ( | const Npp32s * | pSrc, |
int | nLength, | ||
int * | pCounts, | ||
Npp32s | nLowerBound, | ||
Npp32s | nUpperBound, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Computes the number of elements whose values fall into the specified range on a 32-bit signed integer array.
pSrc | Source Signal Pointer. |
nLength | Signal Length. |
pCounts | Pointer to the number of elements. |
nLowerBound | Lower bound of the specified range. |
nUpperBound | Upper bound of the specified range. |
pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsCountInRangeGetBufferSize_32s to determine the minium number of bytes required. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppsCountInRangeGetBufferSize_32s | ( | int | nLength, |
int * | hpBufferSize | ||
) |
NppStatus nppsCountInRangeGetBufferSize_32s_Ctx | ( | int | nLength, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Device-buffer size (in bytes) for nppsCountInRange_32s.
nLength | Signal Length. |
hpBufferSize | Required buffer size. Important: hpBufferSize is a host pointer. |
nppStreamCtx | Application Managed Stream Context. |