[MPlayer-dev-eng] [PATCH] 2d denoiser, next

D Richard Felker III dalias at aerifal.cx
Sun Oct 5 21:08:53 CEST 2003


On Sun, Oct 05, 2003 at 10:00:27PM +0400, "Michael A Baikov"  wrote:
> This is next edition of my filter. Dualpass filtrating, At this moment MMX2 optimizations only.
> Fell free to apply/comment/etc

The way you're using HAVE_MMX2 and HAVE_3DNOW will generate code that
will crash if runtime cpu detection is enabled. You need separate
versions of the code (perhaps by including a template file several
times) for each combination you want to support, so you can select one
at runtime based on the cpu capability flags mplayer detects. Or, you
could disable all the asm if runtime cpu detect is enabled, but IMO
that's a bad idea.

> PS How on MMX cpu I can get effect similar PMOVMSKB?

What does PMOVMSKB do?

Rich



More information about the MPlayer-dev-eng mailing list