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

BGRToYCrCb420_709CSC() public method

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCrCb420_709CSC color conversion.
public BGRToYCrCb420_709CSC ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
return void
        public void BGRToYCrCb420_709CSC(NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2)
        {
            CUdeviceptr[] arrayDest = new CUdeviceptr[] { dest0.DevicePointerRoi, dest1.DevicePointerRoi, dest2.DevicePointerRoi };
            int[] arrayPitch = new int[] { dest0.Pitch, dest1.Pitch, dest2.Pitch };
            NppStatus status = NPPNativeMethods.NPPi.BGRToYCrCb.nppiBGRToYCrCb420_709CSC_8u_C3P3R(_devPtrRoi, _pitch, arrayDest, arrayPitch, _sizeRoi);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiBGRToYCrCb420_709CSC_8u_C3P3R", status));
            NPPException.CheckNppStatus(status, null);
        }
NPPImage_8uC3