Performs the signal decimating.
IppStatus ippsDownsample_AMRWBE_16s(const Ipp16s* pSrcSignal, int lenSrc, Ipp16s* pDstSignal, Ipp16s* pMem, Ipp32s bandIdx);
pSrcSignal |
Pointer to the source signal. |
lenSrc |
Length of the source vector, [640] for 8 kHz source signal, [1280] for 16 kHz and [1920] for 24 kHz. |
pDstSignal |
Pointer to destination signal [1024]. |
pMem |
Pointer to the memory for descimating [46]. |
bandIdx |
Index of interpolating band; possible values: 0 for 0..6.4 kHz band, any other for 6.4..10.8 kHz band. |
The function ippsDownsample_AMRWBE is declared in ippsc.h file. This function performs downsampling of the source signal pSrcSignal with the following sample rate: 8, 16, 24 kHz. The function filters input signal to the band 0...6.4 kHz, or 6.4...10.8 kHz in accordance with the parameter bandIdx, and downsamples (upsamples for 8 kHz input signal) to 12.6 kHz.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointer is NULL. |
ippStsSizeErr |
Indicates an error when lenDst has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.