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

Stefano Sabatini stefano.sabatini-lala
Sat Apr 4 00:44:34 CEST 2009

On date Friday 2009-04-03 01:27:32 +0200, Stefano Sabatini encoded:
> On date Friday 2009-04-03 00:22:12 +0200, Michael Niedermayer encoded:
> > default should be detection but the user should be able to force them
> > disabled
> Then I think about to set this just before handling the "sws_flags" opt,
> but this unfortunately can't work since the application
> (ffmpeg/ffplay) sets options with:
> sws_flags=d
> which overrides previous settings and using:
> sws_flags=+d
> doesn't work either since we'll end up with more than one scale algo.
> Ideally we should have a way to tell:
> sws_flags=d-cpu_flags+my_cpu_flag
> That would be possible using the opt_handler system, I'll try to
> revive it addressing your comments, or I'll look for a simpler
> solution.

Simpler solution attached.

FFmpeg = Fierce & Fundamentalist Multimedia Problematic Emblematic Gargoyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scale-support-cpuflags.patch
Type: text/x-diff
Size: 1414 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090404/7c27c042/attachment.patch>

More information about the ffmpeg-devel mailing list