Class NPPNativeMethods.NPPi.BGRToYUV420
BGR To YUV420 Conversion
Inheritance
System.Object
NPPNativeMethods.NPPi.BGRToYUV420
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class BGRToYUV420
Methods
nppiBGRToYUV420_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
4 channel 8-bit unsigned pacmed BGR with alpha to 3 channel 8-bit unsigned planar YUV420 color conversion. images.
Declaration
public static NppStatus nppiBGRToYUV420_8u_AC4P3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr[] pDst, int[] rDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32[] | rDstStep | \ref destination_planar_image_line_step_array. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |