Library/ManagedCuda/NPP/NPPImage_16sC1.cs
/// <summary>
/// Device scratch buffer size (in bytes) for FilterMedian.
/// </summary>
/// <returns></returns>
Device scratch buffer size (in bytes) for FilterMedian.
Device scratch buffer size ( in bytes ) for FilterMedian .
public int FilterMedianGetBufferHostSize(NppiSize oMaskSize)
		{
			uint bufferSize = 0;
			status = NPPNativeMethods.NPPi.ImageMedianFilter.nppiFilterMedianGetBufferSize_16s_C1R(_sizeRoi, oMaskSize, ref bufferSize);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterMedianGetBufferSize_16s_C1R", status));
			NPPException.CheckNppStatus(status, this);
			return (int)bufferSize; 
		}
public int FilterMedianGetBufferHostSize ( NppiSize oMaskSize ) { uint bufferSize = 0 ; status = NPPNativeMethods . NPPi . ImageMedianFilter . nppiFilterMedianGetBufferSize_16s_C1R ( _sizeRoi , oMaskSize , ref bufferSize ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return ( int ) bufferSize ; }
Device scratch buffer size (in bytes) for FilterMedian.
Device scratch buffer size ( in bytes ) for FilterMedian .
//We stay consistent with other GetBufferHostSize functions and convert to int.
None
oMaskSize
NppiSize