summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/fft.c
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-07-05 22:33:37 +0000
committerMohamed Tarek <mt@rockbox.org>2010-07-05 22:33:37 +0000
commitd884af2b9992f12e98a3e8548aff76b232b5bfb3 (patch)
treed3aefbc2195382025105b252c16b00087778beed /apps/codecs/libwmapro/fft.c
parent6a04479d63dd4d7dfc54849e4c925d360d55fa9c (diff)
downloadrockbox-d884af2b9992f12e98a3e8548aff76b232b5bfb3.zip
rockbox-d884af2b9992f12e98a3e8548aff76b232b5bfb3.tar.gz
rockbox-d884af2b9992f12e98a3e8548aff76b232b5bfb3.tar.bz2
rockbox-d884af2b9992f12e98a3e8548aff76b232b5bfb3.tar.xz
Partial conversion of the wmapro decoder to fixed point arithmetic. Currently inverse quantization & rescaling,
imdct and windowing are all in fixed point. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27302 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/fft.c')
-rw-r--r--apps/codecs/libwmapro/fft.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libwmapro/fft.c b/apps/codecs/libwmapro/fft.c
index b0e6e11..0b43fea 100644
--- a/apps/codecs/libwmapro/fft.c
+++ b/apps/codecs/libwmapro/fft.c
@@ -101,10 +101,10 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
s2 = inverse ? 1.0 : -1.0;
s->fft_permute = ff_fft_permute_c;
- s->fft_calc = ff_fft_calc_c;
+ s->fft_calc = fff_fft_calc_c;
//#if CONFIG_MDCT
s->imdct_calc = ff_imdct_calc_c;
- s->imdct_half = ff_imdct_half_c;
+ s->imdct_half = fff_imdct_half_c;
s->mdct_calc = ff_mdct_calc_c;
//#endif
s->exptab1 = NULL;
@@ -361,7 +361,7 @@ static void (* const fft_dispatch[])(FFTComplex*) = {
fft2048, fft4096, fft8192, fft16384, fft32768, fft65536,
};
-void ff_fft_calc_c(FFTContext *s, FFTComplex *z)
+void fff_fft_calc_c(FFTContext *s, FFTComplex *z)
{
fft_dispatch[s->nbits-2](z);
}