1 /********************************************************************
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5 * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH *
6 * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2000 *
9 * by Monty <monty@xiph.org> and the XIPHOPHORUS Company *
10 * http://www.xiph.org/ *
12 ********************************************************************
14 function: LPC low level routines
15 last mod: $Id: lpc.h,v 1.15 2000/11/06 00:07:01 xiphmont Exp $
17 ********************************************************************/
22 #include "vorbis/codec.h"
25 typedef struct lpclook{
26 /* en/decode lookups */
34 extern void lpc_init(lpc_lookup *l,long mapped, int m);
35 extern void lpc_clear(lpc_lookup *l);
37 /* simple linear scale LPC code */
38 extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
39 extern float vorbis_lpc_from_curve(float *curve,float *lpc,lpc_lookup *l);
41 extern void vorbis_lpc_predict(float *coeff,float *prime,int m,