Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.DivCRev

    Divides a constant by each sample of a signal.

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

    Methods

    nppsDivCRev_16u(CUdeviceptr, UInt16, CUdeviceptr, Int32)

    16-bit unsigned short signal divided by constant, then clamp to saturated value.

    Declaration
    public static NppStatus nppsDivCRev_16u(CUdeviceptr pSrc, ushort nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    System.UInt16 nValue

    Constant value to be divided by each vector element

    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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDivCRev_16u_I(UInt16, CUdeviceptr, Int32)

    16-bit unsigned short in place constant divided by signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsDivCRev_16u_I(ushort nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.UInt16 nValue

    Constant value to be divided by each vector element

    CUdeviceptr pSrcDst

    In-Place 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDivCRev_32f(CUdeviceptr, Single, CUdeviceptr, Int32)

    32-bit floating point constant divided by signal.

    Declaration
    public static NppStatus nppsDivCRev_32f(CUdeviceptr pSrc, float nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    System.Single nValue

    Constant value to be divided by each vector element

    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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsDivCRev_32f_I(Single, CUdeviceptr, Int32)

    32-bit floating point in place constant divided by signal.

    Declaration
    public static NppStatus nppsDivCRev_32f_I(float nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Single nValue

    Constant value to be divided by each vector element

    CUdeviceptr pSrcDst

    In-Place 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

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