And

AND

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwsAnd_8u ( const Fw8u * pSrc1const Fw8u * pSrc2Fw8u * pDstint len );
FwStatus   fwsAnd_16u ( const Fw16u * pSrc1const Fw16u * pSrc2Fw16u * pDstint len );
FwStatus   fwsAnd_32u ( const Fw32u * pSrc1const Fw32u * pSrc2Fw32u * pDstint len );
FwStatus   fwsAnd_8u_I ( const Fw8u * pSrcFw8u * pSrcDstint len );
FwStatus   fwsAnd_16u_I ( const Fw16u * pSrcFw16u * pSrcDstint len );
FwStatus   fwsAnd_32u_I ( const Fw32u * pSrcFw32u * pSrcDstint 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.