Square
MT, SSE2, Family10h
FwStatus | fwsSqr_32f | ( | const Fw32f * pSrc, Fw32f * pDst, int len ); | |
FwStatus | fwsSqr_64f | ( | const Fw64f * pSrc, Fw64f * pDst, int len ); | |
FwStatus | fwsSqr_32fc | ( | const Fw32fc * pSrc, Fw32fc * pDst, int len ); | |
FwStatus | fwsSqr_64fc | ( | const Fw64fc * pSrc, Fw64fc * pDst, int len ); | |
FwStatus | fwsSqr_32f_I | ( | Fw32f * pSrcDst, int len ); | |
FwStatus | fwsSqr_64f_I | ( | Fw64f * pSrcDst, int len ); | |
FwStatus | fwsSqr_32fc_I | ( | Fw32fc * pSrcDst, int len ); | |
FwStatus | fwsSqr_64fc_I | ( | Fw64fc * pSrcDst, int len ); | |
FwStatus | fwsSqr_8u_Sfs | ( | const Fw8u * pSrc, Fw8u * pDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_16s_Sfs | ( | const Fw16s * pSrc, Fw16s * pDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_16u_Sfs | ( | const Fw16u * pSrc, Fw16u * pDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_16sc_Sfs | ( | const Fw16sc * pSrc, Fw16sc * pDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_8u_ISfs | ( | Fw8u * pSrcDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_16s_ISfs | ( | Fw16s * pSrcDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_16u_ISfs | ( | Fw16u * pSrcDst, int len, int scaleFactor ); | |
FwStatus | fwsSqr_16sc_ISfs | ( | Fw16sc * 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 the square of the source data.
The results can be written to a destination buffer or written back to the source buffer.
The 8-bit unsigned, 16-bit unsigned, and 16-bit signed versions perform an integer scaling operation before writing the results.