LSPQuant_RTA

Performs quantization of LSP coefficients.

Syntax

IppStatus ippsLSPQuant_RTA_32f(const Ipp32f* pSrcLSP, const Ipp32f* pSrcLPC, Ipp32f* pDstLSP, int order, int* pDstLSPIndex, IppPCMFrequency frequency, int complexity);

Parameters

pSrcLSP

Pointer to the input unquantized LSP vector.

pSrcLPC

Pointer to the input unquantized LPC vectorþ

pDstLSP

Pointer to the output quantized LSP vector.

order

LP coefficients filter order, possible values are: 4, 6, 8, 10.

pDstLSPIndex

Pointer to the output vector of quantized LSP indexes.

frequency

Sampling frequency, possible values are:

IPP_PCM_FREQ_8000 8000 Hz,

IPP_PCM_FREQ_16000 16000 Hz,

IPP_PCM_FREQ_22050 22050 Hz,

IPP_PCM_FREQ_32000 32000 Hz.

complexity

Complexity control parameter, possible values are: 0, 1, 2, 3.

Description

The function ippsLSPQuant_RTA is declared in the ippsc.h file.

This function performs quantization of LSP coefficients.

Return Values

ippStsNoErr

Indicates no error.

IppStsNullPtrErr

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

IppStsRangeErr

Indicates an error when complexity is less than 0 or greater than 3; or order is not equal to 4, 6, 8, 10; or frequency is not equal to the possible values.

Submit feedback on this help topic

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