Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.AlphaCompConst

    Composite two images using constant alpha values.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.AlphaCompConst
    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 AlphaCompConst

    Methods

    nppiAlphaCompC_16s_C1R(CUdeviceptr, Int32, Int16, CUdeviceptr, Int32, Int16, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 16-bit signed short channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_16s_C1R(CUdeviceptr pSrc1, int nSrc1Step, short nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, short nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Int16 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Int16 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_16u_AC4R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    Four 16-bit unsigned short channel image composition with alpha using constant source alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_16u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, ushort nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.UInt16 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.UInt16 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_16u_C1R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 16-bit unsigned short channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_16u_C1R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, ushort nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.UInt16 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.UInt16 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_16u_C3R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    Three 16-bit unsigned short channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_16u_C3R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, ushort nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.UInt16 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.UInt16 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_16u_C4R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    Four 16-bit unsigned short channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_16u_C4R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, ushort nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.UInt16 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.UInt16 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_32f_C1R(CUdeviceptr, Int32, Single, CUdeviceptr, Int32, Single, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 32-bit floating point channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_32f_C1R(CUdeviceptr pSrc1, int nSrc1Step, float nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, float nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Single nAlpha1

    Image alpha opacity (0.0 - 1.0).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Single nAlpha2

    Image alpha opacity (0.0 - 1.0).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_32s_C1R(CUdeviceptr, Int32, Int32, CUdeviceptr, Int32, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 32-bit signed integer channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_32s_C1R(CUdeviceptr pSrc1, int nSrc1Step, int nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, int nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Int32 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Int32 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_32u_C1R(CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 32-bit unsigned integer channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_32u_C1R(CUdeviceptr pSrc1, int nSrc1Step, uint nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, uint nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.UInt32 nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.UInt32 nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_8s_C1R(CUdeviceptr, Int32, SByte, CUdeviceptr, Int32, SByte, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 8-bit signed char channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_8s_C1R(CUdeviceptr pSrc1, int nSrc1Step, sbyte nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, sbyte nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.SByte nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.SByte nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_8u_AC4R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    Four 8-bit unsigned char channel image composition with alpha using constant source alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_8u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, byte nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Byte nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Byte nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_8u_C1R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    One 8-bit unsigned char channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, byte nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Byte nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Byte nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_8u_C3R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    Three 8-bit unsigned char channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_8u_C3R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, byte nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Byte nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Byte nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaCompC_8u_C4R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)

    Four 8-bit unsigned char channel image composition using constant alpha.

    Declaration
    public static NppStatus nppiAlphaCompC_8u_C4R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pSrc2, int nSrc2Step, byte nAlpha2, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    System.Byte nAlpha1

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    Source-Image Line Step.

    System.Byte nAlpha2

    Image alpha opacity (0 - max channel pixel value).

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiAlphaOp nppAlphaOp

    Alpha compositing operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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