Class NPPNativeMethods.NPPs.AndC
Bitwise AND of a constant and each sample of a signal.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class AndC
Methods
nppsAndC_16u(CUdeviceptr, UInt16, CUdeviceptr, Int32)
16-bit unsigned short signal and with constant.
Declaration
public static NppStatus nppsAndC_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 anded 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 |
nppsAndC_16u_I(UInt16, CUdeviceptr, Int32)
16-bit unsigned short in place signal and with constant.
Declaration
public static NppStatus nppsAndC_16u_I(ushort nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | nValue | Constant value to be anded 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 |
nppsAndC_32u(CUdeviceptr, UInt32, CUdeviceptr, Int32)
32-bit unsigned integer signal and with constant.
Declaration
public static NppStatus nppsAndC_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 anded 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 |
nppsAndC_32u_I(UInt32, CUdeviceptr, Int32)
32-bit unsigned signed integer in place signal and with constant.
Declaration
public static NppStatus nppsAndC_32u_I(uint nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nValue | Constant value to be anded 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 |
nppsAndC_8u(CUdeviceptr, Byte, CUdeviceptr, Int32)
8-bit unsigned char signal and with constant.
Declaration
public static NppStatus nppsAndC_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 anded 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 |
nppsAndC_8u_I(Byte, CUdeviceptr, Int32)
8-bit unsigned char in place signal and with constant.
Declaration
public static NppStatus nppsAndC_8u_I(byte nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | nValue | Constant value to be anded 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 |