NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Standard Deviation

Functions

NppStatus  nppsStdDevGetBufferSize_32f (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsStdDev_32f. More...
 
NppStatus  nppsStdDevGetBufferSize_64f (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsStdDev_64f. More...
 
NppStatus  nppsStdDevGetBufferSize_16s32s_Sfs (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsStdDev_16s32s_Sfs. More...
 
NppStatus  nppsStdDevGetBufferSize_16s_Sfs (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsStdDev_16s_Sfs. More...
 
NppStatus  nppsStdDev_32f (const Npp32f *pSrc, int nLength, Npp32f *pStdDev, Npp8u *pDeviceBuffer)
  32-bit float vector standard deviation method More...
 
NppStatus  nppsStdDev_64f (const Npp64f *pSrc, int nLength, Npp64f *pStdDev, Npp8u *pDeviceBuffer)
  64-bit float vector standard deviation method More...
 
NppStatus  nppsStdDev_16s32s_Sfs (const Npp16s *pSrc, int nLength, Npp32s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)
  16-bit float vector standard deviation method (return value is 32-bit) More...
 
NppStatus  nppsStdDev_16s_Sfs (const Npp16s *pSrc, int nLength, Npp16s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)
  16-bit float vector standard deviation method (return value is also 16-bit) More...
 

Detailed Description

Function Documentation

NppStatus nppsStdDev_16s32s_Sfs ( const Npp16s pSrc,
int  nLength,
Npp32s pStdDev,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

16-bit float vector standard deviation method (return value is 32-bit)

Parameters
pSrc Source Signal Pointer.
nLength Signal Length.
pStdDev Pointer to the output result.
nScaleFactor Integer Result Scaling.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_16s32s_Sfs to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDev_16s_Sfs ( const Npp16s pSrc,
int  nLength,
Npp16s pStdDev,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

16-bit float vector standard deviation method (return value is also 16-bit)

Parameters
pSrc Source Signal Pointer.
nLength Signal Length.
pStdDev Pointer to the output result.
nScaleFactor Integer Result Scaling.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_16s_Sfs to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDev_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pStdDev,
Npp8u pDeviceBuffer 
)

32-bit float vector standard deviation method

Parameters
pSrc Source Signal Pointer.
nLength Signal Length.
pStdDev Pointer to the output result.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDev_64f ( const Npp64f pSrc,
int  nLength,
Npp64f pStdDev,
Npp8u pDeviceBuffer 
)

64-bit float vector standard deviation method

Parameters
pSrc Source Signal Pointer.
nLength Signal Length.
pStdDev Pointer to the output result.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDevGetBufferSize_16s32s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsStdDev_16s32s_Sfs.

Parameters
nLength Signal Length.
hpBufferSize Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
Returns
NPP_SUCCESS
NppStatus nppsStdDevGetBufferSize_16s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsStdDev_16s_Sfs.

Parameters
nLength Signal Length.
hpBufferSize Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
Returns
NPP_SUCCESS
NppStatus nppsStdDevGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsStdDev_32f.

Parameters
nLength Signal Length.
hpBufferSize Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
Returns
NPP_SUCCESS
NppStatus nppsStdDevGetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsStdDev_64f.

Parameters
nLength Signal Length.
hpBufferSize Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
Returns
NPP_SUCCESS