Class NPPNativeMethods.NPPi.SamplePatternConversion
Sample Pattern Conversion.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class SamplePatternConversion
Methods
nppiYCbCr420ToYCbCr411_8u_P3P2R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr:420 to YCbCr:411 resampling.
Declaration
public static NppStatus nppiYCbCr420ToYCbCr411_8u_P3P2R(CUdeviceptr[] pSrc, int[] aSrcStep, CUdeviceptr pDstY, int nDstYStep, CUdeviceptr pDstCbCr, int nDstCbCrStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | Array of pointers to the source image planes. |
System.Int32[] | aSrcStep | Array with distances in bytes between starts of consecutive |
CUdeviceptr | pDstY | Destination-Image Pointer. Y-channel. |
System.Int32 | nDstYStep | Destination-Image Line Step. Y-channel. |
CUdeviceptr | pDstCbCr | Destination-Image Pointer. CbCr image. |
System.Int32 | nDstCbCrStep | Destination-Image Line Step. CbCr image. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYCbCr420ToYCbCr422_8u_P3R(CUdeviceptr[], Int32[], CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned planar YCbCr:420 to YCbCr:422 resampling.
Declaration
public static NppStatus nppiYCbCr420ToYCbCr422_8u_P3R(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 |
nppiYCbCr422ToYCbCr411_8u_P3R(CUdeviceptr[], Int32[], CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned planar YCbCr:422 to YCbCr:411 resampling.
Declaration
public static NppStatus nppiYCbCr422ToYCbCr411_8u_P3R(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 |
nppiYCbCr422ToYCbCr420_8u_P3R(CUdeviceptr[], Int32[], CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned planar YCbCr:422 to YCbCr:420 resampling.
Declaration
public static NppStatus nppiYCbCr422ToYCbCr420_8u_P3R(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 |