Upsamples or downsamples the input signal to or from the upper frequency (44.1/48 khz).
IppStatus ippsResamplePolyphase_AMRWBE_16s(const Ipp16s* pSrcSignal, int lenSrc, Ipp16s upFactor, Ipp16s downFactor, Ipp16s* pInterpFracMem, Ipp16s* pMem, Ipp16s* pDstSignal, int lenDst);
pSrcSignal |
Pointer to the source signal. |
lenSrc |
Length of the input vector. |
upFactor |
Upsampling factor. |
downFactor |
Downsampling factor. |
pInterpFracMem |
Pointer to the memory for interpolating fraction. |
pMem |
Pointer to the memory for resampling, [144] for downsampling, or [44] for upsampling. |
pDstSignal |
Pointer to the destination resampled signal. |
lenDst |
Length of the destination vector. |
The function ippsResamplePolyphase_AMRWBE is declared in ippsc.h file. This function performs resampling of the input signal in accordance with the values of the resampling factors upFactor (upsampling factor) and downFactor (downsampling factor). If upFactor < downFactor, the function downsamples the input 44.1/48 kHz signal, if upFactor > downFactor, the function upsamples the input signal to the 44.1/48 kHz signal. The possible combinations of the input/output frequencies and corresponding values of resampling factors are listed in the tables below.
See also 3GPP TS 26.290: “Extended AMR Wideband Speech Codec; Transcoding functions", clauses 5.1, 6.6 [AMRWB+].
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.