summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libwma/wmadec.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2007-07-08 05:16:24 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2007-07-08 05:16:24 +0000
commitf5114daa730c05c6967bb4d908c934d0e3a8f994 (patch)
tree441a631837abe3a603f82298e77968a861587ddd /apps/codecs/libwma/wmadec.h
parent68d70b35d8b8208bf4894825e65bdb8f110c9150 (diff)
downloadrockbox-f5114daa730c05c6967bb4d908c934d0e3a8f994.tar.gz
rockbox-f5114daa730c05c6967bb4d908c934d0e3a8f994.zip
Move MDCT reconstruction window code over to new trig function. Improves accuracy significantly and slightly reduces code size. Codec SNR now appears to be limited by truncation to 16 bit. Comparison to MS decoder gives > 91 dB of agreement, and a lower RMS error verses the source wav then MS. Additionally, move one commonly accessed table into IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/wmadec.h')
-rw-r--r--apps/codecs/libwma/wmadec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h
index 0de50795c4..e3e5d389ae 100644
--- a/apps/codecs/libwma/wmadec.h
+++ b/apps/codecs/libwma/wmadec.h
@@ -131,7 +131,7 @@ typedef struct WMADecodeContext
fixed32 coefs[MAX_CHANNELS][BLOCK_MAX_SIZE];
MDCTContext mdct_ctx[BLOCK_NB_SIZES];
fixed32 *windows[BLOCK_NB_SIZES];
- FFTComplex mdct_tmp[BLOCK_MAX_SIZE]; /* temporary storage for imdct */
+ FFTComplex *mdct_tmp; /* temporary storage for imdct */
/* output buffer for one frame and the last for IMDCT windowing */
fixed32 frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2];
/* last frame info */