Divide a constant
MT, SSE2
FwStatus | fwsDivCRev_16u | ( | const Fw16u * pSrc, Fw16u val, Fw16u * pDst, int len ); | |
FwStatus | fwsDivCRev_32f | ( | const Fw32f * pSrc, Fw32f val, Fw32f * pDst, int len ); | |
FwStatus | fwsDivCRev_16u_I | ( | Fw16u val, Fw16u * pSrcDst, int len ); | |
FwStatus | fwsDivCRev_32f_I | ( | Fw32f val, Fw32f * 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. | |
val | Specified value. |
These functions step through vector elements in a source buffer and divide a constant value by the source data.
The quotient can be written to a destination buffer or written back to the source buffer.
The 8-bit unsigned, 16-bit signed, 16-bit signed complex, and 32-bit signed complex versions perform an integer scaling operation before writing the results.