PitchPostFilter_G723

Calculates coefficients of the pitch post filter.

Syntax

IppStatus ippsPitchPostFilter_G723_16s(Ipp16s valBaseDelay, const Ipp16s* pSrcResidual, Ipp16s* pResultDelay, Ipp16s* pResultPitchGain, Ipp16s* pResultScalingGain, Ipp16s subFrame, IppSpchBitRate bitRate);

Parameters

valBaseDelay

Base delay, in the range [18,145].

pSrcResidual

Pointer to the residual signal vector [365]. This pointer points to the 146th element.

pResultDelay

Pointer to the delay of the pitch post filter.

pResultPitchGain

Pointer to the gain of the pitch post filter, in Q15.

pResultScalingGain

Pointer to the scaling gain of the pitch post filter, in Q15.

subFrame

Subframe number, from 0 to 3.

bitRate

Transmit bit rate, equal to either IPP_SPCHBR_6300 or IPP_SPCHBR_5300.

Description

The function ippsPitchPostFilter_G723 is declared in the ippsc.h file. This function calculates the coefficients of the pitch post filter. It is applied in subframes.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsRangeErr

Indicates an error when valBaseDelay is not in the range [18, 145], or subFrame is not 0 or 3, or bitRate is not a valid element of the enumerated type IppSpchBitRate.

Submit feedback on this help topic

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