ManagedCuda.NPP.NPPImage_8uC3.YUVToRGB C# (CSharp) Method

YUVToRGB() public static method

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar RGB color conversion.
public static YUVToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
return void
        public static void YUVToRGB(NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2)
        {
            CUdeviceptr[] arraySrc = new CUdeviceptr[] { src0.DevicePointerRoi, src1.DevicePointerRoi, src2.DevicePointerRoi };
            CUdeviceptr[] arrayDest = new CUdeviceptr[] { dest0.DevicePointerRoi, dest1.DevicePointerRoi, dest2.DevicePointerRoi };
            NppStatus status = NPPNativeMethods.NPPi.YUVToRGB.nppiYUVToRGB_8u_P3R(arraySrc, src0.Pitch, arrayDest, dest0.Pitch, src0.SizeRoi);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiYUVToRGB_8u_P3R", status));
            NPPException.CheckNppStatus(status, null);
        }

Same methods

NPPImage_8uC3::YUVToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
NPPImage_8uC3::YUVToRGB ( NPPImage_8uC3 dest ) : void
NPPImage_8uC3