comparison fft.c @ 995:edc10966b081 libavcodec

altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
author michaelni
date Sat, 11 Jan 2003 20:51:03 +0000
parents e05d525505c5
children 3b7cc8e4b83f
comparison
equal deleted inserted replaced
994:7701ff462e3a 995:edc10966b081
55 { 55 {
56 int has_vectors; 56 int has_vectors;
57 57
58 #if defined(HAVE_MMX) 58 #if defined(HAVE_MMX)
59 has_vectors = mm_support() & MM_SSE; 59 has_vectors = mm_support() & MM_SSE;
60 #else 60 #endif
61 /* XXX: should also use mm_support() ? */ 61 #if defined(HAVE_ALTIVEC)
62 has_vectors = has_altivec() & MM_ALTIVEC; 62 has_vectors = mm_support() & MM_ALTIVEC;
63 #endif 63 #endif
64 if (has_vectors) { 64 if (has_vectors) {
65 int np, nblocks, np2, l; 65 int np, nblocks, np2, l;
66 FFTComplex *q; 66 FFTComplex *q;
67 67