lpc.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: LPC low level routines
  13. last mod: $Id: lpc.h 16037 2009-05-26 21:10:58Z xiphmont $
  14. ********************************************************************/
  15. #ifndef _V_LPC_H_
  16. #define _V_LPC_H_
  17. #include "vorbis/codec.h"
  18. /* simple linear scale LPC code */
  19. extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
  20. extern void vorbis_lpc_predict(float *coeff,float *prime,int m,
  21. float *data,long n);
  22. #endif