Computes the weighted sum of two vectors.
IppStatus ippsInterpolate_GSMAMR_16s (const Ipp16s* pSrc1, const Ipp16s* pSrc2, Ipp16s* pDst, int len);
pSrc1 |
Pointer to the first input vector[ len]. |
pSrc2 |
Pointer to the second input vector[ len]. |
pDst |
Pointer to the output vector[len]. |
len |
Length of the input and output vectors. |
The function ippsInterpolate_GSMAMR is declared in ippsc.h file. This function computes the weighted sum of two vectors as:
pDst[i] = (pSrc1[i]>>2) + (pSrc2[i] - (pSrc2[i]>>2) ); 0 ≤ i < len
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.