Class NPPNativeMethods.NPPi.BGRToYCbCr
BGR to YCbCr Conversion
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class BGRToYCbCr
Methods
nppiBGRToYCbCr_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr_8u_AC4P3R(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_array. |
| System.Int32 | nDstStep | \ref destination_planar_image_line_step_array. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiBGRToYCbCr_8u_AC4P4R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned planar YCbCr color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr_8u_AC4P4R(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_array. |
| System.Int32 | nDstStep | \ref destination_planar_image_line_step_array. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiBGRToYCbCr_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr_8u_C3P3R(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_array. |
| System.Int32 | nDstStep | \ref destination_planar_image_line_step_array. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiBGRToYCbCr411_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr411 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr411_8u_AC4P3R(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 |
nppiBGRToYCbCr411_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr411 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr411_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 |
nppiBGRToYCbCr420_709CSC_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr420_709CSC color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr420_709CSC_8u_AC4P3R(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 |
nppiBGRToYCbCr420_709CSC_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420_709CSC color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr420_709CSC_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 |
nppiBGRToYCbCr420_709HDTV_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr420_709HDTV color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr420_709HDTV_8u_AC4P3R(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 |
nppiBGRToYCbCr420_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr420 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr420_8u_AC4P3R(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 |
nppiBGRToYCbCr420_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr420_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 |
nppiBGRToYCbCr422_8u_AC4C2R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed YCrCb422 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr422_8u_AC4C2R(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 |
nppiBGRToYCbCr422_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr422 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr422_8u_AC4P3R(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 |
nppiBGRToYCbCr422_8u_C3C2R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed BGR to 2 channel 8-bit unsigned packed YCrCb422 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr422_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 |
nppiBGRToYCbCr422_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr422 color conversion. images.
Declaration
public static NppStatus nppiBGRToYCbCr422_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 |