lsp.h 1.15 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 5 6
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
Monty's avatar
 
Monty committed
7
 *                                                                  *
Monty's avatar
Monty committed
8
 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009             *
9
 * by the Xiph.Org Foundation http://www.xiph.org/                  *
10
 *                                                                  *
Monty's avatar
 
Monty committed
11 12 13 14
 ********************************************************************

  function: LSP (also called LSF) conversion routines

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

Monty's avatar
 
Monty committed
17

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

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

extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
24 25
                                float *lsp,int m,
                                float amp,float ampoffset);
Monty's avatar
Monty committed
26

Monty's avatar
 
Monty committed
27
#endif