NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Minimum_Maximum

Functions

NppStatus nppsMinMaxGetBufferSize_8u (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_8u. More...
 
NppStatus nppsMinMaxGetBufferSize_16s (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_16s. More...
 
NppStatus nppsMinMaxGetBufferSize_16u (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_16u. More...
 
NppStatus nppsMinMaxGetBufferSize_32s (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_32s. More...
 
NppStatus nppsMinMaxGetBufferSize_32u (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_32u. More...
 
NppStatus nppsMinMaxGetBufferSize_32f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_32f. More...
 
NppStatus nppsMinMaxGetBufferSize_64f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMax_64f. More...
 
NppStatus nppsMinMax_8u (const Npp8u *pSrc, int nLength, Npp8u *pMin, Npp8u *pMax, Npp8u *pDeviceBuffer)
 8-bit char vector min and max method More...
 
NppStatus nppsMinMax_16s (const Npp16s *pSrc, int nLength, Npp16s *pMin, Npp16s *pMax, Npp8u *pDeviceBuffer)
 16-bit signed short vector min and max method More...
 
NppStatus nppsMinMax_16u (const Npp16u *pSrc, int nLength, Npp16u *pMin, Npp16u *pMax, Npp8u *pDeviceBuffer)
 16-bit unsigned short vector min and max method More...
 
NppStatus nppsMinMax_32u (const Npp32u *pSrc, int nLength, Npp32u *pMin, Npp32u *pMax, Npp8u *pDeviceBuffer)
 32-bit unsigned int vector min and max method More...
 
NppStatus nppsMinMax_32s (const Npp32s *pSrc, int nLength, Npp32s *pMin, Npp32s *pMax, Npp8u *pDeviceBuffer)
 32-bit signed int vector min and max method More...
 
NppStatus nppsMinMax_32f (const Npp32f *pSrc, int nLength, Npp32f *pMin, Npp32f *pMax, Npp8u *pDeviceBuffer)
 32-bit float vector min and max method More...
 
NppStatus nppsMinMax_64f (const Npp64f *pSrc, int nLength, Npp64f *pMin, Npp64f *pMax, Npp8u *pDeviceBuffer)
 64-bit double vector min and max method More...
 
NppStatus nppsMinMaxIndxGetBufferSize_8u (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_8u. More...
 
NppStatus nppsMinMaxIndxGetBufferSize_16s (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_16s. More...
 
NppStatus nppsMinMaxIndxGetBufferSize_16u (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_16u. More...
 
NppStatus nppsMinMaxIndxGetBufferSize_32s (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_32s. More...
 
NppStatus nppsMinMaxIndxGetBufferSize_32u (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_32u. More...
 
NppStatus nppsMinMaxIndxGetBufferSize_32f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_32f. More...
 
NppStatus nppsMinMaxIndxGetBufferSize_64f (int nLength, int *hpBufferSize)
 Device-buffer size (in bytes) for nppsMinMaxIndx_64f. More...
 
NppStatus nppsMinMaxIndx_8u (const Npp8u *pSrc, int nLength, Npp8u *pMin, int *pMinIndx, Npp8u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 8-bit char vector min and max with indices method More...
 
NppStatus nppsMinMaxIndx_16s (const Npp16s *pSrc, int nLength, Npp16s *pMin, int *pMinIndx, Npp16s *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 16-bit signed short vector min and max with indices method More...
 
NppStatus nppsMinMaxIndx_16u (const Npp16u *pSrc, int nLength, Npp16u *pMin, int *pMinIndx, Npp16u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 16-bit unsigned short vector min and max with indices method More...
 
NppStatus nppsMinMaxIndx_32s (const Npp32s *pSrc, int nLength, Npp32s *pMin, int *pMinIndx, Npp32s *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 32-bit signed short vector min and max with indices method More...
 
NppStatus nppsMinMaxIndx_32u (const Npp32u *pSrc, int nLength, Npp32u *pMin, int *pMinIndx, Npp32u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 32-bit unsigned short vector min and max with indices method More...
 
NppStatus nppsMinMaxIndx_32f (const Npp32f *pSrc, int nLength, Npp32f *pMin, int *pMinIndx, Npp32f *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 32-bit float vector min and max with indices method More...
 
NppStatus nppsMinMaxIndx_64f (const Npp64f *pSrc, int nLength, Npp64f *pMin, int *pMinIndx, Npp64f *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)
 64-bit float vector min and max with indices method More...
 

Detailed Description

Function Documentation

NppStatus nppsMinMax_16s ( const Npp16s pSrc,
int  nLength,
Npp16s pMin,
Npp16s pMax,
Npp8u pDeviceBuffer 
)

16-bit signed short vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_16s to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMax_16u ( const Npp16u pSrc,
int  nLength,
Npp16u pMin,
Npp16u pMax,
Npp8u pDeviceBuffer 
)

16-bit unsigned short vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_16u to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMax_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pMin,
Npp32f pMax,
Npp8u pDeviceBuffer 
)

32-bit float vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMax_32s ( const Npp32s pSrc,
int  nLength,
Npp32s pMin,
Npp32s pMax,
Npp8u pDeviceBuffer 
)

32-bit signed int vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_32s to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMax_32u ( const Npp32u pSrc,
int  nLength,
Npp32u pMin,
Npp32u pMax,
Npp8u pDeviceBuffer 
)

32-bit unsigned int vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_32u to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMax_64f ( const Npp64f pSrc,
int  nLength,
Npp64f pMin,
Npp64f pMax,
Npp8u pDeviceBuffer 
)

64-bit double vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMax_8u ( const Npp8u pSrc,
int  nLength,
Npp8u pMin,
Npp8u pMax,
Npp8u pDeviceBuffer 
)

8-bit char vector min and max method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMaxPointer to the max output result.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxGetBufferSize_8u to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxGetBufferSize_16s ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_16s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxGetBufferSize_16u ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_16u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxGetBufferSize_32s ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_32s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxGetBufferSize_32u ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_32u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxGetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxGetBufferSize_8u ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMax_8u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndx_16s ( const Npp16s pSrc,
int  nLength,
Npp16s pMin,
int *  pMinIndx,
Npp16s pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

16-bit signed short vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_16s to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndx_16u ( const Npp16u pSrc,
int  nLength,
Npp16u pMin,
int *  pMinIndx,
Npp16u pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

16-bit unsigned short vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_16u to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndx_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pMin,
int *  pMinIndx,
Npp32f pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

32-bit float vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_32f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndx_32s ( const Npp32s pSrc,
int  nLength,
Npp32s pMin,
int *  pMinIndx,
Npp32s pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

32-bit signed short vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_32s to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndx_32u ( const Npp32u pSrc,
int  nLength,
Npp32u pMin,
int *  pMinIndx,
Npp32u pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

32-bit unsigned short vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_32u to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndx_64f ( const Npp64f pSrc,
int  nLength,
Npp64f pMin,
int *  pMinIndx,
Npp64f pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

64-bit float vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_64f to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndx_8u ( const Npp8u pSrc,
int  nLength,
Npp8u pMin,
int *  pMinIndx,
Npp8u pMax,
int *  pMaxIndx,
Npp8u pDeviceBuffer 
)

8-bit char vector min and max with indices method

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pMinPointer to the min output result.
pMinIndxPointer to the index of the first min value.
pMaxPointer to the max output result.
pMaxIndxPointer to the index of the first max value.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_8u to determine the minium number of bytes required.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMinMaxIndxGetBufferSize_16s ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_16s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndxGetBufferSize_16u ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_16u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndxGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndxGetBufferSize_32s ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_32s.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndxGetBufferSize_32u ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_32u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndxGetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS
NppStatus nppsMinMaxIndxGetBufferSize_8u ( int  nLength,
int *  hpBufferSize 
)

Device-buffer size (in bytes) for nppsMinMaxIndx_8u.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer.
Returns
NPP_SUCCESS

Copyright © 2009-2017 NVIDIA Corporation