Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.AlphaPremulConst

    Premultiplies pixels of an image using a constant alpha value.

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

    Methods

    nppiAlphaPremulC_16u_AC4IR(UInt16, CUdeviceptr, Int32, NppiSize)

    Four 16-bit unsigned short channel in place image premultiplication with alpha using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_AC4IR(ushort nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.UInt16 nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_16u_AC4R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_16u_C1IR(UInt16, CUdeviceptr, Int32, NppiSize)

    One 16-bit unsigned short channel in place image premultiplication using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_C1IR(ushort nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.UInt16 nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_16u_C1R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_C1R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_16u_C3IR(UInt16, CUdeviceptr, Int32, NppiSize)

    Three 16-bit unsigned short channel in place image premultiplication using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_C3IR(ushort nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.UInt16 nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_16u_C3R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_C3R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_16u_C4IR(UInt16, CUdeviceptr, Int32, NppiSize)

    Four 16-bit unsigned short channel in place image premultiplication using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_C4IR(ushort nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.UInt16 nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_16u_C4R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_16u_C4R(CUdeviceptr pSrc1, int nSrc1Step, ushort nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_8u_AC4IR(Byte, CUdeviceptr, Int32, NppiSize)

    Four 8-bit unsigned char channel in place image premultiplication with alpha using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_AC4IR(byte nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.Byte nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_8u_AC4R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_8u_C1IR(Byte, CUdeviceptr, Int32, NppiSize)

    One 8-bit unsigned char channel in place image premultiplication using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_C1IR(byte nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.Byte nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_8u_C1R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_8u_C3IR(Byte, CUdeviceptr, Int32, NppiSize)

    Three 8-bit unsigned char channel in place image premultiplication using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_C3IR(byte nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.Byte nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_8u_C3R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_C3R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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

    nppiAlphaPremulC_8u_C4IR(Byte, CUdeviceptr, Int32, NppiSize)

    Four 8-bit unsigned char channel in place image premultiplication using constant alpha.

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_C4IR(byte nAlpha1, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    System.Byte nAlpha1

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

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAlphaPremulC_8u_C4R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize)

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

    Declaration
    public static NppStatus nppiAlphaPremulC_8u_C4R(CUdeviceptr pSrc1, int nSrc1Step, byte nAlpha1, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    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 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