~arkadini/fogg/trunk

« back to all changes in this revision

Viewing changes to reference/tremor/mdct.h

  • Committer: Arek Korbik
  • Date: 2008-10-03 00:34:01 UTC
  • Revision ID: arkadini@gmail.com-20081003003401-9eahru9hcz3o2qht
Remove the Tremor reference files for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/********************************************************************
2
 
 *                                                                  *
3
 
 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE.   *
4
 
 *                                                                  *
5
 
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
6
 
 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
7
 
 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
8
 
 *                                                                  *
9
 
 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002    *
10
 
 * BY THE Xiph.Org FOUNDATION 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 "ivorbiscodec.h"
22
 
#include "misc.h"
23
 
 
24
 
#define DATA_TYPE ogg_int32_t
25
 
#define REG_TYPE  register ogg_int32_t
26
 
 
27
 
#ifdef _LOW_ACCURACY_
28
 
#define cPI3_8 (0x0062)
29
 
#define cPI2_8 (0x00b5)
30
 
#define cPI1_8 (0x00ed)
31
 
#else
32
 
#define cPI3_8 (0x30fbc54d)
33
 
#define cPI2_8 (0x5a82799a)
34
 
#define cPI1_8 (0x7641af3d)
35
 
#endif
36
 
 
37
 
extern void mdct_forward(int n, DATA_TYPE *in, DATA_TYPE *out);
38
 
extern void mdct_backward(int n, DATA_TYPE *in, DATA_TYPE *out);
39
 
 
40
 
#endif
41
 
 
42
 
 
43
 
 
44
 
 
45
 
 
46
 
 
47
 
 
48
 
 
49
 
 
50
 
 
51
 
 
52