Integrates an input vector with specified integration weight.
IppStatus ippsUpdateLinear_16s32s_I(const Ipp16s* pSrc, int len, Ipp32s* pSrcDst, int srcShiftRight, Ipp16s alpha, IppHintAlgorithm hint);
pSrc |
Pointer to the source vector. |
len |
Number of elements of the vector. |
pSrcDst |
Pointer to the input value and output result. |
srcShiftRight |
Shift value; must be non-negative. |
alpha |
Integration weight. |
hint |
Suggests using specific code. The possible values for the hint argument are described in Hint Arguments. |
The function ippsUpdateLinear is declared in the ipps.h file. This function performs len iterations in which the sum
alpha * pSrcDst + (1 - alpha) * pSrc[i]shift is calculated and stored in pSrcDst. Here i is the number of previous iterations, pSrcDst is the result of previous iteration, and pSrc[i]shift is the element of the source vector right-shifted by the non-negative value srcShiftRight.
The example below shows how to use the function ippsUpdateLinear.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.