NVIDIA Performance Primitives (NPP)  Version 9.1
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
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output mean value.
pStdDevPointer to the output standard deviation value.
nScaleFactorInteger Result Scaling.
pDeviceBufferPointer 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output mean value.
pStdDevPointer to the output standard deviation value.
nScaleFactorInteger Result Scaling.
pDeviceBufferPointer 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output mean value.
pStdDevPointer to the output standard deviation value.
pDeviceBufferPointer 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output mean value.
pStdDevPointer to the output standard deviation value.
pDeviceBufferPointer 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
nLengthSignal Length.
hpBufferSizeRequired 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
nLengthSignal Length.
hpBufferSizeRequired 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
nLengthSignal Length.
hpBufferSizeRequired 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
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
Returns
NPP_SUCCESS

Copyright © 2009-2017 NVIDIA Corporation