Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.DivRoundSignal

    Sample by sample division of the samples of two signals with rounding.

    Inheritance
    System.Object
    NPPNativeMethods.NPPs.DivRoundSignal
    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 DivRoundSignal

    Methods

    nppsDiv_Round_16s_ISfs(CUdeviceptr, CUdeviceptr, Int32, NppRoundMode, Int32)

    16-bit signed short in place signal divide signal, with scaling, rounding then clamp to saturated value.

    Declaration
    public static NppStatus nppsDiv_Round_16s_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, NppRoundMode nRndMode, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    NppRoundMode nRndMode

    various rounding modes.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDiv_Round_16s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, NppRoundMode, Int32)

    16-bit signed short signal divide signal, scale, round, then clamp to saturated value.

    Declaration
    public static NppStatus nppsDiv_Round_16s_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, NppRoundMode nRndMode, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal1 divisor elements to be divided into signal2 dividend elements.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    NppRoundMode nRndMode

    various rounding modes.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDiv_Round_16u_ISfs(CUdeviceptr, CUdeviceptr, Int32, NppRoundMode, Int32)

    16-bit unsigned short in place signal divide signal, with scaling, rounding then clamp to saturated value.

    Declaration
    public static NppStatus nppsDiv_Round_16u_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, NppRoundMode nRndMode, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    NppRoundMode nRndMode

    various rounding modes.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDiv_Round_16u_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, NppRoundMode, Int32)

    16-bit unsigned short signal divide signal, scale, round, then clamp to saturated value.

    Declaration
    public static NppStatus nppsDiv_Round_16u_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, NppRoundMode nRndMode, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal1 divisor elements to be divided into signal2 dividend elements.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    NppRoundMode nRndMode

    various rounding modes.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDiv_Round_8u_ISfs(CUdeviceptr, CUdeviceptr, Int32, NppRoundMode, Int32)

    8-bit unsigned char in place signal divide signal, with scaling, rounding then clamp to saturated value.

    Declaration
    public static NppStatus nppsDiv_Round_8u_ISfs(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength, NppRoundMode nRndMode, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    NppRoundMode nRndMode

    various rounding modes.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDiv_Round_8u_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, NppRoundMode, Int32)

    8-bit unsigned char signal divide signal, scale, then clamp to saturated value.

    Declaration
    public static NppStatus nppsDiv_Round_8u_Sfs(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength, NppRoundMode nRndMode, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal1 divisor elements to be divided into signal2 dividend elements.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    NppRoundMode nRndMode

    various rounding modes.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

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