Fixing win32/linux build snafu
[platform/upstream/libvorbis.git] / include / vorbis / internal.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-2000             *
9  * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: libvorbis codec internal types.  These structures are 
15            'visible', but generally uninteresting to the developer
16  last mod: $Id: internal.h,v 1.4 2000/01/22 13:28:12 xiphmont Exp $
17
18  ********************************************************************/
19
20 #ifndef _vorbis_internal_h_
21 #define _vorbis_internal_h_
22
23 /* lookup structures for various simple transforms *****************/
24
25 typedef struct {
26   int n;
27   int log2n;
28   
29   double *trig;
30   int    *bitrev;
31
32 } mdct_lookup;
33
34 typedef struct {
35   int winlen;
36   double *window;
37   mdct_lookup mdct;
38 } envelope_lookup;
39
40 /* structures for various internal data abstractions ********************/
41
42 typedef struct {
43   long endbyte;     
44   int  endbit;      
45
46   unsigned char *buffer;
47   unsigned char *ptr;
48   long storage;
49   
50 } oggpack_buffer;
51
52 #endif
53
54
55
56
57