Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit floating point complex number signal threshold with constant level.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer.</param>
/// <param name="nLevel">Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample</param>
/// <param name="nRelOp">NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).</param>
32-bit floating point complex number signal threshold with constant level.
32 - bit floating point complex number signal threshold with constant level .
public static void Threshold(this CudaDeviceVariable<Npp32fc> pSrc, CudaDeviceVariable<Npp32fc> pDst, float nLevel, NppCmpOp nRelOp)
		{
			NppStatus status = NPPNativeMethods.NPPs.Threshold.nppsThreshold_32fc(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size, nLevel, nRelOp);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsThreshold_32fc", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Threshold ( this CudaDeviceVariable < Npp32fc > pSrc , CudaDeviceVariable < Npp32fc > pDst , float nLevel , NppCmpOp nRelOp ) { NppStatus status = NPPNativeMethods . NPPs . Threshold . nppsThreshold_32fc ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size , nLevel , nRelOp ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
32-bit floating point complex number signal threshold with constant level.
32 - bit floating point complex number signal threshold with constant level .
CudaDeviceVariable<Npp32fc>
this
pDst
CudaDeviceVariable<Npp32fc>
Destination signal pointer.
Destination signal pointer .
nLevel
float
Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample
Constant threshold value ( real part only and must be greater than 0 ) to be used to limit each signal sample
nRelOp
NppCmpOp
NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).
NppCmpOp type of thresholding operation ( NPP_CMP_LESS or NPP_CMP_GREATER only ) .
pSrc
Source signal pointer.
Source signal pointer .