Sum image data
SSE2
FwStatus | fwiSum_8u_C1R | ( | const Fw8u* pSrc, int srcStep, FwiSize roiSize, Fw64f* pSum ); | |
FwStatus | fwiSum_16s_C1R | ( | const Fw16s* pSrc, int srcStep, FwiSize roiSize, Fw64f* pSum ); |
pSrc | Pointer to a location in a source buffer. | |
pSum | Pointer to the sum of values. | |
roiSize | Specifies the height and width of an ROI. | |
srcStep | Source buffer step size (width of the buffer in bytes). |
These functions step through an ROI in a source buffer, sum the image data, and write the sum to a destination buffer.