Commit Graph

6 Commits

Author SHA1 Message Date
Mans Rullgard 87f1355f9b x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-20 13:20:42 +00:00
Mans Rullgard ec5f57192a cpu-test: include stdio.h only for test prog 2011-01-18 20:48:24 +00:00
Ramiro Polla e3c011c836 fix building of cpu-test by including required header
Originally committed as revision 25917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 15:25:44 +00:00
Måns Rullgård a3f0d2b967 Cache detected CPU flags
Originally committed as revision 25085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-09 18:51:49 +00:00
Måns Rullgård 9275438a19 Clean up av_get_cpu_flag()
Instead of defining functions in per-arch header files included
by the main cpu.c, define them normally and call them from the
generic one.

Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-09 18:51:45 +00:00
Stefano Sabatini c6c98d0897 Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags().

Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-08 15:07:14 +00:00