Class NPPNativeMethods.NPPs.Min
Functions that provide global signal statistics like: average, standard deviation, minimum, etc.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Min
Methods
nppsMin_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit integer vector min method
Declaration
public static NppStatus nppsMin_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMin_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit integer vector min method
Declaration
public static NppStatus nppsMin_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMin_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit integer vector min method
Declaration
public static NppStatus nppsMin_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMin_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit integer vector min method
Declaration
public static NppStatus nppsMin_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinAbs_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit integer vector min absolute method
Declaration
public static NppStatus nppsMinAbs_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMinAbs, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMinAbs | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinAbs_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit integer vector min absolute method
Declaration
public static NppStatus nppsMinAbs_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMinAbs, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMinAbs | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinAbsGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinAbs_16s.
Declaration
public static NppStatus nppsMinAbsGetBufferSize_16s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinAbsGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinAbs_32s.
Declaration
public static NppStatus nppsMinAbsGetBufferSize_32s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinAbsIndx_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit integer vector min absolute index method
Declaration
public static NppStatus nppsMinAbsIndx_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMinAbs, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMinAbs | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first minimum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinAbsIndx_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit integer vector min absolute index method
Declaration
public static NppStatus nppsMinAbsIndx_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMinAbs, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMinAbs | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first minimum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinAbsIndxGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinAbsIndx_16s.
Declaration
public static NppStatus nppsMinAbsIndxGetBufferSize_16s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinAbsIndxGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinAbsIndx_32s.
Declaration
public static NppStatus nppsMinAbsIndxGetBufferSize_32s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMin_16s.
Declaration
public static NppStatus nppsMinGetBufferSize_16s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinGetBufferSize_32f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMin_32f.
Declaration
public static NppStatus nppsMinGetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMin_32s.
Declaration
public static NppStatus nppsMinGetBufferSize_32s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinGetBufferSize_64f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMin_64f.
Declaration
public static NppStatus nppsMinGetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinIndx_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit integer vector min index method
Declaration
public static NppStatus nppsMinIndx_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first minimum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinIndx_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit float vector min index method
Declaration
public static NppStatus nppsMinIndx_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first minimum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinIndx_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit integer vector min index method
Declaration
public static NppStatus nppsMinIndx_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first minimum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinIndx_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
64-bit float vector min index method
Declaration
public static NppStatus nppsMinIndx_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source 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.. |
CUdeviceptr | pMin | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first minimum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinIndxGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinIndx_16s.
Declaration
public static NppStatus nppsMinIndxGetBufferSize_16s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinIndxGetBufferSize_32f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinIndx_32f.
Declaration
public static NppStatus nppsMinIndxGetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinIndxGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinIndx_32s.
Declaration
public static NppStatus nppsMinIndxGetBufferSize_32s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinIndxGetBufferSize_64f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMinIndx_64f.
Declaration
public static NppStatus nppsMinIndxGetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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.. |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |