[FFmpeg-devel] [RFC] port swscale to AV_CPU_FLAG_* and use av_get_cpu_flags() for runtime cpu detection

Janne Grunau janne-ffmpeg
Tue Sep 28 00:24:58 CEST 2010


following patches port swscale internally to AV_CPU_FLAG*. The behaviour
of sws_get(Cached)?Context shouldn't change. Using sws_alloc/init_context
with AVOptions and without SWS_CPU_CAPS* in flags and AV_CPU_FLAG_FORCE
in the added dsp_mask will trigger the auto detection using

There are a cpouple of thinks in [Patch 2/5] which are only there to make
[PATCH 3/5] simpler.


More information about the ffmpeg-devel mailing list