[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/ppc dsputil_h264_template_altivec.c, 1.3, 1.4
Diego Biurrun
diego
Wed Feb 22 22:48:51 CET 2006
On Wed, Feb 22, 2006 at 11:07:37AM +0100, Michael Niedermayer wrote:
>
> On Tue, Feb 21, 2006 at 11:24:22PM +0100, Diego Biurrun CVS wrote:
> >
> > Modified Files:
> > dsputil_h264_template_altivec.c
> > Log Message:
> > Fix AltiVec H.264 decoding on FSF gcc.
> > patch by Luca Barbatom, lu_zero aatt gentoo ddoott org
>
> hmm, this needs to be benchmarked (on a gcc which didnt misscompile it of
> course) as it adds several instructions
I don't have such a gcc, but here are some rough benchmarks with MPlayer
on my system, all services stopped, X still running, best out of 4 runs
printed below.
mplayer -benchmark -nosound -vo null ~/samples/H264/cathedral-beta2-400extra-crop-avc.mp4
before:
BENCHMARKs: VC: 85.231s VO: 0.058s A: 0.000s Sys: 4.856s = 90.145s
BENCHMARK%: VC: 94.5488% VO: 0.0641% A: 0.0000% Sys: 5.3871% = 100.0000%
after:
BENCHMARKs: VC: 85.065s VO: 0.061s A: 0.000s Sys: 4.786s = 89.912s
BENCHMARK%: VC: 94.6090% VO: 0.0676% A: 0.0000% Sys: 5.3234% = 100.0000%
mplayer -benchmark -nosound -vo null ~/samples/H264/NeroAVC.mp4
before:
BENCHMARKs: VC: 15.037s VO: 0.005s A: 0.000s Sys: 0.467s = 15.509s
BENCHMARK%: VC: 96.9553% VO: 0.0331% A: 0.0000% Sys: 3.0116% = 100.0000%
after:
BENCHMARKs: VC: 15.057s VO: 0.005s A: 0.000s Sys: 0.464s = 15.526s
BENCHMARK%: VC: 96.9791% VO: 0.0345% A: 0.0000% Sys: 2.9864% = 100.0000%
Inconclusive I would say. But well worth the fixed decoding ;)
Michael, IIRC you said you don't trust MPlayer's benchmark code, how
would I enable the start/stop timer thing that FFmpeg has?
Diego
More information about the ffmpeg-cvslog
mailing list