Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit signed short complex number signal NPP_CMP_LESS 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="nValue">Constant value to replace source value when threshold test is true.</param>
16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.
16 - bit signed short complex number signal NPP_CMP_LESS threshold with constant level .
public static void Threshold_LTVal(this CudaDeviceVariable<Npp16sc> pSrc, CudaDeviceVariable<Npp16sc> pDst, short nLevel, Npp16sc nValue)
		{
			NppStatus status = NPPNativeMethods.NPPs.Threshold.nppsThreshold_LTVal_16sc(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size, nLevel, nValue);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsThreshold_LTVal_16sc", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Threshold_LTVal ( this CudaDeviceVariable < Npp16sc > pSrc , CudaDeviceVariable < Npp16sc > pDst , short nLevel , Npp16sc nValue ) { NppStatus status = NPPNativeMethods . NPPs . Threshold . nppsThreshold_LTVal_16sc ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size , nLevel , nValue ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.
16 - bit signed short complex number signal NPP_CMP_LESS threshold with constant level .
CudaDeviceVariable<Npp16sc>
this
<not_specific>
pDst
CudaDeviceVariable<Npp16sc>
Destination signal pointer.
Destination signal pointer .
nLevel
short
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
nValue
Npp16sc
Constant value to replace source value when threshold test is true.
Constant value to replace source value when threshold test is true .
pSrc
<not_specific>
Source signal pointer.
Source signal pointer .