Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7540 - Dual core SPC codec.

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

Details

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.
   dual-core-spc.diff (31.9 KiB)
 apps/codecs.c               |    2 
 apps/codecs.h               |    8 
 apps/codecs/spc/spc_codec.h |  100 +++++++++---
 apps/codecs/spc/spc_dsp.c   |  232 ++++++++++++++++++++--------
 apps/codecs/spc.c           |  353 +++++++++++++++++++++++++++++++++++++++-----
 5 files changed, 571 insertions(+), 124 deletions(-)

This task depends upon

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

Loading...