MaxAbs

Maximum absolute value

Supported Technologies

SSE2

Synopsis

FwStatus   fwsMaxAbs_16s ( const Fw16s * pSrcint lenFw16s * pMaxAbs );
FwStatus   fwsMaxAbs_32s ( const Fw32s * pSrcint lenFw32s * pMaxAbs );

Parameters

len   Specifies the number of elements in a buffer.
pMaxAbs   Pointer to the destination buffer that contains the maximum absolute value in the source buffer.
pSrc   Pointer to a source buffer.

Description

These functions step through vector elements in a source buffer, find the maximum absolute value, and write the value to a location specified by a pointer.