Library/ManagedCuda/NPP/NPPImage_8uC2.cs
/// <summary>
/// 2 channel 8-bit unsigned planar YCbCr420 to 2 channel 8-bit unsigned packed CbYCr422 sampling format conversion.
/// </summary>
/// <param name="srcY">Source image channel Y</param>
/// <param name="srcCbCr">Source image channel CbCr</param>
/// <param name="dest">Destination image</param>
2 channel 8-bit unsigned planar YCbCr420 to 2 channel 8-bit unsigned packed CbYCr422 sampling format conversion.
2 channel 8 - bit unsigned planar YCbCr420 to 2 channel 8 - bit unsigned packed CbYCr422 sampling format conversion .
public static void YCbCr420ToCbYCr422(NPPImage_8uC1 srcY, NPPImage_8uC1 srcCbCr, NPPImage_8uC2 dest)
		{
			NppStatus status = NPPNativeMethods.NPPi.YCbCrAndACrCbAndOther.nppiYCbCr420ToCbYCr422_8u_P2C2R(srcY.DevicePointerRoi, srcY.Pitch, srcCbCr.DevicePointerRoi, srcCbCr.Pitch, dest.DevicePointerRoi, dest.Pitch, srcY.SizeRoi);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiYCbCr420ToCbYCr422_8u_P2C2R", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void YCbCr420ToCbYCr422 ( NPPImage_8uC1 srcY , NPPImage_8uC1 srcCbCr , NPPImage_8uC2 dest ) { NppStatus status = NPPNativeMethods . NPPi . YCbCrAndACrCbAndOther . nppiYCbCr420ToCbYCr422_8u_P2C2R ( srcY . DevicePointerRoi , srcY . Pitch , srcCbCr . DevicePointerRoi , srcCbCr . Pitch , dest . DevicePointerRoi , dest . Pitch , srcY . SizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
2 channel 8-bit unsigned planar YCbCr420 to 2 channel 8-bit unsigned packed CbYCr422 sampling format conversion.
2 channel 8 - bit unsigned planar YCbCr420 to 2 channel 8 - bit unsigned packed CbYCr422 sampling format conversion .
srcY
NPPImage_8uC1
Source image channel Y
Source image channel Y
srcCbCr
NPPImage_8uC1
Source image channel CbCr
Source image channel CbCr
dest
NPPImage_8uC2
None