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

RGBToYCrCb422() public static method

3 channel 8-bit unsigned planar RGB to 2 channel 8-bit unsigned packed YCrCb422 color conversion.
public static RGBToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 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_8uC2 Destination image
return void
        public static void RGBToYCrCb422(NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest)
        {
            CUdeviceptr[] arraySrc = new CUdeviceptr[] { src0.DevicePointerRoi, src1.DevicePointerRoi, src2.DevicePointerRoi };
            NppStatus status = NPPNativeMethods.NPPi.RGBToYCrCb.nppiRGBToYCrCb422_8u_P3C2R(arraySrc, src0.Pitch, dest.DevicePointerRoi, dest.Pitch, src0.SizeRoi);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiRGBToYCrCb422_8u_P3C2R", status));
            NPPException.CheckNppStatus(status, null);
        }

Same methods

NPPImage_8uC3::RGBToYCrCb422 ( NPPImage_8uC2 dest ) : void
NPPImage_8uC3