comparison x86/fft.c @ 12100:db9ef48dc0e4 libavcodec

Move SSE optimized 32-point DCT to its own file. Should fix breakage with YASM disabled.
author vitor
date Tue, 06 Jul 2010 17:48:23 +0000
parents 1bf322283429
children a5ddb39627fd
comparison
equal deleted inserted replaced
12099:1bf322283429 12100:db9ef48dc0e4
41 s->fft_calc = ff_fft_calc_3dn; 41 s->fft_calc = ff_fft_calc_3dn;
42 } 42 }
43 #endif 43 #endif
44 } 44 }
45 45
46 #if CONFIG_DCT
46 av_cold void ff_dct_init_mmx(DCTContext *s) 47 av_cold void ff_dct_init_mmx(DCTContext *s)
47 { 48 {
48 int has_vectors = mm_support(); 49 int has_vectors = mm_support();
49 if (has_vectors & FF_MM_SSE && HAVE_SSE) 50 if (has_vectors & FF_MM_SSE && HAVE_SSE)
50 s->dct32 = ff_dct32_float_sse; 51 s->dct32 = ff_dct32_float_sse;
51 } 52 }
53 #endif
52 54