Class NPPNativeMethods.NPPi.NV21ToRGB
NV21 to RGB color conversion
Inheritance
System.Object
NPPNativeMethods.NPPi.NV21ToRGB
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 NV21ToRGB
Methods
nppiNV21ToRGB_8u_P2C4R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize)
2 channel 8-bit unsigned planar NV21 to 4 channel 8-bit unsigned packed ARGB color conversion with constant alpha (0xFF).
Declaration
public static NppStatus nppiNV21ToRGB_8u_P2C4R(CUdeviceptr[] pSrc, int rSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (one for Y plane, one for VU plane). |
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 |