diff options
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; |