Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit signed short signal add product of source signal1 times source signal2 to 32-bit signed integer destination signal,
/// with scaling, then clamp to saturated value.
/// </summary>
/// <param name="pSrc1">Source signal pointer.</param>
/// <param name="pSrc2">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer. product of source1 and source2 signal elements to be added to destination elements</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
16-bit signed short signal add product of source signal1 times source signal2 to 32-bit signed integer destination signal,
with scaling, then clamp to saturated value.
16 - bit signed short signal add product of source signal1 times source signal2 to 32 - bit signed integer destination signal with scaling then clamp to saturated value .
public static void AddProduct(this CudaDeviceVariable<short> pSrc1, CudaDeviceVariable<short> pSrc2, CudaDeviceVariable<int> pDst, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.AddProductSignal.nppsAddProduct_16s32s_Sfs(pSrc1.DevicePointer, pSrc2.DevicePointer, pDst.DevicePointer, pSrc1.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAddProduct_16s32s_Sfs", status));
			NPPException.CheckNppStatus(status, pSrc1);
		}
public static void AddProduct ( this CudaDeviceVariable < short > pSrc1 , CudaDeviceVariable < short > pSrc2 , CudaDeviceVariable < int > pDst , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . AddProductSignal . nppsAddProduct_16s32s_Sfs ( pSrc1 . DevicePointer , pSrc2 . DevicePointer , pDst . DevicePointer , pSrc1 . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc1 ) ; }
16-bit signed short signal add product of source signal1 times source signal2 to 32-bit signed integer destination signal,
with scaling, then clamp to saturated value.
16 - bit signed short signal add product of source signal1 times source signal2 to 32 - bit signed integer destination signal with scaling then clamp to saturated value .
CudaDeviceVariable<short>
this
<not_specific>
pSrc2
CudaDeviceVariable<short>
Source signal pointer.
Source signal pointer .
pDst
CudaDeviceVariable<int>
Destination signal pointer. product of source1 and source2 signal elements to be added to destination elements
Destination signal pointer . product of source1 and source2 signal elements to be added to destination elements
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrc1
<not_specific>
Source signal pointer.
Source signal pointer .