Mercurial > mplayer.hg
comparison libfaad2/cfft.c @ 13453:6d50ef45a058
Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
patch by adland <adland123 at yahoo dot com>
author | diego |
---|---|
date | Fri, 24 Sep 2004 17:31:36 +0000 |
parents | d81145997036 |
children | 2ae5ab4331ca |
comparison
equal
deleted
inserted
replaced
13452:c364b7c13dd8 | 13453:6d50ef45a058 |
---|---|
21 ** | 21 ** |
22 ** Commercial non-GPL licensing of this software is possible. | 22 ** Commercial non-GPL licensing of this software is possible. |
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. | 23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. |
24 ** | 24 ** |
25 ** Initially modified for use with MPlayer by Arpad Gereöffy on 2003/08/30 | 25 ** Initially modified for use with MPlayer by Arpad Gereöffy on 2003/08/30 |
26 ** $Id: cfft.c,v 1.3 2004/06/02 22:59:02 diego Exp $ | 26 ** $Id: cfft.c,v 1.4 2004/06/23 13:50:49 diego Exp $ |
27 ** detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/ | 27 ** detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/ |
28 **/ | 28 **/ |
29 | 29 |
30 /* | 30 /* |
31 * Algorithmically based on Fortran-77 FFTPACK | 31 * Algorithmically based on Fortran-77 FFTPACK |
1375 #else | 1375 #else |
1376 cffti1(n, NULL, cfft->ifac); | 1376 cffti1(n, NULL, cfft->ifac); |
1377 | 1377 |
1378 switch (n) | 1378 switch (n) |
1379 { | 1379 { |
1380 case 64: cfft->tab = cfft_tab_64; break; | 1380 case 64: cfft->tab = (complex_t*)cfft_tab_64; break; |
1381 case 512: cfft->tab = cfft_tab_512; break; | 1381 case 512: cfft->tab = (complex_t*)cfft_tab_512; break; |
1382 #ifdef LD_DEC | 1382 #ifdef LD_DEC |
1383 case 256: cfft->tab = cfft_tab_256; break; | 1383 case 256: cfft->tab = (complex_t*)cfft_tab_256; break; |
1384 #endif | 1384 #endif |
1385 | 1385 |
1386 #ifdef ALLOW_SMALL_FRAMELENGTH | 1386 #ifdef ALLOW_SMALL_FRAMELENGTH |
1387 case 60: cfft->tab = cfft_tab_60; break; | 1387 case 60: cfft->tab = (complex_t*)cfft_tab_60; break; |
1388 case 480: cfft->tab = cfft_tab_480; break; | 1388 case 480: cfft->tab = (complex_t*)cfft_tab_480; break; |
1389 #ifdef LD_DEC | 1389 #ifdef LD_DEC |
1390 case 240: cfft->tab = cfft_tab_240; break; | 1390 case 240: cfft->tab = (complex_t*)cfft_tab_240; break; |
1391 #endif | 1391 #endif |
1392 #endif | 1392 #endif |
1393 } | 1393 } |
1394 #endif | 1394 #endif |
1395 | 1395 |