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

YCbCrToBGR() public static method

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR color conversion.
public static YCbCrToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
return void
        public static void YCbCrToBGR(NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest)
        {
            CUdeviceptr[] arraySrc = new CUdeviceptr[] { src0.DevicePointerRoi, src1.DevicePointerRoi, src2.DevicePointerRoi };
            NppStatus status = NPPNativeMethods.NPPi.YCbCrToBGR.nppiYCbCrToBGR_8u_P3C3R(arraySrc, src0.Pitch, dest.DevicePointerRoi, dest.Pitch, src0.SizeRoi);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiYCbCrToBGR_8u_P3C3R", status));
            NPPException.CheckNppStatus(status, null);
        }

Same methods

NPPImage_8uC3::YCbCrToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
NPPImage_8uC3