NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Count Zero Crossings

Functions

NppStatus nppsZeroCrossingGetBufferSize_16s32f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsZeroCrossing_16s32f. More...
 
NppStatus nppsZeroCrossing_16s32f (const Npp16s *pSrc, int nLength, Npp32f *pValZC, NppsZCType tZCType, Npp8u *pDeviceBuffer)
 16-bit signed short integer zero crossing method, return value is 32-bit floating point. More...
 
NppStatus nppsZeroCrossingGetBufferSize_32f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsZeroCrossing_32f. More...
 
NppStatus nppsZeroCrossing_32f (const Npp32f *pSrc, int nLength, Npp32f *pValZC, NppsZCType tZCType, Npp8u *pDeviceBuffer)
 32-bit floating-point zero crossing method, return value is 32-bit floating point. More...
 

Detailed Description

Function Documentation

NppStatus nppsZeroCrossing_16s32f ( const Npp16s pSrc,
int  nLength,
Npp32f pValZC,
NppsZCType  tZCType,
Npp8u pDeviceBuffer 
)

16-bit signed short integer zero crossing method, return value is 32-bit floating point.

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pValZCPointer to the output result.
tZCTypeType of the zero crossing measure: nppZCR, nppZCXor or nppZCC.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsZeroCrossingGetBufferSize_16s32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsZeroCrossing_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pValZC,
NppsZCType  tZCType,
Npp8u pDeviceBuffer 
)

32-bit floating-point zero crossing method, return value is 32-bit floating point.

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pValZCPointer to the output result.
tZCTypeType of the zero crossing measure: nppZCR, nppZCXor or nppZCC.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsZeroCrossingGetBufferSize_32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsZeroCrossingGetBufferSize_16s32f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsZeroCrossing_16s32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsZeroCrossingGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsZeroCrossing_32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS

Copyright © 2009-2017 NVIDIA Corporation