15 Nov
2007
15 Nov
'07
1:51 p.m.
Hello, 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 cpudetection. So as a (temporary) hack I made the code conditional on MPlayer's RUNTIME_CPUDETECT. 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... Opinions? Greetings, Reimar D?ffinger