Ten times log to the base 10
MT, SSE2, Family10h
FwStatus | fws10Log10_32s_Sfs | ( | const Fw32s * pSrc, Fw32s * pDst, int len, int scaleFactor ); | |
FwStatus | fws10Log10_32s_ISfs | ( | Fw32s * pSrcDst, int len, int scaleFactor ); |
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. | |
scaleFactor | Specifies an integer scaling factor for the Sfs operation. The returned result is multiplied by 2^(-scaleFactor). |
These functions step through vector elements in a source buffer and calculate ten times the common logarithm of each element.
The results are integer scaled, then written to a destination buffer.
This function is particularly useful for calculating logarithmic scale values, such as decibels.