Class NPPNativeMethods.NPPs.LShiftC
Left shifts the bits of each sample of a signal by a constant amount.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class LShiftC
Methods
nppsLShiftC_16s(CUdeviceptr, Int32, CUdeviceptr, Int32)
16-bit signed short signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_16s(CUdeviceptr pSrc, int nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_16s_I(Int32, CUdeviceptr, Int32)
16-bit signed short in place signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_16s_I(int nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_16u(CUdeviceptr, Int32, CUdeviceptr, Int32)
16-bit unsigned short signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_16u(CUdeviceptr pSrc, int nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_16u_I(Int32, CUdeviceptr, Int32)
16-bit unsigned short in place signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_16u_I(int nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_32s(CUdeviceptr, Int32, CUdeviceptr, Int32)
32-bit signed integer signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_32s(CUdeviceptr pSrc, int nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_32s_I(Int32, CUdeviceptr, Int32)
32-bit signed signed integer in place signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_32s_I(int nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_32u(CUdeviceptr, Int32, CUdeviceptr, Int32)
32-bit unsigned integer signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_32u(CUdeviceptr pSrc, int nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_32u_I(Int32, CUdeviceptr, Int32)
32-bit unsigned signed integer in place signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_32u_I(int nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_8u(CUdeviceptr, Int32, CUdeviceptr, Int32)
8-bit unsigned char signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_8u(CUdeviceptr pSrc, int nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nValue | Constant value to be used to left shift 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 |
nppsLShiftC_8u_I(Int32, CUdeviceptr, Int32)
8-bit unsigned char in place signal left shift with constant.
Declaration
public static NppStatus nppsLShiftC_8u_I(int nValue, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nValue | Constant value to be used to left shift 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 |