Class NPPNativeMethods.NPPs.DivSignal
Sample by sample division of the samples of two signals.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class DivSignal
Methods
nppsDiv_16s_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit signed short in place signal divide signal, with scaling, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_16s_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_16s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit signed short signal divide signal, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_16s_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_16sc_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit complex signed short in place signal divide signal, with scaling, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_16sc_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_16sc_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit signed complex short signal divide signal, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_16sc_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_16u_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit unsigned short in place signal divide signal, with scaling, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_16u_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_16u_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit unsigned short signal divide signal, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_16u_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_32f(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
32-bit floating point signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_32f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_32f_I(CUdeviceptr, CUdeviceptr, Int32)
32-bit floating point in place signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_32f_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_32fc(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
32-bit complex floating point signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_32fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_32fc_I(CUdeviceptr, CUdeviceptr, Int32)
32-bit complex floating point in place signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_32fc_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_32s_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
32-bit signed integer in place signal divide signal, with scaling, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_32s_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_32s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)
32-bit signed integer signal divide signal, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_32s_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_32s16s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)
32-bit signed integer signal divided by 16-bit signed short signal, scale, then clamp to 16-bit signed short saturated value.
Declaration
public static NppStatus nppsDiv_32s16s_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_64f(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
64-bit floating point signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_64f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_64f_I(CUdeviceptr, CUdeviceptr, Int32)
64-bit floating point in place signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_64f_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_64fc(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)
64-bit complex floating point signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_64fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_64fc_I(CUdeviceptr, CUdeviceptr, Int32)
64-bit complex floating point in place signal divide signal, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_64fc_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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 |
nppsDiv_8u_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
8-bit unsigned char in place signal divide signal, with scaling, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_8u_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pSrcDst | In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsDiv_8u_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)
8-bit unsigned char signal divide signal, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsDiv_8u_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source signal pointer, signal1 divisor elements to be divided into signal2 dividend 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.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |