BandJoinUpsample_AMRWBE

Joins high and low frequency signals and upsamples the result.

Syntax

IppStatus ippsBandJoinUpsample_AMRWBE_16s(const Ipp16s* pSrcSigLF, const Ipp16s* pSrcSigHF, int lenSrc, Ipp16s* pDstSig, int lenDst, Ipp16s* pMem, Ipp16s* pInterFracMem, Ipp32s* pCountSamp, Ipp16s resampleFactor);

Parameters

pSrcSigLF

Pointer to the low frequency signal.

pSrcSigHF

Pointer to the high frequency signal.

lenSrc

Length of low frequency and high frequency vectors.

pDstSig

Pointer to the upsampled signal.

lenDst

Length of the destination vector.

pMem

Pointer to the memory for resampling [72].

pInterFracMem

Pointer to the memory for interpolating fraction.

pCountSamp

Pointer to the number of oversampled samples.

resampleFactor

Downsampling frequency scale factor.

Description

The function ippsBandJoinUpsample_AMRWBE is declared in ippsc.h file. This function is used by the decoder: it combines the high and low frequency signals and upsamples the result to produce the full band output signal. This operation is inverse of the encoder band-splitting operation performed by the function ippsBandSplitDownsample_AMRWBE.

See also 3GPP TS 26.290: “Extended AMR Wideband Speech Codec; Transcoding functions", clauses 6.6 [AMRWB+].

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointer is NULL.

ippStsSizeErr

Indicates an error when lenSrc or lenDst is less than or equal to zero.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.