And

AND

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwsAnd_8u ( const Fw8u * pSrc1, const Fw8u * pSrc2, Fw8u * pDst, int len );
FwStatus   fwsAnd_16u ( const Fw16u * pSrc1, const Fw16u * pSrc2, Fw16u * pDst, int len );
FwStatus   fwsAnd_32u ( const Fw32u * pSrc1, const Fw32u * pSrc2, Fw32u * pDst, int len );
FwStatus   fwsAnd_8u_I ( const Fw8u * pSrc, Fw8u * pSrcDst, int len );
FwStatus   fwsAnd_16u_I ( const Fw16u * pSrc, Fw16u * pSrcDst, int len );
FwStatus   fwsAnd_32u_I ( const Fw32u * pSrc, Fw32u * pSrcDst, int len );

Parameters

len   Specifies the number of elements in a buffer.
pDst   Pointer to a destination buffer.
pSrc   Pointer to a source 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.

Description

These functions step through vector elements in two source buffers and perform a bitwise logical AND of the data in buffer 1 and the data in buffer 2.

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