Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.SquareSignal

    Squares each sample of a signal.

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

    Methods

    nppsSqr_16s_ISfs(CUdeviceptr, Int32, Int32)

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

    Declaration
    public static NppStatus nppsSqr_16s_ISfs(CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
    Parameters
    Type Name Description
    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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSqr_16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    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.

    nppsSqr_16sc_ISfs(CUdeviceptr, Int32, Int32)

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

    Declaration
    public static NppStatus nppsSqr_16sc_ISfs(CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
    Parameters
    Type Name Description
    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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSqr_16sc_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    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.

    nppsSqr_16u_ISfs(CUdeviceptr, Int32, Int32)

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

    Declaration
    public static NppStatus nppsSqr_16u_ISfs(CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
    Parameters
    Type Name Description
    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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSqr_16u_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    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.

    nppsSqr_32f(CUdeviceptr, CUdeviceptr, Int32)

    32-bit floating point signal squared.

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

    Source signal pointer.

    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.

    nppsSqr_32f_I(CUdeviceptr, Int32)

    32-bit floating point signal squared.

    Declaration
    public static NppStatus nppsSqr_32f_I(CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    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.

    nppsSqr_32fc(CUdeviceptr, CUdeviceptr, Int32)

    32-bit complex floating point signal squared.

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

    Source signal pointer.

    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.

    nppsSqr_32fc_I(CUdeviceptr, Int32)

    32-bit complex floating point signal squared.

    Declaration
    public static NppStatus nppsSqr_32fc_I(CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    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.

    nppsSqr_64f(CUdeviceptr, CUdeviceptr, Int32)

    64-bit floating point signal squared.

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

    Source signal pointer.

    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.

    nppsSqr_64f_I(CUdeviceptr, Int32)

    64-bit floating point signal squared.

    Declaration
    public static NppStatus nppsSqr_64f_I(CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    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.

    nppsSqr_64fc(CUdeviceptr, CUdeviceptr, Int32)

    64-bit complex floating point signal squared.

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

    Source signal pointer.

    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.

    nppsSqr_64fc_I(CUdeviceptr, Int32)

    64-bit complex floating point signal squared.

    Declaration
    public static NppStatus nppsSqr_64fc_I(CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    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.

    nppsSqr_8u_ISfs(CUdeviceptr, Int32, Int32)

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

    Declaration
    public static NppStatus nppsSqr_8u_ISfs(CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
    Parameters
    Type Name Description
    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..

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSqr_8u_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)

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

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

    Source signal pointer.

    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.

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