[FFmpeg-devel] [PATCH] enable runtime-cpudetect in configure

Ramiro Polla ramiro.polla
Sun Apr 5 19:17:53 CEST 2009


Hi,

Enable runtime-cpudetection in configure so that other projects don't
have to use the --extra-cflags=-DRUNTIME_CPUDETECT hack.
Also applies it to swscale.

This can then be used, like Michael suggested, in dsputils as well to
save on binary size.

And then there's the issue that with runtime cpu detection, swscale
expects the use to pass the appropriate sws_flags. Shouldn't ffmpeg.c
use mm_support() and set those flags?

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-swscale-Use-runtime-cpudetect-from-configure.patch
Type: text/x-diff
Size: 3577 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090405/7f1f7c6f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-enable-runtime-cpudetect-in-configure.patch
Type: text/x-diff
Size: 4411 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090405/7f1f7c6f/attachment-0001.patch>



More information about the ffmpeg-devel mailing list