Absolute difference of two source values
MT, SSE2, Family10h
FwStatus | fwiAbsDiff_8u_C1R | ( | const Fw8u * pSrc1, int src1Step, const Fw8u * pSrc2, int src2Step, Fw8u * pDst, int dstStep, FwiSize roiSize ); | |
FwStatus | fwiAbsDiff_16u_C1R | ( | const Fw16u * pSrc1, int src1Step, const Fw16u * pSrc2, int src2Step, Fw16u * pDst, int dstStep, FwiSize roiSize ); | |
FwStatus | fwiAbsDiff_32f_C1R | ( | const Fw32f * pSrc1, int src1Step, const Fw32f * pSrc2, int src2Step, Fw32f * pDst, int dstStep, FwiSize roiSize ); |
dstStep | Destination buffer step size (width of the buffer in bytes). | |
pDst | Pointer to a location in a destination buffer. | |
pSrc1 | Pointer to a location in source buffer one. | |
pSrc2 | Pointer to a location in source buffer two. | |
roiSize | Specifies the height and width of an ROI. | |
src1Step | Source buffer one step size (width of the buffer in bytes). | |
src2Step | Source buffer two step size (width of the buffer in bytes). |
These functions step through ROIs in two source buffers, calculate the absolute value of the difference between the data in source buffer 1 and the data in source buffer 2, and write the results to a destination buffer.