Compare floating-point data for equality
MT, SSE2, Family10h
FwStatus | fwiCompareEqualEps_32f_C1R | ( | const Fw32f * pSrc1, int src1Step, const Fw32f * pSrc2, int src2Step, Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); | |
FwStatus | fwiCompareEqualEps_32f_C3R | ( | const Fw32f * pSrc1, int src1Step, const Fw32f * pSrc2, int src2Step, Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); | |
FwStatus | fwiCompareEqualEps_32f_C4R | ( | const Fw32f * pSrc1, int src1Step, const Fw32f * pSrc2, int src2Step, Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); | |
FwStatus | fwiCompareEqualEps_32f_AC4R | ( | const Fw32f * pSrc1, int src1Step, const Fw32f * pSrc2, int src2Step, Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); |
dstStep | Destination buffer step size (width of the buffer in bytes). | |
eps | Tolerance value. | |
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 floating-point source buffers and compare the data in buffer 1 to the data in buffer 2 for equality within a specified tolerance.
When the difference between the values is less than or equal to the specified tolerance, the output data is set to all ones.
When the difference between the floating-point value and the constant is greater than the specified tolerance, the output data is set to all zeroes.
Output data is written to a 1-channel Fw8u destination buffer.