Computes the weighted sum of two vectors
IppStatus ippsInterpolateC_NR_16s(const Ipp16s* pSrc1, Ipp16s val1, int val1ScaleFactor, const Ipp16s* pSrc2, Ipp16s val2, int val2ScaleFactor, Ipp16s* pDst, int len);
pSrc1 |
Pointer to the first source vector |
val1 |
First factor |
val1ScaleFactor |
First factor scale |
pSrc2 |
Pointer to the second source vector |
val2 |
Second factor |
val2ScaleFactor |
Second factor scale |
pDst |
Pointer to the destination vector |
len |
Length of the vectors |
The function ippsInterpolateC_NR is
declared in the ipps.h file. This function computes the weighted sum of two vectors as
Here i= 0, K, len-1.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to zero. |
ippStsSizeErr |
Indicates an error when val1ScaleFactor or val2ScaleFactor is less than zero. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.