NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Functions

NppStatus nppsMeanGetBufferSize_32f (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_32f. More...
 
NppStatus nppsMeanGetBufferSize_32fc (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_32fc. More...
 
NppStatus nppsMeanGetBufferSize_64f (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_64f. More...
 
NppStatus nppsMeanGetBufferSize_64fc (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_64fc. More...
 
NppStatus nppsMeanGetBufferSize_16s_Sfs (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_16s_Sfs. More...
 
NppStatus nppsMeanGetBufferSize_32s_Sfs (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_32s_Sfs. More...
 
NppStatus nppsMeanGetBufferSize_16sc_Sfs (int nLength, int *hpBufferSize)
 Device scratch buffer size (in bytes) for nppsMean_16sc_Sfs. More...
 
NppStatus nppsMean_32f (const Npp32f *pSrc, int nLength, Npp32f *pMean, Npp8u *pDeviceBuffer)
 32-bit float vector mean method More...
 
NppStatus nppsMean_32fc (const Npp32fc *pSrc, int nLength, Npp32fc *pMean, Npp8u *pDeviceBuffer)
 32-bit float complex vector mean method More...
 
NppStatus nppsMean_64f (const Npp64f *pSrc, int nLength, Npp64f *pMean, Npp8u *pDeviceBuffer)
 64-bit double vector mean method More...
 
NppStatus nppsMean_64fc (const Npp64fc *pSrc, int nLength, Npp64fc *pMean, Npp8u *pDeviceBuffer)
 64-bit double complex vector mean method More...
 
NppStatus nppsMean_16s_Sfs (const Npp16s *pSrc, int nLength, Npp16s *pMean, int nScaleFactor, Npp8u *pDeviceBuffer)
 16-bit short vector mean with integer scaling method More...
 
NppStatus nppsMean_32s_Sfs (const Npp32s *pSrc, int nLength, Npp32s *pMean, int nScaleFactor, Npp8u *pDeviceBuffer)
 32-bit integer vector mean with integer scaling method More...
 
NppStatus nppsMean_16sc_Sfs (const Npp16sc *pSrc, int nLength, Npp16sc *pMean, int nScaleFactor, Npp8u *pDeviceBuffer)
 16-bit short complex vector mean with integer scaling method More...
 

Detailed Description

Function Documentation

NppStatus nppsMean_16s_Sfs ( const Npp16s pSrc,
int  nLength,
Npp16s pMean,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

16-bit short vector mean with integer scaling method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_16s_Sfs to determine the minium number of bytes required.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMean_16sc_Sfs ( const Npp16sc pSrc,
int  nLength,
Npp16sc pMean,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

16-bit short complex vector mean with integer scaling method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_16sc_Sfs to determine the minium number of bytes required.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMean_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pMean,
Npp8u pDeviceBuffer 
)

32-bit float vector mean method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMean_32fc ( const Npp32fc pSrc,
int  nLength,
Npp32fc pMean,
Npp8u pDeviceBuffer 
)

32-bit float complex vector mean method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_32fc to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMean_32s_Sfs ( const Npp32s pSrc,
int  nLength,
Npp32s pMean,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

32-bit integer vector mean with integer scaling method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_32s_Sfs to determine the minium number of bytes required.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMean_64f ( const Npp64f pSrc,
int  nLength,
Npp64f pMean,
Npp8u pDeviceBuffer 
)

64-bit double vector mean method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMean_64fc ( const Npp64fc pSrc,
int  nLength,
Npp64fc pMean,
Npp8u pDeviceBuffer 
)

64-bit double complex vector mean method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMeanPointer to the output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMeanGetBufferSize_64fc to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMeanGetBufferSize_16s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device scratch buffer size (in bytes) for nppsMean_16s_Sfs.

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

Device scratch buffer size (in bytes) for nppsMean_16sc_Sfs.

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

Device scratch buffer size (in bytes) for nppsMean_32f.

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

Device scratch buffer size (in bytes) for nppsMean_32fc.

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

Device scratch buffer size (in bytes) for nppsMean_32s_Sfs.

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

Device scratch buffer size (in bytes) for nppsMean_64f.

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

Device scratch buffer size (in bytes) for nppsMean_64fc.

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