Computes the impulse response and target signal required for the adaptive codebook search.
IppStatus ippsImpulseResponseTarget_GSMAMR_16s(const Ipp16s* pSrcSpch, const Ipp16s* pSrcWgtLpc1, const Ipp16s* pSrcWgtLpc2, const Ipp16s* pSrcQLpc, const Ipp16s* pSrcSynFltState, const Ipp16s* pSrcWgtFltState, Ipp16s* pDstImpulseResponse, Ipp16s* pDstLpResidual, Ipp16s* pDstAdptTarget);
pSrcSpch |
Pointer to the 50-element input speech vector, where elements 0 - 9 are from the previous subframe, and elements 10 - 49 are from the current subframe. |
pSrcWgtLpc1 |
Pointer to an eleven-element vector of weighted LP coefficients associated with A(z/γ1) on the current subframe, represented using Q3.12. |
pSrcWgtLpc2 |
Pointer to an eleven-element vector of weighted LP coefficients associated with A(z/γ2) on the current subframe, represented using Q3.12. |
pSrcQLpc |
Pointer to an eleven-element vector of quantized LP coefficients for the current subframe, represented using Q3.12. |
pSrcSynFltState |
Pointer to the ten-element vector that contains the state of the synthesis filter, represented using Q15.0. |
pSrcWgtFltState |
Pointer to the ten-element vector that contains the state of the weighting filter, represented using Q15.0.. |
pDstImpulseResponse |
Pointer to the 40-element vector that contains the impulse response, represented using Q3.12. |
pDstLpResidual |
Pointer to the 40-element vector that contains the LP residual, represented using Q15.0. |
pDstAdptTarget |
Pointer to the 40-element vector that contains the LP residual, represented using Q15.0. |
The function ippsImpulseResponseTarget_GSMAMR is declared in ippsc.h file. This function computes the impulse response and target signal required for the adaptive codebook search. This function is performed on a subframe basis using the following approach:
ippStsNoErr |
Indicates no error. |
IppStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.