[FFmpeg-devel] [PATCH] PPC runtime altivec detection via mfspr
Sat Jan 19 20:28:33 CET 2008
On Thu, Nov 15, 2007 at 11:51:01AM +0100, Reimar D?ffinger wrote:
> attached patch adds altivec detection via the mfspr.
> Unfortunately, there is no way to detect if mfspr is available,
> neither is there a configure flag to manually enable/disable runtime
> So as a (temporary) hack I made the code conditional on MPlayer's
> I agree this is ugly, and for ffmpeg we could just as well put it under
> #elif 0.
> I just think it might be nice to have this code in because it seems e.g.
> Debian could use it without any problems, whereas on my test system it
> would always crash.
> Of course, if someone wrote a proper ffmpeg configure part for it that
> would be nice as well...
Not real feedback, so I applied it finally. We can still try to find
some proper solution (or revert if someone minds a lot)...
More information about the ffmpeg-devel