[mythtv-commits] Ticket #5890: libmythsoundtouch: SIMD optimisation patch

MythTV mythtv at cvs.mythtv.org
Sat Nov 8 15:17:35 UTC 2008

#5890: libmythsoundtouch: SIMD optimisation patch
 Reporter:  foobum at gmail.com  |       Owner:  ijr    
     Type:  patch             |      Status:  new    
 Priority:  minor             |   Milestone:  unknown
Component:  mythtv            |     Version:  head   
 Severity:  medium            |     Mlocked:  0      
 The MMX optimised routines in libmythsoundtouch appear to be disabled
 since ALLOW_MMX is never defined. Also, the MMX routines were explicitly
 disabled for x86_64 since they give garbled output on that arch. This

 * Defines ALLOW_MMX in soundtouch if (arch == x86 && defined(MMX))[[BR]]
 * Adds integer SSE2 routines for x86_64

 This results in a huge speed increase - enough to make 1.2x possible with
 1080i mpeg2 and 6ch AC-3 audio on a 2.2Ghz amd64 with cycles to spare.

 Tested on x86_64 only. Patch applies against fixes and trunk.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5890>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list