Supported Technologies

MT, SSE2, Family10h


FwStatus   fwsNormalize_32f ( const Fw32f * pSrcFw32f * pDstint lenFw32f vsubFw32f vdiv );
FwStatus   fwsNormalize_64f ( const Fw64f * pSrcFw64f * pDstint lenFw64f vsubFw64f vdiv );
FwStatus   fwsNormalize_32fc ( const Fw32fc * pSrcFw32fc * pDstint lenFw32fc vsubFw32f vdiv );
FwStatus   fwsNormalize_64fc ( const Fw64fc * pSrcFw64fc * pDstint lenFw64fc vsubFw64f vdiv );
FwStatus   fwsNormalize_16s_Sfs ( const Fw16s * pSrcFw16s * pDstint lenFw16s vsubint vdivint scaleFactor );
FwStatus   fwsNormalize_16sc_Sfs ( const Fw16sc * pSrcFw16sc * pDstint lenFw16sc vsubint vdivint scaleFactor );


len   Specifies the number of elements in a buffer.
pDst   Pointer to a destination buffer.
pSrc   Pointer to a source buffer.
scaleFactor   Specifies an integer scaling factor for the Sfs operation. The returned result is multiplied by 2^(-scaleFactor).
vdiv   Specifies the denominator.
vsub   Specifies the subtrahend.


These functions step through vector elements in a source buffer, subtract vsub from each element, and divide the differences by vdiv.

The results can be written to a destination buffer or written back to the source buffer.

The 16-bit unsigned and 16-bit signed versions perform an integer scaling operation before writing the results.

The normalize operation is performed as follows.

 Dst = (Src - vsub) / vdiv