Searches for the harmonic delay and gain for the harmonic noise shaping filter.
IppStatus ippsHarmonicSearch_G723_16s(Ipp16s valOpenDelay, const Ipp16s* pSrcWgtSpch, Ipp16s* pResultHarmonicDelay, Ipp16s* pResultHarmonicGain);
valOpenDelay |
Open loop pitch, in the range [18,145]. |
pSrcWgtSpch |
Pointer to the weighted speech vector [205]. The pointer points to the 146th element, in Q12. |
pResultHarmonicDelay |
Pointer to the output harmonic delay. |
pResultHarmonicGain |
Pointer to the output harmonic gain, in Q15. |
The function ippsHarmonicSearch_G723 is declared in the ippsc.h file. This function searches for the harmonic delay and harmonic gain for the harmonic noise shaping filter, using the weighted speech and open loop pitch as input. This function is applied in subframes.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsRangeErr |
Indicates an error when valOpenDelay is not in the range [18, 145]. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.