Class NPPNativeMethods.NPPs.Or
Sample by sample bitwise OR of samples from two signals.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Or
Methods
nppsOr_16u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
16-bit unsigned short signal or with signal.
Declaration
public static NppStatus nppsOr_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 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 |
nppsOr_16u_I(CUdeviceptr, CUdeviceptr, Int32)
16-bit unsigned short in place signal or with signal.
Declaration
public static NppStatus nppsOr_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 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 |
nppsOr_32u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
32-bit unsigned integer signal or with signal.
Declaration
public static NppStatus nppsOr_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 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 |
nppsOr_32u_I(CUdeviceptr, CUdeviceptr, Int32)
32-bit unsigned integer in place signal or with signal.
Declaration
public static NppStatus nppsOr_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 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 |
nppsOr_8u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned char signal or with signal.
Declaration
public static NppStatus nppsOr_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 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 |
nppsOr_8u_I(CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned char in place signal or with signal.
Declaration
public static NppStatus nppsOr_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 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 |