GainControl_G7291

Calculates adaptive gain control.

Syntax

IppStatus ippsGainControl_G7291_16s_I(const Ipp16s pSrc[40], Ipp16s pSrcDst[40], Ipp16s* pSrcDstGain, Ipp16s gain, Ipp16s valGainSwitching, Ipp32s* pSrcDstSmoothLevel);

Parameters

pSrc

Pointer to the source reconstructed speech vector.

pSrcDst

Pointer to the input post-filtered signal and output gain-compensated signal vector.

pSrcDstGain

Pointer to the input/output adaptive gain.

gain

First reflection coefficient.

valGainSwitching

Gain attenuation factor.

pSrcDstSmoothLevel

Pointer to the input/output smooth level.

Description

The function ippsGainControl_G7291 is declared in the ippsc.h file. This function performs gain control directly derived from the G.729 with some modifications described in [ITU7291] section 7.4.1.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.

Submit feedback on this help topic

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