FS#7540 - Dual core SPC codec.

Attached to Project: Rockbox
Opened by Michael Sevakis (MikeS) - Sunday, 05 August 2007, 13:31 GMT
Last edited by Michael Sevakis (MikeS) - Sunday, 18 November 2007, 19:35 GMT
Task Type Patches
Category Codecs
Status Closed
Assigned To No-one
Operating System PortalPlayer-based
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This enabled SPC files to be played with echo on PortalPlayer targets like iPods and Sansa. It operates in a pipelined manner by running emulation on the COP and audio output on the CPU. Comes with a few asm optimizations to help out a bit though most help is just from the parallel processing.

Only reason this won't go into SVN right away is that there is no compatibility with voice. There is no facility to swap-out multithreaded codecs -- multiprocessor or otherwise. I plan to address this since I think codecs should have full control over their processing setup. The piplined method should be preferred for especially intensive codecs anyway.

This will compile for single core ARM and Coldfire as well and doesn't create the extra thread in that case.
Single-core ARM still gets the asm tweaks.
This task depends upon

Closed by  Michael Sevakis (MikeS)
Sunday, 18 November 2007, 19:35 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Newer version of patch committed.