www.pudn.com > g729_audio_encode.rar > lspdec.c
/*
ITU-T G.729 Speech Coder with Annex B ANSI-C Source Code
Version 1.3 Last modified: August 1997
Copyright (c) 1996,
AT&T, France Telecom, NTT, Universite de Sherbrooke, Lucent Technologies,
Rockwell International
All rights reserved.
*/
#include "typedef.h"
#include "ld8k.h"
#include "basic_op.h"
#include "tab_ld8k.h"
/* static memory */
static Word16 freq_prev[MA_NP][M]; /* Q13 */
/* static memory for frame erase operation */
static Word16 prev_ma; /* previous MA prediction coef.*/
static Word16 prev_lsp[M]; /* previous LSP vector */
/*----------------------------------------------------------------------------
* Lsp_decw_reset - set the previous LSP vectors
*----------------------------------------------------------------------------
*/
void Lsp_decw_reset(
void
)
{
Word16 i;
for(i=0; i