Class NPPNativeMethods.NPPi.Sum
Sum of 8 bit images.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Sum
Methods
nppiSum_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit signed short image sum with 64-bit double precision result. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiSum_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel (alpha channel is not computed). |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 16-bit signed short image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | pSum | Pointer to the computed sum. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 16-bit signed short image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit signed short image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit unsigned short image sum with 64-bit double precision result. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiSum_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel (alpha channel is not computed). |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 16-bit unsigned short image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | pSum | Pointer to the computed sum. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 16-bit unsigned short image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit unsigned short image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_32f_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 32-bit floating point image sum with 64-bit double precision result. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiSum_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | aSum | Array that contains computed sum for each channel (alpha channel is not computed). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 32-bit floating point image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | pSum | Pointer to the computed sum. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_32f_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 32-bit floating point image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_32f_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 32-bit floating point image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 8-bit unsigned char image sum with 64-bit double precision result. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiSum_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel (alpha channel is not computed). |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
8-bit unsigned image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | pSum | Contains computed sum. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 8-bit unsigned char image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
CUdeviceptr | aSum | Array that contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSum_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4 channel 8-bit unsigned image sum with 64-bit double precision result.
Declaration
public static NppStatus nppiSum_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | aSum | Array contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_8u64s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
8-bit unsigned image sum with 64-bit long long result.
Declaration
public static NppStatus nppiSum_8u64s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | pSum | Contains computed sum. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSum_8u64s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4 channel 8-bit unsigned image sum with 64-bit long long result.
Declaration
public static NppStatus nppiSum_8u64s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aSum)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation |
CUdeviceptr | aSum | Array contains computed sum for each channel. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiSumGetBufferHostSize_16s_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16s_AC4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16s_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16s_C1R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16s_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16s_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16s_C3R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16s_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16s_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16s_C4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16s_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16u_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16u_AC4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16u_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16u_C1R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16u_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16u_C3R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_16u_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_16u_C4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_16u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_32f_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_32f_AC4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_32f_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_32f_C1R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_32f_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_32f_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_32f_C3R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_32f_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_32f_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_32f_C4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_32f_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_8u_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_8u_AC4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_8u_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_8u_C1R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_8u_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_8u_C3R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_8u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_8u_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_8u_C4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_8u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_8u64s_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_8u64s_C1R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_8u64s_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiSumGetBufferHostSize_8u64s_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiSum_8u64s_C4R.
Declaration
public static NppStatus nppiSumGetBufferHostSize_8u64s_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |