4337ca3edb8fd9d4192d238f4e30d6282b73ff30
[platform/upstream/libvorbis.git] / lib / mdct.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
9  * by 1999 Monty and The XIPHOPHORUS Company                        *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: modified discrete cosine transform prototypes
15
16  ********************************************************************/
17
18 #ifndef _OGG_mdct_H_
19 #define _OGG_mdct_H_
20
21 #include "codec.h"
22
23 extern void mdct_init(mdct_lookup *lookup,int n);
24 extern void mdct_clear(mdct_lookup *l);
25 extern void mdct_forward(mdct_lookup *init, double *in, 
26                          double *out, double *window);
27 extern void mdct_backward(mdct_lookup *init, double *in, 
28                           double *out, double *window);
29
30 #endif
31
32
33
34
35
36
37
38
39
40
41
42