Library/ManagedCuda/NPP/NPPImage_8uC2.cs
/// <summary>
/// 2 channel 8-bit unsigned planar NV12 to 3 channel 8-bit unsigned packed BGR 709 HDTV full color conversion.
/// </summary>
/// <param name="src0">Source image (Channel 0)</param>
/// <param name="src1">Source image (Channel 1)</param>
/// <param name="dest">Destination image</param>
2 channel 8-bit unsigned planar NV12 to 3 channel 8-bit unsigned packed BGR 709 HDTV full color conversion.
2 channel 8 - bit unsigned planar NV12 to 3 channel 8 - bit unsigned packed BGR 709 HDTV full color conversion .
public static void NV12ToBGR_709HDTV(NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC3 dest)
        {
            CUdeviceptr[] src = new CUdeviceptr[] { src0.DevicePointer, src1.DevicePointer };
            NppStatus status = NPPNativeMethods.NPPi.NV12ToBGR.nppiNV12ToBGR_709HDTV_8u_P2C3R(src, src0.Pitch, dest.DevicePointerRoi, dest.Pitch, dest.SizeRoi);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNV12ToBGR_709HDTV_8u_P2C3R", status));
            NPPException.CheckNppStatus(status, null);
        }
public static void NV12ToBGR_709HDTV ( NPPImage_8uC1 src0 , NPPImage_8uC1 src1 , NPPImage_8uC3 dest ) { CUdeviceptr [ ] src = new CUdeviceptr [ ] { src0 . DevicePointer , src1 . DevicePointer } ; NppStatus status = NPPNativeMethods . NPPi . NV12ToBGR . nppiNV12ToBGR_709HDTV_8u_P2C3R ( src , src0 . Pitch , dest . DevicePointerRoi , dest . Pitch , dest . SizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
2 channel 8-bit unsigned planar NV12 to 3 channel 8-bit unsigned packed BGR 709 HDTV full color conversion.
2 channel 8 - bit unsigned planar NV12 to 3 channel 8 - bit unsigned packed BGR 709 HDTV full color conversion .
src0
NPPImage_8uC1
Source image (Channel 0)
Source image ( Channel 0 )
src1
NPPImage_8uC1
Source image (Channel 1)
Source image ( Channel 1 )
dest
NPPImage_8uC3
None