summaryrefslogtreecommitdiff
path: root/ac3dec/srfft_kni_c.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2001-08-12 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2001-08-12 18:00:00 +0200
commitefea0f64d08052b0189d962101e1a3634d4adfc8 (patch)
treea3feff7ccf6874da549b25ea3b671d15a65d0e3d /ac3dec/srfft_kni_c.c
parentf1d1c9849c8e27cccb46cf9c0d0ccb59da3f91f9 (diff)
downloadvdr-patch-lnbsharing-efea0f64d08052b0189d962101e1a3634d4adfc8.tar.gz
vdr-patch-lnbsharing-efea0f64d08052b0189d962101e1a3634d4adfc8.tar.bz2
Version 0.91vdr-0.91
- Fixed displaying colored button texts that are too long. - Suppressing replay progress display when replaying a DVD. - Updated channels.conf.cable (thanks to Uwe Scheffler). - Updated French OSD texts (thanks to Jean-Claude Repetto). - Improved AC3 decoding when replaying DVDs (thanks to Matjaz Thaler). - Fixed handling DVB card indexes when using only one card in a multi-card system. - Changed the 'Eject DVD' button text to a simple 'Eject' (the German text was too long...). - Made the font file generation more stable (thanks to Artur Skawina). - Changed the default value for the "DiSEqC" setup parameter to "off". - The new command line option '-E' can be used to define where the EPG data shall be written to. This is especially useful if VDR runs in a system that turns off the video disk when it is not used, and therefore needs to write the EPG file to a ramdisk (or turn off writing it alltogether). See 'vdr --help' for details. - Making sure the disk is up and running before starting recording (this is important for systems that turn off the video disk when it is not used). - Added the "Jump" function in replay mode (thanks to Stefan Huelswitt). See the description of the "Red" key in MANUAL under "Replay Control" for details. - Fixed displaying editing marks when toggling a mark in "pause" mode. - If there is no free DVB device to record, the log message will now be given only once. - Made I/O more robust by handling EINTR (thanks to Werner Fink).
Diffstat (limited to 'ac3dec/srfft_kni_c.c')
-rw-r--r--ac3dec/srfft_kni_c.c93
1 files changed, 93 insertions, 0 deletions
diff --git a/ac3dec/srfft_kni_c.c b/ac3dec/srfft_kni_c.c
new file mode 100644
index 0000000..d461110
--- /dev/null
+++ b/ac3dec/srfft_kni_c.c
@@ -0,0 +1,93 @@
+/*
+ * srfft_kni.c
+ *
+ * Copyright (C) Yuqing Deng <Yuqing_Deng@brown.edu> - April 2000
+ *
+ * 64 and 128 point split radix fft for ac3dec
+ *
+ * The algorithm is desribed in the book:
+ * "Computational Frameworks of the Fast Fourier Transform".
+ *
+ * The ideas and the the organization of code borrowed from djbfft written by
+ * D. J. Bernstein <djb@cr.py.to>. djbff can be found at
+ * http://cr.yp.to/djbfft.html.
+ *
+ * srfft.c 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, or (at your option)
+ * any later version.
+ *
+ * srfft.c 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 GNU Make; see the file COPYING. If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifdef __i386__
+
+#include <stdio.h>
+
+#include "srfft_kni.h"
+#include "srfftp.h"
+
+void fft_64p_kni(complex_t *a)
+{
+ fft_8_kni(&a[0]); fft_4_kni(&a[8]); fft_4_kni(&a[12]);
+ fft_asmb_kni(2, &a[0], &a[8], &delta16[0], &delta16_3[0]);
+
+ fft_8_kni(&a[16]), fft_8_kni(&a[24]);
+ fft_asmb_kni(4, &a[0], &a[16],&delta32[0], &delta32_3[0]);
+
+ fft_8_kni(&a[32]); fft_4_kni(&a[40]); fft_4_kni(&a[44]);
+ fft_asmb_kni(2, &a[32], &a[40], &delta16[0], &delta16_3[0]);
+
+ fft_8_kni(&a[48]); fft_4_kni(&a[56]); fft_4_kni(&a[60]);
+ fft_asmb_kni(2, &a[48], &a[56], &delta16[0], &delta16_3[0]);
+
+ fft_asmb_kni(8, &a[0], &a[32],&delta64[0], &delta64_3[0]);
+}
+
+
+void fft_128p_kni(complex_t *a)
+{
+ fft_8_kni(&a[0]); fft_4_kni(&a[8]); fft_4_kni(&a[12]);
+ fft_asmb_kni(2, &a[0], &a[8], &delta16[0], &delta16_3[0]);
+
+ fft_8_kni(&a[16]), fft_8_kni(&a[24]);
+ fft_asmb_kni(4, &a[0], &a[16],&delta32[0], &delta32_3[0]);
+
+ fft_8_kni(&a[32]); fft_4_kni(&a[40]); fft_4_kni(&a[44]);
+ fft_asmb_kni(2, &a[32], &a[40], &delta16[0], &delta16_3[0]);
+
+ fft_8_kni(&a[48]); fft_4_kni(&a[56]); fft_4_kni(&a[60]);
+ fft_asmb_kni(2, &a[48], &a[56], &delta16[0], &delta16_3[0]);
+
+ fft_asmb_kni(8, &a[0], &a[32],&delta64[0], &delta64_3[0]);
+
+ fft_8_kni(&a[64]); fft_4_kni(&a[72]); fft_4_kni(&a[76]);
+ /* fft_16(&a[64]); */
+ fft_asmb_kni(2, &a[64], &a[72], &delta16[0], &delta16_3[0]);
+
+ fft_8_kni(&a[80]); fft_8_kni(&a[88]);
+
+ /* fft_32(&a[64]); */
+ fft_asmb_kni(4, &a[64], &a[80],&delta32[0], &delta32_3[0]);
+
+ fft_8_kni(&a[96]); fft_4_kni(&a[104]), fft_4_kni(&a[108]);
+ /* fft_16(&a[96]); */
+ fft_asmb_kni(2, &a[96], &a[104], &delta16[0], &delta16_3[0]);
+
+ fft_8_kni(&a[112]), fft_8_kni(&a[120]);
+ /* fft_32(&a[96]); */
+ fft_asmb_kni(4, &a[96], &a[112], &delta32[0], &delta32_3[0]);
+
+ /* fft_128(&a[0]); */
+ fft_asmb_kni(16, &a[0], &a[64], &delta128[0], &delta128_3[0]);
+}
+
+#endif