Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nLevel">Constant threshold value to be used to limit each signal sample</param>
16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.
16 - bit in place signed short signal NPP_CMP_LESS threshold with constant level .
public static void Threshold_LT(this CudaDeviceVariable<short> pSrcDst, short nLevel)
		{
			NppStatus status = NPPNativeMethods.NPPs.Threshold.nppsThreshold_LT_16s_I(pSrcDst.DevicePointer, pSrcDst.Size, nLevel);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsThreshold_LT_16s_I", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void Threshold_LT ( this CudaDeviceVariable < short > pSrcDst , short nLevel ) { NppStatus status = NPPNativeMethods . NPPs . Threshold . nppsThreshold_LT_16s_I ( pSrcDst . DevicePointer , pSrcDst . Size , nLevel ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.
16 - bit in place signed short signal NPP_CMP_LESS threshold with constant level .
CudaDeviceVariable<short>
this
nLevel
short
Constant threshold value to be used to limit each signal sample
Constant threshold value to be used to limit each signal sample
pSrcDst
In-Place Signal Pointer.
In - Place Signal Pointer .