Library/ManagedCuda/NPP/NPPImage_8uC3.cs
/// <summary>
/// 3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr color conversion.
/// </summary>
/// <param name="dest0">Destination image channel 0</param>
/// <param name="dest1">Destination image channel 1</param>
/// <param name="dest2">Destination image channel 2</param>
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr color conversion.
3 channel 8 - bit unsigned packed BGR to 3 channel 8 - bit unsigned planar YCbCr color conversion .
public void BGRToYCbCr(NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2)
		{
			CUdeviceptr[] arrayDest = new CUdeviceptr[] { dest0.DevicePointerRoi, dest1.DevicePointerRoi, dest2.DevicePointerRoi };
			NppStatus status = NPPNativeMethods.NPPi.BGRToYCbCr.nppiBGRToYCbCr_8u_C3P3R(_devPtrRoi, _pitch, arrayDest, dest0.Pitch, _sizeRoi);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiBGRToYCbCr_8u_C3P3R", status));
			NPPException.CheckNppStatus(status, null);
		}
public void BGRToYCbCr ( NPPImage_8uC1 dest0 , NPPImage_8uC1 dest1 , NPPImage_8uC1 dest2 ) { CUdeviceptr [ ] arrayDest = new CUdeviceptr [ ] { dest0 . DevicePointerRoi , dest1 . DevicePointerRoi , dest2 . DevicePointerRoi } ; NppStatus status = NPPNativeMethods . NPPi . BGRToYCbCr . nppiBGRToYCbCr_8u_C3P3R ( _devPtrRoi , _pitch , arrayDest , dest0 . Pitch , _sizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr color conversion.
3 channel 8 - bit unsigned packed BGR to 3 channel 8 - bit unsigned planar YCbCr color conversion .
dest0
NPPImage_8uC1
Destination image channel 0
Destination image channel 0
dest1
NPPImage_8uC1
Destination image channel 1
Destination image channel 1
dest2
NPPImage_8uC1
Destination image channel 2
Destination image channel 2