NVIDIA Performance Primitives (NPP)  Version 10.0
Functions
Mean And Standard Deviation

Functions

NppStatus  nppsMeanStdDevGetBufferSize_32f (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsMeanStdDev_32f. More...
 
NppStatus  nppsMeanStdDevGetBufferSize_64f (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsMeanStdDev_64f. More...
 
NppStatus  nppsMeanStdDevGetBufferSize_16s32s_Sfs (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsMeanStdDev_16s32s_Sfs. More...
 
NppStatus  nppsMeanStdDevGetBufferSize_16s_Sfs (int nLength, int *hpBufferSize)
  Device scratch buffer size (in bytes) for nppsMeanStdDev_16s_Sfs. More...
 
NppStatus  nppsMeanStdDev_32f (const Npp32f *pSrc, int nLength, Npp32f *pMean, Npp32f *pStdDev, Npp8u *pDeviceBuffer)
  32-bit float vector mean and standard deviation method More...
 
NppStatus  nppsMeanStdDev_64f (const Npp64f *pSrc, int nLength, Npp64f *pMean, Npp64f *pStdDev, Npp8u *pDeviceBuffer)
  64-bit float vector mean and standard deviation method More...
 
NppStatus  nppsMeanStdDev_16s32s_Sfs (const Npp16s *pSrc, int nLength, Npp32s *pMean, Npp32s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)
  16-bit float vector mean and standard deviation method (return values are 32-bit) More...
 
NppStatus  nppsMeanStdDev_16s_Sfs (const Npp16s *pSrc, int nLength, Npp16s *pMean, Npp16s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)
  16-bit float vector mean and standard deviation method (return values are also 16-bit) More...
 

Detailed Description

Function Documentation

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

16-bit float vector mean and standard deviation method (return values are 32-bit)

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

16-bit float vector mean and standard deviation method (return values are also 16-bit)

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

32-bit float vector mean and standard deviation method

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

64-bit float vector mean and standard deviation method

Parameters
pSrc Source Signal Pointer.
nLength Signal Length.
pMean Pointer to the output mean value.
pStdDev Pointer to the output standard deviation value.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanStdDevGetBufferSize_64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMeanStdDevGetBufferSize_16s32s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsMeanStdDev_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 nppsMeanStdDevGetBufferSize_16s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsMeanStdDev_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 nppsMeanStdDevGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsMeanStdDev_32f.

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

Device scratch buffer size (in bytes) for nppsMeanStdDev_64f.

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