NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pStdDevPointer to the output result.
nScaleFactorInteger Result Scaling.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_16s32s_Sfs to determine the minium number of bytes required.
nppStreamCtxApplication 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pStdDevPointer to the output result.
nScaleFactorInteger Result Scaling.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_16s_Sfs to determine the minium number of bytes required.
nppStreamCtxApplication 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pStdDevPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_32f to determine the minium number of bytes required.
nppStreamCtxApplication 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
pSrcSource Signal Pointer.
nLengthSignal Length.
pStdDevPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsStdDevGetBufferSize_64f to determine the minium number of bytes required.
nppStreamCtxApplication 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
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication 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
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication 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
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication 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
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES