Rockbox

Tasklist

FS#12463 - Speed up FLAC multichannel

Attached to Project: Rockbox
Opened by Andree Buschmann (Buschel) - Sunday, 18 December 2011, 09:38 GMT
Last edited by Andree Buschmann (Buschel) - Monday, 19 December 2011, 19:48 GMT
Task Type Patches
Category Codecs
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch changes the IRAM usage to speed up FLAC multichannel decoding especially on targets with large IRAM. Multichannel testfiles can be found here: download.linnrecords.com/test/flac/surround88.aspx and download.linnrecords.com/test/flac/ForUntoUsSurround88.aspx

surround88:
iPod Video (PP5022) 28.3 -> 25.7 MHz (svn / patch)
iPod nano2G (SL5870x) 33.6 -> 27.3 (svn / patch)

ForUntoUsSurround88:
iPod Video (PP5022) 101.7 -> 98.7 MHz (svn / patch)
iPod nano2G (SL5870x) 97.6 -> 90.2 (svn / patch)

I would like to have some measurements for MCF5249 and MCF5250 before submitting this.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Monday, 19 December 2011, 19:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  Submitted with r31367.
Comment by Frank Gevaerts (fg) - Monday, 19 December 2011, 19:24 GMT
plain svn (r31365):
surround88.flac
56343 of 56343
Decode time - 18.35s
File duration - 56.34s
307.02% realtime
40.44MHz needed for realtime

ForUntoUsSurround88.flac
30104 of 30104
Decode time - 32.08s
File duration - 30.10s
93.82% realtime
132.36MHz needed for realtime

with the patch:

surround88.flac
56343 of 56343
Decode time - 12.88s
File duration - 56.34s
437.42% realtime
28.39MHz needed for realtime

ForUntoUsSurround88.flac
30104 of 30104
Decode time - 27.09s
File duration - 30.10s
111.11% realtime
111.76MHz needed for realtime

Sound is still OK
Comment by Andree Buschmann (Buschel) - Monday, 19 December 2011, 19:42 GMT
Tested by wodz on MCF5249:
surround88.flac 309.22% realtime 40.16MHz needed for realtime
ForUntoUsSurround88.flac 94.44% realtime 131.49MHz needed for realtime

Same speed w/ and w/o patch.

Loading...