MinIndx

Minimum with index

Supported Technologies

SSE2

Synopsis

FwStatus   fwsMinIndx_16s ( const Fw16s * pSrc, int len, Fw16s * pMin, int * pIndx );
FwStatus   fwsMinIndx_32s ( const Fw32s * pSrc, int len, Fw32s * pMin, int * pIndx );
FwStatus   fwsMinIndx_32f ( const Fw32f * pSrc, int len, Fw32f * pMin, int * pIndx );
FwStatus   fwsMinIndx_64f ( const Fw64f * pSrc, int len, Fw64f * pMin, int * 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.