[FFmpeg-devel] [RFC] use ff_avc_find_startcode in ff_find_start_code

Reimar Döffinger Reimar.Doeffinger
Tue Feb 19 10:05:03 CET 2008


Hello,
On Tue, Feb 19, 2008 at 03:57:07AM +0100, Michael Niedermayer wrote:
> current code:
> 7054 dezicycles in findsc, 262131 runs, 13 skips
> 7082 dezicycles in findsc, 262134 runs, 10 skips
> 
> your code:
> 11371 dezicycles in findsc, 262119 runs, 25 skips
> 11624 dezicycles in findsc, 262115 runs, 29 skips
> 
> gcc: 4.3.0 20080127 (experimental)
> 800mhz duron
> ffmpeg -v 9 -i matrixbench_mpeg2.mpg -vcodec copy -an -y test.avi

Hmm... but like this it is only used in the demuxer code, right?
How/where did you place the START_TIMER/STOP_TIMER?
And I sure wonder where the problem is, in that sample or from the
different CPU...




More information about the ffmpeg-devel mailing list