Class NPPNativeMethods.NPPi.YUV420ToBGR
YUV420 to BGR Conversion
Inheritance
System.Object
NPPNativeMethods.NPPi.YUV420ToBGR
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 YUV420ToBGR
Methods
nppiYUV420ToBGR_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed BGR color conversion.
Declaration
public static NppStatus nppiYUV420ToBGR_8u_P3C3R(CUdeviceptr[] pSrc, int[] rSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
System.Int32[] | rSrcStep | \ref source_planar_image_line_step_array. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYUV420ToBGR_8u_P3C4R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha (0xFF).
Declaration
public static NppStatus nppiYUV420ToBGR_8u_P3C4R(CUdeviceptr[] pSrc, int[] rSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
System.Int32[] | rSrcStep | \ref source_planar_image_line_step_array. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |