Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.DivRound

    Pixel by pixel division of two images using result rounding modes.

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

    Methods

    nppiDiv_Round_16s_AC4IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit signed short channel in place image division with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_AC4IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_AC4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit signed short channel image division with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_AC4RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_C1IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    One 16-bit signed short channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_C1IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    One 16-bit signed short channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_C1RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_C3IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Three 16-bit signed short channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_C3IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_C3RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Three 16-bit signed short channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_C3RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_C4IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit signed short channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_C4IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16s_C4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit signed short channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16s_C4RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_AC4IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit unsigned short channel in place image division with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_AC4IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_AC4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit unsigned short channel image division with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_AC4RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_C1IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    One 16-bit unsigned short channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_C1IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    One 16-bit unsigned short channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_C1RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_C3IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Three 16-bit unsigned short channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_C3IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_C3RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Three 16-bit unsigned short channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_C3RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_C4IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit unsigned short channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_C4IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_16u_C4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 16-bit unsigned short channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_16u_C4RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_AC4IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 8-bit unsigned char channel in place image division with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_AC4IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_AC4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 8-bit unsigned char channel image division with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_AC4RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_C1IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    One 8-bit unsigned char channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_C1IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    One 8-bit unsigned char channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_C1RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_C3IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Three 8-bit unsigned char channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_C3IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_C3RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Three 8-bit unsigned char channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_C3RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_C4IRSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 8-bit unsigned char channel in place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_C4IRSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiDiv_Round_8u_C4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)

    Four 8-bit unsigned char channel image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiDiv_Round_8u_C4RSfs(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode rndMode, int nScaleFactor)
    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).

    NppRoundMode rndMode

    Result Rounding mode to be used (NPP_RND_ZERO, NPP_RND_NEAR, or NP_RND_FINANCIAL)

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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