Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.XorC

    Bitwise XOR of a constant and each sample of a signal.

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

    Methods

    nppsXorC_16u(CUdeviceptr, UInt16, CUdeviceptr, Int32)

    16-bit unsigned short signal exclusive or with constant.

    Declaration
    public static NppStatus nppsXorC_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 exclusive ored with 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.

    nppsXorC_16u_I(UInt16, CUdeviceptr, Int32)

    16-bit unsigned short in place signal exclusive or with constant.

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

    Constant value to be exclusive ored with 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.

    nppsXorC_32u(CUdeviceptr, UInt32, CUdeviceptr, Int32)

    32-bit unsigned integer signal exclusive or with constant.

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

    Source signal pointer.

    System.UInt32 nValue

    Constant value to be exclusive ored with 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.

    nppsXorC_32u_I(UInt32, CUdeviceptr, Int32)

    32-bit unsigned signed integer in place signal exclusive or with constant.

    Declaration
    public static NppStatus nppsXorC_32u_I(uint nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.UInt32 nValue

    Constant value to be exclusive ored with 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.

    nppsXorC_8u(CUdeviceptr, Byte, CUdeviceptr, Int32)

    8-bit unsigned char signal exclusive or with constant.

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

    Source signal pointer.

    System.Byte nValue

    Constant value to be exclusive ored with 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.

    nppsXorC_8u_I(Byte, CUdeviceptr, Int32)

    8-bit unsigned char in place signal exclusive or with constant.

    Declaration
    public static NppStatus nppsXorC_8u_I(byte nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Byte nValue

    Constant value to be exclusive ored with 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