summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-07-17 17:43:49 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-07-17 17:43:49 +0000
commit1334738071b89982cc23b3a246fc5deba7a6fc3c (patch)
tree4319c782e1f1b3dde4825ff362dde964e3408be6 /apps/codecs/libfaad
parent5356e6205bcdc888a2a06644fe3bd8284057e210 (diff)
downloadrockbox-1334738071b89982cc23b3a246fc5deba7a6fc3c.zip
rockbox-1334738071b89982cc23b3a246fc5deba7a6fc3c.tar.gz
rockbox-1334738071b89982cc23b3a246fc5deba7a6fc3c.tar.bz2
rockbox-1334738071b89982cc23b3a246fc5deba7a6fc3c.tar.xz
Use Tremor IMDCT for WMA. Gives a ~20% speedup on ARM and coldfire. All my test samples gave equivilent or better accuracy (>>16 bit), but there may still be problems. Code becomes somewhat less readable since the IMDCT has bits of Vorbis in it, but this is not a serious issue and the old ffmpeg transform remains in SVN if anyone wants it. Also, WMA now passes Vorbis as the fastest transform codec on ARM, although MPC remains the fastest lossy codec overall.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18084 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad')
-rw-r--r--apps/codecs/libfaad/SOURCES1
-rw-r--r--apps/codecs/libfaad/filtbank.c9
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/codecs/libfaad/SOURCES b/apps/codecs/libfaad/SOURCES
index 4c7a34d..f97e14d 100644
--- a/apps/codecs/libfaad/SOURCES
+++ b/apps/codecs/libfaad/SOURCES
@@ -33,3 +33,4 @@ sbr_tf_grid.c
specrec.c
syntax.c
tns.c
+mdct2.c \ No newline at end of file
diff --git a/apps/codecs/libfaad/filtbank.c b/apps/codecs/libfaad/filtbank.c
index 9b1bc85..724110e 100644
--- a/apps/codecs/libfaad/filtbank.c
+++ b/apps/codecs/libfaad/filtbank.c
@@ -1,19 +1,19 @@
/*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
-**
+**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
-**
+**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
-**
+**
** You should have received a copy of the GNU General Public License
-** along with this program; if not, write to the Free Software
+** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
** Any non-GPL usage of this software or parts of this software is strictly
@@ -42,6 +42,7 @@
#include "kbd_win.h"
#include "sine_win.h"
#include "mdct.h"
+#include "mdct2.h"
fb_info *filter_bank_init(uint16_t frame_len)