Add square
MT, SSE2
FwStatus | fwiAddSquare_8u32f_C1IR | ( | const Fw8u * pSrc, int srcStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_8s32f_C1IR | ( | const Fw8s * pSrc, int srcStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_16u32f_C1IR | ( | const Fw16u * pSrc, int srcStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_32f_C1IR | ( | const Fw32f * pSrc, int srcStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_8u32f_C1IMR | ( | const Fw8u * pSrc, int srcStep, const Fw8u * pMask, int maskStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_8s32f_C1IMR | ( | const Fw8s * pSrc, int srcStep, const Fw8u * pMask, int maskStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_16u32f_C1IMR | ( | const Fw16u * pSrc, int srcStep, const Fw8u * pMask, int maskStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); | |
FwStatus | fwiAddSquare_32f_C1IMR | ( | const Fw32f * pSrc, int srcStep, const Fw8u * pMask, int maskStep, Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize ); |
maskStep | Mask buffer step size in bytes (width of the buffer in bytes). | |
pMask | Pointer to a location in a buffer that contains a mask to be used in the operation. | |
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. | |
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). |
These functions step through ROIs in two source buffers, add the square of the data in buffer 1 to the data in buffer 2, and write the sum back to the source location.
There are versions of the functions that perform a masking operation before writing the results.