MinMax

Minimum and maximum

Supported Technologies

SSE2

Synopsis

FwStatus   fwsMinMax_8u ( const Fw8u * pSrcint lenFw8u * pMinFw8u * pMax );
FwStatus   fwsMinMax_16u ( const Fw16u * pSrcint lenFw16u * pMinFw16u * pMax );
FwStatus   fwsMinMax_16s ( const Fw16s * pSrcint lenFw16s * pMinFw16s * pMax );
FwStatus   fwsMinMax_32u ( const Fw32u * pSrcint lenFw32u * pMinFw32u * pMax );
FwStatus   fwsMinMax_32s ( const Fw32s * pSrcint lenFw32s * pMinFw32s * pMax );
FwStatus   fwsMinMax_32f ( const Fw32f * pSrcint lenFw32f * pMinFw32f * pMax );
FwStatus   fwsMinMax_64f ( const Fw64f * pSrcint lenFw64f * pMinFw64f * pMax );

Parameters

len   Specifies the number of elements in a buffer.
pMax   Pointer to the destination buffer that contains the maximum 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 and maximum values, and write the values to locations specified by pointers.