[FFmpeg-devel] m68k code for bswap

Vitor Sessak vitor1001
Sat Jul 4 19:56:27 CEST 2009


ami_stuff wrote:
>> You can use START/STOP_TIMER to have a more accurate benchmark, as in 
>> the attached patch.
> 
> Thanks! So when I use your patch and run FFmpeg like that:
> 
> ffmpeg -benchmark -i test.ape test.wav
> 
> I will get only time from byteswap conversion?

No, but in the console messages, you'll find something like

> 7335600 dezicycles in test, 1 runs, 0 skips
> 4843950 dezicycles in test, 2 runs, 0 skips
> 3897100 dezicycles in test, 4 runs, 0 skips
> 3104525 dezicycles in test, 8 runs, 0 skips
> 2438056 dezicycles in test, 16 runs, 0 skips
> 2159306 dezicycles in test, 32 runs, 0 skips

that is related to the time of the byteswap conversion.

-Vitor



More information about the ffmpeg-devel mailing list