mdct.h 1.36 KB
Newer Older
Mike Whitson's avatar
Mike Whitson 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            *
Mike Whitson's avatar
Mike Whitson committed
10
11
12
13
14
 * http://www.xiph.org/                                             *
 *                                                                  *
 ********************************************************************

 function: modified discrete cosine transform prototypes
Monty's avatar
   
Monty committed
15
 last mod: $Id: mdct.h,v 1.8 1999/12/30 07:26:45 xiphmont Exp $
Mike Whitson's avatar
Mike Whitson committed
16
17
18

 ********************************************************************/

Monty's avatar
   
Monty committed
19
20
#ifndef _OGG_mdct_H_
#define _OGG_mdct_H_
Mike Whitson's avatar
Mike Whitson committed
21

Monty's avatar
   
Monty committed
22
#include "codec.h"
Mike Whitson's avatar
Mike Whitson committed
23

Monty's avatar
   
Monty committed
24
25
26
27
extern void mdct_init(mdct_lookup *lookup,int n);
extern void mdct_clear(mdct_lookup *l);
extern void mdct_forward(mdct_lookup *init, double *in, 
			 double *out, double *window);
Monty's avatar
   
Monty committed
28
29
extern void mdct_backward(mdct_lookup *init, double *in, 
			  double *out, double *window);
Mike Whitson's avatar
Mike Whitson committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43

#endif