Class NPPNativeMethods.NPPs.MinMaxIndex
Minimum / Maximum values / indices
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class MinMaxIndex
Methods
nppsMinMax_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit signed short vector min and max method
Declaration
public static NppStatus nppsMinMax_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMax_16u(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit unsigned short vector min and max method
Declaration
public static NppStatus nppsMinMax_16u(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMax_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit float vector min and max method
Declaration
public static NppStatus nppsMinMax_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMax_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit signed int vector min and max method
Declaration
public static NppStatus nppsMinMax_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMax_32u(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit unsigned int vector min and max method
Declaration
public static NppStatus nppsMinMax_32u(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMax_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
64-bit double vector min and max method
Declaration
public static NppStatus nppsMinMax_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMax_8u(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
8-bit char vector min and max method
Declaration
public static NppStatus nppsMinMax_8u(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMax, 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 min output result. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxGetBufferSize_16s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_16s.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxGetBufferSize_16u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_16u.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_16u(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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxGetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_32f.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxGetBufferSize_32s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_32s.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxGetBufferSize_32u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_32u.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_32u(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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxGetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_64f.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxGetBufferSize_8u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMax_8u.
Declaration
public static NppStatus nppsMinMaxGetBufferSize_8u(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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndx_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit signed short vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndx_16u(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit unsigned short vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_16u(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndx_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit float vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndx_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit signed short vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndx_32u(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit unsigned short vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_32u(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndx_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
64-bit float vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndx_8u(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)
8-bit char vector min and max with indices method
Declaration
public static NppStatus nppsMinMaxIndx_8u(CUdeviceptr pSrc, int nLength, CUdeviceptr pMin, CUdeviceptr pMinIndx, CUdeviceptr pMax, CUdeviceptr pMaxIndx, 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 min output result. |
CUdeviceptr | pMinIndx | Pointer to the index of the first min value. |
CUdeviceptr | pMax | Pointer to the max output result. |
CUdeviceptr | pMaxIndx | Pointer to the index of the first max value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMinMaxIndxGetBufferSize_16s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_16s.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndxGetBufferSize_16u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_16u.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_16u(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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndxGetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_32f.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndxGetBufferSize_32s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_32s.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndxGetBufferSize_32u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_32u.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_32u(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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndxGetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_64f.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMinMaxIndxGetBufferSize_8u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsMinMaxIndx_8u.
Declaration
public static NppStatus nppsMinMaxIndxGetBufferSize_8u(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: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |