Get absolute value
MT, SSE2, Family10h
FwStatus | fwsAbs_16s | ( | const Fw16s * pSrc, Fw16s * pDst, int len ); | |
FwStatus | fwsAbs_32s | ( | const Fw32s * pSrc, Fw32s * pDst, int len ); | |
FwStatus | fwsAbs_32f | ( | const Fw32f * pSrc, Fw32f * pDst, int len ); | |
FwStatus | fwsAbs_64f | ( | const Fw64f * pSrc, Fw64f * pDst, int len ); | |
FwStatus | fwsAbs_16s_I | ( | Fw16s * pSrcDst, int len ); | |
FwStatus | fwsAbs_32s_I | ( | Fw32s * pSrcDst, int len ); | |
FwStatus | fwsAbs_32f_I | ( | Fw32f * pSrcDst, int len ); | |
FwStatus | fwsAbs_64f_I | ( | Fw64f * pSrcDst, int len ); |
len | Specifies the number of elements in a buffer. | |
pDst | Pointer to a destination buffer. | |
pSrc | Pointer to a source buffer. | |
pSrcDst | Pointer to a buffer that is both the source and destination. |
These functions step through vector elements in a source buffer and calculate the absolute value of the source data.
The results can be written to a destination buffer or written back to the source buffer.