RShiftC

Right shift by a constant value

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwsRShiftC_8u ( const Fw8u * pSrcint valFw8u * pDstint len );
FwStatus   fwsRShiftC_16s ( const Fw16s * pSrcint valFw16s * pDstint len );
FwStatus   fwsRShiftC_16u ( const Fw16u * pSrcint valFw16u * pDstint len );
FwStatus   fwsRShiftC_32s ( const Fw32s * pSrcint valFw32s * pDstint len );
FwStatus   fwsRShiftC_8u_I ( int valFw8u * pSrcDstint len );
FwStatus   fwsRShiftC_16u_I ( int valFw16u * pSrcDstint len );
FwStatus   fwsRShiftC_16s_I ( int valFw16s * pSrcDstint len );
FwStatus   fwsRShiftC_32s_I ( int valFw32s * 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 shift the bits of the source data a specified number of bit positions to the right.

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