Class NPPNativeMethods.NPPi.YCbCrToRGB
YCbCr to RGB color conversion.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class YCbCrToRGB
Methods
nppiYCbCr411ToRGB_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned packed RGB color conversion.
Declaration
public static NppStatus nppiYCbCr411ToRGB_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 |
nppiYCbCr411ToRGB_8u_P3C4R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr411 to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCr411ToRGB_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 |
nppiYCbCr420ToRGB_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr420 to packed RGB color conversion.
Declaration
public static NppStatus nppiYCbCr420ToRGB_8u_P3C3R(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 |
nppiYCbCr422ToRGB_8u_C2C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
2 channel 8-bit unsigned YCbCr422 to 3 channel packed RGB color conversion. images.
Declaration
public static NppStatus nppiYCbCr422ToRGB_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 |
nppiYCbCr422ToRGB_8u_C2P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)
2 channel 8-bit unsigned packed YCbCr422 to 3 channel 8-bit unsigned planar RGB color conversion. images.
Declaration
public static NppStatus nppiYCbCr422ToRGB_8u_C2P3R(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 | \ref destination_planar_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 |
nppiYCbCr422ToRGB_8u_P3C3R(CUdeviceptr[], Int32[], CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr422 to 3 channel 8-bit unsigned packed RGB color conversion. images.
Declaration
public static NppStatus nppiYCbCr422ToRGB_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 |
nppiYCbCrToRGB_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned packed YCbCr to RGB color conversion, not affecting Alpha. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiYCbCrToRGB_8u_AC4R(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 |
nppiYCbCrToRGB_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed YCbCr to RGB color conversion.
Declaration
public static NppStatus nppiYCbCrToRGB_8u_C3R(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 |
nppiYCbCrToRGB_8u_P3C3R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB color conversion.
Declaration
public static NppStatus nppiYCbCrToRGB_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 |
nppiYCbCrToRGB_8u_P3C4R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize, Byte)
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.
Declaration
public static NppStatus nppiYCbCrToRGB_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 |
nppiYCbCrToRGB_8u_P3R(CUdeviceptr[], Int32, CUdeviceptr[], Int32, NppiSize)
3 channel 8-bit unsigned planar YCbCr to RGB color conversion.
Declaration
public static NppStatus nppiYCbCrToRGB_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 |
nppiYCrCb422ToRGB_8u_C2C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
2 channel 8-bit unsigned packed YCrCb422 to 3 channel 8-bit unsigned packed RGB color conversion. images.
Declaration
public static NppStatus nppiYCrCb422ToRGB_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 |
nppiYCrCb422ToRGB_8u_C2P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)
2 channel 8-bit unsigned packed YCrCb422 to 3 channel 8-bit unsigned planar RGB color conversion. images.
Declaration
public static NppStatus nppiYCrCb422ToRGB_8u_C2P3R(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 | \ref destination_planar_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 |