Class NPPNativeMethods.NPPs.NormalizeSignal
Normalize each sample of a real or complex signal using offset and division operations.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class NormalizeSignal
Methods
nppsNormalize_16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int16, Int32, Int32)
16-bit signed short signal normalize, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsNormalize_16s_Sfs(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short vSub, int vDiv, int nScaleFactor)
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.. |
System.Int16 | vSub | value subtracted from each signal element before division |
System.Int32 | vDiv | divisor of post-subtracted signal element dividend |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNormalize_16sc_Sfs(CUdeviceptr, CUdeviceptr, Int32, Npp16sc, Int32, Int32)
16-bit complex signed short signal normalize, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsNormalize_16sc_Sfs(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, Npp16sc vSub, int vDiv, int nScaleFactor)
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.. |
Npp16sc | vSub | value subtracted from each signal element before division |
System.Int32 | vDiv | divisor of post-subtracted signal element dividend |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNormalize_32f(CUdeviceptr, CUdeviceptr, Int32, Single, Single)
32-bit floating point signal normalize.
Declaration
public static NppStatus nppsNormalize_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float vSub, float vDiv)
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.. |
System.Single | vSub | value subtracted from each signal element before division |
System.Single | vDiv | divisor of post-subtracted signal element dividend |
Returns
Type | Description |
---|---|
NppStatus |
nppsNormalize_32fc(CUdeviceptr, CUdeviceptr, Int32, Npp32fc, Single)
32-bit complex floating point signal normalize.
Declaration
public static NppStatus nppsNormalize_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, Npp32fc vSub, float vDiv)
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.. |
Npp32fc | vSub | value subtracted from each signal element before division |
System.Single | vDiv | divisor of post-subtracted signal element dividend |
Returns
Type | Description |
---|---|
NppStatus |
nppsNormalize_64f(CUdeviceptr, CUdeviceptr, Int32, Double, Double)
64-bit floating point signal normalize.
Declaration
public static NppStatus nppsNormalize_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double vSub, double vDiv)
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.. |
System.Double | vSub | value subtracted from each signal element before division |
System.Double | vDiv | divisor of post-subtracted signal element dividend |
Returns
Type | Description |
---|---|
NppStatus |
nppsNormalize_64fc(CUdeviceptr, CUdeviceptr, Int32, Npp64fc, Double)
64-bit complex floating point signal normalize.
Declaration
public static NppStatus nppsNormalize_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, Npp64fc vSub, double vDiv)
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.. |
Npp64fc | vSub | value subtracted from each signal element before division |
System.Double | vDiv | divisor of post-subtracted signal element dividend |
Returns
Type | Description |
---|---|
NppStatus |