[MPlayer-dev-eng] Re: Compile options
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Sep 21 02:22:09 CEST 2006
Andrew Savchenko <Bircoph <at> list.ru> writes:
[...]
> Results for MPEG4:
> ==> General -O4 build:
>
> vc: (8.835 \pm 0.019)s
> vo: (176.051 \pm 0.070)s
> user: 1m(45.945 \pm 0.152)s
>
> ==> General -O4 build, -fno-inline-functions for dsputil_mmx.o:
>
> vc: (8.974 \pm 0.029)s
> vo: (176.092 \pm 0.142)s
> user: 1m(46.189 \pm 0.143)s
MPEG-4 tests with MPlayer dev-SVN-r19920-4.0.2:
./mplayer test.avi -benchmark -nosound -vo xv
-O4:
BENCHMARKs: VC: 14.133s VO: 4.587s A: 0.000s Sys: 1.171s = 19.892s
BENCHMARKs: VC: 14.148s VO: 4.602s A: 0.000s Sys: 1.152s = 19.902s
BENCHMARKs: VC: 14.207s VO: 4.511s A: 0.000s Sys: 1.167s = 19.886s
-O4, -fno-inline-functions for dsputil_mmx.o:
BENCHMARKs: VC: 13.790s VO: 4.554s A: 0.000s Sys: 1.148s = 19.492s
BENCHMARKs: VC: 13.715s VO: 4.523s A: 0.000s Sys: 1.150s = 19.388s
BENCHMARKs: VC: 13.750s VO: 4.587s A: 0.000s Sys: 1.113s = 19.450s
Would it be possible for you to repeat your tests with -vo xv or -vo null? I saw
your options in an earlier email now (-vo x11 -zoom -sws 10 -fs), and if I use
them, real time playback isn't possible for any of my samples, so perhaps this
is the reason why our results differ so much.
Anyway, can you confirm that -finline-functions produces the binary-identical
dsputil_mmx.o and that -fno-inline-functions reduces code size by ~2/3?
(For me, dsputil_mmx.o shrinks from 536128 to 171840.)
Could somebody else repeat the test for H264 and MPEG-4?
Carl Eugen
More information about the MPlayer-dev-eng
mailing list