Div

Divide

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwiDiv_8u_C1IRSfs ( const Fw8u * pSrcint srcStepFw8u * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_8u_C3IRSfs ( const Fw8u * pSrcint srcStepFw8u * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16s_C1IRSfs ( const Fw16s * pSrcint srcStepFw16s * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16s_C3IRSfs ( const Fw16s * pSrcint srcStepFw16s * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16sc_C1IRSfs ( const Fw16sc * pSrcint srcStepFw16sc * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16sc_C3IRSfs ( const Fw16sc * pSrcint srcStepFw16sc * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16sc_AC4IRSfs ( const Fw16sc * pSrcint srcStepFw16sc * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32sc_C1IRSfs ( const Fw32sc * pSrcint srcStepFw32sc * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32sc_C3IRSfs ( const Fw32sc * pSrcint srcStepFw32sc * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32sc_AC4IRSfs ( const Fw32sc * pSrcint srcStepFw32sc * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32f_C1IR ( const Fw32f * pSrcint srcStepFw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_32f_C3IR ( const Fw32f * pSrcint srcStepFw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_32f_C4IR ( const Fw32f * pSrcint srcStepFw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_32f_AC4IR ( const Fw32f * pSrcint srcStepFw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_32fc_C1IR ( const Fw32fc * pSrcint srcStepFw32fc * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_32fc_C3IR ( const Fw32fc * pSrcint srcStepFw32fc * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_32fc_AC4IR ( const Fw32fc * pSrcint srcStepFw32fc * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiDiv_8u_C1RSfs ( const Fw8u * pSrc1int src1Stepconst Fw8u * pSrc2int src2StepFw8u * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_8u_C3RSfs ( const Fw8u * pSrc1int src1Stepconst Fw8u * pSrc2int src2StepFw8u * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16s_C1RSfs ( const Fw16s * pSrc1int src1Stepconst Fw16s * pSrc2int src2StepFw16s * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16s_C3RSfs ( const Fw16s * pSrc1int src1Stepconst Fw16s * pSrc2int src2StepFw16s * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16sc_C1RSfs ( const Fw16sc * pSrc1int src1Stepconst Fw16sc * pSrc2int src2StepFw16sc * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16sc_C3RSfs ( const Fw16sc * pSrc1int src1Stepconst Fw16sc * pSrc2int src2StepFw16sc * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_16sc_AC4RSfs ( const Fw16sc * pSrc1int src1Stepconst Fw16sc * pSrc2int src2StepFw16sc * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32sc_C1RSfs ( const Fw32sc * pSrc1int src1Stepconst Fw32sc * pSrc2int src2StepFw32sc * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32sc_C3RSfs ( const Fw32sc * pSrc1int src1Stepconst Fw32sc * pSrc2int src2StepFw32sc * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32sc_AC4RSfs ( const Fw32sc * pSrc1int src1Stepconst Fw32sc * pSrc2int src2StepFw32sc * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiDiv_32f_C1R ( const Fw32f * pSrc1int src1Stepconst Fw32f * pSrc2int src2StepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiDiv_32f_C3R ( const Fw32f * pSrc1int src1Stepconst Fw32f * pSrc2int src2StepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiDiv_32f_C4R ( const Fw32f * pSrc1int src1Stepconst Fw32f * pSrc2int src2StepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiDiv_32f_AC4R ( const Fw32f * pSrc1int src1Stepconst Fw32f * pSrc2int src2StepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiDiv_32fc_C1R ( const Fw32fc * pSrc1int src1Stepconst Fw32fc * pSrc2int src2StepFw32fc * pDstint dstStepFwiSize roiSize );
FwStatus   fwiDiv_32fc_C3R ( const Fw32fc * pSrc1int src1Stepconst Fw32fc * pSrc2int src2StepFw32fc * pDstint dstStepFwiSize roiSize );
FwStatus   fwiDiv_32fc_AC4R ( const Fw32fc * pSrc1int src1Stepconst Fw32fc * pSrc2int src2StepFw32fc * 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.
pSrc1   Pointer to a location in source buffer one.
pSrc2   Pointer to a location in source buffer two.
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).
src1Step   Source buffer one step size (width of the buffer in bytes).
src2Step   Source buffer two step size (width of the buffer in bytes).
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 ROIs in two source buffers and divide the data in buffer 2 by the data in buffer 1.

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

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