Class NPPNativeMethods.NPPs.AverageError
Primitives for computing the Average error between two signals.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class AverageError
Methods
nppsAverageError_16s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit signed short integer Average method.
Declaration
public static NppStatus nppsAverageError_16s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_16sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit unsigned short complex integer Average method.
Declaration
public static NppStatus nppsAverageError_16sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_16u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit unsigned short integer Average method.
Declaration
public static NppStatus nppsAverageError_16u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_32f(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit floating point Average method.
Declaration
public static NppStatus nppsAverageError_32f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_32fc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit floating point complex Average method.
Declaration
public static NppStatus nppsAverageError_32fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_32s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit signed short integer Average method.
Declaration
public static NppStatus nppsAverageError_32s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_32sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit unsigned short complex integer Average method.
Declaration
public static NppStatus nppsAverageError_32sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_32u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit unsigned short integer Average method.
Declaration
public static NppStatus nppsAverageError_32u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_64f(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit floating point Average method.
Declaration
public static NppStatus nppsAverageError_64f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_64fc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit floating point complex Average method.
Declaration
public static NppStatus nppsAverageError_64fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_64s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit signed short integer Average method.
Declaration
public static NppStatus nppsAverageError_64s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_64sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit unsigned short complex integer Average method.
Declaration
public static NppStatus nppsAverageError_64sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_8s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
8-bit signed char Average method.
Declaration
public static NppStatus nppsAverageError_8s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageError_8u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
8-bit unsigned char Average method.
Declaration
public static NppStatus nppsAverageError_8u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageErrorGetBufferSize_16s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_16s.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_16s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_16sc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_16sc.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_16sc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_16u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_16u.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_16u(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_32f.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_32fc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_32fc.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_32fc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_32s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_32s.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_32s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_32sc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_32sc.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_32sc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_32u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_32u.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_32u(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_64f.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_64fc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_64fc.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_64fc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_64s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_64s.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_64s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_64sc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_64sc.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_64sc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_8s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_8s.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_8s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageErrorGetBufferSize_8u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageError_8u.
Declaration
public static NppStatus nppsAverageErrorGetBufferSize_8u(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |