[FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations

Jeff Downs heydowns
Mon Apr 14 04:22:59 CEST 2008

On Sun, 13 Apr 2008, Michael Niedermayer wrote:

> [...]
> Can you try with the original patch as well
> (http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-August/053114.html)

I saw similar benchmarks to those previously posted (OP's patches had 
little/no impact on speed).

The original patch cited here won't apply clean...
Instead of benchmarking that, I took the OP's patches and hardcoded the 
values for is_mpeg12.  Using that on a short MPEG-1 file I get:

Current SVN:
User: avg: 0.201  stddev: 0.005  med: 0.202
Real: avg: 0.207  stddev: 0.005  med: 0.206

OP's patches w/ is_mpeg12 hardcoded true:
User: avg: 0.197  stddev: 0.003  med: 0.198
Real: avg: 0.200  stddev: 0.002  med: 0.200

These are 10 runs each with one cache bake throwaway run at start. So, 
about 2% improvement (on core2 duo).


More information about the ffmpeg-devel mailing list