lsp.h (1186B)
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-2002 * 9 * by the XIPHOPHORUS Company http://www.xiph.org/ * 10 * * 11 ******************************************************************** 12 13 function: LSP (also called LSF) conversion routines 14 last mod: $Id: lsp.h 1919 2005-07-24 14:18:04Z baford $ 15 16 ********************************************************************/ 17 18 19 #ifndef _V_LSP_H_ 20 #define _V_LSP_H_ 21 22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m); 23 24 extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln, 25 float *lsp,int m, 26 float amp,float ampoffset); 27 28 #endif