Finished LPC and LSP code. Adding cut down version of full FFT from
[platform/upstream/libvorbis.git] / lib / lpc.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
9  * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14   function: LPC low level routines
15
16  ********************************************************************/
17
18 #ifndef _V_LPC_H_
19 #define _V_LPC_H_
20
21 extern double vorbis_curve_to_lpc(double *curve,int n,double *lpc,int m);
22 extern void vorbis_lpc_to_curve(double *curve,int n,double *lpc, 
23                                 double amp,int m);
24 extern void vorbis_lpc_apply(double *residue,int n,double *lpc, 
25                               double amp,int m);
26
27 #endif