Exp

Raise base e to a power

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwiExp_8u_C1IRSfs ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_8u_C3IRSfs ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_16s_C1IRSfs ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_16s_C3IRSfs ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_32f_C1IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiExp_32f_C3IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiExp_8u_C1RSfs ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_8u_C3RSfs ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_16s_C1RSfs ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_16s_C3RSfs ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiExp_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiExp_32f_C3R ( 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.
scaleFactor   Specifies the integer scaling factor for the Sfs operation. The returned result is multiplied by 2^(-scaleFactor).
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 raise the base e to the power specified by the source data.

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

The 8-bit unsigned and 16-bit signed versions of the functions perform an integer scaling operation before writing the results.

These functions are the inverses of the Ln functions.