Problems:
1) A lot of the filters have common stuff that should be abstracted (e.g. mm_support() or emms() for non-Intel compilation, content of .pro files are nearly identical)
2) Several dummy functions are needlessly defined for non-MMX
3) Altivec accelleration is not determined at run time
4) Using i386 instead of MMX.
We could go either way here (same with HAVE_ALTIVEC and ARCH_POWERPC),
but I will assume for now that MMX or HAVE_ALTIVEC indicate intent
to compile in accelerated code, rather than ability of the compiler
to process MMX-specific operands, or vector style extensions.
Attached is a few new files for the filters directory, which abstract the common stuff, and a patch to get the src to use them (also contains some tidyup).
Better names (or other criticism) gladly accepted/debated, otherwise I will commit in a few days?
% cd filters
% cvs diff -u *.pro */*.pro */*.c >../../patch.general.14
mm_arch.h
Description: Binary datafilter-common.pro
Description: Binary datafilter-avcodec.pro
Description: Binary datapatch.general.14
Description: Binary data
--
Nigel Pearson, [EMAIL PROTECTED]| "Let's see how Spike is going"
Telstra BI&D, Sydney, Australia | ...
Office: 8255 4222 Fax: 8255 3153 |"I'd like to keep Spike as my pet."
Mobile: 0408 664435 Home: 9792 6998 | Illyria - Angel_______________________________________________ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev