Preemphasize_GSMAMR

Computes pre-emphasis of an input signal in VAD option 2.

Syntax

IppStatus ippsPreemphasize_GSMAMR_16s (Ipp16s gamma, const Ipp16s* pSrc, Ipp16s* pDst, int len, Ipp16s* pMem);

Parameters

gamma

The filter coefficient, in Q15.

pSrc

Pointer to the source vector, in Q0.

pDst

Pointer to the destination vector, in Q0.

len

Number of elements in the source and destination vectors.

pMem

Pointer to the filter memory [1].

Description

The function ippsPreemphasize_GSMAMR is declared in the ippsc.h file. This function computes pre-emphasis of the input signal prior to frequency domain conversion in Voice Activity Detector option 2. The function ippsPreemphasize_GSMAMR performs the same operation as the ippsPreemphasize_G729A function does, but has a slightly different order to deliver accuracy required by the GSM-AMR transcoding standard.

Return Values

ippStsNoErr

Indicates no error.

IppStsNullPtrErr

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

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

Submit feedback on this help topic

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