Class NPPNativeMethods.NPPi.YCbCrToBGR
YCbCr To BGR Conversion
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class YCbCrToBGR
Methods
nppiYCbCr411ToBGR_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned packed BGR color conversion.
Declaration
public static NppStatus nppiYCbCr411ToBGR_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 |
nppiYCbCr411ToBGR_8u_P3C4R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr411 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCr411ToBGR_8u_P3C4R(CUdeviceptr[] pSrc, int[] rSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nAval)
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). |
System.Byte | nAval | 8-bit unsigned alpha constant. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYCbCr420ToBGR_709CSC_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR_709CSC color conversion.
Declaration
public static NppStatus nppiYCbCr420ToBGR_709CSC_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 |
nppiYCbCr420ToBGR_709HDTV_8u_P3C4R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr420 to 4 channel 8-bit unsigned packed BGR_709HDTV color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCr420ToBGR_709HDTV_8u_P3C4R(CUdeviceptr[] pSrc, int[] rSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nAval)
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). |
System.Byte | nAval | 8-bit unsigned alpha constant. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYCbCr420ToBGR_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR color conversion.
Declaration
public static NppStatus nppiYCbCr420ToBGR_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 |
nppiYCbCr420ToBGR_8u_P3C4R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr420 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCr420ToBGR_8u_P3C4R(CUdeviceptr[] pSrc, int[] rSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nAval)
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). |
System.Byte | nAval | 8-bit unsigned alpha constant. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYCbCr422ToBGR_8u_C2C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
2 channel 8-bit unsigned packed YCrCb422 to 3 channel 8-bit unsigned packed BGR color conversion. images.
Declaration
public static NppStatus nppiYCbCr422ToBGR_8u_C2C3R(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 |
nppiYCbCr422ToBGR_8u_C2C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte)
2 channel 8-bit unsigned packed YCrCb422 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha. images.
Declaration
public static NppStatus nppiYCbCr422ToBGR_8u_C2C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nAval)
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). |
System.Byte | nAval | 8-bit unsigned alpha constant. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYCbCr422ToBGR_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr422 to 3 channel 8-bit unsigned packed BGR color conversion. images.
Declaration
public static NppStatus nppiYCbCr422ToBGR_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 |
nppiYCbCrToBGR_709CSC_8u_P3C3R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR_709CSC color conversion.
Declaration
public static NppStatus nppiYCbCrToBGR_709CSC_8u_P3C3R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 |
nppiYCbCrToBGR_709CSC_8u_P3C4R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR_709CSC color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCrToBGR_709CSC_8u_P3C4R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nAval)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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). |
System.Byte | nAval | 8-bit unsigned alpha constant. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiYCbCrToBGR_8u_P3C3R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR color conversion.
Declaration
public static NppStatus nppiYCbCrToBGR_8u_P3C3R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 |
nppiYCbCrToBGR_8u_P3C4R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCrToBGR_8u_P3C4R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nAval)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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). |
System.Byte | nAval | 8-bit unsigned alpha constant. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |