Mercurial > audlegacy
comparison Plugins/Input/wma/libffwma/fft.c @ 1361:62a33367a6cb trunk
[svn] Forcibly disabled Altivec ifdefs. The code that it wants to call is not actually present. ffmpeg SVN (libavcodec/ppc) has code you could pinch, but that needs to be integrated in proper style. I have given up on this. If you get it working, submit me a patch.
author | chainsaw |
---|---|
date | Thu, 29 Jun 2006 16:46:01 -0700 |
parents | 0bea7509d6ba |
children | 1ddaf20ab50e |
comparison
equal
deleted
inserted
replaced
1360:7e312e0c33e8 | 1361:62a33367a6cb |
---|---|
54 s->exptab[i].im = s1; | 54 s->exptab[i].im = s1; |
55 } | 55 } |
56 s->fft_calc = fft_calc_c; | 56 s->fft_calc = fft_calc_c; |
57 s->exptab1 = NULL; | 57 s->exptab1 = NULL; |
58 /* compute constant table for HAVE_SSE version */ | 58 /* compute constant table for HAVE_SSE version */ |
59 #if (defined(HAVE_MMX) && defined(HAVE_BUILTIN_VECTOR)) || defined(HAVE_ALTIVEC) | 59 #if (defined(HAVE_MMX) && defined(HAVE_BUILTIN_VECTOR)) || defined(BLAH_NO_ALTIVEC) |
60 { | 60 { |
61 int has_vectors = 0; | 61 int has_vectors = 0; |
62 | 62 |
63 #if defined(HAVE_MMX) | 63 #if defined(HAVE_MMX) |
64 has_vectors = mm_support() & MM_SSE; | 64 has_vectors = mm_support() & MM_SSE; |
65 #endif | 65 #endif |
66 #if defined(HAVE_ALTIVEC) && !defined(ALTIVEC_USE_REFERENCE_C_CODE) | 66 #if defined(BLAH_NO_ALTIVEC) && !defined(ALTIVEC_USE_REFERENCE_C_CODE) |
67 has_vectors = mm_support() & MM_ALTIVEC; | 67 has_vectors = mm_support() & MM_ALTIVEC; |
68 #endif | 68 #endif |
69 if (has_vectors) { | 69 if (has_vectors) { |
70 int np, nblocks, np2, l; | 70 int np, nblocks, np2, l; |
71 FFTComplex *q; | 71 FFTComplex *q; |