Class NPPNativeMethods.NPPs.Xor
Sample by sample bitwise XOR of samples from two signals.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Xor
Methods
nppsXor_16u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
16-bit unsigned short signal exclusive or with signal.
Declaration
public static NppStatus nppsXor_16u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. signal2 elements to be exclusive ored with signal1 elements |
CUdeviceptr | pDst | Destination 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.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsXor_16u_I(CUdeviceptr, CUdeviceptr, Int32)
16-bit unsigned short in place signal exclusive or with signal.
Declaration
public static NppStatus nppsXor_16u_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal2 elements to be exclusive ored with signal1 elements |
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.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsXor_32u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
32-bit unsigned integer signal exclusive or with signal.
Declaration
public static NppStatus nppsXor_32u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. signal2 elements to be exclusive ored with signal1 elements |
CUdeviceptr | pDst | Destination 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.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsXor_32u_I(CUdeviceptr, CUdeviceptr, Int32)
32-bit unsigned integer in place signal exclusive or with signal.
Declaration
public static NppStatus nppsXor_32u_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal2 elements to be exclusive ored with signal1 elements |
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.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsXor_8u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned char signal exclusive or with signal.
Declaration
public static NppStatus nppsXor_8u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer. signal2 elements to be exclusive ored with signal1 elements |
CUdeviceptr | pDst | Destination 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.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsXor_8u_I(CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned char in place signal exclusive or with signal.
Declaration
public static NppStatus nppsXor_8u_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal2 elements to be exclusive ored with signal1 elements |
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.. |
Returns
Type | Description |
---|---|
NppStatus |