Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.Sqr

    Square each pixel in an image.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.Sqr
    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 Sqr

    Methods

    nppiSqr_16s_AC4IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit signed short channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_AC4IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_AC4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit signed short channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_AC4RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_C1IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    One 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_C1IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    One 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_C3IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Three 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_C3IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_C3RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Three 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_C3RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_C4IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_C4IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16s_C4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16s_C4RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_AC4IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit unsigned short channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_AC4IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_AC4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit unsigned short channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_AC4RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_C1IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    One 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_C1IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    One 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_C3IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Three 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_C3IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_C3RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Three 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_C3RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_C4IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_C4IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_16u_C4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Four 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_16u_C4RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_AC4IR(CUdeviceptr, Int32, NppiSize)

    Four 32-bit floating point channel in place image squared with unmodified alpha.

    Declaration
    public static NppStatus nppiSqr_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 32-bit floating point channel image squared with unmodified alpha.

    Declaration
    public static NppStatus nppiSqr_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_C1IR(CUdeviceptr, Int32, NppiSize)

    One 32-bit floating point channel in place image squared.

    Declaration
    public static NppStatus nppiSqr_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 32-bit floating point channel image squared.

    Declaration
    public static NppStatus nppiSqr_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_C3IR(CUdeviceptr, Int32, NppiSize)

    Three 32-bit floating point channel in place image squared.

    Declaration
    public static NppStatus nppiSqr_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Three 32-bit floating point channel image squared.

    Declaration
    public static NppStatus nppiSqr_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_C4IR(CUdeviceptr, Int32, NppiSize)

    Four 32-bit floating point channel in place image squared.

    Declaration
    public static NppStatus nppiSqr_32f_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    Four 32-bit floating point channel image squared.

    Declaration
    public static NppStatus nppiSqr_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_AC4IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Four 8-bit unsigned char channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_AC4IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_AC4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Four 8-bit unsigned char channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_AC4RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_C1IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    One 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_C1IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    One 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_C3IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Three 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_C3IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_C3RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Three 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_C3RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_C4IRSfs(CUdeviceptr, Int32, NppiSize, Int32)

    Four 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_C4IRSfs(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqr_8u_C4RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    Four 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

    Declaration
    public static NppStatus nppiSqr_8u_C4RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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