lsp.h 1.23 KB
Newer Older
Monty's avatar
   
Monty committed
1
2
3
4
5
6
7
/********************************************************************
 *                                                                  *
 * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
 * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
 * PLEASE READ THESE TERMS DISTRIBUTING.                            *
 *                                                                  *
Monty's avatar
   
Monty committed
8
9
 * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
 * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
Monty's avatar
   
Monty committed
10
11
 * http://www.xiph.org/                                             *
 *                                                                  *
Monty's avatar
   
Monty committed
12
13
14
 ********************************************************************

  function: LSP (also called LSF) conversion routines
Monty's avatar
   
Monty committed
15
  last mod: $Id: lsp.h,v 1.5 2000/10/12 03:12:53 xiphmont Exp $
Monty's avatar
   
Monty committed
16

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

Monty's avatar
   
Monty committed
19

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

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

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
28
  
Monty's avatar
   
Monty committed
29
#endif