Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.RShiftC

    Right shifts the bits of each sample of a signal by a constant amount.

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

    Methods

    nppsRShiftC_16s(CUdeviceptr, Int32, CUdeviceptr, Int32)

    16-bit signed short signal right shift with constant.

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

    Source signal pointer.

    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_16s_I(Int32, CUdeviceptr, Int32)

    16-bit signed short in place signal right shift with constant.

    Declaration
    public static NppStatus nppsRShiftC_16s_I(int nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_16u(CUdeviceptr, Int32, CUdeviceptr, Int32)

    16-bit unsigned short signal right shift with constant.

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

    Source signal pointer.

    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_16u_I(Int32, CUdeviceptr, Int32)

    16-bit unsigned short in place signal right shift with constant.

    Declaration
    public static NppStatus nppsRShiftC_16u_I(int nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_32s(CUdeviceptr, Int32, CUdeviceptr, Int32)

    32-bit signed integer signal right shift with constant.

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

    Source signal pointer.

    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_32s_I(Int32, CUdeviceptr, Int32)

    32-bit signed signed integer in place signal right shift with constant.

    Declaration
    public static NppStatus nppsRShiftC_32s_I(int nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_32u(CUdeviceptr, Int32, CUdeviceptr, Int32)

    32-bit unsigned integer signal right shift with constant.

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

    Source signal pointer.

    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_32u_I(Int32, CUdeviceptr, Int32)

    32-bit unsigned signed integer in place signal right shift with constant.

    Declaration
    public static NppStatus nppsRShiftC_32u_I(int nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_8u(CUdeviceptr, Int32, CUdeviceptr, Int32)

    8-bit unsigned char signal right shift with constant.

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

    Source signal pointer.

    System.Int32 nValue

    Constant value to be used to right shift 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.

    nppsRShiftC_8u_I(Int32, CUdeviceptr, Int32)

    8-bit unsigned char in place signal right shift with constant.

    Declaration
    public static NppStatus nppsRShiftC_8u_I(int nValue, CUdeviceptr pSrcDst, int nLength)
    Parameters
    Type Name Description
    System.Int32 nValue

    Constant value to be used to right shift 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