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