AddProduct

Add product

Supported Technologies

MT, SSE2

Synopsis

FwStatus   fwsAddProduct_32f ( const Fw32f * pSrc1const Fw32f * pSrc2Fw32f * pSrcDstint len );
FwStatus   fwsAddProduct_64f ( const Fw64f * pSrc1const Fw64f * pSrc2Fw64f * pSrcDstint len );
FwStatus   fwsAddProduct_32fc ( const Fw32fc * pSrc1const Fw32fc * pSrc2Fw32fc * pSrcDstint len );
FwStatus   fwsAddProduct_64fc ( const Fw64fc * pSrc1const Fw64fc * pSrc2Fw64fc * pSrcDstint len );
FwStatus   fwsAddProduct_16s_Sfs ( const Fw16s * pSrc1const Fw16s * pSrc2Fw16s * pSrcDstint lenint scaleFactor );
FwStatus   fwsAddProduct_32s_Sfs ( const Fw32s * pSrc1const Fw32s * pSrc2Fw32s * pSrcDstint lenint scaleFactor );
FwStatus   fwsAddProduct_16s32s_Sfs ( const Fw16s * pSrc1const Fw16s * pSrc2Fw32s * pSrcDstint lenint scaleFactor );

Parameters

len   Specifies the number of elements in a buffer.
pSrc1   Pointer to source buffer one.
pSrc2   Pointer to source buffer two.
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).

Description

These functions step through vector elements in two source buffers, add the product of the data in buffer 1 and the data in buffer 2 to the data in buffer 1, and write the sum back to the source buffer.