[mythtv] [PATCH] MMX blends, take 2

Andrew Mahone andrewmahone at eml.cc
Wed Mar 3 03:20:59 EST 2004


The attached patch adds a blend.c which includes C and MMX implementations of 
all of the blends which currently use the pow_lut table.  The MMX versions 
run roughly 2x as fast on my system.

I've also attached my blend benchmark program, since Isaac expressed interest 
in testing these on his VIA before merging them.  It needs the blend.c and 
blend.h from the patch, just compile test.c and blend.c together to build it.  
There are some defines at the top of test.c for adjusting the benchmark, 
which may be used to adjust the test blend dimensions, number of trials, and 
whether or not to flush the cache between trials.
-- 
Andrew Mahone
andrewmahone AT eml DOT cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmxblend2.patch.bz2
Type: application/x-bzip2
Size: 8334 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040303/19141bb6/mmxblend2.patch-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 10316 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040303/19141bb6/test-0001.c


More information about the mythtv-dev mailing list