Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4476 closed patch (wontfix)

BBC-HD Patch to use multiple cores for h264 decode, with minimal CPU load.

Reported by: reidjr_at_lineone.net Owned by: Isaac Richards
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords: multithread h.264 BBC-HD
Cc: Ticket locked: no

Description

Unpatched SVN does not utilize multiple cores for h.264 decoding. The attached patch was put together by Riz back in November, based on earlier patches by Janne. I have been using it successfully since then, and this is simply updated against r15448.

The patch is hard coded to use two cores/threads, and will only kick in for h264 decode. It also is hard coded to always disable the loop filter, to mimimise cpu utilization. Without this patch I cannot watch BBC-HD on my 1.8GHz core2duo system. With the patch I can watch smooth 1080i at about 60% utilization of both cores. I would like to see this included in trunk if possible.

Attachments (1)

HD-lowcpu.diff (2.8 KB) - added by reidjr_at_lineone.net 12 years ago.
Patch to watch BBC-HD with minimum CPU load on multicore systems

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by reidjr_at_lineone.net

Attachment: HD-lowcpu.diff added

Patch to watch BBC-HD with minimum CPU load on multicore systems

comment:1 Changed 12 years ago by Janne Grunau

Resolution: wontfix
Status: newclosed

comment:2 Changed 12 years ago by jonty.wareing@…

May I ask why this was closed without comment? I could also make use of this if the patch was cleaned up to provide support for more than two cores.

Note: See TracTickets for help on using tickets.