On Fri, Apr 29, 2011 at 08:17:43PM +0200, Diego Biurrun wrote:
> int/unsigned is the natural memory access type for CPUs, using sized types
> for temporary variables, counters and similar just increases code size and
> can possibly cause a slowdown.

time ./ffmpeg -y -v 0 -dct fastint -i ~/tmp/nctapsa01hi.mpg ~/tmp/foo.avi 
-vcodec mpeg4

before:

real    0m28.784s
user    0m28.170s
sys     0m0.070s

real    0m28.627s
user    0m28.160s
sys     0m0.120s

real    0m28.701s
user    0m28.230s
sys     0m0.110s

after:

real    0m28.524s
user    0m28.030s
sys     0m0.150s

real    0m28.692s
user    0m28.170s
sys     0m0.060s

real    0m28.533s
user    0m28.070s
sys     0m0.150s

So it seems there is a slight speedup, if at all...

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to