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

Guillaume POIRIER poirierg
Wed Aug 23 15:22:28 CEST 2006


Hi,

On 8/23/06, Aurelien Jacobs <aurel at gnuage.org> wrote:
> 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 :-)

How does it compare with libmad? IFAIR, libmad is supposed to be quite
fast on FPU-less CPU...

Guillaume
-- 
A thing is not necessarily true because a man dies for it.
-- Oscar Wilde




More information about the ffmpeg-devel mailing list