FS#2997 - Shorten codec optimizations

Attached to Project: Rockbox
Opened by Mark Arigo (lowlight) - Tuesday, 07 February 2006, 19:49 GMT
Last edited by Dave Chapman (linuxstb) - Tuesday, 07 February 2006, 22:17 GMT
Task Type Patches
Status Closed
Assigned To Dave Chapman (linuxstb)
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The the main improvement is from decoding several
frames per call to the decoder (since the framesize
is so small), and better iram utilization. There's
also one coldfire asm routine for bit shifting (it
gives about a 5% performance boost)...I don't know
why it's more efficient than gcc.

Using the codec timer patch, shorten decoding
improves from 396 -> 673% on a small test file. I've
tested this on more files and don't get any boosting
with the cpu clocked at 23 MHz (except on file
This task depends upon

Closed by  Dave Chapman (linuxstb)
Tuesday, 07 February 2006, 22:17 GMT
Reason for closing:  Accepted
Additional comments about closing:  Logged In: YES

Committed to CVS, thanks.
Comment by Dave Chapman (linuxstb) - Tuesday, 07 February 2006, 22:17 GMT

Committed to CVS, thanks.