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

Michael Niedermayer michaelni
Sat Apr 4 04:32:12 CEST 2009


On Sat, Apr 04, 2009 at 12:44:34AM +0200, Stefano Sabatini wrote:
> 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.

ugly
but if it works commit it with a FIXME comment if noone has a better idea

[..]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20090404/e7188040/attachment.pgp>



More information about the ffmpeg-devel mailing list