Commit 881fd7a6 authored by Vitor Sessak's avatar Vitor Sessak

Move SSE optimized 32-point DCT to its own file. Should fix breakage with YASM

disabled.

Originally committed as revision 24078 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4dcc4f8e
......@@ -46,3 +46,5 @@ OBJS-$(HAVE_MMX) += x86/cpuid.o \
x86/motion_est_mmx.o \
x86/mpegvideo_mmx.o \
x86/simple_idct_mmx.o \
MMX-OBJS-$(CONFIG_DCT) += x86/dct32_sse.o
This diff is collapsed.
......@@ -43,10 +43,12 @@ av_cold void ff_fft_init_mmx(FFTContext *s)
#endif
}
#if CONFIG_DCT
av_cold void ff_dct_init_mmx(DCTContext *s)
{
int has_vectors = mm_support();
if (has_vectors & FF_MM_SSE && HAVE_SSE)
s->dct32 = ff_dct32_float_sse;
}
#endif
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment