lsp.h 1.2 KB

123456789101112131415161718192021222324252627
  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-2009 *
  9. * by the Xiph.Org Foundation https://xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: LSP (also called LSF) conversion routines
  13. ********************************************************************/
  14. #ifndef _V_LSP_H_
  15. #define _V_LSP_H_
  16. extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
  17. extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
  18. float *lsp,int m,
  19. float amp,float ampoffset);
  20. #endif