123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef _V_LPC_H_
- #define _V_LPC_H_
- #include "vorbis/codec.h"
- #include "smallft.h"
- typedef struct lpclook{
-
- drft_lookup fft;
- int ln;
- int m;
- } lpc_lookup;
- extern void lpc_init(lpc_lookup *l,long mapped, int m);
- extern void lpc_clear(lpc_lookup *l);
- extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
- extern float vorbis_lpc_from_curve(float *curve,float *lpc,lpc_lookup *l);
- extern void vorbis_lpc_predict(float *coeff,float *prime,int m,
- float *data,long n);
- #endif
|