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


Attachment: mm_arch.h
Description: Binary data

Attachment: filter-common.pro
Description: Binary data

Attachment: filter-avcodec.pro
Description: Binary data

Attachment: patch.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

Reply via email to