This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11450 - faad compiler option
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Friday, 02 July 2010, 00:39 GMT+2
Last edited by Andree Buschmann (Buschel) - Monday, 05 July 2010, 21:29 GMT+2
Opened by Andree Buschmann (Buschel) - Friday, 02 July 2010, 00:39 GMT+2
Last edited by Andree Buschmann (Buschel) - Monday, 05 July 2010, 21:29 GMT+2
|
Detailssvn uses -O1 to compile libfaad. When compiling with -O2 the decoder gets reasonable faster on PP5022 (iPod Video). The attached patch changes the compile option for libfaad to -O2.
Please post results with -O1 (svn) against -O2 (patch) on other targets to this flyspray entry. iPod Video (PP5022): 31.6 MHz (svn 32.4 MHz) for nero_192.m4a |
This task depends upon
Closed by Andree Buschmann (Buschel)
Monday, 05 July 2010, 21:29 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r27297
Monday, 05 July 2010, 21:29 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r27297
arguments: log_svn.txt log_O2.txt
Tested on Clip+
| *Nero AAC-HE* |||||
| 64kaache.m4a | 440025.00% realtime | Decode time - 0.04s | 0.05MHz | - |
| *AAC-LC* |||||
| nero_096.m4a | 550.73% realtime | Decode time - 31.95s | 43.57MHz | 95.09%|
| nero_128.m4a | 531.28% realtime | Decode time - 33.12s | 45.17MHz | 95.05%|
| nero_192.m4a | 506.94% realtime | Decode time - 34.71s | 47.34MHz | 95.22%|
| nero_256.m4a | 486.34% realtime | Decode time - 36.18s | 49.34MHz | 95.44%|
So 02 makes it about 5% faster
Note that aache fails to decode with or without the patch
FS#11450in those tests faad was fastest with O3 on c200v1 and with O1 on h300.Did you test with O3 on your ipod?
Still, this makes AAC about as fast as Vorbis on a Fuze V2 (a little slower at 128 kbps, a little faster at 192 kbps).
-O1: 32.43 MHz
-O2: 31.64 MHz
-O3: 31.59 MHz
Therefore I propose to change the compile switch to -O2 for ARM and -O1 for non-ARM.