[mythtv] patch for runtime CPU detection (MMX) in linearblend filter

Simon Kenyon simon at koala.ie
Mon Aug 18 23:03:07 EDT 2003

if any of you have a Via C3 CPU want to check this for me and let
me know how you get on

for me, with this patch i can enable deinterlacing and not have it crash with
an illegal instruction

the change is to mythtv/filters/linearblend/filter_linearblend.c to use either
the portable implementation or an MMX enhanced version

the code does it once so that performance is not adversly affected; apart
from the one-time CPU detection itself

patch against current CVS included
Simon Kenyon
<simon at koala.ie>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter_linearblend.c.diff
Type: text/x-diff
Size: 6453 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030818/18aab6b2/filter_linearblend.c.bin

More information about the mythtv-dev mailing list