Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.MulScale

    Pixel by pixel multiplies each pixel of two images then scales the result by the maximum value for the data bit width.

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

    Methods

    nppiMulScale_16u_AC4IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 16-bit unsigned short channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_AC4IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 16-bit unsigned short channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_16u_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_C1IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_16u_C3IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_C3IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Three 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_16u_C4IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_C4IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_16u_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_8u_AC4IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 8-bit unsigned char channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_AC4IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 8-bit unsigned char channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_8u_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_C1IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_8u_C3IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_C3IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Three 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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

    nppiMulScale_8u_C4IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_C4IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    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

    nppiMulScale_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.

    Declaration
    public static NppStatus nppiMulScale_8u_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source-Image Pointer.

    System.Int32 nSrc1Step

    Source-Image Line Step.

    CUdeviceptr pSrc2

    Source-Image Pointer.

    System.Int32 nSrc2Step

    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