summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/mdct2.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/lib/mdct2.h')
-rw-r--r--apps/codecs/lib/mdct2.h76
1 files changed, 0 insertions, 76 deletions
diff --git a/apps/codecs/lib/mdct2.h b/apps/codecs/lib/mdct2.h
deleted file mode 100644
index 12b0c0845f..0000000000
--- a/apps/codecs/lib/mdct2.h
+++ /dev/null
@@ -1,76 +0,0 @@
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
22
23#ifdef _LOW_ACCURACY_
24# define X(n) (((((n)>>22)+1)>>1) - ((((n)>>22)+1)>>9))
25# //define LOOKUP_T const unsigned char
26#else
27# define X(n) (n)
28# //define LOOKUP_T const ogg_int32_t
29#endif
30
31#ifdef ROCKBOX
32#include <codecs.h>
33#endif /* ROCKBOX */
34
35#include "codeclib_misc.h"
36
37#ifndef ICONST_ATTR_TREMOR_WINDOW
38#define ICONST_ATTR_TREMOR_WINDOW ICONST_ATTR
39#endif
40
41#ifndef ICODE_ATTR_TREMOR_MDCT
42#define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR
43#endif
44
45#ifndef ICODE_ATTR_TREMOR_NOT_MDCT
46#define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR
47#endif
48
49
50
51#ifdef _LOW_ACCURACY_
52#define cPI3_8 (0x0062)
53#define cPI2_8 (0x00b5)
54#define cPI1_8 (0x00ed)
55#else
56#define cPI3_8 (0x30fbc54d)
57#define cPI2_8 (0x5a82799a)
58#define cPI1_8 (0x7641af3d)
59#endif
60
61
62extern void mdct_backward(int n, int32_t *in, int32_t *out);
63
64#endif
65
66
67
68
69
70
71
72
73
74
75
76