LagWindow_G729

Applies 60Hz bandwidth expansion.

Syntax

IppStatus ippsLagWindow_G729_32s_I (Ipp32s* pSrcDst, int len);

Parameters

pSrcDst

Pointer to the autocorrelation vector.

len

Number of elements in the vector.

Description

The function ippsLagWindow_G729 is declared in the ippsc.h file. This function applies a 60Hz bandwidth expansion to the autocorrelation vector as follows:

r[0] = 1.0001*r[0]

r[i] = wlag[i]*r[i] , i = 0,.. len-1

where

wlag[i] = exp(-1/2*(2πf0 *i/fS)2),

and f0 = 60Hz, fs = 8000Hz.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrcDst pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

ippStsRangeErr I

ndicates an error when len > 12.

Submit feedback on this help topic

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