NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
MaximumRelativeError

Primitives for computing the MaximumRelative error between two signals. More...

Functions

NppStatus nppsMaximumRelativeError_8u_Ctx (const Npp8u *pSrc1, const Npp8u *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 8-bit unsigned char MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_8u (const Npp8u *pSrc1, const Npp8u *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_8s_Ctx (const Npp8s *pSrc1, const Npp8s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 8-bit signed char MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_8s (const Npp8s *pSrc1, const Npp8s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_16u_Ctx (const Npp16u *pSrc1, const Npp16u *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 16-bit unsigned short integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_16u (const Npp16u *pSrc1, const Npp16u *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_16s_Ctx (const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 16-bit signed short integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_16s (const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_16sc_Ctx (const Npp16sc *pSrc1, const Npp16sc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 16-bit unsigned short complex integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_16sc (const Npp16sc *pSrc1, const Npp16sc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_32u_Ctx (const Npp32u *pSrc1, const Npp32u *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit unsigned short integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_32u (const Npp32u *pSrc1, const Npp32u *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_32s_Ctx (const Npp32s *pSrc1, const Npp32s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit signed short integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_32s (const Npp32s *pSrc1, const Npp32s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_32sc_Ctx (const Npp32sc *pSrc1, const Npp32sc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit unsigned short complex integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_32sc (const Npp32sc *pSrc1, const Npp32sc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_64s_Ctx (const Npp64s *pSrc1, const Npp64s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 64-bit signed short integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_64s (const Npp64s *pSrc1, const Npp64s *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_64sc_Ctx (const Npp64sc *pSrc1, const Npp64sc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 64-bit unsigned short complex integer MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_64sc (const Npp64sc *pSrc1, const Npp64sc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_32f_Ctx (const Npp32f *pSrc1, const Npp32f *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit floating point MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_32f (const Npp32f *pSrc1, const Npp32f *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_32fc_Ctx (const Npp32fc *pSrc1, const Npp32fc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit floating point complex MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_32fc (const Npp32fc *pSrc1, const Npp32fc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_64f_Ctx (const Npp64f *pSrc1, const Npp64f *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 64-bit floating point MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_64f (const Npp64f *pSrc1, const Npp64f *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeError_64fc_Ctx (const Npp64fc *pSrc1, const Npp64fc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 64-bit floating point complex MaximumRelative method. More...
 
NppStatus nppsMaximumRelativeError_64fc (const Npp64fc *pSrc1, const Npp64fc *pSrc2, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_8u_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_8u. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_8u (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_8s_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_8s. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_8s (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_16u_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_16u. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_16u (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_16s_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_16s. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_16s (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_16sc_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_16sc. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_16sc (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32u_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_32u. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32u (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32s_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_32s. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32s (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32sc_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_32sc. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32sc (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64s_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_64s. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64s (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64sc_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_64sc. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64sc (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32f_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_32f. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32f (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32fc_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_32fc. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_32fc (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64f_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_64f. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64f (int nLength, int *hpBufferSize)
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64fc_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device-buffer size (in bytes) for nppsMaximumRelativeError_64fc. More...
 
NppStatus nppsMaximumRelativeErrorGetBufferSize_64fc (int nLength, int *hpBufferSize)
 

Detailed Description

Primitives for computing the MaximumRelative error between two signals.

Given two signals $pSrc1$ and $pSrc2$ both with length $N$, the maximum relative error is defined as

\[MaximumRelativeError = max{\frac{\left|pSrc1(n) - pSrc2(n)\right|}{max(\left|pSrc1(n)\right|, \left|pSrc2(n)\right|)}}\]

If the signal is in complex format, the absolute value of the complex number is used.

Function Documentation

NppStatus nppsMaximumRelativeError_16s ( const Npp16s pSrc1,
const Npp16s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_16s_Ctx ( const Npp16s pSrc1,
const Npp16s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

16-bit signed short integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_16s to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_16sc ( const Npp16sc pSrc1,
const Npp16sc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_16sc_Ctx ( const Npp16sc pSrc1,
const Npp16sc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

16-bit unsigned short complex integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_16sc to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_16u ( const Npp16u pSrc1,
const Npp16u pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_16u_Ctx ( const Npp16u pSrc1,
const Npp16u pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

16-bit unsigned short integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_16u to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_32f ( const Npp32f pSrc1,
const Npp32f pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_32f_Ctx ( const Npp32f pSrc1,
const Npp32f pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit floating point MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_32f to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_32fc ( const Npp32fc pSrc1,
const Npp32fc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_32fc_Ctx ( const Npp32fc pSrc1,
const Npp32fc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit floating point complex MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_32fc to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_32s ( const Npp32s pSrc1,
const Npp32s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_32s_Ctx ( const Npp32s pSrc1,
const Npp32s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit signed short integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_32s to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_32sc ( const Npp32sc pSrc1,
const Npp32sc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_32sc_Ctx ( const Npp32sc pSrc1,
const Npp32sc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit unsigned short complex integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_32sc to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_32u ( const Npp32u pSrc1,
const Npp32u pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_32u_Ctx ( const Npp32u pSrc1,
const Npp32u pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit unsigned short integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_32u to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_64f ( const Npp64f pSrc1,
const Npp64f pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_64f_Ctx ( const Npp64f pSrc1,
const Npp64f pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

64-bit floating point MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_64f to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_64fc ( const Npp64fc pSrc1,
const Npp64fc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_64fc_Ctx ( const Npp64fc pSrc1,
const Npp64fc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

64-bit floating point complex MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_64fc to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_64s ( const Npp64s pSrc1,
const Npp64s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_64s_Ctx ( const Npp64s pSrc1,
const Npp64s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

64-bit signed short integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_64s to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_64sc ( const Npp64sc pSrc1,
const Npp64sc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_64sc_Ctx ( const Npp64sc pSrc1,
const Npp64sc pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

64-bit unsigned short complex integer MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_64sc to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_8s ( const Npp8s pSrc1,
const Npp8s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_8s_Ctx ( const Npp8s pSrc1,
const Npp8s pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

8-bit signed char MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_8s to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeError_8u ( const Npp8u pSrc1,
const Npp8u pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsMaximumRelativeError_8u_Ctx ( const Npp8u pSrc1,
const Npp8u pSrc2,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

8-bit unsigned char MaximumRelative method.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer.
nLengthSignal Length.
pDstPointer to the error result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMaximumRelativeErrorGetBufferSize_8u to determine the minium number of bytes required.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMaximumRelativeErrorGetBufferSize_16s ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_16s_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_16s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_16sc ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_16sc_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_16sc.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_16u ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_16u_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_16u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_32f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_32fc ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_32fc_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_32fc.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_32s ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_32s_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_32s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_32sc ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_32sc_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_32sc.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_32u ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_32u_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_32u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_64f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_64fc ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_64fc_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_64fc.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_64s ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_64s_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_64s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_64sc ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_64sc_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_64sc.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_8s ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_8s_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_8s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsMaximumRelativeErrorGetBufferSize_8u ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsMaximumRelativeErrorGetBufferSize_8u_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device-buffer size (in bytes) for nppsMaximumRelativeError_8u.

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

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES