Library/ManagedCuda/NPP/NPPImage_8uC3.cs
/// <summary>
/// 3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR_709CSC color conversion with constant alpha.
/// </summary>
/// <param name="src0">Source image channel 0</param>
/// <param name="src1">Source image channel 1</param>
/// <param name="src2">Source image channel 2</param>
/// <param name="dest">Destination image</param>
/// <param name="nAval">8-bit unsigned alpha constant.</param>         
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR_709CSC color conversion with constant alpha.
3 channel 8 - bit unsigned planar YCbCr to 4 channel 8 - bit unsigned packed BGR_709CSC color conversion with constant alpha .
public static void YCbCrToBGR_709CSC(NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval)
		{
			CUdeviceptr[] arraySrc = new CUdeviceptr[] { src0.DevicePointerRoi, src1.DevicePointerRoi, src2.DevicePointerRoi };
			NppStatus status = NPPNativeMethods.NPPi.YCbCrToBGR.nppiYCbCrToBGR_709CSC_8u_P3C4R(arraySrc, src0.Pitch, dest.DevicePointerRoi, dest.Pitch, src0.SizeRoi, nAval);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiYCbCrToBGR_709CSC_8u_P3C4R", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void YCbCrToBGR_709CSC ( NPPImage_8uC1 src0 , NPPImage_8uC1 src1 , NPPImage_8uC1 src2 , NPPImage_8uC4 dest , byte nAval ) { CUdeviceptr [ ] arraySrc = new CUdeviceptr [ ] { src0 . DevicePointerRoi , src1 . DevicePointerRoi , src2 . DevicePointerRoi } ; NppStatus status = NPPNativeMethods . NPPi . YCbCrToBGR . nppiYCbCrToBGR_709CSC_8u_P3C4R ( arraySrc , src0 . Pitch , dest . DevicePointerRoi , dest . Pitch , src0 . SizeRoi , nAval ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR_709CSC color conversion with constant alpha.
3 channel 8 - bit unsigned planar YCbCr to 4 channel 8 - bit unsigned packed BGR_709CSC color conversion with constant alpha .
src0
NPPImage_8uC1
Source image channel 0
Source image channel 0
src1
NPPImage_8uC1
Source image channel 1
Source image channel 1
src2
NPPImage_8uC1
Source image channel 2
Source image channel 2
dest
NPPImage_8uC4
None
nAval
byte
8-bit unsigned alpha constant.
8 - bit unsigned alpha constant .