x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
cpu-test: include stdio.h only for test prog
fix building of cpu-test by including required header
Originally committed as revision 25917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cache detected CPU flags
Originally committed as revision 25085 to svn://svn.ffmpeg.org/ffmpeg/trunk
Clean up av_get_cpu_flag()
Instead of defining functions in per-arch header files includedby the main cpu.c, define them normally and call them from thegeneric one.
Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move mm_support() from libavcodec to libavutil, make it a publicfunction and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk