Calculates adaptive gain control.
IppStatus ippsGainControl_G7291_16s_I(const Ipp16s pSrc[40], Ipp16s pSrcDst[40], Ipp16s* pSrcDstGain, Ipp16s gain, Ipp16s valGainSwitching, Ipp32s* pSrcDstSmoothLevel);
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. |
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.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.