Class NPPNativeMethods.NPPs.Copy
Copy methods for various type signals. Copy methods operate on signal data given as a pointer to the underlying data-type (e.g. 8-bit vectors would be passed as pointers to Npp8u type) and length of the vectors, i.e. the number of items.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Copy
Methods
nppsCopy_16s(CUdeviceptr, CUdeviceptr, Int32)
16-bit signed short, vector copy method.
Declaration
public static NppStatus nppsCopy_16s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_16sc(CUdeviceptr, CUdeviceptr, Int32)
16-bit complex short, vector copy method.
Declaration
public static NppStatus nppsCopy_16sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_32f(CUdeviceptr, CUdeviceptr, Int32)
32-bit float, vector copy method.
Declaration
public static NppStatus nppsCopy_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_32fc(CUdeviceptr, CUdeviceptr, Int32)
32-bit complex float, vector copy method.
Declaration
public static NppStatus nppsCopy_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_32s(CUdeviceptr, CUdeviceptr, Int32)
32-bit signed integer, vector copy method.
Declaration
public static NppStatus nppsCopy_32s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_32sc(CUdeviceptr, CUdeviceptr, Int32)
32-bit complex signed integer, vector copy method.
Declaration
public static NppStatus nppsCopy_32sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_64fc(CUdeviceptr, CUdeviceptr, Int32)
64-bit complex double, vector copy method.
Declaration
public static NppStatus nppsCopy_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_64s(CUdeviceptr, CUdeviceptr, Int32)
64-bit signed integer, vector copy method.
Declaration
public static NppStatus nppsCopy_64s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_64sc(CUdeviceptr, CUdeviceptr, Int32)
64-bit complex signed integer, vector copy method.
Declaration
public static NppStatus nppsCopy_64sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |
nppsCopy_8u(CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned char, vector copy method
Declaration
public static NppStatus nppsCopy_8u(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
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 |