diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2007-10-01 13:46:07 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2007-10-01 13:46:07 +0000 |
commit | b8753ffdaa141740e42d8c57d6f0c1aca5e6a8de (patch) | |
tree | d912174b68dda4378addd1c4aeb733a86e97af4b /apps/codecs/libwma/wmadec.h | |
parent | 6b559b21886d4da8b59bb4fe11dddb2835f31180 (diff) | |
download | rockbox-b8753ffdaa141740e42d8c57d6f0c1aca5e6a8de.tar.gz rockbox-b8753ffdaa141740e42d8c57d6f0c1aca5e6a8de.zip |
move structures around in the header files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14941 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/wmadec.h')
-rw-r--r-- | apps/codecs/libwma/wmadec.h | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index 1d5a67d8a9..f7434ed759 100644 --- a/apps/codecs/libwma/wmadec.h +++ b/apps/codecs/libwma/wmadec.h | |||
@@ -22,6 +22,8 @@ | |||
22 | 22 | ||
23 | #include "asf.h" | 23 | #include "asf.h" |
24 | #include "bitstream.h" /* For GetBitContext */ | 24 | #include "bitstream.h" /* For GetBitContext */ |
25 | #include "types.h" | ||
26 | #include "mdct.h" | ||
25 | //#include "dsputil.h" /* For MDCTContext */ | 27 | //#include "dsputil.h" /* For MDCTContext */ |
26 | 28 | ||
27 | 29 | ||
@@ -52,39 +54,6 @@ | |||
52 | 54 | ||
53 | #define LSP_POW_BITS 7 | 55 | #define LSP_POW_BITS 7 |
54 | 56 | ||
55 | #define fixed32 int32_t | ||
56 | #define fixed64 int64_t | ||
57 | |||
58 | typedef fixed32 FFTSample; | ||
59 | |||
60 | typedef struct FFTComplex | ||
61 | { | ||
62 | fixed32 re, im; | ||
63 | } | ||
64 | FFTComplex; | ||
65 | |||
66 | typedef struct FFTContext | ||
67 | { | ||
68 | int nbits; | ||
69 | int inverse; | ||
70 | uint16_t *revtab; | ||
71 | FFTComplex *exptab; | ||
72 | FFTComplex *exptab1; /* only used by SSE code */ | ||
73 | int (*fft_calc)(struct FFTContext *s, FFTComplex *z); | ||
74 | } | ||
75 | FFTContext; | ||
76 | |||
77 | typedef struct MDCTContext | ||
78 | { | ||
79 | int n; /* size of MDCT (i.e. number of input data * 2) */ | ||
80 | int nbits; /* n = 2^nbits */ | ||
81 | /* pre/post rotation tables */ | ||
82 | fixed32 *tcos; | ||
83 | fixed32 *tsin; | ||
84 | FFTContext fft; | ||
85 | } | ||
86 | MDCTContext; | ||
87 | |||
88 | typedef struct WMADecodeContext | 57 | typedef struct WMADecodeContext |
89 | { | 58 | { |
90 | GetBitContext gb; | 59 | GetBitContext gb; |