Class NPPNativeMethods.NPPs.OrC
Bitwise OR of a constant and each sample of a signal.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class OrC
Methods
nppsOrC_16u(CUdeviceptr, UInt16, CUdeviceptr, Int32)
16-bit unsigned short signal or with constant.
Declaration
public static NppStatus nppsOrC_16u(CUdeviceptr pSrc, ushort nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.UInt16 | nValue | Constant value to be ored with each vector element |
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 |
nppsOrC_16u_I(UInt16, CUdeviceptr, Int32)
16-bit unsigned short in place signal or with constant.
Declaration
public static NppStatus nppsOrC_16u_I(ushort nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | nValue | Constant value to be ored with each vector element |
CUdeviceptr | pSrcDst | In-Place 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 |
nppsOrC_32u(CUdeviceptr, UInt32, CUdeviceptr, Int32)
32-bit unsigned integer signal or with constant.
Declaration
public static NppStatus nppsOrC_32u(CUdeviceptr pSrc, uint nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.UInt32 | nValue | Constant value to be ored with each vector element |
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 |
nppsOrC_32u_I(UInt32, CUdeviceptr, Int32)
32-bit unsigned signed integer in place signal or with constant.
Declaration
public static NppStatus nppsOrC_32u_I(uint nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nValue | Constant value to be ored with each vector element |
CUdeviceptr | pSrcDst | In-Place 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 |
nppsOrC_8u(CUdeviceptr, Byte, CUdeviceptr, Int32)
8-bit unsigned char signal or with constant.
Declaration
public static NppStatus nppsOrC_8u(CUdeviceptr pSrc, byte nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Byte | nValue | Constant value to be ored with each vector element |
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 |
nppsOrC_8u_I(Byte, CUdeviceptr, Int32)
8-bit unsigned char in place signal or with constant.
Declaration
public static NppStatus nppsOrC_8u_I(byte nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | nValue | Constant value to be ored with each vector element |
CUdeviceptr | pSrcDst | In-Place 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 |