[Ffmpeg-devel] [PATCH] fix mpegaudiodec on ARM and benchmark

Aurelien Jacobs aurel
Wed Aug 23 14:12:40 CEST 2006


Hi,

After the recent optimisation in mpegaudiodec, I've benchmarked mp3 on ARM.
But first, mpegaudiodec.c didn't compiled, so I fixed it.
I guess I should commit the attached patch ?

Here is how I benchmarked:
 ./mplayer -quiet -ac ffmp3 -ao pcm:fast:file=/dev/null -benchmark a.mp3

And here are the results with various lavc revisions (Xscale IXP420).

r6036
BENCHMARKs: VC:   0.000s VO:   0.000s A: 216.931s Sys:   0.414s =  217.346s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.8093% Sys:  0.1907% = 100.0000%

r6037
BENCHMARKs: VC:   0.000s VO:   0.000s A: 212.347s Sys:   0.412s =  212.759s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.8062% Sys:  0.1938% = 100.0000%

r6039
BENCHMARKs: VC:   0.000s VO:   0.000s A: 212.703s Sys:   0.411s =  213.114s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.8070% Sys:  0.1930% = 100.0000%

r6050 (patched)
BENCHMARKs: VC:   0.000s VO:   0.000s A: 170.642s Sys:   0.411s =  171.053s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.7597% Sys:  0.2403% = 100.0000%

Overall 20% speedup, which is not so bad :-)

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegaudio-arm.diff
Type: text/x-diff
Size: 1041 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060823/e8e7734e/attachment.diff>



More information about the ffmpeg-devel mailing list