diff options
| author | Mohamed Tarek <mt@rockbox.org> | 2010-08-04 22:29:50 +0000 |
|---|---|---|
| committer | Mohamed Tarek <mt@rockbox.org> | 2010-08-04 22:29:50 +0000 |
| commit | 3bbbb9639587fa17df470e605cda6ebd1a3af021 (patch) | |
| tree | 5fe4e540263b986521403d462db4d02f28b2b84d /apps/codecs/libwmapro/mdct_tables.c | |
| parent | 83be40f7d355e7af8db12f5854ada831a8c68e8e (diff) | |
| download | rockbox-3bbbb9639587fa17df470e605cda6ebd1a3af021.zip rockbox-3bbbb9639587fa17df470e605cda6ebd1a3af021.tar.gz rockbox-3bbbb9639587fa17df470e605cda6ebd1a3af021.tar.bz2 rockbox-3bbbb9639587fa17df470e605cda6ebd1a3af021.tar.xz | |
Use codeclib's mdct in wmapro. Input coeffs to the transform needed to be scaled down first by (log2(frame_size) - 3). Increases decoding speed by 1.3MHz on PP5022 and saves ~32KB that were previously needed by the mdct tables. (FS#11511 by Buschel and myself)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27701 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/mdct_tables.c')
| -rw-r--r-- | apps/codecs/libwmapro/mdct_tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libwmapro/mdct_tables.c b/apps/codecs/libwmapro/mdct_tables.c index dd8b2a4..edb15a4 100644 --- a/apps/codecs/libwmapro/mdct_tables.c +++ b/apps/codecs/libwmapro/mdct_tables.c @@ -1378,6 +1378,7 @@ const int32_t *sine_windows[6] = { the table should be in s.31 format, but in wma pro, all the tables are scaled down to preserve energy in the signal, so this downscaling is equivalent to having the tables in ~s15.16 instead. */ +/* rockbox: not used const int32_t sincos_lookup_wmap[8064] = { 0x0000011C, 0x00016A09, 0x000009FE, 0x000169E6, 0x000012DF, 0x0001698B, 0x00001BBD, 0x000168F9, @@ -3387,4 +3388,4 @@ const int32_t sincos_lookup_wmap[8064] = { 0x00003FFD, 0x00000112, 0x00003FFD, 0x00000106, 0x00003FFE }; - +*/ |