Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 8-bit unsigned char signal squared, scale, then clamp to saturated value.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
8-bit unsigned char signal squared, scale, then clamp to saturated value.
8 - bit unsigned char signal squared scale then clamp to saturated value .
public static void Sqr(this CudaDeviceVariable<byte> pSrcDst, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.SquareSignal.nppsSqr_8u_ISfs(pSrcDst.DevicePointer, pSrcDst.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSqr_8u_ISfs", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void Sqr ( this CudaDeviceVariable < byte > pSrcDst , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . SquareSignal . nppsSqr_8u_ISfs ( pSrcDst . DevicePointer , pSrcDst . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
8-bit unsigned char signal squared, scale, then clamp to saturated value.
8 - bit unsigned char signal squared scale then clamp to saturated value .
CudaDeviceVariable<byte>
this
<not_specific>
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrcDst
<not_specific>
In-Place Signal Pointer.
In - Place Signal Pointer .