summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma/fft.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-09-04 18:02:10 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-09-04 18:02:10 +0000
commit46f85c4c547188d08fd90bad7734d38c654f13ea (patch)
treef868536dccac3a8d4047d11f29310e99b896b03b /apps/codecs/libwma/fft.h
parent6c608263d7e19ea9189e6812eed8fc29996b4ef2 (diff)
downloadrockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.zip
rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.gz
rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.bz2
rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.xz
Combine the Vorbis, WMA and AAC IMDCT functions and put them into the codeclib. Combined IMDCT is now based on existing Tremor transform. Reduces CPU for 192k AAC by 21MHz on Coldfire, and 5MHz on PP5024. WMA and Vorbis should have no functional changes since they already used this code. Further optimization is possible and would benefit all 3 codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/fft.h')
-rw-r--r--apps/codecs/libwma/fft.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/apps/codecs/libwma/fft.h b/apps/codecs/libwma/fft.h
deleted file mode 100644
index f3aaf2f..0000000
--- a/apps/codecs/libwma/fft.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * WMA compatible decoder
- * Copyright (c) 2002 The FFmpeg Project.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include "types.h"
-
-typedef fixed32 FFTSample;
-
-typedef struct FFTComplex
-{
- fixed32 re, im;
-}
-FFTComplex;
-
-typedef struct FFTContext
-{
- int nbits;
- int inverse;
- uint16_t *revtab;
- FFTComplex *exptab;
- FFTComplex *exptab1; /* only used by SSE code */
- int (*fft_calc)(struct FFTContext *s, FFTComplex *z);
-}
-FFTContext;
-
-int fft_calc_unscaled(FFTContext *s, FFTComplex *z);
-int fft_init_global(void);
-