Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.And

    Sample by sample bitwise AND of samples from two signals.

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

    Methods

    nppsAnd_16u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    16-bit unsigned short signal and with signal.

    Declaration
    public static NppStatus nppsAnd_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 anded with 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.

    nppsAnd_16u_I(CUdeviceptr, CUdeviceptr, Int32)

    16-bit unsigned short in place signal and with signal.

    Declaration
    public static NppStatus nppsAnd_16u_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 anded with 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.

    nppsAnd_32u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    32-bit unsigned integer signal and with signal.

    Declaration
    public static NppStatus nppsAnd_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 anded with 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.

    nppsAnd_32u_I(CUdeviceptr, CUdeviceptr, Int32)

    32-bit unsigned integer in place signal and with signal.

    Declaration
    public static NppStatus nppsAnd_32u_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 anded with 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.

    nppsAnd_8u(CUdeviceptr, CUdeviceptr, CUdeviceptr, Int32)

    8-bit unsigned char signal and with signal.

    Declaration
    public static NppStatus nppsAnd_8u(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 anded with 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.

    nppsAnd_8u_I(CUdeviceptr, CUdeviceptr, Int32)

    8-bit unsigned char in place signal and with signal.

    Declaration
    public static NppStatus nppsAnd_8u_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 anded with 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.

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