Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.RGBToYCbCr

    RGB to YCbCr color conversion.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.RGBToYCbCr
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.NPP
    Assembly: NPP.dll
    Syntax
    public static class RGBToYCbCr

    Methods

    nppiRGBToYCbCr_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)

    4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCbCr color conversion.

    Declaration
    public static NppStatus nppiRGBToYCbCr_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

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiRGBToYCbCr_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    4 channel 8-bit unsigned RGB to YCbCr color conversion, ignoring Alpha.

    Alpha channel is the last channel and is not processed.

    Declaration
    public static NppStatus nppiRGBToYCbCr_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

    nppiRGBToYCbCr_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize)

    3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit packed YCbCr color conversion. images.

    Declaration
    public static NppStatus nppiRGBToYCbCr_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

    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

    nppiRGBToYCbCr_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    3 channel 8-bit unsigned packed RGB to packed YCbCr color conversion.

    Declaration
    public static NppStatus nppiRGBToYCbCr_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

    nppiRGBToYCbCr_8u_P3R(CUdeviceptr[], Int32, CUdeviceptr[], Int32, NppiSize)

    3 channel planar 8-bit unsigned RGB to YCbCr color conversion.

    Declaration
    public static NppStatus nppiRGBToYCbCr_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

    nppiRGBToYCbCr411_8u_AC4P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)

    4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCbCr411 color conversion. images.

    Declaration
    public static NppStatus nppiRGBToYCbCr411_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

    nppiRGBToYCbCr411_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)

    3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr411 color conversion. images.

    Declaration
    public static NppStatus nppiRGBToYCbCr411_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

    nppiRGBToYCbCr420_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)

    3 channel 8-bit unsigned packed RGB to planar YCbCr420 color conversion.

    Declaration
    public static NppStatus nppiRGBToYCbCr420_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

    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

    nppiRGBToYCbCr422_8u_C3C2R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    3 channel 8-bit unsigned RGB to 2 channel chroma packed YCbCr422 color conversion. images.

    Declaration
    public static NppStatus nppiRGBToYCbCr422_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

    nppiRGBToYCbCr422_8u_C3P3R(CUdeviceptr, Int32, CUdeviceptr[], Int32[], NppiSize)

    3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr422 color conversion. images.

    Declaration
    public static NppStatus nppiRGBToYCbCr422_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

    nppiRGBToYCbCr422_8u_P3C2R(CUdeviceptr[], Int32, CUdeviceptr, Int32, NppiSize)

    3 channel 8-bit unsigned planar RGB to 2 channel 8-bit unsigned packed YCbCr422 color conversion. images.

    Declaration
    public static NppStatus nppiRGBToYCbCr422_8u_P3C2R(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

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX