Maximum with index
SSE2
FwStatus | fwsMaxIndx_16s | ( | const Fw16s * pSrc, int len, Fw16s * pMax, int * pIndx ); | |
FwStatus | fwsMaxIndx_32s | ( | const Fw32s * pSrc, int len, Fw32s * pMax, int * pIndx ); | |
FwStatus | fwsMaxIndx_32f | ( | const Fw32f * pSrc, int len, Fw32f * pMax, int * pIndx ); | |
FwStatus | fwsMaxIndx_64f | ( | const Fw64f * pSrc, int len, Fw64f * pMax, int * pIndx ); |
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. | |
pMax | Pointer to the destination buffer that contains the maximum value in the source buffer. | |
pSrc | Pointer to a source buffer. |
These functions step through vector elements in a source buffer, find the maximum value and its index.
The maximum value is written to a maximum value buffer and the index is written to a location specified by a pointer.