Interpolate_GSMAMR

Computes the weighted sum of two vectors.

Syntax

IppStatus ippsInterpolate_GSMAMR_16s (const Ipp16s* pSrc1, const Ipp16s* pSrc2, Ipp16s* pDst, int len);

Parameters

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.

Description

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

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.