NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.3.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Standard Deviation

Calculates the standard deviation for the samples of a signal. More...

Functions

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

Detailed Description

Calculates the standard deviation for the samples of a signal.

Function Documentation

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

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.
nppStreamCtx Application Managed Stream Context.
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 
)
NppStatus nppsStdDev_16s_Sfs_Ctx ( const Npp16s pSrc,
int  nLength,
Npp16s pStdDev,
int  nScaleFactor,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDev_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pStdDev,
Npp8u pDeviceBuffer 
)
NppStatus nppsStdDev_32f_Ctx ( const Npp32f pSrc,
int  nLength,
Npp32f pStdDev,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDev_64f ( const Npp64f pSrc,
int  nLength,
Npp64f pStdDev,
Npp8u pDeviceBuffer 
)
NppStatus nppsStdDev_64f_Ctx ( const Npp64f pSrc,
int  nLength,
Npp64f pStdDev,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsStdDevGetBufferSize_16s32s_Sfs ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsStdDevGetBufferSize_16s32s_Sfs_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsStdDevGetBufferSize_16s_Sfs ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsStdDevGetBufferSize_16s_Sfs_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsStdDevGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsStdDevGetBufferSize_32f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsStdDevGetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsStdDevGetBufferSize_64f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtx Application Managed Stream Context.
Returns
NPP_SUCCESS