Mercurial > libavcodec.hg
comparison x86/fft.c @ 12099:1bf322283429 libavcodec
SSE optimized 32-point DCT
author | vitor |
---|---|
date | Tue, 06 Jul 2010 16:58:54 +0000 |
parents | 5cf49858179a |
children | db9ef48dc0e4 |
comparison
equal
deleted
inserted
replaced
12098:95f57b61c9b3 | 12099:1bf322283429 |
---|---|
40 s->imdct_half = ff_imdct_half_3dn; | 40 s->imdct_half = ff_imdct_half_3dn; |
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 | |
46 av_cold void ff_dct_init_mmx(DCTContext *s) | |
47 { | |
48 int has_vectors = mm_support(); | |
49 if (has_vectors & FF_MM_SSE && HAVE_SSE) | |
50 s->dct32 = ff_dct32_float_sse; | |
51 } | |
52 |