[FFmpeg-devel] [PATCH] libavfilter-soc: sws cpu caps flags detection

Michael Niedermayer michaelni
Wed Apr 1 23:17:59 CEST 2009


On Wed, Apr 01, 2009 at 05:58:39PM -0300, Ramiro Polla wrote:
> Hi,
> 
> On Wed, Apr 1, 2009 at 5:40 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > also see RUNTIME_CPUDETECT and the related code in sws
> 
> About RUNTIME_CPUDETECT: currently there's no way to enable it in
> FFmpeg besides using --extra-cflags. So if you HAVE_MMX2, there will
> only be the MMX2 variant of all functions in swscale.c.
> 
> rgb2rgb.c OTOH compiles all variants (but only one gets used because
> of the limitation in swscale.c).
> 
> Is it ok to make runtime cpudetect the default (like dsputils does
> currently) and always build all variants the toolchain supports?

ive no oppinion about the default but configure should support both
runtime and non runtin cpudetect
and dsputil should be updated to also consider it, it would reduce the amount
of code in the object files significantly

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090401/775d9094/attachment.pgp>



More information about the ffmpeg-devel mailing list