LShiftC

Left shift by a constant value

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwiLShiftC_8u_C1IR ( Fw32u valueFw8u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_C3IR ( const Fw32u value[3]Fw8u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_AC4IR ( const Fw32u value[3]Fw8u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_C4IR ( const Fw32u value[4]Fw8u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_C1IR ( Fw32u valueFw16u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_C3IR ( const Fw32u value[3]Fw16u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_AC4IR ( const Fw32u value[3]Fw16u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_C4IR ( const Fw32u value[4]Fw16u * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_C1IR ( Fw32u valueFw32s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_C3IR ( const Fw32u value[3]Fw32s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_AC4IR ( const Fw32u value[3]Fw32s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_C4IR ( const Fw32u value[4]Fw32s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_C1R ( const Fw8u * pSrcint srcStepFw32u valueFw8u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_C3R ( const Fw8u * pSrcint srcStepconst Fw32u value[3]Fw8u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_AC4R ( const Fw8u * pSrcint srcStepconst Fw32u value[3]Fw8u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_8u_C4R ( const Fw8u * pSrcint srcStepconst Fw32u value[4]Fw8u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_C1R ( const Fw16u * pSrcint srcStepFw32u valueFw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_C3R ( const Fw16u * pSrcint srcStepconst Fw32u value[3]Fw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_AC4R ( const Fw16u * pSrcint srcStepconst Fw32u value[3]Fw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_16u_C4R ( const Fw16u * pSrcint srcStepconst Fw32u value[4]Fw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_C1R ( const Fw32s * pSrcint srcStepFw32u valueFw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_C3R ( const Fw32s * pSrcint srcStepconst Fw32u value[3]Fw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_AC4R ( const Fw32s * pSrcint srcStepconst Fw32u value[3]Fw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLShiftC_32s_C4R ( const Fw32s * pSrcint srcStepconst Fw32u value[4]Fw32s * pDstint dstStepFwiSize roiSize );

Parameters

dstStep   Destination buffer step size (width of the buffer in bytes).
pDst   Pointer to a location in a destination buffer.
pSrc   Pointer to a location in a source buffer.
pSrcDst   Pointer to a location in a buffer that contains both the source and destination.
roiSize   Specifies the height and width of an ROI.
srcDstStep   Source and destination buffer step size in bytes (width of both buffers in bytes).
srcStep   Source buffer step size (width of the buffer in bytes).
value   Specified value.
value[3]   An array of three specified values.
value[4]   An array of four specified values.

Description

These functions step through an ROI in a source buffer and shift the bits of the source data a specified number of bit positions to the left.

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

Left-shifting is equivalent to multiplying by 2 to the constant power.