Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.AddSignal

    Sample by sample addition of two signals.

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

    Methods

    nppsAdd_16s(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    16-bit signed short signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_16s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16s_I(CUdeviceptr, CUdeviceptr, Int32)

    16-bit signed short in place signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_16s_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16s_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16s32f(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    16-bit signed short signal add signal with 32-bit floating point result, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_16s32f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16s32s_I(CUdeviceptr, CUdeviceptr, Int32)

    16/32-bit signed short in place signal add signal with 32-bit signed integer results, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_16s32s_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16sc_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16sc_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

    16-bit signed complex short add signal, scale, then clamp to saturated value.

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    16-bit unsigned short signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_16u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16u_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_16u_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32f(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    32-bit floating point signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_32f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32f_I(CUdeviceptr, CUdeviceptr, Int32)

    32-bit floating point in place signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_32f_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32fc(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    32-bit complex floating point signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_32fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32fc_I(CUdeviceptr, CUdeviceptr, Int32)

    32-bit complex floating point in place signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_32fc_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32s_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

    32-bit signed integer in place signal add signal, with scaling, then clamp to saturated value.

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

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

    32-bit signed integer add signal, scale, then clamp to saturated value.

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32sc_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

    32-bit complex signed integer in place signal add signal, with scaling, then clamp to saturated value.

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

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32sc_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

    32-bit signed complex integer add signal, scale, then clamp to saturated value.

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_32u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    32-bit unsigned int signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_32u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_64f(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    64-bit floating point signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_64f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_64f_I(CUdeviceptr, CUdeviceptr, Int32)

    64-bit floating point in place signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_64f_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_64fc(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    64-bit complex floating point signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_64fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_64fc_I(CUdeviceptr, CUdeviceptr, Int32)

    64-bit complex floating point in place signal add signal, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_64fc_I(CUdeviceptr pSrc, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_64s_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

    64-bit signed integer add signal, scale, then clamp to saturated value.

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_8u_ISfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrcDst

    In-Place Signal Pointer. signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_8u_Sfs(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer, signal2 elements to be added to signal1 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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsAdd_8u16u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    8-bit unsigned char signal add signal with 16-bit unsigned result, then clamp to saturated value.

    Declaration
    public static NppStatus nppsAdd_8u16u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source signal pointer. signal2 elements to be added to signal1 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..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

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