Abs

Get absolute value

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwiAbs_16s_C1IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_C3IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_C4IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_AC4IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_C1IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_C3IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_C4IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_AC4IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_C4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_C4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiAbs_32f_AC4R ( const Fw32f * pSrcint srcStepFw32f * 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).

Description

These functions step through an ROI in a source buffer and calculate the absolute value of the source data.

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