[Ffmpeg-devel] [RFC] smallcpy for h264

Luca Barbato lu_zero
Sat Oct 7 23:55:13 CEST 2006

Loren Merritt wrote:
> On Sat, 7 Oct 2006, Luca Barbato wrote:
>> Michael Niedermayer wrote:
>>> but before i will agree to this i want
>>> 1. to know why we spend a significant time doing small memcpys
>> Loren do you have time to have a look on it? The on x86simd codepath has
>> many of them...

> I still say that the memcpy are only in frame header and init code, and
> take a total of 0.09% cpu. (when using fast_memcpy instead of
> __builtin_memcpy, since I can't profile them separately if they're inlined)

I used callgrind and read the code properly, you are right, probably the
sample I used is little enough to make that change substantial while it
really isn't.



Luca Barbato

Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list