MinIndx

Minimum with index

Supported Technologies

SSE2

Synopsis

FwStatus   fwsMinIndx_16s ( const Fw16s * pSrcint lenFw16s * pMinint * pIndx );
FwStatus   fwsMinIndx_32s ( const Fw32s * pSrcint lenFw32s * pMinint * pIndx );
FwStatus   fwsMinIndx_32f ( const Fw32f * pSrcint lenFw32f * pMinint * pIndx );
FwStatus   fwsMinIndx_64f ( const Fw64f * pSrcint lenFw64f * pMinint * pIndx );

Parameters

len   Specifies the number of elements in a buffer.
pIndx   Pointer to the destination buffer that contains the index of the maximum or minimum value in the source buffer.
pMin   Pointer to the destination buffer that contains the minimum value in the source buffer.
pSrc   Pointer to a source buffer.

Description

These functions step through vector elements in a source buffer, find the minimum value and its index.

The minimum value and the index are written to locations specified by pointers.