Class NPPNativeMethods.NPPi.RGBToYUV422
RGB To YUV422 Conversion
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class RGBToYUV422
Methods
nppiRGBToYUV422_8u_C3C2R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion.
Declaration
public static NppStatus nppiRGBToYUV422_8u_C3C2R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
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 |
nppiRGBToYUV422_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.
Declaration
public static NppStatus nppiRGBToYUV422_8u_C3P3R(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 |
nppiRGBToYUV422_8u_P3R(CUdeviceptr[], Int32, CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion. images.
Declaration
public static NppStatus nppiRGBToYUV422_8u_P3R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr[] pDst, int[] rDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 |