Upsample_AMRWBE

Performs signal oversampling.

Syntax

IppStatus ippsUpsample_AMRWBE_16s(const Ipp16s* pSrcSignal, Ipp16s* pSrcDstSignal, int lenDst, Ipp16s* pMem, Ipp32s bandIdx, Ipp32s addFlag);

Parameters

pSrcSignal

Pointer to source signal signal [1024].

pSrcDstSignal

Pointer to the destination oversampled signal.

lenDst

Length of destination vector, [640] for 8kHz output signal, [1280] for 16kHz and [1920] for 24kHz.

pMem

Pointer to the memory for oversampling [24].

bandIdx

Index of interpolating band; possible values: 0 for 0..6.4k band, any other value for 6.4..10.8k band.

addFlag

Flag for adding operation; if it equals to 1 then the result is added to the output vector, if it equals to 0 - the result is not added.

Description

The function ippsUpsample_AMRWBE is declared in ippsc.h file. This function performs the signal oversampling of the source vector pSrcSignal. This operation is inverse of the operation described in the decsription of the function ippsDownsample_AMRWBE.

Return Values

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.

Submit feedback on this help topic

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