Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// Image pixel minimum. No additional buffer is allocated.
/// </summary>
/// <param name="max">Allocated device memory with size of at least 4 * sizeof(short)</param>
/// <param name="indexX">Allocated device memory with size of at least 4 * sizeof(int)</param>
/// <param name="indexY">Allocated device memory with size of at least 4 * sizeof(int)</param>
/// <param name="buffer">Allocated device memory with size of at <see cref="MaxIndexGetBufferHostSize()"/></param>
Image pixel minimum. No additional buffer is allocated.
Image pixel minimum . No additional buffer is allocated .
public void MaxIndex(CudaDeviceVariable<short> max, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY, CudaDeviceVariable<byte> buffer)
		{
			int bufferSize = MaxIndexGetBufferHostSize();
			if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
			status = NPPNativeMethods.NPPi.MaxIdx.nppiMaxIndx_16s_C4R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, max.DevicePointer, indexX.DevicePointer, indexY.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMaxIndx_16s_C4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void MaxIndex ( CudaDeviceVariable < short > max , CudaDeviceVariable < int > indexX , CudaDeviceVariable < int > indexY , CudaDeviceVariable < byte > buffer ) { int bufferSize = MaxIndexGetBufferHostSize ( ) ; if ( bufferSize > buffer . Size ) throw new NPPException ( " " ) ; status = NPPNativeMethods . NPPi . MaxIdx . nppiMaxIndx_16s_C4R ( _devPtrRoi , _pitch , _sizeRoi , buffer . DevicePointer , max . DevicePointer , indexX . DevicePointer , indexY . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image pixel minimum.
Image pixel minimum .
max
CudaDeviceVariable<short>
Allocated device memory with size of at least 4 * sizeof(short)
Allocated device memory with size of at least 4 * sizeof ( short )
indexX
CudaDeviceVariable<int>
Allocated device memory with size of at least 4 * sizeof(int)
Allocated device memory with size of at least 4 * sizeof ( int )
indexY
CudaDeviceVariable<int>
Allocated device memory with size of at least 4 * sizeof(int)
Allocated device memory with size of at least 4 * sizeof ( int )
buffer
CudaDeviceVariable<byte>
Allocated device memory with size of at
Allocated device memory with size of at