lsp.h 1.23 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-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.6 2000/11/06 00:07:01 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