DivCRev

Divide a constant

Supported Technologies

MT, SSE2

Synopsis

FwStatus   fwsDivCRev_16u ( const Fw16u * pSrcFw16u valFw16u * pDstint len );
FwStatus   fwsDivCRev_32f ( const Fw32f * pSrcFw32f valFw32f * pDstint len );
FwStatus   fwsDivCRev_16u_I ( Fw16u valFw16u * pSrcDstint len );
FwStatus   fwsDivCRev_32f_I ( Fw32f valFw32f * pSrcDstint len );

Parameters

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.

Description

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.