NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Functions

NppStatus nppsNormDiffL1GetBufferSize_32f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_32f. More...
 
NppStatus nppsNormDiff_L1_32f (const Npp32f *pSrc1, const Npp32f *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)
 32-bit float L1 norm method on two vectors' difference More...
 
NppStatus nppsNormDiffL1GetBufferSize_64f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_64f. More...
 
NppStatus nppsNormDiff_L1_64f (const Npp64f *pSrc1, const Npp64f *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)
 64-bit float L1 norm method on two vectors' difference More...
 
NppStatus nppsNormDiffL1GetBufferSize_16s32f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_16s32f. More...
 
NppStatus nppsNormDiff_L1_16s32f (const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)
 16-bit signed short integer L1 norm method on two vectors' difference, return value is 32-bit float. More...
 
NppStatus nppsNormDiffL1GetBufferSize_32fc64f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_32fc64f. More...
 
NppStatus nppsNormDiff_L1_32fc64f (const Npp32fc *pSrc1, const Npp32fc *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)
 32-bit float complex L1 norm method on two vectors' difference, return value is 64-bit float. More...
 
NppStatus nppsNormDiffL1GetBufferSize_64fc64f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_64fc64f. More...
 
NppStatus nppsNormDiff_L1_64fc64f (const Npp64fc *pSrc1, const Npp64fc *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)
 64-bit float complex L1 norm method on two vectors' difference, return value is 64-bit float. More...
 
NppStatus nppsNormDiffL1GetBufferSize_16s32s_Sfs (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_16s32s_Sfs. More...
 
NppStatus nppsNormDiff_L1_16s32s_Sfs (const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)
 16-bit signed short integer L1 norm method on two vectors' difference, return value is 32-bit signed integer. More...
 
NppStatus nppsNormDiffL1GetBufferSize_16s64s_Sfs (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsNormDiff_L1_16s64s_Sfs. More...
 
NppStatus nppsNormDiff_L1_16s64s_Sfs (const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp64s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)
 16-bit signed short integer L1 norm method on two vectors' difference, return value is 64-bit signed integer. More...
 

Detailed Description

Function Documentation

NppStatus nppsNormDiff_L1_16s32f ( const Npp16s pSrc1,
const Npp16s pSrc2,
int  nLength,
Npp32f pNorm,
Npp8u pDeviceBuffer 
)

16-bit signed short integer L1 norm method on two vectors' difference, return value is 32-bit float.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pNormPointer to the L1 norm result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_16s32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiff_L1_16s32s_Sfs ( const Npp16s pSrc1,
const Npp16s pSrc2,
int  nLength,
Npp32s pNorm,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

16-bit signed short integer L1 norm method on two vectors' difference, return value is 32-bit signed integer.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer..
nLengthSignal Length.
pNormPointer to the norm result.
nScaleFactorInteger Result Scaling.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_16s32s_Sfs to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiff_L1_16s64s_Sfs ( const Npp16s pSrc1,
const Npp16s pSrc2,
int  nLength,
Npp64s pNorm,
int  nScaleFactor,
Npp8u pDeviceBuffer 
)

16-bit signed short integer L1 norm method on two vectors' difference, return value is 64-bit signed integer.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pNormPointer to the norm result.
nScaleFactorInteger Result Scaling.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_16s64s_Sfs to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiff_L1_32f ( const Npp32f pSrc1,
const Npp32f pSrc2,
int  nLength,
Npp32f pNorm,
Npp8u pDeviceBuffer 
)

32-bit float L1 norm method on two vectors' difference

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pNormPointer to the norm result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiff_L1_32fc64f ( const Npp32fc pSrc1,
const Npp32fc pSrc2,
int  nLength,
Npp64f pNorm,
Npp8u pDeviceBuffer 
)

32-bit float complex L1 norm method on two vectors' difference, return value is 64-bit float.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pNormPointer to the norm result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_32fc64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiff_L1_64f ( const Npp64f pSrc1,
const Npp64f pSrc2,
int  nLength,
Npp64f pNorm,
Npp8u pDeviceBuffer 
)

64-bit float L1 norm method on two vectors' difference

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pNormPointer to the norm result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiff_L1_64fc64f ( const Npp64fc pSrc1,
const Npp64fc pSrc2,
int  nLength,
Npp64f pNorm,
Npp8u pDeviceBuffer 
)

64-bit float complex L1 norm method on two vectors' difference, return value is 64-bit float.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pNormPointer to the norm result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormDiffL1GetBufferSize_64fc64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormDiffL1GetBufferSize_16s32f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_16s32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsNormDiffL1GetBufferSize_16s32s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_16s32s_Sfs.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsNormDiffL1GetBufferSize_16s64s_Sfs ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_16s64s_Sfs.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsNormDiffL1GetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsNormDiffL1GetBufferSize_32fc64f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_32fc64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsNormDiffL1GetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsNormDiffL1GetBufferSize_64fc64f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsNormDiff_L1_64fc64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS

Copyright © 2009-2017 NVIDIA Corporation