From cd5edbe52c7fda365cbc9ab6c6040c804858c7e8 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Thu, 20 Sep 2007 10:50:59 +0000 Subject: small cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14772 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwma/wmadeci.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'apps') 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 #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) { -- cgit v1.2.3