Multiplies accumulator and source vectors.
IppStatus ipprMul_32f_C1IM(const Ipp32f* pSrc, const Ipp32s* pMask, Ipp32f* pSrcDst[3], int len);
IppStatus ipprMul_32f_C1P3IM(const Ipp32f* pSrc, const Ipp32s* pMask, Ipp32f* pSrcDst[3], int len);
pSrc |
Pointer to the source array. |
pSrcDst |
Pointer to the accumulator array for the 1-channel flavor, or pointer to the array of pointers to separate coordinate (x, y, z) planes of the accumulator array for planar flavor. |
pMask |
Pointer to the array of masks. |
len |
Number of rays. |
The function ipprMul is declared in the ippr.h file. This function multiplies each i-th element of the vectors of the accumulator pSrcDst by the corresponding element of the source vector pSrc in points where the mask pMask[i] is greater than or equal to 0. The result is stored in the pSrcDst.
The code example demonstrates how to use this function.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.