summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2007-09-20 10:50:59 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2007-09-20 10:50:59 +0000
commitcd5edbe52c7fda365cbc9ab6c6040c804858c7e8 (patch)
tree82b196a88147843bb9bdc8a8244058f057cfdca8 /apps/codecs
parent12ddb8ea0d8dbaa38703c37551fcd5c5267819e6 (diff)
small cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14772 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/libwma/wmadeci.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c
index e78b5a6962..99a098ea1f 100644
--- a/apps/codecs/libwma/wmadeci.c
+++ b/apps/codecs/libwma/wmadeci.c
@@ -26,7 +26,7 @@
#include <codecs/lib/codeclib.h>
#include "asf.h"
#include "wmadec.h"
-#include "wmafixed.c"
+#include "wmafixed.h"
#include "bitstream.h"
@@ -115,8 +115,6 @@ typedef struct CoefVLCTable
CoefVLCTable;
static void wma_lsp_to_curve_init(WMADecodeContext *s, int frame_len);
-int fft_calc(FFTContext *s, FFTComplex *z);
-
fixed32 coefsarray[MAX_CHANNELS][BLOCK_MAX_SIZE] IBSS_ATTR;
@@ -127,10 +125,6 @@ fixed32 *tcosarray[5], *tsinarray[5];
fixed32 tcos0[1024], tcos1[512], tcos2[256], tcos3[128], tcos4[64]; //these are the sin and cos rotations used by the MDCT
fixed32 tsin0[1024], tsin1[512], tsin2[256], tsin3[128], tsin4[64];
-FFTComplex *exparray[5]; //these are the fft lookup tables
-
-uint16_t *revarray[5];
-
FFTComplex exptab0[512] IBSS_ATTR;
uint16_t revtab0[1024];
@@ -811,10 +805,6 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
tcosarray[0] = tcos0; tcosarray[1] = tcos1; tcosarray[2] = tcos2; tcosarray[3] = tcos3;tcosarray[4] = tcos4;
tsinarray[0] = tsin0; tsinarray[1] = tsin1; tsinarray[2] = tsin2; tsinarray[3] = tsin3;tsinarray[4] = tsin4;
- /*these are folded up now*/
- exparray[0] = exptab0; //exparray[1] = exptab1; exparray[2] = exptab2; exparray[3] = exptab3; exparray[4] = exptab4;
- revarray[0]=revtab0; //revarray[1]=revtab1; revarray[2]=revtab2; revarray[3]=revtab3; revarray[4]=revtab4;
-
s->mdct_tmp = mdct_tmp; /* temporary storage for imdct */
for(i = 0; i < s->nb_block_sizes; ++i)
{