PitchPeriodExtraction_G728

Extracts pitch period from the LPC prediction residual.

Syntax

IppStatus ippsPitchPeriodExtraction_G728_16s (const Ipp16s* pSrcResidual, int* pPitchPeriod, IppsPostFilterAdapterState_G728* pMem);

Parameters

pSrcResidual

Pointer to the LPC undecimated residual vector d[-140,99].

pPitchPeriod

Pointer to the pitch period of the previous frame.

pMem

Pointer to the postfilter adapter memory.

Description

The function ippsPitchPeriodExtraction_G728 is declared in ippsc.h file. The function extracts the pitch period once per frame. It assumes that the input vector contains the LPC prediction residual of previous frames (samples [-139,80]) and of four vectors of the current frame stored, respectively, in elements [80,84], [85,89], [90,94], and [95,99]. The prediction history for the previous frame is stored in the elements [-139,80].

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

Submit feedback on this help topic

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