lsp.h 1.16 KB
Newer Older
Monty's avatar
   
Monty committed
1
2
/********************************************************************
 *                                                                  *
Monty's avatar
   
Monty committed
3
 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
Monty's avatar
   
Monty committed
4
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
Monty's avatar
   
Monty committed
5
6
 * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH    *
 * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.        *
Monty's avatar
   
Monty committed
7
 *                                                                  *
Monty's avatar
   
Monty committed
8
9
 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
 * by the XIPHOPHORUS Company http://www.xiph.org/                  *
Monty's avatar
   
Monty committed
10
 *                                                                  *
Monty's avatar
   
Monty committed
11
12
13
 ********************************************************************

  function: LSP (also called LSF) conversion routines
Monty's avatar
   
Monty committed
14
  last mod: $Id: lsp.h,v 1.8 2001/02/17 10:13:47 xiphmont Exp $
Monty's avatar
   
Monty committed
15

Monty's avatar
   
Monty committed
16
17
 ********************************************************************/

Monty's avatar
   
Monty committed
18

Monty's avatar
   
Monty committed
19
20
21
#ifndef _V_LSP_H_
#define _V_LSP_H_

Monty's avatar
   
Monty committed
22
extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
Monty's avatar
   
Monty committed
23
24
25
26

extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
				float *lsp,int m,
				float amp,float ampoffset);
Monty's avatar
   
Monty committed
27
  
Monty's avatar
   
Monty committed
28
#endif